/* ── RESET & ROOT ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #ffffff;
  --bg2: #f8f8f8;
  --bg3: #f0f0f0;
  --blue: #0052CC;
  --blue-light: #1a6fe8;
  --blue-dim: #003a99;
  --blue-glow: rgba(0, 82, 204, 0.35);
  --blue-glass: rgba(0, 82, 204, 0.1);
  --text: #000000;
  --text-muted: #555555;
  --text-dim: #777777;
  --border: rgba(0, 0, 0, 0.1);
  --glass: rgba(0, 0, 0, 0.05);
  --glass-hi: rgba(0, 0, 0, 0.1);
  --glass-border: rgba(0, 0, 0, 0.15);
  --accent: #6ba3ff;
  --red-soft: rgba(239, 68, 68, 0.12);
  --red-border: rgba(239, 68, 68, 0.2);
  --gold: #fbbf24;
  --green-soft: rgba(16, 185, 129, 0.15);
  --green-border: rgba(16, 185, 129, 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  line-height: 1.6;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: #0052CC;
  border-radius: 99px;
}

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 0.85rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.4s ease, border-color 0.4s ease;
}

/* Glass blur on a pseudo-element so it never traps fixed children */
#header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: -1;
}

#header.scrolled::before {
  opacity: 1;
}

#header.scrolled {
  border-bottom: 1px solid var(--glass-border);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 45px;
  /* Adjust height as needed */
  width: auto;
  object-fit: contain;
}

/* Nav */
nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.2s;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: #0052CC;
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--text);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

nav a.active {
  color: var(--text);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 901;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav — right-side drawer */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    position: relative;
    z-index: 1001;
    /* above the drawer */
  }

  nav {
    /* Always rendered, hidden via transform */
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 72%;
    max-width: 280px;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 5.5rem 1.8rem 2.5rem;
    gap: 1.6rem;
    z-index: 1000;
    box-shadow: -6px 0 40px rgba(0, 0, 0, 0.14);
    /* Start off-screen to the right */
    transform: translateX(110%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  /* Dark backdrop on the left side of the drawer */
  nav::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }

  nav.open {
    transform: translateX(0);
  }

  nav.open::before {
    opacity: 1;
    pointer-events: all;
  }

  /* Nav links — black text */
  nav a {
    font-size: 1rem;
    font-weight: 500;
    color: #000000;
    width: 100%;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  nav a:hover,
  nav a.active {
    color: var(--blue);
  }

  /* Book button — full width */
  nav .btn-primary {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
    font-size: 0.9rem;
  }
}

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn-primary {
  background: #0052CC;
  color: #fff;
  border: 1px solid transparent;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: 'Roboto', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border 0.25s, box-shadow 0.25s, transform 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  background: #fff;
  color: #0052CC;
  border: 1px solid #0052CC;
  box-shadow: none;
  transform: none;
}

.btn-secondary {
  background: #fff;
  color: #0052CC;
  border: 1px solid #0052CC;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: 'Roboto', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-secondary:hover {
  background: #0052CC;
  color: #fff;
  border-color: #0052CC;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: visible;
  margin-bottom: 8rem;
  background: #f0f0f0;
}



/* Animated gradient fallback — always behind video */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 65% 25%, rgba(0, 38, 100, 0.6) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 85% 75%, rgba(0, 55, 150, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 65% 55% at 15% 85%, rgba(0, 22, 75, 0.4) 0%, transparent 60%),
    linear-gradient(165deg, #f0f0f0 0%, #e0e0e0 45%, #d0d0d0 75%, #c0c0c0 100%);
  animation: bgShift 14s ease-in-out infinite alternate;
}

@keyframes bgShift {
  0% {
    filter: hue-rotate(0deg) brightness(1);
  }

  100% {
    filter: hue-rotate(18deg) brightness(1.1);
  }
}

/* Video */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 1;
}

/* Cinematic overlays */
.hero-overlay-bottom {
  display: none;
}

.hero-overlay-left {
  display: none;
}

/* Content sits at bottom-left */
.hero-content {
  position: absolute;
  bottom: -8rem;
  left: 0;
  z-index: 3;
  padding: 0 4.5rem 4.5rem;
  max-width: 860px;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 82, 204, 0.14);
  border: 1px solid rgba(0, 82, 204, 0.32);
  border-radius: 100px;
  padding: 0.38rem 1.1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0;
  /* initial for GSAP */
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: dotPulse 2.2s ease-in-out infinite;
}

