/* ==========================================================================
   CAREPAL MONEY — CLEAN RESPONSIVE STYLES
   Desktop + Tablet + Mobile
   ========================================================================== */


/* ==========================================================================
   ROOT VARIABLES
   ========================================================================== */

:root {
  --brand: #005d97;
  --brand-dark: #004b7a;
  --brand-light: #2b8fd1;
  --brand-tint: #e8f1fa;

  --ink: #191c20;
  --ink-soft: #2f3742;
  --muted: #5b6472;
  --muted-light: #7a7e86;

  --line: #e6eaf2;
  --line-soft: #eef1f7;

  --bg: #ffffff;
  --bg-soft: #f8f9ff;
  --bg-mist: #f9fafc;

  --green: #22a45d;
  --green-tint: #e8f7ee;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 4px 18px rgba(16, 24, 40, .06);
  --shadow-lg: 0 18px 48px rgba(16, 24, 40, .12);

  --maxw: 1500px;

  --font-head: 'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --btn-primary-bg: #1d70b8;
}


/* ==========================================================================
   BASE & RESET
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -.01em;
}

section {
  position: relative;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 40px;
}

.accent {
  color: var(--brand);
}


/* ==========================================================================
   SHARED TYPOGRAPHY
   ========================================================================== */

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
  
}

.section-head h2 {
  font-size: 40px;
  font-weight: 700;
}

.section-head p {
  margin-top: 12px;
  font-size: 16px;
  color: var(--muted);
}

.eyebrow {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.badge svg {
  width: 16px;
  height: 16px;
}


/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease;
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 93, 151, .22);
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: #cbd6e6;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 11px 22px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
}

.link-more svg {
  width: 15px;
  height: 15px;
}

.link-more:hover {
  color: var(--brand-dark);
}


/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 70px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.logo img {
  width: auto;
  height: 42px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto 0 20px;
  padding: 0;
  list-style: none;
}

/* 1. Force exact font weights on ALL navigation items, including <summary> tags */
.nav-links a,
.nav-links summary,
.nav-link-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 500 !important; /* Overrides default browser <summary> bolding */
  font-style: normal;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .15s ease;
  -webkit-font-smoothing: antialiased; /* Prevents heavy font rendering in WebKit */
  -moz-osx-font-smoothing: grayscale;
}

/* 2. Reset details/summary browser default styles */
details summary.dropdown-summary {
  list-style: none;
  cursor: pointer;
}

details summary.dropdown-summary::-webkit-details-marker {
  display: none;
}

/* 3. Ensure header text remains consistent regardless of page body weights */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  -webkit-font-smoothing: antialiased;
}

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

.nav-links svg {
  width: 14px;
  height: 14px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--ink-soft);
}

.lang svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  padding: 8px;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
}

/* ==========================================================================
   NAV DROPDOWN
   ========================================================================== */

.has-dropdown {
  position: relative;
}

.dropdown-details {
  display: inline-block;
}

.dropdown-summary.nav-link-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 500;
  line-height: inherit;
  color: var(--ink-soft);
  transition: color .15s ease;
}

.dropdown-summary.nav-link-trigger:hover,
.dropdown-details[open] .dropdown-summary.nav-link-trigger {
  color: var(--brand);
}

.dropdown-summary::-webkit-details-marker,
.dropdown-summary::marker {
  display: none;
}

.dropdown-summary svg {
  width: 14px;
  height: 14px;
  transition: transform .2s ease;
}

.dropdown-details[open] .dropdown-summary svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 1000;

  display: flex;
  flex-direction: column;
  gap: 4px;

  width: 280px;
  padding: 12px;

  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background-color .2s ease;
}

.dropdown-item:hover {
  background-color: #f4f7fb;
}

.dropdown-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  width: 24px;
  height: 24px;
  margin-top: 2px;

  color: #718096;
}

.dropdown-icon svg {
  width: 20px;
  height: 20px;
}

.dropdown-text {
  display: flex;
  flex-direction: column;
}

.dropdown-text strong {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
}

.dropdown-text span {
  margin-top: 2px;
  font-size: .8rem;
  color: #a0aec0;
}


/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    115deg,
    #f8f9ff 0%,
    #eaf2ff 45%,
    #deedff 72%,
    #eaf3ff 100%
  );
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #f8f9ff;
  clip-path: polygon(0 0, 46% 0, 0 78%);
  opacity: .9;
}

.hero::after {
  content: "";
  position: absolute;
  right: -6%;
  bottom: -30%;
  width: 55%;
  height: 90%;
  background: #f3f7ff;
  transform: rotate(-18deg);
  opacity: .7;
}

.hero .container {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;

  padding-block: 96px 110px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.hero h1 span {
  display: block;
  color: var(--brand);
}

.hero-lede {
  max-width: 560px;
  margin-top: 22px;
  font-size: 17px;
  color: var(--ink-soft);
}

.hero-lede strong {
  font-weight: 600;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.hero-media {
  position: relative;
  display: inline-block;
  overflow: hidden;

  border: 4px solid #fff;
  border-radius: var(--radius-lg);

  background: #fff;
  box-shadow: var(--shadow-lg);
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}


/* ==========================================================================
   HERO FLOATING CARD
   ========================================================================== */

.hero-badge-card {
  position: absolute;
  right: 24px;
  bottom: 30px;
  left: 24px;
  z-index: 10;

  display: flex;
  align-items: center;
  gap: 16px;

  padding: 18px 20px;

  background: rgba(255, 255, 255, .92);
  border-radius: 20px;

  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, .12);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  width: 52px;
  height: 52px;

  background: linear-gradient(135deg, #1d9bf0 0%, #0077b6 100%);
  border-radius: 14px;
  color: #ffffff;
}

.hero-badge-icon svg {
  width: 26px;
  height: 26px;
  transform: rotate(-90deg);
}

.hero-badge-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge-pill-new {
  display: inline-flex;
  align-items: center;
  gap: 4px;

  margin-bottom: 4px;
  padding: 2px 8px;

  background-color: #e6f4ea;
  border-radius: 6px;

  color: #137333;
  font-size: 12px;
  font-weight: 700;
}

.hero-badge-content h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  color: #1e293b;
}

.hero-badge-content p {
  margin: 4px 0 0;
  font-size: 13.5px;
  line-height: 1.3;
  color: #64748b;
}


/* ==========================================================================
   SPLIT FEATURE SECTIONS
   ========================================================================== */

.split .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 84px;

  padding-block: 96px;
}

.split-media {
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.split-media img {
  display: block;
  width: 100%;
  height: auto;
}

.split h2 {
  margin-top: 24px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.split p.lede {
  max-width: 520px;
  margin-top: 20px;
  font-size: 16px;
}

.split p.lede strong {
  font-weight: 600;
  color: var(--ink);
}

.discharge-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 72px;
}


/* ==========================================================================
   INSTANT DISCHARGE
   ========================================================================== */

.band-discharge {
  position: relative;
  width: 100%;
  padding-block: 80px;
  overflow: hidden;
  background-color: #f8fafc;
}

.band-discharge::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background-image: url('../assets/ID.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;

  filter: blur(2.5px);
  transform: scale(1.08);
}

.band-discharge::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;

  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, .75) 0%,
    rgba(255, 255, 255, .45) 50%,
    rgba(255, 255, 255, .15) 100%
  );
}

.band-discharge .container {
  position: relative;
  z-index: 3;

  display: block;

  max-width: 820px;
  margin-left: max(24px, calc((100vw - 1200px) / 2));
}

.band-discharge .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 6px 16px;

  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;

  color: #2563eb;
  font-size: 13.5px;
  font-weight: 500;

  box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
}

.band-discharge .badge svg {
  width: 15px;
  height: 15px;
}

.band-discharge h2 {
  margin-top: 20px;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: #111827;
}

.band-discharge h2 .accent {
  color: #2563eb;
}

.band-discharge p.lede {
  max-width: 620px;
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.5;
  color: #4b5563;
}

.band-discharge p.lede strong {
  font-weight: 600;
  color: #111827;
}


/* ==========================================================================
   DISCHARGE FEATURE CARDS
   ========================================================================== */

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;

  max-width: 780px;
  margin-top: 32px;
}

.feature-card {
  position: relative;

  display: flex;
  align-items: center;
  gap: 16px;

  padding: 16px 20px;

  overflow: hidden;

  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, .8);
  border-radius: 16px;

  box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
}

.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;

  width: 6px;
  height: 100%;

  background: var(--accent-bar, transparent);

  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.feature-card.is-green {
  --accent-bar: #22c55e;
}

.feature-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;

  width: 44px;
  height: 44px;

  background: #f3f4f6;
  border-radius: 12px;
  color: #2563eb;
}

.feature-card.is-green .feature-icon {
  background: #e8f5e9;
  color: #2e7d32;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
}

