/* ══════════════════════════════════════════════════════════════
   HOME PAGE — home.css
   This file controls ONLY the Home Page layout and style.
   To edit other pages, look at their own .css files.
══════════════════════════════════════════════════════════════ */

/* Sets the page background to white */
body {
  background: #ffffff;
  /* Change this hex code to change the overall page background color */
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTION 1 — HERO (the big top banner with the photo)
   Minimalist Luxury: Punchy heading, refined glass badge,
   subtle sapphire accents, and sleek blur CTAs.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.home-hero {
  position: relative;
  width: 100%;
  min-height: 840px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + 54px);
  padding-bottom: 140px;
  margin-bottom: 0;
}

/* The background photo */
.home-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transform: scale(1.02);
}

/* Refined Minimalist Light Scrim Overlay (Off-white Theme) */
.home-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    95deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(248, 250, 252, 0.86) 48%,
    rgba(241, 245, 249, 0.60) 100%
  );
  z-index: 1;
}

/* Content wrapper */
.home-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

.home-hero-text {
  max-width: 880px;
  color: #0b192c;
}

/* Minimalist Light Pill Badge */
.home-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 18px;
  background: rgba(26, 86, 240, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 100px;
  margin-bottom: 28px;
  border: 1px solid rgba(26, 86, 240, 0.2);
  color: #1a56f0;
  box-shadow: 0 4px 16px rgba(26, 86, 240, 0.08);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1a56f0;
  box-shadow: 0 0 10px rgba(26, 86, 240, 0.4);
  animation: heroDotPulse 2s infinite ease-in-out;
}

@keyframes heroDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

/* High-Impact Heading on Light Background */
.home-hero-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(3.2rem, 5.5vw, 5.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  color: #0b192c;
}

.hero-title-accent {
  background: linear-gradient(135deg, #0b192c 20%, #1a56f0 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Hero Description for Light Background */
.home-hero-desc {
  font-size: clamp(1.06rem, 1.35vw, 1.2rem);
  line-height: 1.72;
  color: #475569;
  margin-bottom: 40px;
  max-width: 820px;
  font-weight: 450;
}

/* Hero CTA Action Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  background: linear-gradient(135deg, #1a56f0 0%, #2563eb 100%);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 25px -3px rgba(26, 86, 240, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 18px 36px -4px rgba(26, 86, 240, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-hero-primary .btn-arrow {
  transition: transform 0.3s ease;
}

.btn-hero-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTION 2 — FLOATING STATS BAR
   Minimalist Luxury: Sleek frosted glass card with
   hairline dividers, bold numbers, and refined padding.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.home-stats-wrapper {
  position: relative;
  margin-top: -80px;
  margin-bottom: 80px;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: center;
  padding: 0 24px;
}

.home-stats-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  max-width: 1320px;
  overflow: hidden;
}

.home-stat {
  padding: 38px 28px;
  text-align: center;
  border-right: 1px solid rgba(15, 23, 42, 0.06);
  transition: background 0.3s ease;
}

.home-stat:hover {
  background: rgba(248, 250, 252, 0.7);
}

.home-stat:last-child {
  border-right: none;
}

.home-stat-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0b0f19;
  line-height: 1;
  margin-bottom: 8px;
}

.home-stat-num span {
  color: #1a56f0;
  font-weight: 700;
}

.home-stat-label {
  font-size: 11px;
  /* Small text size */
  font-weight: 700;
  letter-spacing: 0.12em;
  /* Spaced out letters for uppercase label look */
  text-transform: uppercase;
  color: #1a56f0;
  /* Blue color — change to match your brand */
  margin-bottom: 12px;
  /* Gap between label and the description below */
}

/* The small description text at the bottom of each stat */
.home-stat-sub {
  font-size: 14px;
  /* Small text. Increase to 16px for easier reading. */
  color: #5a6278;
  /* Grey color. Change to #000000 for black. */
  line-height: 1.5;
  /* Line spacing for the description */
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTION 3 — ECOSYSTEM CARDS
   The 5 photo cards (Preventive Healthcare, Medical
   Technologies, AI & Digital Health, etc.)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.home-ecosystem {
  padding: 120px 0;
  /* Top & bottom spacing of the whole section.
                       INCREASE → more empty space above/below cards.
                       DECREASE → section feels more compact. */
  background: #ffffff;
  /* Section background color */
}

/* The centered heading + subtitle above the cards */
.home-section-header {
  text-align: center;
  /* Centers the heading. Change to 'left' to left-align. */
  max-width: 800px;
  /* Width of the heading area. Increase for wider heading. */
  margin: 0 auto 60px;
  /* Centers it, and 60px is the gap below heading before cards.
                            INCREASE 60px → more space between heading and cards. */
}

/* The large section heading text (e.g. "An Integrated Healthcare Enterprise") */
.home-section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  /* Responsive: min 2.2rem, max 3.2rem */
  font-weight: 800;
  color: #0b192c;
  /* Dark navy. Change hex to change heading color. */
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  /* Gap between heading and subtitle below it */
}

/* The grid that lays out the photo cards side by side */
.home-eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 equal columns. Change 3 → 2 for 2 columns. */
  gap: 30px;
  /* Space between each card. INCREASE for bigger gaps. */
  max-width: 1200px;
  /* Maximum width of the whole card grid */
  margin: 0 auto;
  /* Centers the grid on the page */
  padding: 0 40px;
  /* Left/right breathing room from screen edge */
}