@keyframes dotPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.45;
    transform: scale(0.75);
  }
}

/* Headline */
.hero-h1 {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: #000;
  margin-bottom: 1.2rem;
  opacity: 0;
  /* initial for GSAP */
}

.hero-h1 em {
  font-style: italic;
  color: #0052CC;
}

/* Sub & tagline */
.hero-sub {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  color: rgba(0, 0, 0, 0.9);
  max-width: 560px;
  margin-bottom: 0.6rem;
  line-height: 1.65;
  opacity: 0;
}

.hero-tagline {
  font-size: 0.85rem;
  color: #0052CC;
  font-style: italic;
  margin-bottom: 2.2rem;
  opacity: 0;
}

/* CTAs */
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.2rem;
  opacity: 0;
}

.hero-ctas .btn-primary {
  padding: 0.9rem 2.2rem;
  font-size: 1rem;
  border-radius: 10px;
}

.hero-ctas .btn-secondary {
  padding: 0.9rem 2.2rem;
  font-size: 1rem;
  border-radius: 10px;
}

/* ── Linked hover: hovering either button triggers both ── */
/* Hovering the primary → secondary flips to its hover state */
.hero-ctas:has(.btn-primary:hover) .btn-secondary {
  background: #0052CC;
  color: #fff;
  border-color: #0052CC;
}

/* Hovering the secondary → primary flips to its hover state */
.hero-ctas:has(.btn-secondary:hover) .btn-primary {
  background: #fff;
  color: #0052CC;
  border: 1px solid #0052CC;
}

/* Metrics */
.hero-metrics {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.09);
  opacity: 0;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.metric-value {
  font-family: 'Roboto', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: #0052CC;
  line-height: 1;
}

.metric-label {
  font-size: 0.75rem;
  color: #191919;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 1.8rem;
  right: 3.5rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
}

.scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.28));
  animation: scrollLine 2.2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  49% {
    transform: scaleY(1);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ══════════════════════════════════════
   SHARED SECTION STYLES
══════════════════════════════════════ */
section {
  padding: 6.5rem 4.5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.section-label::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
  max-width: 680px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.72;
  margin-bottom: 3.5rem;
}

/* ── GSAP REVEAL STATES ── */
.gsap-hidden {
  opacity: 0;
  transform: translateY(36px);
}

/* ── BLUE HIGHLIGHT ── */
.text-blue {
  color: var(--blue);
}

/* ══════════════════════════════════════
   PROBLEM + WHO WE ARE
══════════════════════════════════════ */
#problem {
  position: relative;
  z-index: 2;
  background: var(--bg2);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.problem-list {
  list-style: none;
  margin-bottom: 2rem;
}

.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.problem-list li:last-child {
  border-bottom: none;
}

.icon-x {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--red-soft);
  border: 1px solid var(--red-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #f87171;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-cards {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.3rem;
  border-radius: var(--radius-md);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.feature-card:hover {
  border-color: rgba(0, 82, 204, 0.32);
  background: var(--blue-glass);
  transform: translateX(5px);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 82, 204, 0.15);
  border: 1px solid rgba(0, 82, 204, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.feature-text h4 {
  font-size: 0.93rem;
  font-weight: 600;
  margin-bottom: 0.22rem;
}

.feature-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Problem Image ── */
.problem-image-wrapper {
  border-radius: 160px 0 160px 0;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 82, 204, 0.08);
  height: 100%;
  min-height: 400px;
}

.problem-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ══════════════════════════════════════
   OUR APPROACH
══════════════════════════════════════ */
#approach {
  background: var(--bg);
}

.step-flow-wrapper {
  overflow-x: auto;
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}

.step-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 800px;
  /* forces horizontal scrolling on mobile */
}

.step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.7rem;
  border-radius: 8px;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  flex-shrink: 0;
  border: 1px solid #0052cc;
  background: white;
  color: #0052cc;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.step-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  border: 2px solid transparent;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

/* Active Step (Completed/Filled) */
.step.active {
  background: #0052cc;
  color: white;
}

.step.active .step-icon {
  background: white;
  color: #0052cc;
}

/* Connectors */
.step-connector {
  height: 2px;
  flex-grow: 1;
  background: #e0e0e0;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.step-connector-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: #0052cc;
  /* width is animated via inline JS */
}

/* Approach Layout */
.approach-top-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

.approach-left {
  flex: 1 1 300px;
}

.approach-left .section-label {
  margin-bottom: 1rem;
}

