:root {
  --bg: #050816;
  --surface: #151030;
  --primary: #915eff;
  --secondary: #00cea8;
  --accent: #ffb800;
  --text: #ffffff;
  --text-dim: #aaaaaa;
  --radius: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.fade-image {
  opacity: 0;
  animation: imageFadeIn 0.8s ease 0.12s forwards;
}

@keyframes imageFadeIn {
  to {
    opacity: 1;
  }
}

::selection {
  background: var(--primary);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  position: relative;
  padding: 110px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--secondary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--secondary);
}

.section-heading {
  max-width: 600px;
  margin-bottom: 48px;
  font-size: 36px;
}

.section-heading span {
  color: var(--primary);
}

/* Background motion */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  bottom: -16vh;
  left: 50vw;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(145, 94, 255, 0.55),
    rgba(145, 94, 255, 0) 70%
  );
  animation: drift linear infinite;
  animation-duration: 22s;
}

.particle:nth-child(1) { width: 3px; height: 3px; left: 4vw; animation-duration: 18s; animation-delay: 0s; }
.particle:nth-child(2) { width: 5px; height: 5px; left: 9vw; animation-duration: 24s; animation-delay: 3s; }
.particle:nth-child(3) { width: 4px; height: 4px; left: 14vw; animation-duration: 20s; animation-delay: 8s; }
.particle:nth-child(4) { width: 2px; height: 2px; left: 19vw; animation-duration: 27s; animation-delay: 1s; }
.particle:nth-child(5) { width: 6px; height: 6px; left: 23vw; animation-duration: 16s; animation-delay: 11s; }
.particle:nth-child(6) { width: 3px; height: 3px; left: 28vw; animation-duration: 29s; animation-delay: 5s; }
.particle:nth-child(7) { width: 5px; height: 5px; left: 32vw; animation-duration: 21s; animation-delay: 14s; }
.particle:nth-child(8) { width: 4px; height: 4px; left: 37vw; animation-duration: 25s; animation-delay: 2s; }
.particle:nth-child(9) { width: 2px; height: 2px; left: 41vw; animation-duration: 19s; animation-delay: 9s; }
.particle:nth-child(10) { width: 6px; height: 6px; left: 46vw; animation-duration: 28s; animation-delay: 4s; }
.particle:nth-child(11) { width: 3px; height: 3px; left: 51vw; animation-duration: 17s; animation-delay: 13s; }
.particle:nth-child(12) { width: 5px; height: 5px; left: 55vw; animation-duration: 26s; animation-delay: 6s; }
.particle:nth-child(13) { width: 4px; height: 4px; left: 60vw; animation-duration: 22s; animation-delay: 15s; }
.particle:nth-child(14) { width: 2px; height: 2px; left: 64vw; animation-duration: 30s; animation-delay: 7s; }
.particle:nth-child(15) { width: 6px; height: 6px; left: 69vw; animation-duration: 18s; animation-delay: 12s; }
.particle:nth-child(16) { width: 3px; height: 3px; left: 73vw; animation-duration: 24s; animation-delay: 1s; }
.particle:nth-child(17) { width: 5px; height: 5px; left: 78vw; animation-duration: 20s; animation-delay: 10s; }
.particle:nth-child(18) { width: 4px; height: 4px; left: 82vw; animation-duration: 27s; animation-delay: 3s; }
.particle:nth-child(19) { width: 2px; height: 2px; left: 87vw; animation-duration: 16s; animation-delay: 16s; }
.particle:nth-child(20) { width: 6px; height: 6px; left: 91vw; animation-duration: 29s; animation-delay: 5s; }
.particle:nth-child(21) { width: 3px; height: 3px; left: 96vw; animation-duration: 21s; animation-delay: 14s; }
.particle:nth-child(22) { width: 5px; height: 5px; left: 12vw; bottom: -22vh; animation-duration: 25s; animation-delay: 6s; }
.particle:nth-child(23) { width: 4px; height: 4px; left: 35vw; bottom: -20vh; animation-duration: 19s; animation-delay: 17s; }
.particle:nth-child(24) { width: 2px; height: 2px; left: 58vw; bottom: -24vh; animation-duration: 28s; animation-delay: 8s; }
.particle:nth-child(25) { width: 6px; height: 6px; left: 76vw; bottom: -18vh; animation-duration: 23s; animation-delay: 2s; }
.particle:nth-child(26) { width: 3px; height: 3px; left: 89vw; bottom: -21vh; animation-duration: 30s; animation-delay: 12s; }