.home-eco-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

.home-eco-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.home-eco-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.65) 55%, transparent 100%);
}

.home-eco-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 30px;
  z-index: 2;
  color: #0b192c;
}

.home-eco-icon {
  font-size: 24px;
  margin-bottom: 16px;
  background: rgba(26, 86, 240, 0.08);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(26, 86, 240, 0.2);
  color: #1a56f0;
}

.home-eco-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0b192c;
}

.home-eco-link {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #00d4aa;
  /* Teal accent */
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.home-eco-card:hover .home-eco-bg {
  transform: scale(1.08);
}

.home-eco-card:hover .home-eco-link {
  opacity: 1;
  transform: translateY(0);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTION 4 — PARTNER LOGOS SCROLLING MARQUEE
   The auto-scrolling row of partner name boxes.
   Text content is in src/index.njk lines ~208-226.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.home-partners {
  padding: 80px 0;
  /* Top/bottom spacing for the whole section */
  background: #f4f6fb;
  /* Light grey-blue background. Change to #ffffff for white. */
  overflow: hidden;
  /* Hides the scrolling content beyond the screen edge */
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  /* Subtle line separating from section above */
}

/* The moving container that scrolls the logos automatically */
.partner-spin-container {
  display: flex;
  width: max-content;
  animation: spinMarquee 40s linear infinite;
  /* 40s = scroll speed.
                                                 DECREASE (e.g. 20s) → scrolls faster.
                                                 INCREASE (e.g. 60s) → scrolls slower. */
}

.partner-spin-container:hover {
  animation-play-state: paused;
  /* Pauses scrolling when mouse hovers over it */
}

.partner-group {
  display: flex;
  gap: 40px;
  /* Space between each logo box. INCREASE for bigger gaps. */
  padding-right: 40px;
}

/* Each individual partner name box */
.partner-logo-box {
  width: 200px;
  /* Width of each box. INCREASE to make boxes wider. */
  height: 100px;
  /* Height of each box. INCREASE to make boxes taller. */
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  /* Text size inside each box */
  color: #5a6278;
  /* Grey text. Change to #000000 for black. */
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.partner-logo-box:hover {
  border-color: #1a56f0;
  /* Blue border on hover */
  color: #1a56f0;
  /* Blue text on hover */
  transform: translateY(-2px);
  /* Floats up 2px on hover */
}

/* The scroll animation definition */
@keyframes spinMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }

  /* Moves left by 50% then loops */
}

/* ── 5. BENTO BOX / CASE STUDIES ── */
.home-bento {
  position: relative;
  padding: 150px 0;
  background: #ffffff;
  overflow: hidden;
}

.bento-glow-teal {
  position: absolute;
  top: 10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(0, 212, 170, 0.4);
  filter: blur(150px);
  border-radius: 50%;
  z-index: 0;
  animation: pulseGlow 12s infinite alternate;
}

.bento-glow-blue {
  position: absolute;
  bottom: 0%;
  left: -10%;
  width: 800px;
  height: 800px;
  background: rgba(26, 86, 240, 0.3);
  filter: blur(150px);
  border-radius: 50%;
  z-index: 0;
  animation: pulseGlow 15s infinite alternate-reverse;
}

@keyframes pulseGlow {
  0% {
    transform: scale(1) translate(0, 0);
  }

  100% {
    transform: scale(1.2) translate(50px, -50px);
  }
}

.bento-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.bento-text-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-text-box h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #0b192c;
  line-height: 1.1;
  margin-bottom: 24px;
}