.approach-left .section-title {
  margin-bottom: 1.2rem;
}

.approach-cards-grid {
  flex: 2 1 600px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.approach-card {
  background: white;
  border-radius: 40px 4px 40px 4px;
  padding: 1.8rem 1.5rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  animation: floatCard 6s ease-in-out infinite;
}

.approach-card:hover {
  animation-play-state: paused;
  box-shadow: 0 16px 42px rgba(0, 82, 204, 0.12);
}

.approach-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 82, 204, 0.08);
  border: 1px solid rgba(0, 82, 204, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  color: var(--blue);
}

.approach-text h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
  line-height: 1.3;
}

.approach-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Featured Card (e.g. Center Top) */
.approach-card.featured {
  background: var(--blue);
  box-shadow: 0 14px 40px rgba(0, 82, 204, 0.25);
}

.approach-card.featured .approach-icon {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.approach-card.featured .approach-text h4,
.approach-card.featured .approach-text p {
  color: white;
}

/* Card Positioning in Grid */
.card-left {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  margin-top: 1rem;
  /* push down slightly to stagger */
  animation-delay: 0s;
}

.card-center-top {
  grid-column: 2;
  grid-row: 1;
  animation-delay: 1.2s;
}

.card-center-bottom {
  grid-column: 2;
  grid-row: 2;
  border-radius: 4px 40px 4px 40px;
  /* Inverse leaf shape */
  animation-delay: 2.4s;
}

.card-right-top {
  grid-column: 3;
  grid-row: 1;
  margin-top: 2rem;
  /* stagger down */
  animation-delay: 3.6s;
}

.card-right-bottom {
  grid-column: 3;
  grid-row: 2;
  animation-delay: 0.8s;
}

/* Responsive */
@media (max-width: 900px) {
  .approach-cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .card-left,
  .card-center-top,
  .card-center-bottom,
  .card-right-top,
  .card-right-bottom {
    grid-column: auto;
    grid-row: auto;
    margin-top: 0;
  }
}

@media (max-width: 600px) {
  .approach-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════
   PATHWAYS
══════════════════════════════════════ */
#pathways {
  background: var(--bg);
}

.pathways-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.pathway-card {
  padding: 2.5rem 1.3rem;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--glass-border);
  transition: border-color 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: default;
  position: relative;
  z-index: 1;
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

/* Diagonal Glow Setup (Outer Surface) */
.pathway-card::before,
.pathway-card::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border: 3px solid transparent;
  transition: width 0.4s ease, height 0.4s ease, border-color 0.4s ease;
  pointer-events: none;
  z-index: 2;
  border-radius: 16px;
}

/* ODD CARDS: Top-Left & Bottom-Right */
.pathway-card:nth-child(odd)::before {
  top: -4px;
  left: -4px;
  border-bottom: none;
  border-right: none;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
}

.pathway-card:nth-child(odd)::after {
  bottom: -4px;
  right: -4px;
  border-top: none;
  border-left: none;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
}

/* EVEN CARDS: Top-Right & Bottom-Left */
.pathway-card:nth-child(even)::before {
  top: -4px;
  right: -4px;
  border-bottom: none;
  border-left: none;
  border-top-left-radius: 0;
  border-bottom-right-radius: 0;
}

.pathway-card:nth-child(even)::after {
  bottom: -4px;
  left: -4px;
  border-top: none;
  border-right: none;
  border-top-left-radius: 0;
  border-bottom-right-radius: 0;
}

.pathway-card:hover::before,
.pathway-card:hover::after {
  width: 45%;
  height: 45%;
  border-color: #0052cc;
}

.pathway-card:hover {
  background: rgba(0, 82, 204, 0.03);
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.32);
}

/* Subdued Background Icon */
.pathway-emoji {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  font-size: 6.5rem;
  line-height: 1;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: -1;

  /* Hollow Blue Stroke Effect */
  color: transparent;
  -webkit-text-stroke: 2px #0052cc;
}

.pathway-card:hover .pathway-emoji {
  opacity: 0.12;
  transform: translate(-50%, -50%) scale(1);
}

.pathway-card h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  position: relative;
  z-index: 1;
}

.pathway-list {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  list-style: none;
}

.pathway-list li {
  margin-bottom: 0.4rem;
  position: relative;
  padding-left: 1rem;
}

.pathway-list li::before {
  content: '•';
  color: #0052cc;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.pathway-cta {
  font-size: 0.76rem;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.25s, opacity 0.25s;
  position: absolute;
  bottom: 1.3rem;
  left: 1.3rem;
  right: 1.3rem;
  opacity: 0;
}