.feature-card p {
  margin-top: 2px;
  font-size: 13.5px;
  color: #6b7280;
}


/* ==========================================================================
   DISCHARGE ACTIONS
   ========================================================================== */

.split-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.split-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 26px;

  border-radius: 999px;

  font-size: 14px;
  font-weight: 600;
  text-decoration: none;

  transition: all .2s ease;
}

.split-actions .btn-primary {
   background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 93, 151, .22);
}

.split-actions .btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.split-actions .btn-ghost {
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  color: #374151;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
}

.split-actions .btn-ghost:hover {
  background-color: #f9fafb;
}


/* ==========================================================================
   HOW IT WORKS / STEPS
   ========================================================================== */

.steps {
  padding-block: 92px;
  background: #fff;
}

.steps-track {
  position: relative;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.steps-track::before {
  content: "";
  position: absolute;
  top: 45px;
  right: 16.6%;
  left: 16.6%;

  height: 2px;

  background: linear-gradient(
    90deg,
    var(--brand),
    var(--brand-light)
  );
}

.step {
  position: relative;
  text-align: center;
}

.step-icon {
  position: relative;
  z-index: 1;

  display: grid;
  place-items: center;

  width: 90px;
  height: 90px;
  margin: 0 auto;

  font-size: 34px;

  background: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 22px rgba(16, 24, 40, .1);
}

.step-pill {
  position: relative;
  z-index: 1;

  display: inline-block;

  margin-top: -12px;
  padding: 4px 14px;

  border-radius: 999px;

  background: var(--brand);
  color: #fff;

  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
}

.step h3 {
  margin-top: 24px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-soft);
}

.step p {
  max-width: 290px;
  margin: 12px auto 0;
  font-size: 15.5px;
}


/* ==========================================================================
   PARTNERS
   ========================================================================== */

.partners {
  padding-block: 50px 88px;
  background: var(--bg-soft);
}

.logo-grid {
  display: flex;
  gap: 34px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}

/* Smooth custom scrollbar for desktop */
.logo-grid::-webkit-scrollbar {
  height: 6px;
}
.logo-grid::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}
.logo-grid::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

/* Hide horizontal scrollbar track on desktop while allowing scrolling */
.logo-grid::-webkit-scrollbar {
  display: none;
}

.logo-grid {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.logo-card {
  display: grid;
  place-items: center;
  flex: 0 0 calc(25% - 26px); /* Fixes width to force desktop scroll */
  min-width: 220px;
  height: 128px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}

.logo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.logo-card img {
  width: auto;
  max-height: 66px;
  object-fit: contain;
}


/* ==========================================================================
   MISSION
   ========================================================================== */

.mission {
  background: var(--bg-mist);
}

.mission .container {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 80px;

  padding-block: 44px;
}

.mission-media {
  position: relative;

  display: inline-block;
  overflow: hidden;

  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.mission-media img {
  display: block;
  width: 100%;
  height: auto;
}

.mission h2 {
  margin-top: 12px;
  font-size: 42px;
  font-weight: 700;
}

.mission-copy {
  display: grid;
  gap: 20px;
  margin-top: 26px;
}

.mission-copy strong {
  font-weight: 600;
  color: var(--ink);
}

.mission-copy .underline {
  padding-bottom: 1px;
  border-bottom: 1px solid #c9d3e2;
  color: var(--ink-soft);
}


/* ==========================================================================
   MISSION BADGE
   ========================================================================== */

.mission-badge-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 10;

  display: flex;
  align-items: center;
  gap: 12px;

  width: auto;
  max-width: fit-content;

  padding: 10px 20px;

  background: #f8f9fa;
  border-radius: 12.5px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

.mission-badge-icon {
  width: 26px;
  height: 26px;
  min-width: 26px;

  color: #1976d2;
  stroke-width: 2.2;
}

.mission-badge-card span {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.2px;
  color: #1f2937;
  white-space: nowrap;
}


/* ==========================================================================
   MISSION PILL GRID
   ========================================================================== */

.pill-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;

  margin-top: 34px;
}

.pill-card {
  display: flex;
  align-items: center;
  gap: 16px;

  padding: 16px 20px;

  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);

  font-family: var(--font-head);
  font-size: 16px;
  color: var(--ink-soft);
}

.pill-card.is-wide {
  grid-column: 1 / -1;
}

