:root {
  --bg-deep-space: #050816;
  --bg-midnight: #0b1020;
  --bg-cyber-blue: #111827;

  --accent-purple: #8b5cf6;
  --accent-violet: #a855f7;
  --accent-blue: #3b82f6;
  --accent-indigo: #6366f1;
  --accent-magenta: #d946ef;

  --glass-border: rgba(139, 92, 246, 0.25);
  --card-bg: rgba(17, 24, 39, 0.65);
  --soft-glow: rgba(168, 85, 247, 0.35);
  --hover-glow: rgba(59, 130, 246, 0.45);

  --text-primary: #f8fafc;
  --text-soft: #cbd5e1;
  --text-muted: #94a3b8;

  --grad-purple: linear-gradient(135deg, #8b5cf6, #6366f1);
  --grad-cyber: linear-gradient(135deg, #3b82f6, #a855f7);
  --grad-dark-panel: linear-gradient(180deg, #0b1020, #050816);

  --shadow-premium: 0 24px 80px rgba(0, 0, 0, 0.45);
  --font-main: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-deep-space);
  background-image:
    radial-gradient(
      circle at 20% 20%,
      rgba(139, 92, 246, 0.15),
      transparent 25%
    ),
    radial-gradient(
      circle at 80% 10%,
      rgba(59, 130, 246, 0.12),
      transparent 22%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(217, 70, 239, 0.08),
      transparent 20%
    ),
    linear-gradient(180deg, var(--bg-midnight), var(--bg-deep-space));
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.625;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.glass {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-premium);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.04em;
  background: linear-gradient(
    135deg,
    var(--text-primary) 30%,
    var(--text-muted)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-sub {
  color: var(--text-soft);
  margin: 0 0 40px;
  line-height: 1.75;
  font-size: 1.05rem;
  white-space: normal;
  max-width: 1500px;
}

.navbar {
  position: fixed;
  inset: 16px 16px auto;
  z-index: 1000;
  border-radius: 18px;
  padding: 14px 24px;
  transition: var(--transition-smooth);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1200px, 100%);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.15rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.935);
  display: grid;
  place-items: center;
  box-shadow: 0 0 25px rgba(213, 201, 240, 0.35);
  color: rgb(233, 234, 241);
  font-size: 1.2rem;
  font-family: "Algerian", serif;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.brand-mark:hover {
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 0 60px rgba(230, 25, 210, 0.45);
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 10px;
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  color: var(--text-primary);
  font-size: 22px;
  cursor: pointer;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 140px 0 60px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(44px, 7vw, 76px);
  margin: 0 0 12px;
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.eyebrow {
  color: var(--accent-purple);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.typing {
  min-height: 36px;
  font-family: var(--font-mono);
  color: #c4b5fd;
  font-size: clamp(16px, 2.2vw, 22px);
  margin: 0 0 20px;
  font-weight: 500;
}

.cursor {
  display: inline-block;
  width: 8px;
  color: var(--accent-blue);
  animation: blink 1s steps(1) infinite;
  margin-left: 4px;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-copy p {
  color: var(--text-soft);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 0 32px;
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--accent-purple),
    var(--accent-indigo)
  );
  color: var(--text-primary);
  box-shadow: 0 10px 30px rgba(91, 33, 182, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 12px 35px var(--soft-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--glass-border);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-blue);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
}

.hero-card {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
  margin: auto;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(32px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.orb.one {
  width: 140px;
  height: 140px;
  left: 18px;
  top: 20px;
  background: rgba(139, 92, 246, 0.3);
}
.orb.two {
  width: 160px;
  height: 160px;
  right: 26px;
  top: 70px;
  background: rgba(59, 130, 246, 0.25);
}
.orb.three {
  width: 120px;
  height: 120px;
  left: 60px;
  bottom: 100px;
  background: rgba(217, 70, 239, 0.2);
}

.monogram-container {
  position: relative;
  width: 100%;
  height: 300px;
  display: grid;
  place-items: center;
}

.monogram {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 40px;
  display: grid;
  place-items: center;
  font-size: 54px;
  font-weight: 800;
  background: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0.95),
    rgba(11, 16, 32, 0.85)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 8px rgba(139, 92, 246, 0.06),
    0 0 45px rgba(59, 130, 246, 0.15);
  z-index: 2;
  background-clip: padding-box;
}

.profile-img {
  width: 220px;
  height: 220px;
  max-width: 100%;
  max-height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 5;
  border: 3px solid rgba(246, 246, 246, 0.839);
  box-shadow: 0 0 45px rgba(59, 130, 246, 0.15);
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.profile-img:hover {
  box-shadow: 0 0 60px rgba(125, 50, 146, 0.901);
  border-color: rgba(208, 125, 243, 0.6);
  cursor: pointer;
}

.ring {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  border: 1px dashed rgba(167, 139, 250, 0.2);
  pointer-events: none;
  z-index: 1;
  animation: spin 25s linear infinite;
}

.ring.r1 {
  width: 220px;
  height: 220px;
}
.ring.r2 {
  width: 280px;
  height: 280px;
  animation-duration: 35s;
  animation-direction: reverse;
}
.ring.r3 {
  width: 340px;
  height: 340px;
  animation-duration: 45s;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.mini-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  z-index: 2;
}

.stat {
  padding: 16px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  transition: var(--transition-smooth);
}

.stat:hover {
  border-color: var(--accent-blue);
  background: rgba(59, 130, 246, 0.05);
}

.stat strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.stat span {
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-grid,
.contact-grid,
.skills-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.about-grid .card,
.contact-grid .card,
.skills-grid .skill-block {
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.about-grid .card:hover,
.contact-grid .card:hover {
  transform: translateY(-6px);

  border-color: rgba(145, 30, 207, 0.709);

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.22),
    0 0 25px rgba(168, 85, 247, 0.12);
}

.skills-grid .skill-block:hover {
  transform: translateY(-6px);

  border-color: var(--accent-blue);

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.22),
    0 0 25px rgba(168, 85, 247, 0.12);
}

.card {
  padding: 32px;
  border-radius: 24px;
}

.about-p {
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-p:last-of-type {
  margin-bottom: 0;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tag {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.tag:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--accent-purple);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.projects-grid,
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project {
  padding: 32px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.project::after {
  content: "";
  position: absolute;
  inset: auto -20% -20% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.15),
    transparent 70%
  );
  pointer-events: none;
  transition: var(--transition-smooth);
}

.project:hover {
  border-color: var(--accent-blue);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

.project h3 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 600;
}

.project p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.project .links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 17px;
}

.skill-block {
  padding: 32px;
  border-radius: 24px;
}

.skill-block h3 {
  font-size: 22px;
  margin-bottom: 24px;
  font-weight: 600;
}

.skill-item {
  margin-bottom: 20px;
}

.skill-item:last-of-type {
  margin-bottom: 0;
}

.skill-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
}

.bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  width: 0;
  transition: width 1.5s cubic-bezier(0.1, 1, 0.1, 1);
}

.cert {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition-smooth);
}

.cert:hover {
  border-color: var(--accent-magenta);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(217, 70, 239, 0.08);
}

.cert-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--accent-magenta);
  flex-shrink: 0;
}

.cert h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 600;
}