.pathway-card:hover .pathway-cta {
  color: var(--accent);
  opacity: 1;
}

/* ══════════════════════════════════════
   COLLEGE FINDER
══════════════════════════════════════ */
#finder {
  background: var(--bg2);
}

.finder-box {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
}

.finder-filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.filter-group label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.filter-group select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 0.72rem 1rem;
  color: var(--text);
  font-family: 'Roboto', sans-serif;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b9ab0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.filter-group select:focus {
  border-color: rgba(0, 82, 204, 0.55);
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

.filter-group select option {
  background: #f8f8f8;
}

.finder-btn-row {
  display: flex;
  justify-content: center;
}

/* Results */
.finder-results {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.finder-results.visible {
  display: grid;
}

.result-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 1.6rem;
  transition: border-color 0.3s, transform 0.3s;
}

.result-card:hover {
  border-color: rgba(0, 82, 204, 0.3);
  transform: translateY(-3px);
}

.result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.result-stars {
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 2px;
}

.result-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.28rem;
}

.result-card .loc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

/* ── TAGS ── */
.tag {
  font-size: 0.7rem;
  padding: 0.22rem 0.62rem;
  border-radius: 100px;
  background: rgba(0, 82, 204, 0.11);
  border: 1px solid rgba(0, 82, 204, 0.2);
  color: var(--accent);
}

/* ══════════════════════════════════════
   INSTITUTIONS
══════════════════════════════════════ */
#institutions {
  background: var(--bg);
  margin-top: 40px;
}


/* ══════════════════════════════════════
   WHY CHOOSE US
══════════════════════════════════════ */
#why {
  background: var(--bg2);
  overflow-x: hidden;
  width: 100%;
}

.why-marquee-wrapper {
  overflow: visible;
  width: 100%;
  padding-block: 2.5rem;
  position: relative;
}

.why-marquee-track {
  display: flex;
  width: max-content;
  animation: whyMarquee 30s linear infinite;
  align-items: stretch;
}

.why-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes whyMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.why-card {
  width: 320px;
  padding: 2.2rem 1.8rem;
  margin: 1rem 1.5rem;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.why-card:hover {
  background: #0052cc;
  box-shadow: 0 16px 42px rgba(0, 82, 204, 0.08);
  /* slight blue tint on shadow */
  transform: translateY(-5px);
}

/* L-shape outer brackets matching the image */
.why-card::before {
  content: '';
  position: absolute;
  top: -14px;
  right: -14px;
  width: 75px;
  height: 75px;
  border-top: 5px solid #0052cc;
  border-right: 5px solid #0052cc;
  border-top-right-radius: 26px;
  pointer-events: none;
  transition: border-color 0.4s, filter 0.4s;
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: -14px;
  width: 75px;
  height: 75px;
  border-bottom: 5px solid #0052cc;
  border-left: 5px solid #0052cc;
  border-bottom-left-radius: 26px;
  pointer-events: none;
  transition: border-color 0.4s, filter 0.4s;
}

.why-card:hover::before,
.why-card:hover::after {
  border-color: #ffffff;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
}


/* Icon matching the image */
.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #ffffff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.6rem;
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #191919;
  margin-bottom: 0.6rem;
}

.why-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  transition: color 0.3s;
}



.why-card:hover p {
  color: #ffffff;
}

.why-read {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: #191919;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: color 0.2s;
}

.why-read:hover {
  color: #0052cc;
}

/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
#testimonials {
  background: var(--bg);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testi-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--glass-border);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.testi-card:hover {
  border-color: #0052cc;
  box-shadow: 0 0 24px 2px rgba(0, 82, 204, 0.45);
  transform: translateY(-5px);
}

.quote-mark {
  position: absolute;
  top: 1.4rem;
  right: 1.6rem;
  font-size: 3.5rem;
  color: rgba(0, 82, 204, 0.13);
  font-family: 'Roboto', sans-serif;
  line-height: 1;
  pointer-events: none;
}

.testi-quote {
  font-size: 0.9rem;
  color: #191919;
  line-height: 1.72;
  margin-bottom: 1.6rem;
  font-style: italic;
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  border: 2px solid rgba(0, 82, 204, 0.32);
}

.testi-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #191919;
}

.testi-meta {
  font-size: 0.76rem;
  color: #191919;
  margin-top: 0.1rem;
}