.bento-text-box p {
  font-size: 1.15rem;
  color: #5a6278;
  margin-bottom: 40px;
  max-width: 450px;
}

.bento-image-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.bento-image-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.bento-image-text {
  padding: 40px;
}

.bento-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #1a56f0;
  margin-bottom: 12px;
}

.bento-image-text h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #0b192c;
  margin-bottom: 16px;
}

.bento-image-text p {
  color: #5a6278;
  font-size: 1rem;
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .home-stats-card {
    grid-template-columns: 1fr 1fr;
  }

  .home-stat {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .home-stat:nth-child(2) {
    border-right: none;
  }

  .home-eco-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

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

  .home-stats-wrapper {
    margin-top: -60px;
    margin-bottom: 60px;
    padding: 0 20px;
  }

  .home-hero {
    margin-bottom: 0;
    min-height: 80vh;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTION 5 — MISSION ("Healthcare Needs a Different Approach")
   Two-column layout: left = heading+quote, right = paragraphs
   Text is in src/index.njk lines ~55-67
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.home-mission {
  padding: 120px 0;
  /* Top/bottom space. INCREASE for more breathing room. */
  background: #f4f6fb;
  /* Light blue-grey background for contrast from white sections */
}

/* Two-column grid: left side (heading) and right side (text) */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Equal two columns. Change to '1fr 2fr' for bigger right side. */
  gap: 60px;
  /* Space between left and right columns. INCREASE for bigger gap. */
  max-width: 1200px;
  margin: 0 auto;
  /* Centers the grid horizontally */
}

/* Left column: the big heading */
.mission-title-col h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #0b192c;
  line-height: 1.1;
  margin-bottom: 24px;
}

/* The italic blue quote with left border */
.mission-quote {
  font-size: 1.5rem;
  /* Quote text size. INCREASE to make it bigger. */
  font-style: italic;
  color: #1a56f0;
  /* Blue color. Change hex to change quote color. */
  font-weight: 600;
  line-height: 1.4;
  border-left: 4px solid #1a56f0;
  /* The blue vertical bar on the left of the quote.
                                     Change 4px to 8px for thicker bar. */
  padding-left: 20px;
  /* Space between the bar and the quote text.
                           INCREASE → text moves further right from the bar. */
}

/* Right column: the paragraph text */
.mission-text-col p {
  font-size: 1.15rem;
  color: #5a6278;
  line-height: 1.7;
  margin-bottom: 20px;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTION 5 — FOCUS AREAS (the 4 white cards in 2x2 grid)
   Cards: Oral Cancer, Breast Health, Cervical, Infectious
   Text is in src/index.njk
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.home-focus {
  padding: 100px 0;
  background: #f4f6fb;
}

/* 2x2 grid layout for the 4 focus cards */
.focus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Two equal columns. Change to 1fr 1fr 1fr for 3 columns. */
  gap: 30px;
  /* Space between cards. INCREASE for bigger gaps. */
  max-width: 1000px;
  /* Overall width of the grid. INCREASE for wider cards. */
  margin: 0 auto;
}

/* Each individual white card */
.focus-item {
  background: #ffffff;
  padding: 40px;
  /* Inner spacing inside each card.
                           INCREASE → more space inside card (bigger card feel).
                           DECREASE → more compact card. */
  border-radius: 20px;
  /* Corner rounding. 0=sharp, 30=very round. */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Card lifts up 5px on hover */
.focus-item-img-wrapper {
  width: 100%;
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 22px;
  position: relative;
  background: #f1f5f9;
}

.focus-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.focus-item:hover .focus-item-img {
  transform: scale(1.06);
}

.focus-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

/* Icon size above each card title */
.focus-item h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #0b192c;
  margin-bottom: 12px;
}

.focus-item p {
  color: #5a6278;
  font-size: 1rem;
  line-height: 1.6;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTION 6 — INNOVATION BUILT ON SCIENCE & DISCOVERY TO IMPACT
   Hero question callout & 6-step translation journey
   Text is in src/index.njk
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.home-discovery {
  position: relative;
  padding: 130px 0;
  background: radial-gradient(circle at 50% 15%, #ffffff 0%, #f8fafc 75%, #f1f5f9 100%);
  color: #0b192c;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.discovery-bg-ambient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.discovery-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  opacity: 0.5;
}

.discovery-glow-1 {
  top: -100px;
  left: 15%;
  width: 500px;
  height: 500px;
  background: rgba(26, 86, 240, 0.08);
}

.discovery-glow-2 {
  bottom: -80px;
  right: 10%;
  width: 550px;
  height: 550px;
  background: rgba(0, 212, 170, 0.08);
}

/* Central Science Question Card */
.discovery-hero-card {
  text-align: center;
  max-width: 960px;
  margin: 0 auto 70px auto;
  position: relative;
  z-index: 2;
}

.discovery-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1a56f0;
  background: rgba(26, 86, 240, 0.08);
  border: 1px solid rgba(26, 86, 240, 0.22);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.discovery-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1a56f0;
  box-shadow: 0 0 10px rgba(26, 86, 240, 0.4);
}

.discovery-prefix {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a56f0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.discovery-question {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.2;
  color: #0b192c;
  margin-bottom: 22px;
  letter-spacing: -0.025em;
}

.discovery-answer {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 500;
  color: #5a6278;
  line-height: 1.6;
  max-width: 780px;
  margin: 0 auto;
}

/* Clean Seamless 2-Column Split Layout (Matching User Reference Design) */
.discovery-impact-card {
  position: relative;
  z-index: 2;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.discovery-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.discovery-split-left {
  position: sticky;
  top: 120px;
}

.discovery-split-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2.2rem, 3.5vw, 3.1rem);
  font-weight: 800;
  color: #0b192c;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.025em;
}

.discovery-split-desc {
  font-size: 1.15rem;
  color: #5a6278;
  line-height: 1.7;
  margin-bottom: 32px;
}

.discovery-org-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #0b192c;
  background: #f1f5f9;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  margin-bottom: 28px;
}

/* Right Column: Stacked items with blue bullet dots */
.discovery-split-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.discovery-list-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.discovery-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.item-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.item-bullet-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1a56f0;
  box-shadow: 0 0 10px rgba(26, 86, 240, 0.4);
  flex-shrink: 0;
}

