:root {
  --bg: #020b18;
  --accent: #00b3ff;
  --text: #e8f0fb;
  --muted: #9fbad6;
  --container: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Poppins", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== NAVBAR ===== */
.navbar {
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: rgba(2, 11, 24, 0.9);
  backdrop-filter: blur(8px);
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--text);
}
.logo span {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
}
.nav-menu a {
  color: var(--muted);
  text-decoration: none;
  margin: 0 12px;
  font-weight: 500;
  transition: 0.3s;
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--accent);
}
.cv-download .btn-cta {
  background: var(--accent);
  color: #000;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}
.cv-download .btn-cta:hover {
  transform: translateY(-2px);
}

/* ===== HERO ===== */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 80px 0;
}
.hero-left {
  flex: 0 0 350px;
  display: flex;
  justify-content: center;
}
.profile-ring {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,179,255,0.15), transparent 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.profile-ring::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 3px solid rgba(0,179,255,0.3);
  animation: glow 3s infinite ease-in-out;
}
@keyframes glow {
  0%, 100% { box-shadow: 0 0 10px rgba(0,179,255,0.3); }
  50% { box-shadow: 0 0 30px rgba(0,179,255,0.6); }
}
.profile-img {
  width: 85%;
  height: 85%;
  border-radius: 50%;
  object-fit: cover;
}

/* Hero Text */
.hero-right {
  flex: 1;
}
.intro {
  color: var(--muted);
  font-weight: 400;
  font-size: 1rem;
}
.hero-name {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 6px 0;
}
.hero-profession {
  font-size: 1.3rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.hero-profession span {
  color: var(--accent);
  font-weight: 700;
}
.hero-desc {
  color: var(--muted);
  line-height: 1.6;
  max-width: 600px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  margin-right: 12px;
  transition: 0.3s;
}
.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-outline {
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text);
}
.btn:hover {
  transform: translateY(-2px);
}

/* Socials */
.socials {
  margin-top: 20px;
}
.socials a {
  color: var(--muted);
  margin-right: 14px;
  font-size: 1.1rem;
  transition: 0.3s;
}
.socials a:hover {
  color: var(--accent);
}

/* Stats Section */
.stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.stat h3 {
  font-size: 2rem;
  color: var(--accent);
}
.stat p {
  color: var(--muted);
  margin-top: 6px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero { flex-direction: column; text-align: center; }
  .hero-left { order: 2; }
  .hero-right { order: 1; }
  .nav-menu { display: none; }
  .stats { flex-direction: column; gap: 20px; }
}
/* ===== ABOUT SECTION ===== */
.about {
  padding: 100px 0;
}
.about-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
.about-left {
  flex: 0 0 360px;
  display: flex;
  justify-content: center;
}
.about-img {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(0,179,255,0.3);
  box-shadow: 0 0 30px rgba(0,179,255,0.3);
}
.about-right {
  flex: 1;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.section-title span {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent);
}
.about-text {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 30px;
  text-align: justify;
}
.about-buttons .btn {
  margin-right: 10px;
}

@media (max-width: 900px) {
  .about-inner {
    flex-direction: column;
    text-align: center;
  }
  .about-img {
    width: 260px;
    height: 260px;
  }
}
/* ====== MOBILE MENU ====== */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--accent);
  cursor: pointer;
}

/* nav hidden in mobile by default */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    background: rgba(2, 11, 24, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    flex-direction: column;
    padding: 20px;
    text-align: right;
    box-shadow: 0 0 10px rgba(0, 179, 255, 0.3);
  }
  .nav-menu.show {
    display: flex;
  }
  .nav-menu a {
    display: block;
    margin: 10px 0;
    font-size: 1.1rem;
  }

  /* make hero section show profile image on top in mobile */
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 40px;
  }
  .hero-left {
    order: 1;
    margin-bottom: 20px;
  }
  .hero-right {
    order: 2;
  }
}
 /* === Reversed Hero Layout === */
    .hero {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 60px;
      padding: 100px 0;
      flex-direction: row-reverse; /* ✅ reversed layout */
    }

    .hero-left {
      flex: 0 0 350px;
      display: flex;
      justify-content: center;
      position: relative;
    }

    /* === Glowing Animated Border for Profile === */
    .profile-ring {
      position: relative;
      width: 320px;
      height: 320px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(0,179,255,0.1), transparent 70%);
      display: flex;
      align-items: center;
      justify-content: center;
      animation: floatImage 6s ease-in-out infinite;
    }

    @keyframes floatImage {
      0%, 100% {
        transform: translateY(0);
        box-shadow: 0 0 25px rgba(0,179,255,0.3);
      }
      50% {
        transform: translateY(-10px);
        box-shadow: 0 0 45px rgba(0,179,255,0.6);
      }
    }

    .profile-ring::before {
      content: "";
      position: absolute;
      width: 340px;
      height: 340px;
      border-radius: 50%;
      border: 3px solid rgba(0,179,255,0.4);
      animation: pulseRing 3s infinite ease-in-out;
    }

    @keyframes pulseRing {
      0%, 100% { transform: scale(1); opacity: 0.7; }
      50% { transform: scale(1.05); opacity: 1; }
    }

    .profile-img {
      width: 85%;
      height: 85%;
      border-radius: 50%;
      object-fit: cover;
      z-index: 2;
    }

    /* === Text Side === */
    .hero-right {
      flex: 1;
    }

    .intro {
      color: var(--muted);
      font-weight: 400;
      font-size: 1rem;
    }

    .hero-name {
      font-size: 2.8rem;
      font-weight: 700;
      margin: 8px 0;
    }

    .hero-profession {
      font-size: 1.3rem;
      color: var(--muted);
      margin-bottom: 16px;
    }

    .hero-profession span {
      color: var(--accent);
      font-weight: 700;
    }

    .hero-desc {
      color: var(--muted);
      line-height: 1.6;
      max-width: 600px;
    }

    /* === Buttons & Socials same === */
    .hero-buttons {
      margin-top: 20px;
    }
    .btn {
      display: inline-block;
      padding: 10px 18px;
      border-radius: 10px;
      text-decoration: none;
      font-weight: 600;
      margin-right: 12px;
      transition: 0.3s;
    }
    .btn-primary {
      background: var(--accent);
      color: #000;
    }
    .btn-outline {
      border: 1px solid rgba(255,255,255,0.15);
      color: var(--text);
    }
    .btn:hover {
      transform: translateY(-2px);
    }
    .socials {
      margin-top: 25px;
    }
    .socials a {
      color: var(--muted);
      margin-right: 14px;
      font-size: 1.1rem;
      transition: 0.3s;
    }
    .socials a:hover {
      color: var(--accent);
    }

    /* Responsive Adjustments */
    @media (max-width: 900px) {
      .hero {
        flex-direction: column;
        text-align: center;
      }
      .hero-left, .hero-right {
        order: unset;
        width: 100%;
      }
      .profile-ring {
        width: 260px;
        height: 260px;
      }
    }