/* ══════════════════════════════════════
   CTA SECTION
══════════════════════════════════════ */
#cta {
  position: relative;
  background: #ffffff;
  border-top: 1px solid rgba(0, 82, 204, 0.14);
  border-bottom: 1px solid rgba(0, 82, 204, 0.14);
  text-align: center;
  padding: 8rem 4.5rem;
}

@keyframes centerPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0.5;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0.5;
  }
}

#cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1000px;
  height: 1000px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(0, 82, 204, 0.35) 0%, rgba(0, 82, 204, 0.15) 35%, transparent 65%);
  animation: centerPulse 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

#cta .section-title {
  max-width: 100%;
  margin-inline: auto;
}

#cta .section-sub {
  margin-inline: auto;
}

.cta-btn-large {
  padding: 1.1rem 3.2rem;
  font-size: 1.08rem;
  border-radius: 12px;
  margin-top: 0.5rem;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 4.5rem 4.5rem 2.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.87rem;
  color: #191919;
  line-height: 1.72;
  margin-top: 1rem;
  max-width: 250px;
}

.footer-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.6rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid rgba(25, 25, 25, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.22s, border-color 0.22s, color 0.22s;
  text-decoration: none;
  color: #191919;
}

.social-btn:hover {
  border-color: #0052cc;
  background: #0052cc;
  color: #ffffff;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #191919;
  margin-bottom: 1.3rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col ul li a {
  font-size: 0.87rem;
  color: #191919;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #0052CC;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: #191919;
}

.footer-contact a {
  color: #191919;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: #0052CC;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: #191919;
}

/* ══════════════════════════════════════
   MOBILE FLOAT CTA
══════════════════════════════════════ */
#float-cta {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 800;
  opacity: 0;
  display: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s;
}

#float-cta.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

#float-cta .btn-primary {
  padding: 0.9rem 2.2rem;
  border-radius: 100px;
  font-size: 0.95rem;
  box-shadow: 0 10px 36px rgba(0, 82, 204, 0.45);
}

/* ══════════════════════════════════════
   MODAL
══════════════════════════════════════ */
#modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
}

#modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-xl);
  padding: 2.6rem;
  width: 100%;
  max-width: 540px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.92) translateY(14px);
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: #191919;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #0052cc;
}

.modal h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #191919;
}

.modal .modal-sub {
  font-size: 0.875rem;
  color: #191919;
  margin-bottom: 2rem;
  line-height: 1.55;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #191919;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: #afb4bb;
  border: 1px solid #afb4bb;
  border-radius: 9px;
  padding: 0.78rem 1rem;
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  outline: none;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffffff' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-field select option {
  background: #0052cc;
  color: #ffffff;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #191919;
  box-shadow: 0 0 0 3px rgba(25, 25, 25, 0.1);
}

.form-field textarea {
  resize: vertical;
  min-height: 88px;
}

.modal-submit {
  width: 100%;
  justify-content: center;
  padding: 0.92rem;
  font-size: 1rem;
  border-radius: 10px;
  margin-top: 1.2rem;
}

/* Success state */
.modal-success {
  text-align: center;
  padding: 2rem 0;
  display: none;
}

.success-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--green-soft);
  border: 1px solid var(--green-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  margin: 0 auto 1.3rem;
}

.modal-success h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.65rem;
}