.item-title-row h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #0b192c;
  margin: 0;
  transition: color 0.25s ease;
}

.discovery-list-item:hover .item-title-row h4 {
  color: #1a56f0;
}

.discovery-list-item p {
  font-size: 1.05rem;
  color: #5a6278;
  line-height: 1.6;
  margin: 0 0 0 22px;
}

.discovery-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #1a56f0, #00d4aa);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.discovery-step:hover {
  background: #ffffff;
  border-color: #1a56f0;
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(26, 86, 240, 0.12);
}

.discovery-step:hover::before {
  opacity: 1;
}

.discovery-step .step-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #1a56f0;
  margin-bottom: 14px;
}

.discovery-step .step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(26, 86, 240, 0.08);
  border: 1px solid rgba(26, 86, 240, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a56f0;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}

.discovery-step:hover .step-icon {
  background: #1a56f0;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(26, 86, 240, 0.3);
  transform: scale(1.05);
}

.discovery-step h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  color: #0b192c;
  margin-bottom: 10px;
  line-height: 1.3;
}

.discovery-step p {
  color: #5a6278;
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 0;
}

/* Bottom Highlight / Organization Banner */
.discovery-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  background: linear-gradient(90deg, rgba(26, 86, 240, 0.06) 0%, rgba(0, 212, 170, 0.06) 100%);
  border: 1px solid rgba(26, 86, 240, 0.15);
  border-radius: 18px;
  flex-wrap: wrap;
}

