/* ══════════════════════════════════════════════════════════════
   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: 735px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + 54px);
  padding-bottom: 140px;
  margin-bottom: 0;
}

.home-hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 54px) 0 140px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .65s ease, visibility .65s ease;
  z-index: 0;
}

.home-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.home-hero-slide-ocera .home-hero-overlay {
  background: linear-gradient(90deg, rgba(4, 38, 63, .93) 0%, rgba(4, 56, 83, .78) 52%, rgba(4, 56, 83, .35) 100%);
}

.home-hero-slide-ocera .home-hero-text {
  max-width: 900px;
}

.home-hero-slide-ocera .home-hero-title {
  max-width: 850px;
}

.home-hero-controls {
  position: absolute;
  z-index: 3;
  left: max(32px, calc((100% - 1256px) / 2));
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}

.home-hero-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  background: rgba(8,12,24,.24);
  color: #fff;
  font: inherit;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.home-hero-arrow:hover {
  border-color: #00d4aa;
  background: rgba(8,12,24,.55);
}

.home-hero-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.home-hero-dot.is-active {
  width: 26px;
  background: #00d4aa;
}

/* 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);
}

/* Deep photographic scrim for the dark hero treatment */
.home-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(8, 12, 24, .92) 0%, rgba(8, 12, 24, .78) 45%, rgba(8, 12, 24, .38) 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: #fff;
}

/* Compact brand eyebrow */
.home-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, .78);
}

.hero-badge-dot {
  width: 22px;
  height: 2px;
  border-radius: 0;
  background: #00d4aa;
  box-shadow: none;
  animation: none;
}

/* High-impact heading on the dark photographic banner */
.home-hero-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2.65rem, 4.55vw, 4.3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  color: #fff;
}

.hero-title-accent {
  color: #00d4aa;
  display: inline-block;
}

.hero-title-accent2 {
  color: #00d4aa;
}

/* Hero description for the dark photographic banner */
.home-hero-desc {
  font-size: clamp(1.06rem, 1.35vw, 1.2rem);
  line-height: 1.72;
  color: rgba(255, 255, 255, .78);
  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, #195bb2 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(25, 91, 178, 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(25, 91, 178, 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: #195bb2;
  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: #195bb2;
  /* 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 */
}

.flick-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  flex: 1;
  transition: flex 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s ease;
  height: 500px; /* Base height for desktop */
}

.flick-card:hover {
  flex: 4; /* Expands significantly on hover */
}

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

.flick-card:hover .flick-bg {
  transform: scale(1.05);
}

.flick-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(11, 25, 44, 0.95) 0%, rgba(11, 25, 44, 0.4) 50%, rgba(11, 25, 44, 0.1) 100%);
  transition: all 0.5s ease;
}

.flick-card:hover .flick-overlay {
  background: linear-gradient(to top, rgba(25, 91, 178, 0.98) 0%, rgba(25, 91, 178, 0.5) 60%, transparent 100%);
}

.flick-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.flick-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0;
  color: #ffffff;
  white-space: nowrap;
  transition: all 0.5s ease;
}

.flick-card:hover .flick-title {
  margin-bottom: 8px;
  white-space: normal; /* Let it wrap when fully expanded */
}

