/* ===========================
   RESET + THEME VARIABLES
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #050505;
  --bg2: #0b0b0b;
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.12);

  --text: #ffffff;
  --text2: rgba(255, 255, 255, 0.70);

  --blue: #0a84ff;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  background: radial-gradient(circle at top, rgba(10, 132, 255, 0.12), transparent 40%),
              radial-gradient(circle at 20% 40%, rgba(255, 255, 255, 0.06), transparent 45%),
              var(--bg);
  color: var(--text);
}

/* ===========================
   HEADER
=========================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-list {
  margin: 15px 20px;
}

.div-list {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.ul-list {
  list-style: none;
  display: flex;
  gap: 3rem;

  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.55);

  padding: 10px 25px;
  border-radius: 25px;
  backdrop-filter: blur(12px);
}

.ul-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 25px;
  transition: 0.3s;
}

.ul-list li a {
  text-decoration: none;
  color: var(--text2);
  font-family: "Montserrat", sans-serif;
}

.ul-list li i {
  color: var(--text2);
}

.ul-list li:hover a,
.ul-list li:hover i {
  color: var(--text);
}

.ul-list li.active {
  background-color: rgba(10, 132, 255, 0.18);
  border: 1px solid rgba(10, 132, 255, 0.35);
  padding: 10px 15px;
}

.ul-list li.active a,
.ul-list li.active i {
  color: white;
}

/* ===========================
   HOME
=========================== */
.home {
  margin: 160px 200px;
}

.home-container {
  display: flex;
  gap: 6rem;
  align-items: center;
}

.home-p {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  display: inline-block;
  border-radius: 25px;
  padding: 5px 10px;
  margin-bottom: 30px;
}

.home-s {
  font-weight: bold;
  color: #00ff7b;
}

.info-home h1 {
  font-size: 70px;
  font-family: "Raleway", sans-serif;
  margin-bottom: 20px;
}

.info-home h3 {
  font-size: 40px;
  font-family: "Playfair Display", serif;
  margin-bottom: 20px;
}

.info-p {
  color: var(--text2);
  font-family: "Roboto", sans-serif;
  padding-bottom: 20px;
}

.info-p p {
  padding-bottom: 5px;
}

.info-p2 {
  display: flex;
  gap: 1rem;
  color: var(--text2);
  font-size: 14px;
  padding-bottom: 20px;
}

.btnn {
  display: flex;
  gap: 1rem;
  padding-bottom: 30px;
}

