/* ===================================
   ACOSTE — Design System
   =================================== */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap");

:root {
  --blue-primary: #0672d8;
  --blue-bright: #0b84f3;
  --green-primary: #11a63a;
  --green-bright: #1db954;
  --white: #ffffff;
  --off-white: #f4f7fc;
  --gray-light: #e8edf5;
  --gray-mid: #8a99b0;
  --gray-dark: #1c2333;
  --dark-bg: #0c1220;
  --gradient-hero: linear-gradient(
    135deg,
    #071428 0%,
    #0c1e38 50%,
    #061a14 100%
  );
  --gradient-brand: linear-gradient(
    135deg,
    var(--blue-primary),
    var(--green-primary)
  );
  --gradient-brand-h: linear-gradient(
    135deg,
    var(--blue-bright),
    var(--green-bright)
  );
  --font-sans: "Plus Jakarta Sans", sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-fast: 0.3s var(--ease-out-expo);
  --transition-med: 0.6s var(--ease-out-expo);
  --transition-slow: 1s var(--ease-out-expo);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--gray-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: var(--dark-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--blue-primary);
  border-radius: 2px;
}

/* ══════════════════════════════
   TYPOGRAPHY
══════════════════════════════ */
.display-xl {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.display-lg {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.display-md {
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.display-sm {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.3;
}
.body-lg {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 400;
  line-height: 1.7;
}
.body-md {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
}
.label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ══════════════════════════════
   NAVBAR
══════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition:
    background var(--transition-fast),
    padding var(--transition-fast),
    backdrop-filter var(--transition-fast);
}
#navbar.scrolled {
  background: rgba(7, 14, 28, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(6, 114, 216, 0.15);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.nav-logo img {
  height: 42px;
  width: auto;
  transition: opacity var(--transition-fast);
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  transition: color var(--transition-fast);
  padding: 0.25rem 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gradient-brand);
  transition: width var(--transition-fast);
  border-radius: 2px;
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--gradient-brand);
  color: white;
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
  box-shadow: 0 4px 20px rgba(6, 114, 216, 0.3);
}
.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 30px rgba(6, 114, 216, 0.45);
}

/* Mobile menu */
#mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(7, 14, 28, 0.97);
  backdrop-filter: blur(30px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1.25rem;
}
#mobile-menu.open {
  display: flex;
}
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: center;
  width: 100%;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-link {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}
.mobile-menu-link.active {
  color: rgba(11, 132, 243, 1);
}

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  overflow: hidden;
}
.hero .hero-logo {
  width: min(78vw, 460px);
  height: auto;
  max-width: 100%;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: orbFloat 8s ease-in-out infinite alternate;
}
.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--blue-primary);
  top: -15%;
  right: -10%;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--green-primary);
  bottom: -10%;
  left: -5%;
  animation-delay: -3s;
}
.hero-orb-3 {
  width: 250px;
  height: 250px;
  background: var(--blue-bright);
  top: 30%;
  left: 20%;
  animation-delay: -5s;
  opacity: 0.1;
}

@keyframes orbFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(30px, -40px) scale(1.08);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-logo-wrap {
  position: relative;
  display: inline-block;
  animation: logoReveal 1.2s var(--ease-out-expo) forwards;
  opacity: 0;
  transform: translateY(30px);
}
.hero-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(
    ellipse at center,
    rgba(6, 114, 216, 0.25) 0%,
    transparent 70%
  );
  animation: glowPulse 4s ease-in-out infinite;
  border-radius: 50%;
  z-index: -1;
}
@keyframes logoReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes glowPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}
.hero-logo {
  height: clamp(80px, 12vw, 140px);
  width: auto;
  filter: drop-shadow(0 0 30px rgba(6, 114, 216, 0.4));
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(6, 114, 216, 0.15);
  border: 1px solid rgba(6, 114, 216, 0.3);
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s var(--ease-out-expo) forwards;
}
.hero-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-bright);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.hero-title {
  color: white;
  opacity: 0;
  animation: fadeUp 1s 0.6s var(--ease-out-expo) forwards;
}
.hero-subtitle {
  color: rgba(255, 255, 255, 0.55);
  font-size: clamp(0.9rem, 1.8vw, 1.15rem);
  font-weight: 400;
  max-width: 550px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeUp 1s 0.8s var(--ease-out-expo) forwards;
}
.hero-slogan {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 500;
  font-style: italic;
  opacity: 0;
  animation: fadeUp 1s 1s var(--ease-out-expo) forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-brand);
  color: white;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    opacity var(--transition-fast);
  box-shadow: 0 8px 32px rgba(6, 114, 216, 0.35);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(6, 114, 216, 0.5);
  opacity: 0.95;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: white;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  transition:
    border-color var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast);
  cursor: pointer;
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s 1.2s var(--ease-out-expo) forwards;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s 2s ease forwards;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3));
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(1.3);
  }
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* ══════════════════════════════
   SECTION SHAPES (organic dividers)