.flick-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.flick-card:hover .flick-desc {
  opacity: 1;
  max-height: 150px;
  margin-top: 8px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   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: #195bb2;
  /* Blue border on hover */
  color: #195bb2;
  /* 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(25, 91, 178, 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: #195bb2;
  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;
    padding: 0 20px;
  }

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

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

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
     CAPABILITIES STRIP
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.home-capabilities-strip {
  width: 100%;
  padding: 50px 20px;
  background: #ffffff;
  border-bottom: 1px solid rgba(11, 25, 44, 0.05);
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.capabilities-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  gap: 20px;
}

.capability-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px;
  transition: all 0.3s ease;
  cursor: default;
}

.capability-item:hover .capability-icon-wrap {
  background: rgba(25, 91, 178, 0.08);
  color: #195bb2;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(25, 91, 178, 0.12);
}

.capability-item:hover .capability-text {
  color: #195bb2;
}

.capability-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #f4f6fb;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.capability-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0b192c;
  transition: color 0.3s ease;
}

.capability-divider {
  width: 1px;
  height: 40px;
  background: rgba(11, 25, 44, 0.1);
}

@media (max-width: 1024px) {
  .capabilities-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px 40px;
  }
  .capability-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .home-capabilities-strip {
    padding: 40px 20px;
  }
  .capability-item {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   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: #195bb2;
  /* Blue color. Change hex to change quote color. */
  font-weight: 600;
  line-height: 1.4;
  border-left: 4px solid #195bb2;
  /* 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 (Alternating Split Layout)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.home-focus {
  position: relative;
  padding: 120px 0;
  background-color: #ffffff;
}

.home-focus::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  /* Minimalistic dot grid using Blue (#195bb2) and Teal (#00d4aa) at 7.5% opacity (reduced by 50%) */
  background-image: 
    radial-gradient(rgba(25, 91, 178, 0.075) 3px, transparent 3px),
    radial-gradient(rgba(0, 212, 170, 0.075) 3px, transparent 3px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  
  /* Fades out seamlessly at the top and bottom */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  
  z-index: 0;
  pointer-events: none;
}

/* Left-align the heading specifically for this section */
.home-focus .home-section-header {
  position: relative;
  z-index: 1;
  text-align: left;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto 80px; /* extra space below heading */
}

.focus-split-layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 100px; /* Generous vertical spacing between items */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.focus-split-item {
  display: flex;
  align-items: center;
  gap: 80px;
}

.focus-split-item.reverse {
  flex-direction: row-reverse;
}

.focus-split-visual {
  flex: 1.2; /* Gives slightly more horizontal space to the image */
  position: relative;
  overflow: hidden;
  border-radius: 24px; 
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.focus-split-visual img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: block;
}

/* Shifts the focal point of specific images to the right */
.focus-split-visual img.align-right {
  object-position: right center;
}


.focus-split-item:hover .focus-split-visual img {
  transform: scale(1.05);
}

.focus-split-text {
  flex: 1;
  padding: 20px 0;
}

.focus-split-text .focus-icon {
  margin-bottom: 24px;
}

.focus-split-text h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #0b192c;
  margin-bottom: 20px;
  line-height: 1.2;
}

.focus-split-text p {
  color: #5a6278;
  font-size: 1.15rem;
  line-height: 1.7;
}

@media(max-width: 992px) {
  .focus-split-layout {
    gap: 60px; /* Reduce massive gap between the 4 focus areas on mobile */
  }
  .focus-split-item, .focus-split-item.reverse {
    flex-direction: column;
    gap: 30px; /* Tighter gap between image and text */
  }
  .focus-split-visual img {
    height: 350px;
  }
  .focus-split-text h3 {
    font-size: 2rem;
  }
}

/* OCERA EarlyScan feature */
.ocera-promo {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background:
    radial-gradient(ellipse at 88% 50%, rgba(0, 212, 170, .16), transparent 34%),
    linear-gradient(120deg, #091323 0%, #102b45 100%);
}

.ocera-promo-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: 64px;
}

.ocera-promo-copy {
  max-width: 850px;
}

.ocera-promo-eyebrow {
  color: #00d4aa;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ocera-promo-copy h2 {
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.08;
  margin: 18px 0;
}

.ocera-promo-tagline {
  color: #fff;
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.ocera-promo-description {
  color: rgba(255, 255, 255, .76);
  font-size: 1rem;
  line-height: 1.75;
}

.ocera-promo-button {
  background: #00d4aa;
  color: #091323;
  margin-top: 28px;
}

.ocera-promo-button:hover {
  box-shadow: 0 10px 30px rgba(0, 212, 170, .2);
}

.ocera-promo-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 212, 170, .5);
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 0 0 18px rgba(0, 212, 170, .05), 0 0 0 38px rgba(0, 212, 170, .035);
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  letter-spacing: .12em;
}

.ocera-promo-mark span:first-child {
  color: #00d4aa;
  font-size: 2rem;
}

.ocera-promo-mark span:last-child {
  font-size: .75rem;
}

@media (max-width: 768px) {
  .ocera-promo {
    padding: 72px 0;
  }

  .ocera-promo-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .ocera-promo-mark {
    width: 150px;
    justify-self: center;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   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: linear-gradient(135deg, #f7f9fc 0%, #eef3f8 100%);
  color: #0b192c;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.home-discovery::before { position: absolute; inset: 0; background-image: linear-gradient(rgba(25,91,178,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(25,91,178,.045) 1px, transparent 1px); background-size: 56px 56px; content: ''; pointer-events: none; }

@media(max-width: 768px) {
  .home-discovery {
    padding: 60px 0; /* Drastically reduce padding on mobile */
  }
}

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

.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(25, 91, 178, 0.08);
}

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

/* Asymmetric Layout Container */
.discovery-hero-card.asymmetric-layout {
  display: flex;
  align-items: flex-end; /* Align answer box to the bottom */
  justify-content: space-between;
  gap: 5%;
  max-width: 1200px;
  margin: 0 auto 100px auto;
  position: relative;
  z-index: 2;
  text-align: left;
  padding: 44px 48px;
  border: 1px solid rgba(25,91,178,.14);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.84);
  box-shadow: 0 18px 46px rgba(25,91,178,.08);
}

/* 70% Left Side */
.discovery-hero-left {
  flex: 0 0 65%;
}

.discovery-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #195bb2;
  margin-bottom: 24px;
}