.pill-card .icon {
  display: grid;
  place-items: center;
  flex: none;

  width: 42px;
  height: 42px;

  background: #fff;
  border-radius: 12px;

  color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.pill-card .icon svg {
  width: 20px;
  height: 20px;
}


/* ==========================================================================
   TREATMENTS
   ========================================================================== */

.treatments {
  padding-block: 90px;
  background: var(--bg-soft);
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.treatment-card {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;

  min-height: 150px;
  padding: 30px 18px;

  text-align: center;

  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);

  box-shadow: var(--shadow-sm);

  font-size: 15px;
  color: var(--ink-soft);

  transition:
    border-color .18s ease,
    transform .18s ease,
    box-shadow .18s ease;
}

.treatment-card:hover {
  border-color: var(--brand-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.treatment-card.is-active {
  border-color: #3b8fe0;
}

.treatment-card .icon {
  display: grid;
  place-items: center;

  width: 46px;
  height: 46px;

  background: var(--bg-soft);
  border-radius: 50%;
  color: var(--brand);
}

.treatment-card .icon svg {
  width: 22px;
  height: 22px;
}


   /* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonials {
  padding-block: 10px 110px;
  background: #fff;
}

.testimonials .section-head {
  margin-top:0;
  margin-bottom: 48px;
}

.testimonials .section-head h2 {
  font-size: 40px;
}

.testimonials .section-head p {
  margin-top: 12px;
  font-size: 16px;
}

/* Ticker wrapper */
.testimonial-grid {
  display: flex;
  width: max-content;
  gap: 28px;
  animation: testimonialTicker 25s linear infinite;
}

.testimonial-grid:hover {
  animation-play-state: paused;
}

/* Individual card */
.testimonial {
  flex: 0 0 400px;
  width: 400px;
  min-height: 300px;

  display: flex;
  flex-direction: column;

  padding: 38px;

  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.quote-mark {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  color: #ccd9e8;
}

.testimonial blockquote {
  margin: 24px 0 0;

  font-size: 16px;
  line-height: 1.65;
  font-style: italic;
  color: var(--ink-soft);
}

.testimonial footer {
  margin-top: auto;
  padding-top: 40px;
}

.testimonial cite {
  display: block;

  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  font-style: normal;
  color: var(--brand-light);
}

.testimonial time {
  display: block;
  margin-top: 4px;

  font-size: 14px;
  color: var(--muted-light);
}


/* ==========================================================================
   TESTIMONIAL TICKER
   ========================================================================== */

@keyframes testimonialTicker {
  0% {
    transform: translateX(0);
  }

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

@media (max-width: 768px) {

  .testimonials {
    padding-block: 60px;
  }

  .testimonials .section-head {
    margin-bottom: 28px;
  }

  .testimonials .section-head h2 {
    font-size: 27px;
    line-height: 1.2;
  }

  .testimonials .section-head p {
    font-size: 13px;
    line-height: 1.5;
  }

  .testimonial-grid {
    gap: 16px;
  }

  .testimonial {
    flex: 0 0 290px;
    width: 290px;
    min-height: 280px;
    padding: 24px;
  }

  .quote-mark {
    font-size: 42px;
  }

  .testimonial blockquote {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.55;
  }

  .testimonial footer {
    padding-top: 28px;
  }

  .testimonial cite {
    font-size: 15px;
  }

  .testimonial time {
    font-size: 12px;
  }
}
/*
.testimonials {
  padding-block: 90px;
  background: #fff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial {
  display: flex;
  flex-direction: column;

  padding: 32px;

  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.quote-mark {
  font-family: var(--font-head);
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  color: #ccd9e8;
}

.testimonial blockquote {
  margin: 24px 0 0;
  font-size: 15.5px;
  font-style: italic;
  color: var(--ink-soft);
}

.testimonial footer {
  margin-top: auto;
  padding-top: 34px;
}

.testimonial cite {
  display: block;

  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  font-style: normal;

  color: var(--brand-light);
}

.testimonial time {
  font-size: 15px;
  color: var(--muted-light);
}

/* ==========================================================================
   TESTIMONIAL TICKER
   ========================================================================== */

.testimonial-grid {
  display: flex;
  width: max-content;
  gap: 24px;

  animation: testimonialTicker 25s linear infinite;
}

.testimonial-grid:hover {
  animation-play-state: paused;
}

.testimonial {
  flex: 0 0 360px;
  width: 360px;
}

/* Continuous ticker animation */
@keyframes testimonialTicker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}
*/
/* ==========================================================================
   OTHER PRODUCTS
   ========================================================================== */

.products {
  padding-block: 90px;
  background: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.product-card {
  display: flex;
  flex-direction: column;

  padding: 32px;

  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-sm);

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-card img {
  width: 118px;
  height: 118px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.product-card h3 {
  margin-top: 26px;
  font-size: 24px;
  font-weight: 600;
  color: var(--brand-light);
}

.product-card p {
  max-width: 520px;
  margin-top: 14px;
}

.product-card .btn,
.product-card .link-more {
  align-self: flex-start;
  margin-top: 26px;
}


/* ==========================================================================
   FAQ
   ========================================================================== */

.faq {
  padding-block: 10px 90px;
  background: var(--bg-soft);

}

.faq-list {
  display: grid;
  gap: 18px;

  max-width: 900px;
  margin-inline: auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  padding: 24px 26px;

  list-style: none;
  cursor: pointer;

  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .chev {
  display: grid;
  place-items: center;
  flex: none;

  width: 36px;
  height: 36px;

  background: #eef0f5;
  border-radius: 50%;
  color: var(--ink-soft);

  transition:
    transform .22s ease,
    background .22s ease;
}

.faq-item summary .chev svg {
  width: 18px;
  height: 18px;
}

.faq-item[open] summary .chev {
  transform: rotate(180deg);
  background: var(--brand-tint);
  color: var(--brand);
}

.faq-item .answer {
  max-width: 760px;
  padding: 0 26px 26px;
  font-size: 15.5px;
}


/* ==========================================================================
   BLOG
   ========================================================================== */

/* ==========================================================================
   BLOG (DESKTOP HORIZONTAL SCROLL)
   ========================================================================== */

.blog {
  padding-block: 10px 90px;
  background: var(--bg-soft);
  overflow: hidden; /* Prevents whole-page horizontal scrollbar */
}

.blog-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  
  gap: 24px;
  padding-bottom: 20px; /* Space so shadows don't get clipped */

  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Hide scrollbar for a clean desktop aesthetic */
.blog-grid::-webkit-scrollbar {
  display: none;
}


.blog-card {
  flex: 0 0 320px; /* Gives each card a fixed desktop width */
  min-width: 320px;
  scroll-snap-align: start;

  display: flex;
  flex-direction: column;
  overflow: hidden;

  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);

  transition: transform .2s ease, box-shadow .2s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.blog-thumb {
  display: grid;
  place-items: center;
  height: 190px;
  background: #e9eaee;
  color: #b6bcc7;
}

.blog-thumb svg {
  width: 30px;
  height: 30px;
}

.blog-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.blog-body .eyebrow {
  font-size: 12px;
}

.blog-body h3 {
  margin-top: 12px;
  font-size: 19px;
  font-weight: 600;
}

.blog-body p {
  margin-top: 14px;
  font-size: 15px;
}

.blog-body .link-more {
  align-self: flex-start;
  margin-top: 22px;
}

.blog-more {
  display: grid;
  place-items: center;
  margin-top: 46px;
}

.btn-pill-soft {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-pill-soft:hover {
  border-color: #cbd6e6;
}

.btn-pill-soft svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact {
  padding-block: 80px;
  background-color: #f4f7fb;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  align-items: start;
  gap: 48px;
}

.contact-info h2 {
  margin-bottom: 12px;

  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;

  color: #1a1a1a;
}

.contact-info .accent {
  color: var(--brand-light);
}

.contact-lede {
  margin-bottom: 36px;
  color: #556987;
  font-size: 1.05rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  color: #4a5568;
  font-size: .95rem;
  line-height: 1.5;
}

.contact-details address {
  font-style: normal;
}

.contact-details a {
  color: #4a5568;
  transition: color .2s ease;
}

.contact-details a:hover {
  color: var(--brand-light);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  width: 24px;
  height: 24px;
  margin-top: 2px;

  color: var(--brand-light);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-form-card {
  padding: 40px;
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .04);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form .btn-block {
  border-radius: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: .9rem;
  font-weight: 500;
  color: #4a5568;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;

  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  outline: none;

  font-family: var(--font-body);
  font-size: .95rem;
  color: #1a1a1a;

  transition:
    border-color .2s ease,
    box-shadow .2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(43, 143, 209, .15);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--line-soft);
}

.footer-simple {
  display: grid;
  grid-template-columns: 1.8fr 1fr .7fr;
  align-items: start;
  gap: 70px;

  padding: 32px 0 40px;
}

.footer-brand img {
  width: auto;
  height: 42px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-soft);
}

.footer-brand small {
  display: block;
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted-light);
}

.footer-col h4 {
  margin: 0 0 14px;

  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 500;

  color: var(--ink-soft);
}

.footer-col address {
  max-width: 240px;
  margin: 0;

  font-style: normal;
  font-size: 12px;
  line-height: 1.45;

  color: var(--ink-soft);
}

.footer-col ul {
  display: grid;
  gap: 12px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.footer-col a {
  font-size: 12px;
  color: var(--ink-soft);
  transition: color .18s ease;
}

.footer-col a:hover {
  color: var(--brand);
}


/* ==========================================================================
   LANGUAGE SWITCHER
   ========================================================================== */

.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-dropdown summary::-webkit-details-marker {
  display: none;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 18px;

  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 9999px;

  color: #1e293b;

  font-size: 15px;
  font-weight: 500;

  cursor: pointer;
  list-style: none;
  user-select: none;

  transition: all .2s ease;
}

.lang-btn:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
}

.globe-icon {
  flex-shrink: 0;
  color: #475569;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 50;

  display: flex;
  flex-direction: column;

  min-width: 100%;
  padding: 6px 0;

  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;

  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, .08),
    0 4px 6px -2px rgba(0, 0, 0, .03);
}

.lang-option {
  display: block;

  padding: 8px 16px;

  color: #334155;
  font-size: 14px;
  font-weight: 500;

  transition: background-color .15s ease;
}

.lang-option:hover {
  background-color: #f1f5f9;
}

.lang-option.is-active {
  color: #2563eb;
  font-weight: 600;
}


/* ==========================================================================
   PERSONAL LOANS
   ========================================================================== */

section.pl-section {
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 60px 20px !important;

  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif !important;
}

section.pl-section .pl-header {
  margin-bottom: 48px !important;
  text-align: center !important;
}

section.pl-section .pl-header h2 {
  font-size: 32px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
}

section.pl-section .pl-header h2 span {
  color: #1d70b8 !important;
}

section.pl-section .pl-header p {
  margin-top: 8px;
  font-size: 16px;
  color: #64748b;
}

section.pl-section .pl-container {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  align-items: center !important;
  gap: 48px !important;
}

section.pl-section .pl-description {
  margin-bottom: 24px;
  color: #475569;
  font-size: 16px;
  line-height: 1.6;
}

section.pl-section .pl-card {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;

  margin-bottom: 16px !important;
  padding: 16px 20px !important;

  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
}

section.pl-section .pl-icon-box {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;

  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;

  border: 1.5px solid #2563eb !important;
  border-radius: 50% !important;

  color: #2563eb !important;
}

section.pl-section .pl-icon-box svg {
  width: 14px !important;
  height: 14px !important;
}

section.pl-section .pl-card-text {
  font-size: 15px;
  font-weight: 500;
  color: #334155;
}

section.pl-section .pl-features {
  margin-bottom: 32px;
}

section.pl-section .pl-actions {
  display: flex !important;
  gap: 16px !important;
}

/* Specific reset for the outline button */
section.pl-section .pl-actions a.pl-btn.pl-btn-outline {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #ffffff !important;
  border: 1px solid #d1d5db !important;
  color: #374151 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  text-decoration: none !important;
}

/* Hover effect */
section.pl-section .pl-actions a.pl-btn.pl-btn-outline:hover {
  background-color: #f9fafb !important;
  color: #111827 !important;
  transform: translateY(-1px);
}


section.pl-section .pl-btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 93, 151, .22);
}

section.pl-section .pl-btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

section.pl-section .pl-btn-outline {
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  color: #374151;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
}

section.pl-section .pl-btn-outline:hover {
  background-color: #f9fafb;
}

section.pl-section .pl-media img {
  width: 100% !important;
  max-height: 420px !important;

  object-fit: cover !important;

  border-radius: 24px !important;
}


/* ==========================================================================
   TRUSTED SECTION
   ========================================================================== */

.trusted {
  width: 100%;

  background: #f8f9fe !important;

  text-align: center;
}

.trusted .container {
  max-width: 1200px;
  margin: 0 auto;
  padding-block: 10px 48px;
}

.trusted-label {
  margin-bottom: 28px;

  font-family: var(
    --font-head,
    system-ui,
    -apple-system,
    sans-serif
  );

  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;

  color: #7a869a;

  text-align: center;
}

.trusted-item {
  width: 140px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center;
  flex-shrink: 0 !important;
}

.trusted-item img {
  display: block !important;

  width: auto;
  height: 38px;

  object-fit: contain;
}

.trusted-item img.is-wide {
  height: 30px;
}

.trusted-item span {
  font-family: var(
    --font-head,
    system-ui,
    -apple-system,
    sans-serif
  );

  font-size: 15px;
  font-weight: 700;

  color: #172b4d;

  white-space: nowrap !important;
}

.trusted-container {
  display: flex !important;
}

.trusted-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: max-content !important;
  gap: 15px !important;
  white-space: nowrap !important;
  animation: moveTicker 20s linear infinite;

}

.trusted-item {
  width: 100px !important; /* Reduced from 140px to pull items closer */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center;
  flex-shrink: 0 !important;
}




/* ==========================================================================
   HEALTHCARE BENEFITS
   ========================================================================== */


/* ==========================================================================
   MOBILE / TABLET RESPONSIVE
   ========================================================================== */


/* --------------------------------------------------------------------------
   LAPTOP / SMALL DESKTOP — 1080px
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .logo-grid,
  .treatment-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }


  /* Mobile sidebar */

  body.nav-open {
    overflow: hidden;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 998;

    display: none;

    background: transparent;
  }

  .nav-overlay.is-active {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;

    display: flex;

    flex-direction: column;

    width: 300px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;

    margin: 0;
    padding: 20px 16px;

    overflow-y: auto;

    background: #ffffff;

    box-shadow: -8px 0 30px rgba(0, 0, 0, .12);

    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.16, 1, .3, 1);

    box-sizing: border-box;
  }

  .nav-links.is-active {
    transform: translateX(0);
  }

  .sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 12px;
    padding-bottom: 16px;

    border-bottom: 1px solid #e2e8f0;
  }

  .sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
  }

  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;

    color: #64748b;
    font-size: 20px;

    cursor: pointer;
  }

  .nav-links li {
    width: 100%;
    list-style: none;
  }

  .nav-links a {
    display: block;
    padding: 12px 8px;

    color: #334155;

    text-decoration: none;
    font-weight: 500;
  }

  .dropdown-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 12px 8px;

    cursor: pointer;
    font-weight: 500;
  }

  .dropdown-menu {
    position: static;

    width: 100%;
    margin-top: 8px;
    padding-left: 12px;

    border: 1px solid var(--line);
    box-shadow: none;
  }

  .has-dropdown {
    position: static;
  }

  .nav-toggle {
    padding: 6px;
    background: none;
    border: none;
    cursor: pointer;
  }
}