.btn-home1 {
  background-color: var(--blue);
  color: rgb(255, 255, 255);
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-home1:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-home2 {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: 0.4s;
}

.btn-home2:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.Download-btn {
  text-decoration: none;
  color: white;
}

.Download-btn:hover {
  color: blue;
}

hr {
  width: 90%;
  border: none;
  height: 1px;
  background: var(--border);
}

.hhr {
  padding-bottom: 30px;
}

.follow {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.followw {
  color: var(--text2);
}

.follow ul {
  display: flex;
  gap: 2rem;
  font-size: 20px;
}

.follow ul li {
  list-style: none;
}

.follow ul a {
  text-decoration: none;
  color: var(--text2);
  transition: 0.3s;
}

.follow ul a:hover {
  color: var(--blue);
}

.home img {
  width: 400px;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* ===========================
   ABOUT
=========================== */
.about {
  margin: 160px 200px;
}

.about p {
  padding-bottom: 30px;
  font-size: 13px;
  color: var(--text2);
}

.about h1 {
  font-family: "Open Sans", sans-serif;
}

.title {
  padding-bottom: 20px;
}

.about .hrrr {
  width: 30%;
  padding-bottom: 40px;
}

.info-about {
  display: flex;
  flex-direction: column;
}

.about-container {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.about img {
  position: relative;
  bottom: 85px;
  width: 400px;
  height: 400px;
  border-radius: 15px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about h2 {
  padding-bottom: 30px;
}

.card {
  display: flex;
  gap: 2rem;
}

.c1 {
  display: flex;
  align-content: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;

  background: var(--card);
  border: 1px solid var(--border);
  padding: 12px 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.c1 h3 {
  padding-top: 10px;
  padding-bottom: 10px;
  color: var(--text);
}

.c1 p {
  color: var(--text2);
}

.c1:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: rgba(10, 132, 255, 0.35);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

/* ===========================
   PROJECTS
=========================== */
.project {
  margin: 160px 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.project p {
  padding-bottom: 20px;
  font-size: 13px;
  color: var(--text2);
}

.project h1 {
  font-family: "Open Sans", sans-serif;
  padding-bottom: 10px;
}

.project hr {
  width: 10%;
}

.info-pro {
  padding-top: 20px;
}

.info-pro p {
  padding-bottom: 10px;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: auto;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  transition: 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(10, 132, 255, 0.25);
}

.project-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
  border: 1px solid var(--border);
}

.project-card h3 {
  color: var(--text);
  margin-bottom: 8px;
}

.project-card p {
  color: var(--text2);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.skills {
  margin-bottom: 15px;
}

.skills a {
  display: inline-block;
  background: rgba(10, 132, 255, 0.12);
  color: var(--blue);
  border: 1px solid rgba(10, 132, 255, 0.25);
  text-decoration: none;
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 6px;
  margin: 3px;
  transition: 0.3s;
}

.skills a:hover {
  background: rgba(10, 132, 255, 0.20);
}

.btns {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn {
  background: rgba(10, 132, 255, 0.18);
  border: 1px solid rgba(10, 132, 255, 0.35);
  color: white;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 25px;
  font-size: 0.9rem;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn:hover {
  background: var(--blue);
  border-radius: 25px;
}

/* ===========================
   SERVICES
=========================== */
.services {
  margin: 160px 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.services p {
  padding-bottom: 20px;
  font-size: 13px;
  color: var(--text2);
}

.services h1 {
  font-family: "Open Sans", sans-serif;
  padding-bottom: 10px;
}

.services hr {
  width: 10%;
}

.services-container {
  padding-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: auto;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  transition: 0.5s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card img {
  width: 100px;
  margin-bottom: 15px;
  z-index: 1;
  position: relative;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.4));
}

.service-card h3 {
  color: var(--text);
  margin-bottom: 10px;
  transition: color 0.5s;
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--text2);
  font-size: 0.9rem;
  transition: color 0.5s;
  position: relative;
  z-index: 1;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(10, 132, 255, 0.35);
  z-index: 0;
  transition: 0.5s;
}

.service-card:hover::before {
  left: 0;
}

.service-card:hover h3,
.service-card:hover p {
  color: #fff;
}

/* ===========================
   CONTACT
=========================== */
.contact {
  margin: 160px 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.contact p {
  padding-bottom: 20px;
  font-size: 13px;
  color: var(--text2);
}

.contact h1 {
  font-family: "Open Sans", sans-serif;
  padding-bottom: 10px;
}

.contact hr {
  width: 10%;
}

.contact-content {
  padding-top: 50px;
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 25px;
  color: var(--text2);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text2);
}

.contact-item i {
  font-size: 20px;
  color: var(--blue);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 20px;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-5px);
  color: #fff;
}

.social-link[href*="github"]:hover {
  background: #000;
}

.social-link[href*="linkedin"]:hover {
  background: #0a66c2;
}

.social-link[href*="wa.me"]:hover {
  background: #25d366;
}

/* Form */
.contact-form {
  flex: 1;
  min-width: 300px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  font-size: 14px;
  transition: border 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.btn-send {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

.btn-send:hover {
  opacity: 0.9;
}

/* ===========================
   FOOTER (already good)
=========================== */
.footer {
  background-color: #000;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  overflow-x: hidden;
  border-top: 1px solid var(--border);
}

.footer-container {
  max-width: 1200px;
  margin: auto;
}

.footer-logo {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: var(--blue);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-social a {
  color: #fff;
  font-size: 18px;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--blue);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

/* ===========================
   REVEAL ANIMATION (same)
=========================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

.active-reveal {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   LOADING SCREEN (already good)
=========================== */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  overflow: hidden;
  color: #00f0ff;
  text-align: center;
}

.hidden {
  opacity: 0;
  transform: translateY(-200px);
}

.fall {
  animation: fall 0.9s forwards;
}

@keyframes fall {
  0% {
    opacity: 0;
    transform: translateY(-200px);
  }
  60% {
    opacity: 1;
    transform: translateY(20px);
  }
  100% {
    transform: translateY(0);
  }
}

.loading-content h1,
.loading-content h2,
.loading-content i {
  margin: 20px 0;
}

.sub-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 20px;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .home,
  .about,
  .project,
  .services,
  .contact {
    margin: 120px 50px;
  }

  .home-container,
  .about-container {
    flex-direction: column;
    gap: 3rem;
  }

  .home img,
  .about img {
    width: 100%;
    height: auto;
  }

  .ul-list {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 8px 15px;
  }
}

@media (max-width: 768px) {
  header {
    display: none;
  }

  .home,
  .about,
  .project,
  .services,
  .contact {
    margin: 100px 20px;
  }

  .home-container,
  .about-container,
  .contact-content {
    flex-direction: column;
    gap: 2rem;
  }

  .projects-container,
  .services-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home img,
  .about img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .btn-home1,
  .btn-home2,
  .btn,
  .btn-send {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .follow ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}

/* Extra mobile safe */
@media (max-width: 1024px) {
  header {
    display: none;
  }

  .home,
  .about,
  .project,
  .services,
  .contact {
    margin: 20px auto;
    padding: 0 15px;
    text-align: center;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .home-container,
  .about-container,
  .services-container,
  .projects-container,
  .contact-content,
  .card {
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
  }

  .about img {
    width: 100%;
    max-width: 220px;
    height: auto;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    bottom: 0;
  }

  .card .c1 {
    width: 100%;
    max-width: 300px;
    text-align: center;
    margin: 0 auto;
  }

  .home img,
  .project-card img,
  .service-card img {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto 15px auto;
    object-fit: cover;
  }

  .info-home h1 {
    font-size: 26px;
  }
  .info-home h3 {
    font-size: 18px;
  }

  .info-p,
  .info-p2,
  .home-p,
  .about p,
  .project p,
  .service-card p,
  .contact p {
    font-size: 14px;
  }

  .project-card h3,
  .service-card h3 {
    font-size: 16px;
  }

  .contact-content {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .contact-info,
  .contact-form {
    width: 100%;
    max-width: 400px;
  }
}