.discovery-badge-dot {
  width: 22px;
  height: 2px;
  background: #00d4aa;
  border-radius: 0;
  box-shadow: none;
}

.discovery-prefix {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #5a6278;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.discovery-hero-left .discovery-question {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2.2rem, 6vw, 4.5rem); /* Scaled down minimum for mobile */
  font-weight: 800;
  line-height: 1.1;
  color: #0b192c;
  margin-bottom: 0;
  letter-spacing: -0.04em;
}

/* 30% Right Side */
.discovery-hero-right {
  flex: 0 0 30%;
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Push content to right edge */
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  padding-left: 40px;
}

.rotating-badge {
  margin-bottom: 30px;
}

.spin-slow {
  animation: spinSlow 15s linear infinite;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.discovery-hero-right .discovery-answer-box {
  background: transparent;
  border: none;
  padding: 0;
  backdrop-filter: none;
  text-align: right;
}

.discovery-hero-right .discovery-answer-box p {
  font-size: 1rem;
  font-weight: 600;
  color: #5a6278;
  line-height: 1.8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.highlight-gradient {
  background: linear-gradient(135deg, #195bb2, #00d4aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Mobile Responsiveness for Asymmetric Layout */
@media(max-width: 900px) {
  .discovery-hero-card.asymmetric-layout {
    flex-direction: column;
    align-items: flex-start;
    margin: 0 auto 40px auto; /* Tighter margin below hero card */
    gap: 30px; /* Tighter gap between question and answer */
  }
  .discovery-hero-left {
    flex: 1 1 100%;
  }
  .discovery-hero-right {
    flex: 1 1 100%;
    align-items: flex-start;
    border-left: none;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-left: 0;
    padding-top: 30px;
    margin-top: 0; /* Removed double margin */
  }
  .discovery-hero-right .discovery-answer-box {
    text-align: left;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SINGLE TYPOGRAPHIC BLOCK (DISCOVERY)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.discovery-impact-center {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
  position: relative;
  z-index: 2;
  padding: 0 48px;
}

.discovery-center-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2rem, 5vw, 4rem); /* Scaled down minimum for mobile */
  font-weight: 800;
  color: #0b192c;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.discovery-center-desc {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: #5a6278;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 900px;
}

.discovery-center-highlight {
  display: inline-block;
  background: rgba(25, 91, 178, 0.05);
  border: 1px solid rgba(25, 91, 178, 0.1);
  padding: 16px 32px;
  border-radius: 100px;
  backdrop-filter: blur(10px);
  font-size: 1.15rem;
  font-weight: 700;
  color: #195bb2;
  margin-bottom: 40px;
}

@media(max-width: 600px) {
  .discovery-center-highlight {
    padding: 16px 20px;
    border-radius: 16px; /* Prevents weird pill shapes when text wraps */
    font-size: 1rem;
  }
}

/* UNIQUE BUTTON DESIGN */
.btn-funnel-unique {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  background: #0b192c;
  color: #ffffff;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 20px rgba(11, 25, 44, 0.2);
}

.btn-funnel-unique:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(25, 91, 178, 0.4);
}

.btn-funnel-bg {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 170, 0.4), transparent);
  transition: left 0.5s ease;
}

.btn-funnel-unique:hover .btn-funnel-bg {
  left: 100%;
}

.btn-funnel-text {
  position: relative;
  z-index: 2;
  margin-right: 12px;
}

.btn-funnel-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #195bb2;
  border-radius: 50%;
  transition: transform 0.3s ease, background 0.3s ease;
}

.btn-funnel-unique:hover .btn-funnel-icon {
  transform: scale(1.1);
  background: #00d4aa;
}

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