.discovery-org-text {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.15rem;
  color: #0b192c;
}

.discovery-org-text strong {
  color: #1a56f0;
  font-weight: 800;
}

.org-highlight-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.btn-discovery-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  background: #1a56f0;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(26, 86, 240, 0.25);
}

.btn-discovery-cta:hover {
  background: #1245cc;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 86, 240, 0.4);
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTION 7 — WHY CHOOSE S2M
   Left = heading, Right = list of 5 reasons
   Text is in src/index.njk
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.home-why {
  padding: 120px 0;
  background: #ffffff;
}

/* Two-column: narrow left (heading) + wider right (list) */
.why-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  /* Left is 1 unit, right is 1.5 units (wider).
                                        Change to '1fr 1fr' for equal columns. */
  gap: 80px;
  /* Space between left and right. DECREASE if gap feels too large. */
  max-width: 1200px;
  margin: 0 auto;
}

.why-left h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #0b192c;
  line-height: 1.1;
  margin-bottom: 24px;
}

.why-sub {
  font-size: 1.1rem;
  color: #5a6278;
  line-height: 1.7;
}

/* Sub-heading paragraph under the h2 */
/* The vertical list of reasons on the right */
.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  /* Space between each list item. DECREASE for tighter list. */
}

.why-list h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0b192c;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.why-list h4::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #1a56f0;
  border-radius: 50%;
}

/* The blue dot before each item title */
.why-list p {
  color: #5a6278;
  padding-left: 20px;
  line-height: 1.6;
}

/* Description under each item */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTION 8 — BENTO CTA CARD (bottom call-to-action box)
   The glassmorphism card at the very bottom of the page
   Text is in src/index.njk lines ~241-248
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.bento-cta-card {
  background: rgba(255, 255, 255, 0.85);
  /* Slightly transparent white (glassmorphism effect) */
  backdrop-filter: blur(20px);
  /* Frosted glass blur effect */
  padding: 50px;
  /* Inner spacing. INCREASE for more spacious card. */
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-cta-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #0b192c;
  margin-bottom: 16px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.bento-cta-card p {
  color: #5a6278;
  font-size: 1.1rem;
  line-height: 1.6;
}


/* Internal layout logic for 5 eco cards (do not change unless redesigning grid) */
.eco-5 {
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
}

.eco-5>*:nth-child(4) {
  grid-column: 1 / 3;
}

.eco-5>*:nth-child(5) {
  grid-column: 2 / 4;
}

@media(min-width: 1024px) {
  .eco-5>*:nth-child(4) {
    grid-column: auto;
    transform: translateX(50%);
  }

  .eco-5>*:nth-child(5) {
    grid-column: auto;
    transform: translateX(50%);
  }
}

/* On small screens, stack all eco cards in single column */
@media(max-width: 1024px) {
  .discovery-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 900px) {

  .mission-grid,
  .why-layout,
  .focus-grid {
    grid-template-columns: 1fr;
  }

  .eco-5>* {
    grid-column: auto !important;
    transform: none !important;
  }

  .discovery-impact-card {
    padding: 38px 24px;
    border-radius: 22px;
  }

  .discovery-steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .discovery-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
  }
}


/* STRONG CURSOR GLOW OVERRIDE */
.cursor-glow {
  background: radial-gradient(circle closest-side, rgba(26, 86, 240, 0.15), transparent) !important;
  mix-blend-mode: multiply;
  z-index: 2147483647 !important;
  /* Max z-index */
}