══════════════════════════════ */
.wave-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wave-divider svg {
  display: block;
  width: 100%;
}

/* ══════════════════════════════
   SECTIONS
══════════════════════════════ */
.section {
  padding: clamp(4rem, 10vw, 8rem) 0;
}
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--blue-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-label::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

/* ══════════════════════════════
   MISSION SECTION
══════════════════════════════ */
.mission-bg {
  background: var(--off-white);
  position: relative;
}
.mission-highlight {
  position: relative;
  background: var(--gradient-hero);
  border-radius: 2rem;
  padding: clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}
.mission-highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 80% 50%,
      rgba(6, 114, 216, 0.2) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 20% 80%,
      rgba(17, 166, 58, 0.15) 0%,
      transparent 50%
    );
}
.mission-quote {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 600;
  font-style: italic;
  color: white;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}
.mission-quote-mark {
  color: var(--blue-bright);
  font-size: 4rem;
  line-height: 0;
  vertical-align: -1.5rem;
}

/* ══════════════════════════════
   DOMAIN CARDS
══════════════════════════════ */
.domains-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
}
.domain-card {
  background: white;
  border: 1px solid var(--gray-light);
  border-radius: 1.5rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}
.domain-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-fast);
}
.domain-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 114, 216, 0.04) 0%,
    rgba(17, 166, 58, 0.04) 100%
  );
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.domain-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 114, 216, 0.2);
  box-shadow: 0 20px 60px rgba(6, 114, 216, 0.1);
}
.domain-card:hover::before {
  transform: scaleX(1);
}
.domain-card:hover::after {
  opacity: 1;
}

.domain-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(
    135deg,
    rgba(6, 114, 216, 0.1),
    rgba(17, 166, 58, 0.1)
  );
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background var(--transition-fast);
}
.domain-card:hover .domain-icon {
  background: linear-gradient(
    135deg,
    rgba(6, 114, 216, 0.2),
    rgba(17, 166, 58, 0.2)
  );
}
.domain-icon svg {
  width: 26px;
  height: 26px;
}

/* ══════════════════════════════
   PROCESS TIMELINE
══════════════════════════════ */
.process-timeline {
  position: relative;
}
.process-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--blue-primary),
    var(--green-primary),
    transparent
  );
  transform: translateX(-50%);
}
.process-step {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}
.process-step:nth-child(even) .step-content-left {
  grid-column: 3;
}
.process-step:nth-child(even) .step-dot {
  grid-column: 2;
}
.process-step:nth-child(even) .step-content-right {
  grid-column: 1;
  grid-row: 1;
}

.step-dot {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow:
    0 0 0 6px rgba(6, 114, 216, 0.1),
    0 8px 24px rgba(6, 114, 216, 0.3);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step-card {
  background: white;
  border: 1px solid var(--gray-light);
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(6, 114, 216, 0.1);
}

/* ══════════════════════════════
   IMPACT COUNTERS
══════════════════════════════ */
.impact-bg {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}
.impact-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 20% 50%,
      rgba(6, 114, 216, 0.2) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 80% 50%,
      rgba(17, 166, 58, 0.15) 0%,
      transparent 50%
    );
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 2rem;
}
.impact-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}
.impact-number {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-brand-h);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.impact-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