.cert p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.timeline {
  position: relative;
  display: grid;
  gap: 24px;
  padding-left: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--accent-purple),
    var(--accent-blue),
    transparent
  );
}

.t-item {
  position: relative;
  padding-left: 32px;
}

.t-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 38px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.6);
  z-index: 2;
}

.timeline .card {
  padding: 24px 28px;
  transition: var(--transition-smooth);
}

.timeline .card:hover {
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.6);
  border-color: #0099ff;
}

.timeline h3 {
  font-size: 20px;
  margin: 0 0 8px;
  font-weight: 600;
}

.timeline p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.contact-links {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
  transition: var(--transition-smooth);
  font-weight: 500;
}

.contact-link i {
  font-size: 18px;
  width: 22px;
  text-align: center;
  transition: 0.3s ease;
}

.contact-link:hover {
  transform: translateY(-2px);
  border-color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.04);
  color: var(--text-primary);
}

.contact-link:hover i {
  transform: scale(1.15);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.18));
}

.contact-link .fa-linkedin-in {
  background: linear-gradient(135deg, #0a66c2, #4ea1ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact-link .fa-github {
  background: linear-gradient(135deg, #c9d1d9, #6e7681);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact-link .fa-kaggle {
  background: linear-gradient(135deg, #20beff, #0077b5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact-link .fa-award {
  background: linear-gradient(135deg, #ffb347, #ff7b00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact-link .fa-stack-overflow {
  background: linear-gradient(135deg, #b6eaf6, #a5ecd8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact-link .fa-envelope {
  background: linear-gradient(135deg, #ea35d8, #8b17ce);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.form {
  display: grid;
  gap: 14px;
}

.form input,
.form textarea {
  width: 100%;
  background: rgba(5, 8, 22, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-radius: 14px;
  padding: 14px 18px;
  outline: none;
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form input:focus,
.form textarea:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
  background: rgba(11, 16, 32, 0.6);
}

.footer {
  position: relative;
  margin-top: 120px;
  padding: 70px 0 35px;
  overflow: hidden;

  background-image:
    radial-gradient(
      circle at 20% 20%,
      rgba(139, 92, 246, 0.15),
      transparent 25%
    ),
    radial-gradient(
      circle at 80% 10%,
      rgba(59, 130, 246, 0.12),
      transparent 22%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(217, 70, 239, 0.08),
      transparent 20%
    ),
    linear-gradient(180deg, var(--bg-midnight), var(--bg-deep-space));
  color: var(--text-primary);

  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.03),
    transparent
  );

  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand h3 {
  margin: 0;

  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.5px;

  background: linear-gradient(90deg, #ffffff, #b7c4d6);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-brand p {
  margin-top: 14px;

  max-width: 620px;

  color: rgba(255, 255, 255, 0.68);

  line-height: 1.8;
  font-size: 15px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.social-icon {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);

  text-decoration: none;

  color: white;
  font-size: 18px;

  transition:
    transform 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.05);
}

.social-icon.linkedin:hover {
  background: linear-gradient(135deg, #0077b5, #00a0dc);
  border-color: transparent;

  box-shadow: 0 0 24px rgba(0, 119, 181, 0.35);
}

.social-icon.github:hover {
  background: linear-gradient(135deg, #2b3137, #6e7681);
  border-color: transparent;

  box-shadow: 0 0 24px rgba(255, 255, 255, 0.12);
}

.social-icon.kaggle:hover {
  background: linear-gradient(135deg, #20beff, #005bff);
  border-color: transparent;

  box-shadow: 0 0 24px rgba(32, 190, 255, 0.3);
}

.social-icon.credly:hover {
  background: linear-gradient(135deg, #ffb347, #ff7a18);
  border-color: transparent;

  box-shadow: 0 0 24px rgba(255, 179, 71, 0.3);
}

.social-icon.stackoverflow:hover {
  background: linear-gradient(135deg, #f48024, #ffb347);
  border-color: transparent;

  box-shadow: 0 0 24px rgba(244, 128, 36, 0.3);
}

.social-icon.mail:hover {
  background: linear-gradient(135deg, #ff5f6d, #ffc371);
  border-color: transparent;

  box-shadow: 0 0 24px rgba(255, 95, 109, 0.3);
}

.footer-divider {
  width: 100%;
  height: 1px;

  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom span {
  max-width: 520px;

  color: rgba(255, 255, 255, 0.52);

  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 0 30px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-brand h3 {
    font-size: 24px;
  }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .skills-grid,
  .projects-grid,
  .cert-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 120px;
  }
  .hero-card {
    min-height: 460px;
  }
  .nav-links {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .nav-links.active-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 0;
    left: 0;
    top: 74px;
    padding: 20px;
    background: rgba(11, 16, 32, 0.96);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    backdrop-filter: blur(24px);
    gap: 8px;
  }
  .nav-links.active-menu a {
    width: 100%;
    text-align: center;
    padding: 10px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }
  .navbar {
    inset: 10px 10px auto;
  }
  .hero-copy h1 {
    font-size: clamp(38px, 12vw, 56px);
  }
  .cta-row {
    flex-direction: column;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .mini-panel {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 12px;
    z-index: 2;
  }
  .monogram-container {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .ring.r3 {
    display: none;
  }
  .stat:last-child {
    border-color: rgba(59, 130, 246, 0.25);
  }
  .stat:last-child strong {
    color: #60a5fa;
    text-shadow: 0 0 15px rgba(96, 165, 250, 0.4);
  }
}

.experience-timeline {
  position: relative;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.experience-timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 0;
  width: 2px;
  height: 100%;

  background: linear-gradient(
    to bottom,
    rgba(108, 69, 140, 0.7),
    rgba(255, 255, 255, 0.08)
  );
}

.experience-item {
  position: relative;
  padding-left: 50px;
}

.experience-dot {
  position: absolute;
  left: 0;
  top: 18px;

  width: 24px;
  height: 24px;
  border-radius: 50%;

  background: linear-gradient(135deg, #cb04d2, #d189d8);

  box-shadow:
    0 0 0 6px rgba(76, 140, 69, 0.12),
    0 0 20px rgba(115, 69, 140, 0.35);
}

.experience-content {
  padding: 28px;
  border-radius: 24px;

  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);

  transition: all 0.35s ease;
}

.experience-content:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 93, 239, 0.949);
}

.experience-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;

  margin-bottom: 18px;
}

.experience-top h3 {
  margin: 0;
  font-size: 22px;
}

.experience-top h4 {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 500;

  color: rgba(255, 255, 255, 0.62);
}

.experience-date {
  padding: 8px 14px;
  border-radius: 999px;

  background: rgba(127, 69, 140, 0.12);
  border: 1px solid rgba(106, 69, 140, 0.2);

  color: #e29de2;
  font-size: 13px;
  white-space: nowrap;
}

.experience-content p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  margin: 0;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.modal-content {
  padding: 40px 32px;
  max-width: 420px;
  width: 88%;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  animation: cleanPopScale 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275)
    forwards;
}

@keyframes cleanPopScale {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