/* --------------------------------------------------------------------------
   TABLET — 900px
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {

  .container {
    padding-inline: 24px;
  }

  .hero .container,
  .split .container,
  .mission .container,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 44px;

    padding-block: 64px;
  }

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

  .section-head h2,
  .split h2,
  .mission h2,
  .contact-info h2 {
    font-size: 32px;
  }

  .split .split-media,
  .mission .mission-media {
    order: -1;
  }

  .steps-track {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .steps-track::before {
    display: none;
  }

  .testimonial-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .footer-simple {
    grid-template-columns: 1fr 1fr;
  }


}


/* --------------------------------------------------------------------------
   MOBILE — 768px
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {

  /* Global */

  body {
    font-size: 14px;
    line-height: 1.5;
  }

  .container {
    width: 100%;
    max-width: none;
    padding-inline: 16px;
  }


  /* Header */

/* Header */

  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .site-header .nav {
    position: relative;

    display: flex;
    justify-content: center;

    height: 58px;
    padding: 0 16px;
  }

  .site-header .logo {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    width: auto;
    margin: 0;

    transform: translateY(-50%);
  }

  .site-header .logo img {
    display: block;
    width: auto;
    height: 34px;
  }

  .site-header .nav-toggle {
    position: absolute;
    top: 50%;
    right: 16px;
    left: auto;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;
    margin: 0;
    padding: 6px;

    transform: translateY(-50%);
  }

  .site-header .nav-toggle svg {
    width: 24px;
    height: 24px;
  }

  .site-header .nav-actions {
    position: static;

    display: block;

    margin: 0;
    padding: 0;
  }

  .site-header .nav-actions > .btn,
  .site-header .lang-dropdown {
    display: none;
  }

  /* Typography */

  .section-head {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .section-head h2 {
    font-size: 25px;
    line-height: 1.2;
  }

  .section-head p {
    margin-top: 9px;
    font-size: 13.5px;
    line-height: 1.55;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: .07em;
  }

  .badge {
    gap: 6px;
    padding: 6px 12px;
    font-size: 12px;
  }

  .badge svg {
    width: 14px;
    height: 14px;
  }


  /* Buttons */

  .btn {
    min-height: 44px;
    padding: 11px 20px;
    font-size: 14px;
  }

  .btn-sm {
    padding: 9px 16px;
    font-size: 13px;
  }

  .link-more {
    font-size: 13px;
  }


  /* Hero */

  .hero {
    background: linear-gradient(
      160deg,
      #f8f9ff 0%,
      #edf4ff 55%,
      #e5f0ff 100%
    );
  }

  .hero::before {
    opacity: .65;
    clip-path: polygon(0 0, 100% 0, 0 48%);
  }

  .hero::after {
    right: -30%;
    bottom: -10%;

    width: 100%;
    height: 45%;

    opacity: .45;
  }

  .hero .container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;

    padding-top: 42px;
    padding-bottom: 42px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.16;
    letter-spacing: -.025em;
  }

  .hero h1 span {
    display: inline;
  }

  .hero-lede {
    max-width: none;
    margin-top: 16px;

    font-size: 14px;
    line-height: 1.55;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;

    margin-top: 24px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 46px;
    padding: 12px 18px;
    font-size: 14px;
  }

  .hero-media {
    width: 100%;

    border-width: 3px;
    border-radius: 18px;

    box-shadow: 0 12px 28px rgba(16, 24, 40, .10);
  }

  .hero-media img {
    width: 100%;
    border-radius: 15px;
  }

  .hero-badge-card {
    right: 12px;
    bottom: 12px;
    left: 12px;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 11px 12px;

    border-radius: 14px;

    background: rgba(255, 255, 255, .94);

    box-shadow: 0 10px 25px rgba(0, 0, 0, .12);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .hero-badge-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;

    border-radius: 10px;
  }

  .hero-badge-icon svg {
    width: 19px;
    height: 19px;
  }

  .hero-badge-content {
    min-width: 0;
  }

  .badge-pill-new {
    gap: 2px;

    margin-bottom: 2px;
    padding: 2px 6px;

    border-radius: 5px;

    font-size: 9px;
  }

  .badge-pill-new svg {
    width: 9px;
    height: 9px;
  }

  .hero-badge-content h3 {
    font-size: 13px;
    line-height: 1.2;
  }

  .hero-badge-content p {
    margin-top: 2px;
    font-size: 10.5px;
    line-height: 1.25;
  }


  /* Split Sections */

  .split .container,
  .band-discharge .container,
  .mission .container {
    display: flex;
    flex-direction: column;
    gap: 28px;

    padding-top: 48px;
    padding-bottom: 48px;
  }

  .split-media {
    order: initial;

    width: 100%;

    border-width: 3px;
    border-radius: 18px;

    box-shadow: 0 12px 28px rgba(16, 24, 40, .09);
  }

  .split-media img {
    width: 100%;
    border-radius: 15px;
  }

  .split-copy {
    width: 100%;
  }

  .split h2 {
    margin-top: 16px;
    font-size: 27px;
    line-height: 1.18;
    letter-spacing: -.02em;
  }

  .split p.lede {
    max-width: none;
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.6;
  }

  .split-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;

    margin-top: 24px;
  }

  .split-actions .btn {
    width: 100%;
  }


  /* Medical Loans */

  #loans .container {
    display: flex;
    flex-direction: column;
  }

  #loans .split-copy {
    order: 1;
  }

  #loans .split-media {
    order: 2;
  }


  /* Instant Discharge */

  #discharge {
    display: none;
  }

  .band-discharge {
    padding-block: 48px;

    background: linear-gradient(
      145deg,
      #f5f8ff 0%,
      #e8f0ff 60%,
      #dceaff 100%
    );
  }

  .band-discharge .container {
    margin-left: auto;
    padding-inline: 16px;
  }

  .band-discharge h2 {
    font-size: 28px;
  }

  .feature-list {
    gap: 10px;

    max-width: none;
    margin-top: 24px;
  }

  .feature-card {
    align-items: flex-start;
    gap: 12px;

    padding: 14px;

    border-radius: 13px;
  }

  .feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .feature-icon svg {
    width: 18px;
    height: 18px;
  }

  .feature-card h3 {
    font-size: 15px;
    line-height: 1.3;
  }

  .feature-card p {
    margin-top: 3px;
    font-size: 12.5px;
    line-height: 1.45;
  }


  /* Steps */

  .steps {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .steps-track {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .steps-track::before {
    display: none;
  }

  .step-icon {
    width: 64px;
    height: 64px;
    font-size: 25px;
  }

  .step-pill {
    margin-top: -8px;
    padding: 3px 11px;
    font-size: 11px;
  }

  .step h3 {
    margin-top: 16px;
    font-size: 15px;
  }

  .step p {
    max-width: 280px;
    margin-top: 7px;
    font-size: 13px;
    line-height: 1.5;
  }


/* Partners Mobile Styles */

.partners {
  padding-top: 52px;
  padding-bottom: 52px;
}

.logo-grid {
  display: grid !important; /* Force back to Grid on mobile */
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  overflow-x: visible !important; /* Disables scrolling */
}

.logo-card {
  flex: none !important; /* Resets flex sizing from desktop */
  min-width: 0 !important;
  width: 100% !important;
  height: 90px;
  padding: 14px;
  border-radius: 12px;
}

.logo-card img {
  max-height: 45px;
}

  /* Mission */

  .mission .container {
    display: flex;
    flex-direction: column;
    gap: 28px;

    padding-top: 52px;
    padding-bottom: 52px;
  }

  .mission-media {
    order: -1;

    width: 100%;

    border-width: 3px;
    border-radius: 18px;

    box-shadow: 0 12px 28px rgba(16, 24, 40, .09);
  }

  .mission-media img {
    width: 100%;
    border-radius: 15px;
  }

  .mission h2 {
    margin-top: 8px;
    font-size: 27px;
    line-height: 1.2;
  }

  .mission-copy {
    gap: 14px;
    margin-top: 18px;
  }

  .mission-copy p {
    font-size: 14px;
    line-height: 1.6;
  }

  .mission-badge-card {
    bottom: 12px;
    left: 12px;

    padding: 8px 14px;

    gap: 8px;
    border-radius: 14px;
  }

  .mission-badge-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
  }

  .mission-badge-card span {
    font-size: 12.5px;
  }

  .pill-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .pill-card,
  .pill-card.is-wide {
    grid-column: auto;

    padding: 12px 14px;

    gap: 12px;
    border-radius: 12px;

    font-size: 13.5px;
  }

  .pill-card .icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .pill-card .icon svg {
    width: 18px;
    height: 18px;
  }


  /* Treatments */

  .treatments {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .treatment-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .treatment-card {
    min-height: 110px;
    padding: 20px 10px;

    gap: 9px;
    border-radius: 12px;

    font-size: 12.5px;
  }

  .treatment-card .icon {
    width: 38px;
    height: 38px;
  }

  .treatment-card .icon svg {
    width: 18px;
    height: 18px;
  }


  /* Testimonials */

  .testimonials {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .testimonial {
    padding: 20px;
    border-radius: 13px;
  }

  .quote-mark {
    font-size: 34px;
  }

  .testimonial blockquote {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.55;
  }

  .testimonial footer {
    padding-top: 20px;
  }

  .testimonial cite {
    font-size: 14px;
  }

  .testimonial time {
    font-size: 12px;
  }


  /* Products */

  .products {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-card {
    padding: 20px;
    border-radius: 16px;
  }

  .product-card img {
    width: 76px;
    height: 76px;
  }

  .product-card h3 {
    margin-top: 16px;
    font-size: 20px;
  }

  .product-card p {
    margin-top: 9px;
    font-size: 13px;
    line-height: 1.55;
  }

  .product-card .btn,
  .product-card .link-more {
    margin-top: 18px;
  }


  /* Contact */

  .contact {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 28px;

    padding-top: 0;
    padding-bottom: 0;
  }

  .contact-info h2 {
    margin-bottom: 8px;
    font-size: 27px;
  }

  .contact-lede {
    margin-bottom: 22px;
    font-size: 14px;
  }

  .contact-details {
    gap: 14px;
  }

  .contact-details li {
    gap: 9px;
    font-size: 12.5px;
  }

  .contact-icon {
    width: 21px;
    height: 21px;
  }

  .contact-icon svg {
    width: 18px;
    height: 18px;
  }

  .contact-form-card {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .contact-form {
    gap: 14px;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .form-group {
    gap: 5px;
  }

  .form-group label {
    font-size: 12px;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px 12px;
    font-size: 13px;
    border-radius: 7px;
  }

  .form-group textarea {
    min-height: 90px;
  }

  .contact-form .btn-block {
    min-height: 44px;
  }


  /* FAQ */

  .faq {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .faq-list {
    gap: 10px;
  }

  .faq-item {
    border-radius: 12px;
  }

  .faq-item summary {
    gap: 12px;
    padding: 16px;

    font-size: 14px;
    line-height: 1.4;
  }

  .faq-item summary .chev {
    width: 30px;
    height: 30px;
  }

  .faq-item summary .chev svg {
    width: 15px;
    height: 15px;
  }

  .faq-item .answer {
    padding: 0 16px 16px;
    font-size: 12.5px;
    line-height: 1.55;
  }


/* ==========================================================================
   BLOG MOBILE HORIZONTAL SCROLL (RECOVER TITLE)
   ========================================================================== */

.blog {
  padding-top: 52px !important;
  padding-bottom: 52px !important;
  width: 100% !important;
  overflow: hidden !important;
}

/* Force container full-width and remove restrictive overflow */
.blog .container {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

/* Force section head title to stay visible and centered */
.blog .section-head {
  display: block !important;
  width: 100% !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  margin-bottom: 24px !important;
  text-align: center !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.blog .section-head h2 {
  display: block !important;
  font-size: 22px !important;
  line-height: 1.3 !important;
  color: inherit !important;
}

.blog .section-head p {
  display: block !important;
  font-size: 13px !important;
  margin-top: 8px !important;
  
}

/* Scroll Grid without negative margin shifts */
.blog-grid {
  display: flex !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 16px !important;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  
  gap: 16px !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  padding-bottom: 12px !important;
  margin: 0 !important; /* Cleared negative margins */
  width: 100% !important;
}

/* Hide scrollbars */
.blog-grid::-webkit-scrollbar {
  display: none;
}
.blog-grid {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.blog-card {
  flex: 0 0 82% !important;
  min-width: 82% !important;
  scroll-snap-align: start;
  border-radius: 16px !important;
}

.blog-thumb {
  height: 150px !important;
}

.blog-thumb svg {
  width: 28px !important;
  height: 28px !important;
}

.blog-body {
  padding: 18px !important;
}

.blog-body .eyebrow {
  font-size: 10px !important;
}

.blog-body h3 {
  margin-top: 8px !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
}

.blog-body p {
  margin-top: 8px !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

.blog-body .link-more {
  margin-top: 15px !important;
}

.blog-more {
  margin-top: 24px !important;
}

.btn-pill-soft {
  padding: 11px 22px !important;
  font-size: 13px !important;
}
  /* Footer */

  .site-footer {
    background: #fff;
  }

  .footer-simple {
    display: grid;
    grid-template-columns: 1fr 1fr;

    column-gap: 24px;
    row-gap: 0;

    padding: 28px 0 24px;
  }

  .footer-brand {
    display: contents;
  }

  .footer-brand img {
    display: block;
    grid-column: 1 / -1;

    width: auto;
    height: 36px;
    margin-bottom: 8px;
  }

  .footer-brand p {
    grid-column: 1 / -1;

    margin: 0 0 22px;

    font-size: 12px;
    line-height: 1.5;
    color: #4b5563;
  }

  .footer-address {
    grid-column: 1 / -1;
    margin-bottom: 26px;
  }

  .footer-col h4 {
    margin: 0 0 12px;

    font-size: 12px;
    font-weight: 600;

    color: #111827;
  }

  .footer-col address {
    margin: 0;

    font-size: 12px;
    line-height: 1.55;

    font-style: normal;
    color: #4b5563;
  }

  .footer-support {
    display: grid;
    grid-template-columns: 1fr 1fr;

    grid-column: 1 / -1;

    column-gap: 24px;
    row-gap: 14px;

    margin-bottom: 26px;
  }

  .footer-support ul {
    display: contents;

    margin: 0;
    padding: 0;

    list-style: none;
  }

  .footer-support h4 {
    margin: 0;
    font-size: 12px;
  }

  .footer-support li {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .footer-support a {
    font-size: 12px;
    line-height: 1.5;
    color: #4b5563;
    text-decoration: none;
  }

  .footer-support a:hover {
    color: #2563eb;
  }

  .footer-brand small {
    display: block;
    grid-column: 1 / -1;

    margin-top: 0;
    padding-top: 22px;

    border-top: 1px solid #e5e7eb;

    font-size: 11px;
    line-height: 1.5;
    color: #4b5563;
  }


  /* Personal Loans */

  section.pl-section {
    padding: 32px 16px !important;
  }

  section.pl-section .pl-header {
    margin-bottom: 24px !important;
  }

  section.pl-section .pl-header h2 {
    margin-bottom: 12px;

    font-size: 34px !important;
    letter-spacing: -.5px !important;
  }

  section.pl-section .pl-header h2 span {
    color: #2b7bb9 !important;
  }

  section.pl-section .pl-header p {
    max-width: 320px;
    margin: 0 auto;

    font-size: 15px;
    line-height: 1.4;

    color: #64748b !important;
  }

  section.pl-section .pl-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  section.pl-section .pl-media {
    order: 1 !important;
    width: 100% !important;
  }

  section.pl-section .pl-media img {
    height: 220px !important;
    border-radius: 20px !important;
  }

  section.pl-section .pl-content {
    order: 2 !important;
    width: 100% !important;
  }

  section.pl-section .pl-description {
    margin-bottom: 28px !important;

    font-size: 15px !important;
    line-height: 1.5 !important;

    color: #475569 !important;
  }

  section.pl-section .pl-features {
    margin-bottom: 32px !important;
  }

  section.pl-section .pl-card {
    gap: 12px !important;

    margin-bottom: 16px !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
  }

  section.pl-section .pl-icon-box {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;

    background-color: #e0f2fe !important;
    border: none !important;

    color: #0284c7 !important;
  }

  section.pl-section .pl-icon-box svg {
    width: 12px !important;
    height: 12px !important;
  }

  section.pl-section .pl-card-text {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #1e293b !important;
  }

  section.pl-section .pl-actions {
    display: flex !important;
    gap: 12px !important;
    width: 100% !important;
  }

  section.pl-section .pl-btn {
    flex: 1 !important;

    padding: 14px 16px !important;

    border-radius: 10px !important;

    font-size: 15px !important;
    font-weight: 600 !important;
    text-align: center !important;
  }

  section.pl-section .pl-btn-primary {
    background-color: #2b7bb9 !important;
    color: #ffffff !important;
  }

  section.pl-section .pl-btn-outline {
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
  }


  /* Trusted */

  .trusted {
    padding-block: 36px;
  }

  .trusted-label {
    margin-bottom: 20px;
    font-size: 10px;
  }

  .trusted-container {
    display: flex !important;
    overflow: hidden !important;

    width: 100% !important;

    mask-image: linear-gradient(
      to right,
      transparent,
      black 10%,
      black 90%,
      transparent
    ) !important;

    -webkit-mask-image: linear-gradient(
      to right,
      transparent,
      black 10%,
      black 90%,
      transparent
    ) !important;
  }

  .trusted-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;

    width: max-content !important;

    gap: 16px !important;
    padding-right: 16px !important;

    white-space: nowrap !important;

    animation: moveTicker 15s linear infinite !important;
  }

  .trusted-item img {
    height: 30px;
  }

  .trusted-item img.is-wide {
    height: 24px;
  }

  .trusted-item span {
    font-size: 13px;
  }
}


/* --------------------------------------------------------------------------
   MOBILE — 700px
   -------------------------------------------------------------------------- */

@media (max-width: 700px) {

  .footer-simple {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}


/* --------------------------------------------------------------------------
   MOBILE — 640px
   -------------------------------------------------------------------------- */

@media (max-width: 640px) {

  .hero-badge-card {
    bottom: 16px;
    left: 16px;
    right: 16px;
    padding: 14px 16px;
  }
}


/* --------------------------------------------------------------------------
   MOBILE — 600px
   -------------------------------------------------------------------------- */

@media (max-width: 600px) {

  .mission-badge-card {
    bottom: 12px;
    left: 12px;

    padding: 8px 14px;

    gap: 8px;
    border-radius: 14px;
  }

  .mission-badge-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
  }

  .mission-badge-card span {
    font-size: 12.5px;
  }
}


/* --------------------------------------------------------------------------
   SMALL MOBILE — 480px
   -------------------------------------------------------------------------- */

@media (max-width: 480px) {

  .footer-simple {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: auto;
  }
}


/* --------------------------------------------------------------------------
   EXTRA SMALL MOBILE — 380px
   -------------------------------------------------------------------------- */

@media (max-width: 380px) {

  .container {
    padding-inline: 14px;
  }

  .hero .container {
    padding-top: 34px;
    padding-bottom: 34px;
  }

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

  .hero-lede {
    font-size: 13px;
  }

  .hero-badge-card {
    right: 9px;
    bottom: 9px;
    left: 9px;

    gap: 8px;

    padding: 9px 10px;
    border-radius: 12px;
  }

  .hero-badge-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;

    border-radius: 9px;
  }

  .hero-badge-icon svg {
    width: 17px;
    height: 17px;
  }

  .hero-badge-content h3 {
    font-size: 12px;
  }

  .hero-badge-content p {
    font-size: 9.5px;
  }

  .split .container,
  .band-discharge .container,
  .mission .container {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .split h2,
  .mission h2,
  .contact-info h2 {
    font-size: 25px;
  }

  .section-head h2 {
    font-size: 23px;
  }

  .logo-grid {
    gap: 8px;
  }

  .logo-card {
    height: 82px;
  }

  .treatment-card {
    min-height: 100px;
  }
}



/* ==========================================================================
   TRUSTED LOGO TICKER
   ========================================================================== */

@keyframes moveTicker {
  0% {
    transform: translateX(0%);
  }

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

/* ==========================================================================
   HEALTHCARE BENEFITS — DESKTOP DESIGN
   ========================================================================== */

.benefits-section {
  width: 100%;
  padding: 47px 28px;
  background: #f7f8fd;
  box-sizing: border-box;
}

.benefits-container {
  width: 100%;
  max-width: 596px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 278px 278px;
  align-items: center;
  gap: 40px;

  box-sizing: border-box;
}


/* --------------------------------------------------------------------------
   LEFT IMAGE
   -------------------------------------------------------------------------- */

.benefits-image-wrapper {
  width: 278px;
  height: 316px;

  overflow: hidden;

  border-radius: 16px;

  background: #fff;

  box-shadow: 0 9px 20px rgba(35, 50, 75, 0.15);

  box-sizing: border-box;
}

.benefits-main-img {
  display: block;

  width: 100%;
  height: 100%;

  max-width: none;

  object-fit: cover;
  object-position: center;

  border-radius: 16px;
}


/* --------------------------------------------------------------------------
   RIGHT CONTENT
   -------------------------------------------------------------------------- */

.benefits-content {
  width: 278px;
  min-width: 0;

  box-sizing: border-box;
}


/* --------------------------------------------------------------------------
   BADGE / TOP LABEL
   -------------------------------------------------------------------------- */

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;

  height: 14px;

  padding: 0 8px;

  background: #fff;

  border: 1px solid #e4e9f0;
  border-radius: 999px;

  color: #237fc0;

  font-family: "Inter", sans-serif;
  font-size: 6px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .25px;

  box-sizing: border-box;
}

.badge-icon {
  width: 7px;
  height: 7px;

  flex-shrink: 0;
}


/* --------------------------------------------------------------------------
   HEADER + CAREPAL LOGO
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   HEADER + CAREPAL LOGO
   -------------------------------------------------------------------------- */

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.benefits-heading {
  margin: 0;
  color: #0877bd;
  font-family: "Figtree", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.partner-brand-logo {
  display: block;
  width: 190px !important;
  max-width: 190px !important;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}


/* --------------------------------------------------------------------------
   DESCRIPTION
   -------------------------------------------------------------------------- */

.benefits-description {
  max-width: 278px;

  margin: 16px 0 14px;

  color: #555d68;

  font-family: "Inter", sans-serif;
  font-size: 7px;
  font-weight: 400;
  line-height: 1.5;

  box-sizing: border-box;
}


/* --------------------------------------------------------------------------
   FEATURE CARDS
   -------------------------------------------------------------------------- */

/*
   IMPORTANT:
   Your existing CSS already has a global .feature-card
   for the Instant Discharge section.

   These scoped rules override it ONLY inside healthcare benefits.
*/

.benefits-section .features-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 8px;

  width: 100%;
  margin: 0;

  box-sizing: border-box;
}

.benefits-section .feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: auto;
  min-height: 0;
  height: 92px;

  margin: 0;
  padding: 8px 5px;

  overflow: hidden;

  background: #fff;

  border: 1px solid #e7ebf1;
  border-radius: 9px;

  box-shadow: 0 5px 14px rgba(30, 55, 80, .065);

  text-align: center;

  box-sizing: border-box;
}


/* Remove the green/right accent bar from your
   existing .feature-card */

.benefits-section .feature-card::after {
  display: none;
}


.benefits-section .icon-wrapper img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  
  /* Forces the vector to scale up visually regardless of internal SVG dimensions */
  transform: scale(1.35); 
  transform-origin: center center;
}

.benefits-section .icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0 0 2px;
  flex-shrink: 0;
  background: transparent;
}


.benefits-section .feature-text {
  max-width: 78px;

  margin: 0;

  color: #161b22;

  font-family: "Figtree", sans-serif;
  font-size: 6.5px;
  font-weight: 600;
  line-height: 1.3;

  text-align: center;
}


/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  /* Matches image proportions while keeping text on one line */
  min-width: 210px;
  height: 50px;
  padding: 0 28px;

  background-color: #247fbe; /* Pill background color */
  border-radius: 999px;

  color: #ffffff;
  font-family: "Figtree", sans-serif;
  font-size: 16px; /* Scaled up to fit nicely */
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;

  text-decoration: none;
  white-space: nowrap; /* Prevents text wrapping */

  /* Drop shadow from the image */
  box-shadow: 0 6px 16px rgba(36, 127, 190, 0.28);
  box-sizing: border-box;

  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  background-color: #1b6da7;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(36, 127, 190, 0.38);
}

.btn-arrow {
  font-size: 18px; /* Enlarges the &rarr; character to match font weight */
  font-weight: 700;
  line-height: 1;
  display: inline-block;
  transition: transform 0.2s ease;
}

.cta-button:hover .btn-arrow {
  transform: translateX(3px); /* Subtle slide effect on hover */
}


/* ==========================================================================
   HEALTHCARE BENEFITS — LARGER DESKTOP
   ========================================================================== */

@media (min-width: 1200px) {

  .benefits-section {
    padding: 47px 40px;
  }

  .benefits-container {
    max-width: 596px;

    grid-template-columns: 278px 278px;
    gap: 40px;
  }
}


/* ==========================================================================
   HEALTHCARE BENEFITS — TABLET
   ========================================================================== */

@media (max-width: 900px) and (min-width: 769px) {

  .benefits-section {
    padding: 50px 24px;
  }

  .benefits-container {
    max-width: 700px;

    grid-template-columns: 300px 1fr;
    gap: 32px;
  }

  .benefits-image-wrapper {
    width: 300px;
    height: 350px;
  }

  .benefits-content {
    width: 100%;
  }

  .benefits-heading {
    font-size: 14px;
    max-width: 190px;
  }

  .partner-brand-logo {
    width: 100px;
    max-width: 100px;
  }

  .benefits-description {
    font-size: 9px;
  }

  .benefits-section .feature-card {
    height: 100px;
  }

  .benefits-section .feature-text {
    font-size: 8px;
  }
}


/* ==========================================================================
   HEALTHCARE BENEFITS — MOBILE
   ========================================================================== */
/* ==========================================================================
   MOBILE DESIGN OVERRIDE (MAX-WIDTH: 768PX)
   ========================================================================== */

@media screen and (max-width: 768px) {

  /* Page Container */
  .benefits-section {
    width: 100% !important;
    padding: 24px 16px 32px !important;
    background: #ffffff !important;
  }

  /* Main Container - Relative positioning allows absolute logo placement */
  .benefits-section .benefits-container {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-top: 60px !important; /* Space reserved for top logo */
  }

  /* 1. CarePal Logo (Absolute positioned at top center) */
  .benefits-section .partner-brand-logo {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: block !important;
    width: 180px !important;
    max-width: 180px !important;
    height: auto !important;
    margin: 0 !important;
  }

  /* 2. Main Image (Directly below logo) */
  .benefits-section .benefits-image-wrapper {
    width: 100% !important;
    height: 190px !important;
    margin-bottom: 10px !important; /* Reduced space below image */
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: none !important;
  }

  .benefits-section .benefits-main-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* 3. Text & Card Wrapper */
  .benefits-section .benefits-content {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  /* Reset header-row to normal flow on mobile */
  .benefits-section .header-row {
    display: block !important;
    width: 100% !important;
    margin-top: 0 !important;
  }

  /* 4. Badge Pill */
  .benefits-section .badge-pill {
    display: inline-flex !important;
    align-items: center !important;
    height: auto !important;
    padding: 5px 10px !important;
    margin-bottom: 12px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    color: #475569 !important;
    font-size: 8.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
  }

  .benefits-section .badge-icon {
    display: none !important;
  }

  /* 5. Main Title */
  .benefits-section .benefits-heading {
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: #1e293b !important;
    max-width: 100% !important;
    margin: 0 0 10px 0 !important;
  }

  /* 6. Description Text */
  .benefits-section .benefits-description {
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    color: #64748b !important;
    max-width: 100% !important;
    margin: 0 0 20px 0 !important;
  }

  /* 7. 3 Feature Cards Grid */
  .benefits-section .features-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    margin-bottom: 20px !important;
  }

  .benefits-section .feature-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
    min-height: 96px !important;
    padding: 12px 6px !important;
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
    text-align: center !important;
  }

  .benefits-section .icon-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #e0f2fe !important;
    margin: 0 0 8px 0 !important;
  }

  .benefits-section .icon-wrapper img {
    width: 18px !important;
    height: 18px !important;
    object-fit: contain !important;
  }

  .benefits-section .feature-text {
    font-size: 8px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    color: #334155 !important;
    max-width: 100% !important;
  }

  /* 8. Full-Width CTA Button */
  .benefits-section .cta-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 44px !important;
    border-radius: 8px !important;
    background: #237fc0 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    margin-top: 0 !important;
  }
}

/* ==========================================================================
   HEALTHCARE BENEFITS — SMALL MOBILE
   ========================================================================== */

@media (max-width: 380px) {

  .benefits-section {
    padding-left: 10px;
    padding-right: 10px;
  }

  .benefits-heading {
    font-size: 15px;
  }

  .partner-brand-logo {
    width: 90px;
    max-width: 90px;
  }

  .benefits-description {
    font-size: 9.5px;
  }

  .benefits-section .feature-text {
    font-size: 6.7px;
  }
}






/* =========================
   MOBILE WIDTH FIX
   ========================= */

html,
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

@media (max-width: 768px) {

  .container {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 16px;
    padding-right: 16px;
  }

  section {
    width: 100%;
    max-width: 100%;
  }

  .hero,
  .split,
  .steps,
  .partners,
  .trusted,
  .mission,
  .testimonials,
  .contact,
  .faq,
  .blog,
  .site-footer {
    width: 100%;
    max-width: 100%;
  }
}

/* ========================================================================
   HEALTHCARE BENEFITS — LARGE DESKTOP OVERRIDE
   ======================================================================== */

@media (min-width: 901px) {

  .benefits-section {
    width: 100%;
    padding: 80px 40px;
    background: #f7f8fd;
  }

  .benefits-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(420px, 520px) minmax(420px, 520px);
    align-items: center;
    justify-content: center;

    gap: 70px;
  }


  /* --------------------------------------------------------------
     LARGE IMAGE
     -------------------------------------------------------------- */

  .benefits-image-wrapper {
    width: 100%;
    height: 560px;

    overflow: hidden;

    border-radius: 24px;

    background: #fff;

    box-shadow: 0 18px 40px rgba(35, 50, 75, .14);
  }

  .benefits-main-img {
    width: 100%;
    height: 100%;

    max-width: none;

    object-fit: cover;
    object-position: center;

    border-radius: 24px;
  }


  /* --------------------------------------------------------------
     RIGHT CONTENT
     -------------------------------------------------------------- */

  .benefits-content {
    width: 100%;
    max-width: 520px;
  }


  /* --------------------------------------------------------------
     BADGE
     -------------------------------------------------------------- */

  .badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    height: 28px;

    padding: 0 13px;

    border: 1px solid #dfe6ee;
    border-radius: 999px;

    background: #fff;

    color: #237fc0;

    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2px;
  }

  .badge-icon {
    width: 13px;
    height: 13px;
  }


  /* --------------------------------------------------------------
     HEADING + LOGO
     -------------------------------------------------------------- */

  .header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    margin-top: 24px;
  }

  .benefits-heading {
    max-width: 310px;

    margin: 0;

    color: #0877bd;

    font-family: "Figtree", sans-serif;
    font-size: 26px;
    font-weight: 650;
    line-height: 1.3;
  }

  .partner-brand-logo {
    width: 150px;
    max-width: 150px;
    height: auto;

    flex-shrink: 0;
  }


  /* --------------------------------------------------------------
     DESCRIPTION
     -------------------------------------------------------------- */

  .benefits-description {
    max-width: 500px;

    margin: 22px 0 24px;

    color: #555d68;

    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
  }


  /* --------------------------------------------------------------
     FEATURE CARDS
     -------------------------------------------------------------- */

  .benefits-section .features-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 14px;

    width: 100%;
    margin: 0;
  }

  .benefits-section .feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    height: 145px;
    min-height: 145px;

    margin: 0;
    padding: 16px 10px;

    background: #fff;

    border: 1px solid #e7ebf1;
    border-radius: 14px;

    box-shadow: 0 7px 20px rgba(30, 55, 80, .07);

    text-align: center;
  }

  .benefits-section .feature-card::after {
    display: none;
  }

  .benefits-section .icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    margin: 0 0 12px;

    flex-shrink: 0;

    background: #f4f8fc;
    border-radius: 12px;
  }

  .benefits-section .icon-wrapper img {
    width: 34px;
    height: 34px;

    object-fit: contain;
  }

  .benefits-section .feature-text {
    max-width: 130px;

    margin: 0;

    color: #161b22;

    font-family: "Figtree", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;

    text-align: center;
  }


  /* --------------------------------------------------------------
     CTA
     -------------------------------------------------------------- */

  .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    width: 210px;
    height: 48px;

    margin-top: 24px;
    padding: 0 20px;

    background: #247fbe;

    border-radius: 999px;

    color: #fff;

    font-family: "Figtree", sans-serif;
    font-size: 13px;
    font-weight: 600;

    box-shadow: 0 6px 16px rgba(36, 127, 190, .18);
  }

  .cta-button:hover {
    background: #176fae;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(36, 127, 190, .22);
  }

  .btn-arrow {
    font-size: 17px;
  }
}