/* ══════════════════════════════
   PARTNERS
══════════════════════════════ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--gray-light);
  border: 1px solid var(--gray-light);
  border-radius: 1rem;
  overflow: hidden;
}
.partner-cell {
  background: white;
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--gray-mid);
  text-align: center;
  transition:
    background var(--transition-fast),
    color var(--transition-fast);
}
.partner-cell:hover {
  background: var(--off-white);
  color: var(--blue-primary);
}

/* ══════════════════════════════
   CTA FINAL
══════════════════════════════ */
.cta-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(6, 114, 216, 0.25) 0%,
    transparent 70%
  );
}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer {
  background: #050c1a;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
}
.footer-logo img {
  height: 36px;
}
.footer-link {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
  display: block;
  margin-bottom: 0.5rem;
}
.footer-link:hover {
  color: white;
}
.footer-heading {
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-divider {
  border-color: rgba(255, 255, 255, 0.08);
}
.footer-bottom {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}
.footer-gradient-line {
  height: 2px;
  background: var(--gradient-brand);
}

/* ══════════════════════════════
   GLASSMORPHISM CARD
══════════════════════════════ */
.glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 1.5rem;
}

/* ══════════════════════════════
   ABOUT & EXPERTISE pages
══════════════════════════════ */
.page-hero {
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(3rem, 8vw, 6rem);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 70% 50%,
      rgba(6, 114, 216, 0.2) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 20% 80%,
      rgba(17, 166, 58, 0.15) 0%,
      transparent 50%
    );
}

.value-card {
  background: white;
  border: 1px solid var(--gray-light);
  border-radius: 1.25rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(6, 114, 216, 0.1);
}

.value-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.team-card {
  background: white;
  border: 1px solid var(--gray-light);
  border-radius: 1.5rem;
  overflow: hidden;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(6, 114, 216, 0.12);
}
.team-avatar {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(
    135deg,
    rgba(6, 114, 216, 0.1),
    rgba(17, 166, 58, 0.1)
  );
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-info {
  padding: 1.5rem;
}

.expertise-card {
  border-radius: 2rem;
  overflow: hidden;
  background: white;
  border: 1px solid var(--gray-light);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}
.expertise-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(6, 114, 216, 0.1);
}
.expertise-visual {
  aspect-ratio: 16/9;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.expertise-visual-inner {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 60% 40%,
      rgba(6, 114, 216, 0.3) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 30% 70%,
      rgba(17, 166, 58, 0.2) 0%,
      transparent 50%
    );
}
.expertise-body {
  padding: 2rem;
}