.discovery-step:hover {
  background: #ffffff;
  border-color: #195bb2;
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(25, 91, 178, 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: #195bb2;
  margin-bottom: 14px;
}

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

.discovery-step:hover .step-icon {
  background: #195bb2;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(25, 91, 178, 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(25, 91, 178, 0.06) 0%, rgba(0, 212, 170, 0.06) 100%);
  border: 1px solid rgba(25, 91, 178, 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: #195bb2;
  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: #195bb2;
  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(25, 91, 178, 0.25);
}

.btn-discovery-cta:hover {
  background: #1245cc;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(25, 91, 178, 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: #195bb2;
  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;
}

@media(max-width: 768px) {
  .home-bento {
    padding: 60px 0;
  }
  .bento-text-box h2 {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }
  .bento-cta-card {
    padding: 30px 20px;
  }
  .bento-cta-card h3 {
    font-size: 1.8rem;
  }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FLICK LAYOUT (SAVED ACCORDION)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.flick-container {
  display: flex;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

@media(max-width: 1024px) {
  .discovery-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .flick-container {
    flex-direction: column;
    height: auto;
  }

  .flick-card {
    height: 120px;
  }
  
  .flick-card:hover {
    height: 300px; /* Expands vertically on mobile */
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BENTO BOX LAYOUT FOR ECO CARDS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.home-eco-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.bento-span-2 {
  grid-column: span 2;
}

.home-eco-card {
  position: relative;
  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-card:hover .home-eco-bg {
  transform: scale(1.08);
}

.home-eco-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0.1) 100%);
  backdrop-filter: blur(4px);
  transition: all 0.4s ease;
}

.home-eco-card:hover .home-eco-overlay {
  background: linear-gradient(to top, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.6) 60%, rgba(255, 255, 255, 0.2) 100%);
  backdrop-filter: blur(2px);
}

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

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

.home-eco-desc {
  font-size: 14px;
  color: #5a6278;
  line-height: 1.6;
}

@media(max-width: 1024px) {
  .home-eco-bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-span-2 {
    grid-column: span 2;
  }
}

@media(max-width: 900px) {
  .home-eco-bento {
    grid-template-columns: 1fr;
  }
  .bento-span-2 {
    grid-column: span 1;
  }

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

  .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;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HERO + 2x2 GRID (OPTION 2)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.eco-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.eco-hero-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 810px; /* Increased 1.5x */
  text-decoration: none;
}

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

.eco-hero-card:hover .eco-card-bg,
.eco-sub-card:hover .eco-card-bg {
  transform: scale(1.05);
}

.eco-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.4) 60%, transparent 100%);
  transition: all 0.4s ease;
}

.eco-card-content {
  position: relative;
  z-index: 2;
  padding: 40px 30px;
}

.eco-card-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.7rem; /* 1.5x scale */
  font-weight: 700;
  margin-bottom: 12px;
  color: #0b192c;
  line-height: 1.1;
}

.eco-card-desc {
  font-size: 21px; /* 1.5x scale */
  color: #5a6278;
  line-height: 1.6;
}

/* Right side 2x2 grid */
.eco-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.eco-sub-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 375px; /* Increased 1.5x */
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eco-sub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(25, 91, 178, 0.1);
}

.eco-sub-card .eco-card-content {
  padding: 24px;
}

.eco-sub-card .eco-card-title {
  font-size: 1.9rem; /* 1.5x scale */
  margin-bottom: 8px;
}

.eco-sub-card .eco-card-desc {
  font-size: 19px; /* 1.5x scale */
}

@media(max-width: 1024px) {
  .eco-hero-grid {
    grid-template-columns: 1fr;
  }
  .eco-hero-card {
    min-height: 400px;
  }
}

@media(max-width: 768px) {
  .eco-sub-grid {
    grid-template-columns: 1fr;
  }
}

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

/* ============================================
   MOBILE RESPONSIVE — 540px and below
   ============================================ */
@media (max-width: 540px) {
  .home-stats-card {
    grid-template-columns: 1fr !important;
  }
  .home-stat-num {
    font-size: 2.4rem !important;
  }
  .home-stat {
    border-right: none !important;
  }
}

@media (max-width: 768px) {
  .home-hero {
    min-height: 665px !important;
    padding: 100px 20px 60px !important;
  }
  .home-hero-slide {
    align-items: center;
    padding: 108px 0 88px;
  }
  .home-hero-content {
    padding: 0 20px;
  }
  .home-hero-controls {
    left: 20px;
    bottom: 14px;
    gap: 10px;
  }
  .home-hero-arrow {
    min-width: 34px;
    height: 34px;
  }
  .home-hero-title {
    font-size: clamp(1.82rem, 6.6vw, 2.9rem) !important;
  }
  .home-hero-desc {
    font-size: 1rem !important;
  }
  .home-section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem) !important;
  }
  .home-section-header {
    padding: 0 20px;
  }
  .eco-sub-card {
    min-height: 260px !important;
  }
  .eco-hero-card {
    min-height: 350px !important;
    padding: 40px 24px !important;
  }
  .partner-logo-box {
    width: 150px !important;
    height: 75px !important;
  }
  .focus-split-visual img {
    height: 280px !important;
  }
  .why-layout {
    gap: 40px !important;
  }
  .mission-grid {
    gap: 30px !important;
  }
  .bento-image-card img {
    height: 250px !important;
  }
  .home-partners {
    padding: 40px 0 !important;
  }
  .discovery-steps-grid {
    grid-template-columns: 1fr !important;
  }
  .flick-container {
    flex-direction: column !important;
    height: auto !important;
  }
  .flick-card {
    height: 120px !important;
  }
  .flick-card:hover {
    height: 250px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-slide,
  .home-hero-dot {
    transition: none;
  }
}