/* ========================================================================
   EXTRA LARGE DESKTOP
   ======================================================================== */

@media (min-width: 1400px) {

  .benefits-section {
    padding-top: 95px;
    padding-bottom: 95px;
  }

  .benefits-container {
    max-width: 1250px;
    grid-template-columns: 560px 560px;
    gap: 90px;
  }

  .benefits-image-wrapper {
    height: 600px;
  }

  .benefits-heading {
    font-size: 29px;
  }

  .benefits-description {
    font-size: 16px;
  }

  .benefits-section .feature-card {
    height: 155px;
    min-height: 155px;
  }

  .benefits-section .feature-text {
    font-size: 13px;
  }
}

/* ==========================================================================
   MOBILE FIX: Match Design + Working Clickable CTA Below Light Blue Card
   ========================================================================== */

@media screen and (max-width: 768px) {

  /* 1. Global Layout Resets */
  #discharge,
  .band-discharge,
  .steps {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
    width: 100% !important;
  }

  .band-discharge::before,
  .band-discharge::after,
  .steps-track::before {
    display: none !important;
  }

  /* 2. Desktop Elements Clean Up */
  .band-discharge .badge,
  .feature-list,
  .band-discharge .section-head,
  .band-discharge .discharge-actions {
    display: none !important;
  }

  /* 3. LIGHT BLUE CARD TOP HALF (Header Text) */
  .band-discharge .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    background-color: #f0f4f9 !important;
    border-radius: 28px 28px 0 0 !important;
    padding: 36px 20px 0 !important;
    margin: 16px 16px 0 !important;
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }

  .band-discharge h2 {
    font-size: 26px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: #111827 !important;
    margin: 0 !important;
    text-align: center !important;
    letter-spacing: -0.02em !important;
  }

  .band-discharge h2 .accent {
    color: #2073bd !important;
  }

  .band-discharge p.lede {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    color: #4b5563 !important;
    margin: 12px auto 0 !important;
    max-width: 310px !important;
    text-align: center !important;
  }

  /* 4. LIGHT BLUE CARD BOTTOM HALF (Steps Container) */
  .steps .container {
    background-color: #f0f4f9 !important;
    border-radius: 0 0 28px 28px !important;
    margin: 0 16px !important;
    padding: 28px 20px 36px !important;
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
    position: relative !important;
  }

  /* Hide duplicate header inside .steps section on mobile */
  .steps .section-head {
    display: none !important;
  }

  .steps-track {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
    position: relative !important;
    width: 100% !important;
    margin: 0 !important;
  }

  /* Connector Line */
  .steps-track::after {
    content: "" !important;
    position: absolute !important;
    top: 28px !important;
    bottom: 28px !important;
    left: 28px !important;
    width: 2px !important;
    background-color: #cbd5e1 !important;
    z-index: 1 !important;
  }

  /* 5. Step Row Content */
  .step {
    display: flex !important;
    align-items: flex-start !important;
    gap: 16px !important;
    position: relative !important;
    z-index: 2 !important;
    text-align: left !important;
  }

  .step-icon-wrap {
    position: relative !important;
    flex-shrink: 0 !important;
    width: 56px !important;
  }

  .step-icon {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
    margin: 0 !important;
  }

  .step-pill {
    position: absolute !important;
    bottom: -6px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: #005d97 !important;
    color: #ffffff !important;
    font-size: 8px !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    border-radius: 999px !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }

  .step-body {
    padding-top: 2px !important;
    text-align: left !important;
  }

  .step h3 {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin: 0 !important;
  }

  .step p {
    font-size: 13px !important;
    line-height: 1.45 !important;
    color: #4b5563 !important;
    margin-top: 4px !important;
  }

  /* Disable unclickable pseudo-element text */
  .steps::after,
  .steps .container::after {
    display: none !important;
  }

  /* 6. REAL CLICKABLE BUTTON OUTSIDE LIGHT BLUE CARD */
  .steps-cta-wrapper {
    display: block !important;
    margin: 16px 16px 24px !important;
    width: auto !important;
  }

  .btn-mobile-cta {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    padding: 15px 20px !important;
    background-color: #2073bd !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(32, 115, 189, 0.25) !important;
    box-sizing: border-box !important;
  }
}