/* ══════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.8s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.8s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo);
}
.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.4s;
}
.delay-5 {
  transition-delay: 0.5s;
}
.delay-6 {
  transition-delay: 0.6s;
}

/* ══════════════════════════════
   GRADIENT TEXT
══════════════════════════════ */
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-h {
  background: var(--gradient-brand-h);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ══════════════════════════════
   PARTICLES CANVAS
══════════════════════════════ */
#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ══════════════════════════════
   PLACEHOLDER IMAGES
══════════════════════════════ */
.img-placeholder {
  background: linear-gradient(135deg, #0c1e38 0%, #061a14 100%);
  border-radius: 1.25rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 60% 40%,
      rgba(6, 114, 216, 0.25) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 30% 70%,
      rgba(17, 166, 58, 0.2) 0%,
      transparent 50%
    );
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1024px) {
  .section {
    padding: clamp(3.5rem, 8vw, 6rem) 0;
  }
  .section-inner {
    padding: 0 clamp(1.25rem, 4vw, 2rem);
  }
  .page-hero {
    min-height: 50vh;
  }
  .process-timeline::before {
    left: 26px;
  }
  .process-step {
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
  }
  /* Hide empty spacer divs used for desktop zigzag layout */
  .process-step > div:empty {
    display: none;
  }
  /* All steps: dot col 1, content col 2 */
  .process-step .step-dot {
    grid-column: 1;
    grid-row: 1;
  }
  .process-step .step-content-left,
  .process-step .step-content-right {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .md-stack {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .sm-stack {
    grid-template-columns: 1fr !important;
  }
  #navbar {
    padding: 0.85rem 0;
  }
  #navbar.scrolled {
    padding: 0.65rem 0;
  }
  .nav-logo img {
    height: 34px;
  }
  .hamburger {
    display: flex;
  }
  .desktop-nav {
    display: none !important;
  }
  .navbar-inner {
    gap: 0.75rem;
  }
  #mobile-menu {
    padding: 2rem 1.25rem;
    justify-content: center;
  }
  .mobile-menu-nav {
    gap: 1.5rem;
    max-width: 22rem;
  }
  .section {
    padding: 3.5rem 0;
  }
  .section-inner {
    padding: 0 1.1rem;
  }
  .hero {
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 4rem;
  }
  .hero-content {
    width: 100%;
    max-width: 100%;
  }
  .hero .hero-logo {
    width: min(86vw, 360px) !important;
    height: auto !important;
  }
  .hero-slogan {
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns {
    width: 100%;
    align-items: stretch;
  }
  .hero-btns .btn-primary,
  .hero-btns .btn-ghost {
    justify-content: center;
    width: 100%;
    max-width: 22rem;
  }
  .hero-orb-1 {
    width: 320px;
    height: 320px;
    right: -20%;
    top: -8%;
  }
  .hero-orb-2 {
    width: 240px;
    height: 240px;
    left: -15%;
    bottom: -5%;
  }
  .hero-orb-3 {
    width: 160px;
    height: 160px;
    left: 12%;
    top: 22%;
  }
  .mission-highlight,
  .glass,
  .expertise-card,
  .step-card,
  .team-card,
  .value-card,
  .domain-card,
  .impact-card {
    border-radius: 1.25rem;
  }
  .mission-quote {
    font-size: 1.05rem;
    line-height: 1.7;
  }
  .mission-quote-mark {
    font-size: 2.75rem;
    vertical-align: -0.9rem;
  }
  .process-timeline::before {
    display: none;
  }
  .process-step {
    grid-template-columns: auto 1fr;
  }
  .step-dot {
    width: 44px;
    height: 44px;
    font-size: 0.9rem;
    box-shadow:
      0 0 0 4px rgba(6, 114, 216, 0.08),
      0 6px 18px rgba(6, 114, 216, 0.24);
  }
  .impact-grid,
  .domains-grid,
  .partners-grid {
    gap: 1rem;
  }
  .page-hero {
    min-height: auto;
    padding-top: 8rem;
    padding-bottom: 3.5rem;
    align-items: flex-end;
  }
  .page-hero.pt-36 {
    padding-top: 8rem !important;
  }
  .page-hero .section-inner {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
  .page-hero h1 br,
  .page-hero h2 br,
  .hero-title br,
  .hero-subtitle br,
  .hero-slogan br {
    display: none;
  }
  .img-placeholder {
    min-height: 280px !important;
  }
  .team-avatar {
    aspect-ratio: 16 / 10;
  }
  .expertise-body {
    padding: 1.25rem;
  }
  .expertise-visual {
    min-height: 240px;
  }
  .reverse-mobile {
    display: flex !important;
    flex-direction: column-reverse !important;
  }
  footer .section-inner {
    padding-top: 3rem !important;
  }
  .footer-logo img {
    height: 32px;
  }
  .footer-heading {
    margin-bottom: 0.9rem;
  }
  .footer-bottom {
    text-align: center;
    width: 100%;
  }
  .nav-cta,
  .mobile-menu-nav .btn-primary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  #mobile-menu {
    gap: 1.5rem;
  }
  .mobile-menu-link {
    font-size: 1.25rem;
  }
  .mobile-menu-nav {
    gap: 1.25rem;
  }
  .hero {
    padding-top: 6.5rem;
  }
  .hero-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .hero .hero-logo {
    width: min(88vw, 300px) !important;
  }
  .hero-btns {
    flex-direction: column;
    align-items: center;
  }
  .btn-primary,
  .btn-ghost {
    padding: 0.82rem 1.15rem;
    font-size: 0.9rem;
  }
  .section-label {
    letter-spacing: 0.11em;
  }
  .mission-highlight,
  .glass {
    padding: 1.35rem !important;
  }
  .domain-card,
  .step-card,
  .value-card,
  .impact-card {
    padding: 1.25rem;
  }
  .process-step {
    gap: 0.9rem;
    margin-bottom: 1.5rem;
  }
  .step-dot {
    width: 38px;
    height: 38px;
    font-size: 0.8rem;
  }
  .impact-number {
    font-size: clamp(2rem, 12vw, 3rem);
  }
  .partner-cell {
    padding: 1.2rem 0.9rem;
    font-size: 0.72rem;
  }
  .page-hero {
    padding-top: 7rem;
    padding-bottom: 2.75rem;
  }
  .page-hero.pt-36 {
    padding-top: 7rem !important;
  }
  .img-placeholder {
    min-height: 220px !important;
  }
  .team-info {
    padding: 1.1rem;
  }
  .glass form {
    gap: 1rem !important;
  }
  footer .section-inner > div:first-child {
    gap: 2rem !important;
  }
}

.md-stack,
.sm-stack,
.reverse-mobile {
  width: 100%;
}