.modal-success p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.modal-success .note {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 1rem;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */

/* ── Tablet wide ── */
@media (max-width: 1100px) {
  .pathways-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .finder-filters {
    grid-template-columns: repeat(2, 1fr);
  }

  .inst-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .finder-results {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Tablet ── */
@media (max-width: 768px) {

  /* Global section padding */
  section {
    padding: 4rem 1.5rem;
  }

  /* Section titles – prevent overflow */
  .section-title {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
    max-width: 100%;
  }

  .section-sub {
    max-width: 100%;
    font-size: 0.95rem;
  }

  /* Header */
  #header,
  #header.scrolled {
    padding: 0.85rem 1.5rem;
  }

  /* ── HERO ── */
  #hero {
    height: auto;
    min-height: 100svh;
    margin-bottom: 4rem;
  }

  .hero-content {
    position: relative;
    bottom: auto;
    left: auto;
    padding: 9rem 1.5rem 3rem;
    max-width: 100%;
  }

  .hero-h1 {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .hero-sub {
    max-width: 100%;
    font-size: 0.9rem;
  }

  .hero-metrics {
    gap: 1.4rem;
    flex-wrap: wrap;
  }

  .metric-value {
    font-size: 1.5rem;
  }

  .hero-scroll-hint {
    display: none;
  }

  /* ── APPROACH ── */
  .approach-top-layout {
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .approach-left {
    flex: none;
    width: 100%;
  }

  .approach-cards-grid {
    flex: none;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  /* Reset card positioning on mobile */
  .card-left,
  .card-center-top,
  .card-center-bottom,
  .card-right-top,
  .card-right-bottom {
    grid-column: auto;
    grid-row: auto;
    margin-top: 0;
  }

  /* ── PROBLEM ── */
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .problem-image-wrapper {
    min-height: 260px;
    border-radius: 80px 0 80px 0;
  }

  /* ── INSTITUTIONS ── */
  .inst-grid {
    grid-template-columns: 1fr;
  }

  /* ── WHY (marquee stays, just reduce card size) ── */
  .why-card {
    min-width: 240px;
    padding: 1.5rem 1.2rem;
  }

  /* ── TESTIMONIALS ── */
  .testi-grid {
    grid-template-columns: 1fr;
  }

  /* ── FINDER ── */
  .finder-filters {
    grid-template-columns: 1fr;
  }

  .finder-box {
    padding: 1.5rem;
  }

  .finder-results {
    grid-template-columns: 1fr;
  }

  /* ── FOOTER ── */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  /* ── FORM ── */
  .form-grid {
    grid-template-columns: 1fr;
  }

  /* ── FLOAT CTA ── */
  #float-cta {
    display: block;
  }
}

/* ── Mobile ── */
@media (max-width: 480px) {
  section {
    padding: 3.5rem 1.2rem;
  }

  /* Hero */
  .hero-content {
    padding: 8rem 1.2rem 2.5rem;
  }

  .hero-h1 {
    font-size: clamp(1.8rem, 8vw, 2.2rem);
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    justify-content: center;
    width: 100%;
  }

  /* Metrics — 2 per row */
  .hero-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }

  /* Approach cards — 1 col */
  .approach-cards-grid {
    grid-template-columns: 1fr;
  }

  /* Pathways — 1 col */
  .pathways-grid {
    grid-template-columns: 1fr;
  }

  /* Institutions — 1 col */
  .inst-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .testi-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  /* Modal */
  .modal {
    padding: 1.8rem 1.2rem;
  }

  .modal h2 {
    font-size: 1.35rem;
  }
}

/* ══════════════════════════════════════
   LOGO GRID & FINDER RESULTS
══════════════════════════════════════ */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  justify-items: center;
  align-items: center;
}

.logo-item {
  width: 150px;
  height: 150px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.3s, opacity 0.3s;
}

.logo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--glass-hi);
  border-color: rgba(0, 82, 204, 0.2);
}

.logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ══════════════════════════════════════
   BOARDS MARQUEE
══════════════════════════════════════ */
.boards-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 3rem 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.boards-marquee-track {
  display: flex;
  width: max-content;
  animation: scrollBoards 30s linear infinite;
  gap: 3rem;
}

.boards-marquee-track:hover {
  animation-play-state: paused;
}

.board-card {
  width: 220px;
  height: 120px;
  flex-shrink: 0;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.board-card:hover {
  box-shadow: 0 10px 25px var(--glass-hi);
  border-color: rgba(0, 82, 204, 0.2);
}

.board-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.3s, opacity 0.3s;
}

.board-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scrollBoards {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 1.5rem));
  }
}

.finder-results {
  margin-top: 30px;
  display: block;
  z-index: 20;
}

#finder {
  position: relative;
  z-index: 10;
  margin-bottom: 60px;
}

/* ══════════════════════════════════════
   INSTITUTION CARDS (For College Finder)
══════════════════════════════════════ */
.inst-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.inst-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.inst-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--glass-hi);
  border-color: rgba(0, 82, 204, 0.2);
}

.inst-banner {
  height: 120px;
  background: linear-gradient(135deg, #111, #333);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}

.inst-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  flex: 1;
}

.inst-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.inst-header h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  font-weight: 700;
  line-height: 1.3;
}

.inst-loc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.inst-rating {
  background: rgba(255, 193, 7, 0.15);
  color: #ff9800;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  white-space: nowrap;
}

.inst-programs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.inst-programs .tag {
  background: rgba(0, 82, 204, 0.05);
  border: 1px solid rgba(0, 82, 204, 0.1);
  color: var(--accent);
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}