/* Hide mobile button wrapper on desktop screens */
.steps-cta-wrapper {
  display: none;
}

/* ======================= Personal Loans Quick Fix ======================= */
.pl-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
  font-family: system-ui, -apple-system, sans-serif;
  color: #334155;
}

.pl-header {
  text-align: center;
  margin-bottom: 48px;
}

.pl-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px 0;
}

.pl-header h2 span {
  color: #1d70b8;
}

.pl-header p {
  color: #64748b;
  font-size: 15px;
  margin: 0;
}

.pl-container {
  display: flex;
  gap: 48px;
  align-items: center;
}

.pl-content {
  flex: 1;
}

.pl-media {
  flex: 1;
}

.pl-description {
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 24px;
}

.pl-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.pl-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.pl-card-text {
  font-size: 14px;
  font-weight: 500;
  color: #334155;
}

.pl-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid #2563eb;
  color: #2563eb;
  flex-shrink: 0;
}

.pl-icon-box svg {
  width: 14px;
  height: 14px;
}

.pl-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.pl-btn-primary {
  background-color: #1d70b8;
  color: #ffffff;
}

.pl-btn-outline {
  background-color: #ffffff;
  color: #1e293b;
  border: 1px solid #cbd5e1;
}

.pl-media img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

@media (max-width: 768px) {
  .pl-container {
    flex-direction: column;
  }
}