.glow {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
}

.glow-primary {
  top: -26%;
  left: -18%;
  width: 460px;
  height: 460px;
  background: var(--primary);
  opacity: 0.28;
}

.glow-secondary {
  right: -5%;
  bottom: 0;
  width: 400px;
  height: 400px;
  background: #000;
  opacity: 0.18;
}

@keyframes drift {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }

  10%,
  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-110vh) translateX(30px);
    opacity: 0;
  }
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  padding: 20px 0;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
}

nav.scrolled {
  padding: 14px 0;
  border-bottom-color: rgba(255, 255, 255, 0.07);
  background: rgba(5, 8, 22, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 34px;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--secondary);
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Shared controls */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #6f3ff5);
  box-shadow: 0 8px 24px -8px rgba(145, 94, 255, 0.6);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(145, 94, 255, 0.75);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--secondary);
  color: var(--secondary);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
}

.glass {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.25s ease, border-color 0.25s ease,
    background 0.25s ease;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-top: 95px;
  background: linear-gradient(90deg, rgba(5, 8, 22, 0) 0%, rgba(5, 8, 22, 0) 42%, #02030a 72%, #000 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  width: 100%;
  transform: translateY(-28px);
}

.hero-kicker {
  margin-bottom: 18px;
  color: var(--secondary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.hero h1 {
  margin-bottom: 18px;
  font-size: 50px;
  line-height: 1.14;
}

.hero-name,
.hero h1 .accent {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  animation: heroTitleIn 0.8s ease forwards;
}

.hero h1 .accent {
  color: var(--primary);
  animation-delay: 0.18s;
}

@keyframes heroTitleIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.typing-line {
  display: flex;
  align-items: center;
  height: 32px;
  margin-bottom: 26px;
  color: var(--secondary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
}

.typing-line .cursor {
  display: inline-block;
  width: 2px;
  height: 22px;
  margin-left: 3px;
  background: var(--secondary);
  animation: blink 1s step-end infinite;
}

.hero p.lede {
  max-width: 480px;
  margin-bottom: 34px;
  color: var(--text-dim);
  font-size: 16px;
}

.hero-actions,
.hero-socials {
  display: flex;
  flex-wrap: wrap;
}

.hero-actions {
  gap: 16px;
  margin-bottom: 44px;
}

.hero-socials {
  gap: 14px;
}

.pill-link {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.pill-link:hover {
  border-color: var(--accent);
  color: var(--text);
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(440px, 100%);
  height: min(70vh, 700px);
  min-height: 500px;
  aspect-ratio: 22 / 35;
  overflow: hidden;
  transform: translateX(1px);
  user-select: none;
  isolation: isolate;
}


.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0) 45%),
    linear-gradient(90deg, rgba(14, 23, 62, 0) 60%, #1b2762 96%, #915EFF 90%);
  pointer-events: none;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
  filter: brightness(0.88);
  transform: scale(1.08);
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-mask-image:
    linear-gradient(0deg, transparent 0%, #000 28%, #000 100%),
    linear-gradient(90deg, #000 0%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(0deg, transparent 0%, #000 28%, #000 100%),
    linear-gradient(90deg, #000 0%, #000 78%, transparent 100%);
  mask-composite: intersect;
}

.scroll-indicator {
  position: absolute;
  bottom: 10px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-indicator .stick {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--secondary), transparent);
  animation: scrolldown 1.6s ease-in-out infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes scrolldown {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 56px;
}

.about-grid p {
  margin-bottom: 16px;
  color: var(--text-dim);
  font-size: 15.5px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  padding: 26px;
  text-align: left;
}

.stat-num {
  color: var(--accent);
  font-family: "Sora", sans-serif;
  font-size: 32px;
  font-weight: 800;
}

.stat-label {
  margin-top: 4px;
  color: var(--text-dim);
  font-size: 13px;
}

/* Certifications */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cert-card {
  padding: 24px;
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 184, 0, 0.4);
}

.cert-card h4 {
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.35;
}

.cert-card .issuer {
  margin-bottom: 14px;
  color: var(--text-dim);
  font-size: 12.5px;
}

.cert-card a {
  color: var(--secondary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 12.5px;
  font-weight: 600;
}

.cert-card a:hover {
  text-decoration: underline;
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.skill-card {
  padding: 30px;
}

.skill-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 206, 168, 0.4);
}

.skill-card h3 {
  margin-bottom: 16px;
  color: var(--secondary);
  font-size: 17px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.skill-tag {
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  font-size: 12.5px;
}

/* Experience */
.timeline {
  position: relative;
  padding-left: 36px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: 1px;
  background: linear-gradient(var(--primary), var(--secondary));
}

.timeline-item {
  position: relative;
  padding-bottom: 44px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 4px;
  left: -36px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--secondary);
  border-radius: 50%;
  background: var(--bg);
}

.timeline-item .when {
  margin-bottom: 6px;
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.05em;
}

.timeline-item h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.timeline-item .org {
  margin-bottom: 8px;
  color: var(--text-dim);
  font-size: 14px;
}

.timeline-item p {
  max-width: 560px;
  color: var(--text-dim);
  font-size: 14.5px;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.project-card {
  overflow: hidden;
  padding: 0;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(145, 94, 255, 0.45);
}

.project-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  background: linear-gradient(
    135deg,
    rgba(145, 94, 255, 0.28),
    rgba(0, 206, 168, 0.18)
  );
  color: var(--text-dim);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-body {
  padding: 24px;
}

.project-body h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.project-body p {
  margin-bottom: 16px;
  color: var(--text-dim);
  font-size: 14px;
}

.tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.tech-chip {
  padding: 5px 10px;
  border: 1px solid rgba(255, 184, 0, 0.3);
  border-radius: 6px;
  background: rgba(255, 184, 0, 0.1);
  color: var(--accent);
  font-size: 11.5px;
}

.project-links {
  display: flex;
  gap: 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.project-links a {
  color: var(--secondary);
}

.project-links a:hover {
  text-decoration: underline;
}

.project-status {
  color: var(--text-dim);
  font-size: 12.5px;
  font-style: italic;
}

.project-card.soon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 236px;
  border-style: dashed;
}

.project-card.soon .project-body {
  text-align: center;
}

.project-card.soon h3 {
  color: var(--text-dim);
  font-size: 16px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

.contact-heading {
  margin-bottom: 20px;
}

.contact-info p {
  max-width: 400px;
  margin-bottom: 28px;
  color: var(--text-dim);
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.channel {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
}

.channel .ico {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 15px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px;
}

.hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--text-dim);
  font-size: 12.5px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--secondary);
  outline: none;
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

form .btn {
  align-self: flex-start;
  margin-top: 4px;
}

.form-note {
  min-height: 18px;
  margin-top: -4px;
  color: var(--text-dim);
  font-size: 12px;
}

.form-note.success {
  color: var(--secondary);
}

.form-note.error {
  color: #ff9f9f;
}

/* Footer */
footer {
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--text-dim);
  font-size: 13px;
}

/* Back to top */
#toTop {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(21, 16, 48, 0.85);
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(10px);
  transition: opacity 0.25s ease, transform 0.25s ease,
    border-color 0.2s ease;
}

#toTop.show {
  opacity: 1;
  pointer-events: auto;
}

#toTop:hover {
  transform: translateY(-3px);
  border-color: var(--secondary);
}

@media (max-width: 880px) {
  .glow-primary {
    top: -30%;
    left: -34%;
    opacity: 0.22;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 84px;
  }

  .hero-grid {
    transform: translateY(-12px);
  }

  .hero-visual {
    display: none;
  }

  .skills-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .cert-grid {
    grid-template-columns: 1fr 1fr;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: min(260px, calc(100vw - 48px));
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(5, 8, 22, 0.94);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(255, 255, 255, 0.06);
  }

  .hero h1 {
    font-size: 34px;
  }

  .section-heading {
    font-size: 28px;
  }
}

@media (max-width: 560px) {
  section {
    padding: 82px 0;
  }

  .cert-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 84px;
  }

  .scroll-indicator {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