/* Smooth scrolling for the whole page */
html {
  scroll-behavior: smooth;
}

/* Floating Scroll to Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999; /* Increased so it sits above all page sections */

  display: flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;

  background-color: #2073bd;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

/* Active state triggered via JavaScript */
.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background-color: #1a62a3;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(32, 115, 189, 0.45);
}

.scroll-top-btn svg {
  width: 20px;
  height: 20px;
}

/* Adjust position slightly for mobile screens */
@media (max-width: 768px) {
  .scroll-top-btn {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }

  .scroll-top-btn svg {
    width: 18px;
    height: 18px;
  }
}


/* ==========================================================================
   HOMEPAGE BLOG GRID - TRUNCATION & SPACING FIX
   ========================================================================== */

/* Truncate Title to 2 Lines */
.blog-card h3,
#index-blog-grid h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
}

/* Truncate Excerpt/Summary to 2 Lines */
.blog-card p,
#index-blog-grid p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: #64748b;
}

/* Fix Card Thumbnail Container */
.blog-thumb,
#index-blog-grid .blog-thumb {
  position: relative;
  height: 180px;
  width: 100%;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.blog-thumb img,
#index-blog-grid .blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ==========================================================================
   INFINITE TICKER ANIMATION
   ========================================================================== */

/* Outer Mask Window */
.ticker-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  /* Optional: Soft fade mask on left and right edges */
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

/* Ticker Moving Track */
.blog-grid.ticker-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  gap: 24px !important;
  padding-bottom: 20px !important;
  
  /* Continuous Smooth Scroll (Adjust 30s to change speed) */
  animation: ticker-slide 30s linear infinite;
  
  /* Disable manual scroll snap so animation moves smoothly */
  scroll-snap-type: none !important;
  overflow-x: visible !important;
}

/* Pause animation on hover */
.ticker-wrapper:hover .ticker-track {
  animation-play-state: paused;
}

/* Ensure cards maintain fixed dimensions in track */
.ticker-track .blog-card {
  flex: 0 0 320px !important;
  min-width: 320px !important;
}

/* Continuous Loop Keyframes */
@keyframes ticker-slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Mobile Ticker Responsiveness */
@media screen and (max-width: 768px) {
  .ticker-track .blog-card {
    flex: 0 0 260px !important;
    min-width: 260px !important;
  }

  .blog-grid.ticker-track {
    gap: 16px !important;
    animation-duration: 20s; /* Faster scroll speed for mobile */
  }
}