/* ==========================================================================
   Global Thalassemia Foundation — Main Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variables & base
   -------------------------------------------------------------------------- */
   :root {
    --blue-dark: #0f3d6b;
    --blue-mid: #1a5a9e;
    --blue-light: #e8f1fa;
    --green-track: #1a7f4a;
    --gold: #f5e6c8;
    --white: #ffffff;
    --gray-dark: #2d3748;
    --gray-mid: #4a5568;
  }
  
  * {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    padding-top: 72px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-dark);
    line-height: 1.5;
  }
  
  /* --------------------------------------------------------------------------
     2. Navigation (fixed bar)
     -------------------------------------------------------------------------- */
  .nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(15, 61, 107, 0.1);
    border-bottom: 1px solid rgba(15, 61, 107, 0.08);
  }
  
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    min-height: 72px;
  }
  
  .nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--blue-dark);
    font-weight: 700;
    font-size: 1.125rem;
  }
  
  .nav-logo img {
    display: block;
    height: auto;
    width: 68px;
    max-width: 180px;
    object-fit: contain;
  }
  
  .nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .nav-links a {
    display: inline-block;
    padding: 10px 16px;
    color: var(--gray-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
  }
  
  .nav-links a:hover {
    color: var(--blue-dark);
    background: var(--blue-light);
  }
  
  .nav-links .nav-cta {
    background: var(--blue-dark);
    color: #ffffff;
    margin-left: 8px;
  }
  
  .nav-links .nav-cta:hover {
    background: var(--blue-mid);
    color: #ffffff;
  }
  
  .nav-links > li {
    display: flex;
    align-items: center;
  }
  
  .nav-logout-form {
    display: inline-block;
  }
  
  .nav-logout-btn {
    display: inline-block;
    padding: 10px 16px;
    background: none;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-dark);
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
  }
  
  .nav-logout-btn:hover {
    color: var(--blue-dark);
    background: var(--blue-light);
  }
  
  .nav-toggle {
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(15, 61, 107, 0.2);
    border-radius: 8px;
    color: var(--blue-dark);
    cursor: pointer;
    font-size: 1.25rem;
  }
  
  @media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-bar .nav-inner { min-height: 64px; }
    .nav-logo img { height: 38px; max-width: 140px; }
    body { padding-top: 64px; }
    .nav-toggle { display: flex; }
    .nav-bar.is-open .nav-links {
      display: flex;
      flex-direction: column;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: #ffffff;
      padding: 16px;
      box-shadow: 0 8px 24px rgba(15, 61, 107, 0.12);
      gap: 4px;
    }
    .nav-bar.is-open .nav-cta { margin-left: 0; margin-top: 8px; }
  }
  
  @media (min-width: 901px) {
    .nav-toggle { display: none !important; }
  }
  
  /* --------------------------------------------------------------------------
     3. Logo (full-width top)
     -------------------------------------------------------------------------- */
  .logo-top {
    position: relative;
    z-index: 2;
    width: 100%;
    line-height: 0;
  }
  
  .logo-top img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
  }
  
  .logo {
    display: block;
    line-height: 0;
    width: 100%;
  }
  
  .logo img {
    display: block;
    width: 100%;
    height: auto;
  }
  
  /* --------------------------------------------------------------------------
     4. Hero section
     -------------------------------------------------------------------------- */
  .hero-wrap {
    position: relative;
    overflow: hidden;
    background: #e0eef7 url('/public/assets/images/2.png') center top / cover no-repeat;
  }
  
  .hero-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 61, 107, 0.12) 0%, rgba(15, 61, 107, 0.28) 100%);
    pointer-events: none;
  }
  
  .hero-wrap::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.5) 0%, transparent 70%);
    pointer-events: none;
  }
  
  .hero-layout {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 32px;
    padding: 0 24px 48px;
  }
  
  .hero {
    padding: 48px 0 0;
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin: 0;
  }
  
  .hero-doctors {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
    max-width: 360px;
    margin: 0 auto;
    padding-bottom: 8px;
  }
  
  .hero-doctor {
    margin: 0;
    text-align: center;
  }
  
  .hero-doctor-photo {
    margin: 0 auto 10px;
    width: clamp(100px, 28vw, 132px);
    height: clamp(100px, 28vw, 132px);
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 6px 20px rgba(15, 61, 107, 0.25);
    background: rgba(255, 255, 255, 0.2);
  }
  
  .hero-doctor-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
  
  .hero-doctor-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  }
  
  @media (min-width: 960px) {
    .hero-layout {
      grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
      gap: 40px 48px;
      padding: 0 48px 56px;
      align-items: center;
    }
  
    .hero {
      padding: 56px 0 64px;
    }
  
    .hero-doctors {
      margin: 0;
      max-width: none;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 24px 20px;
      padding: 56px 0 64px;
    }
  
    .hero-doctor-photo {
      width: 128px;
      height: 128px;
    }
  }
  
  .hero h1 {
    margin: 0 0 18px;
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: clamp(2rem, 4.5vw, 2.75rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  }
  
  .hero .tagline {
    margin: 0 auto 32px;
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.98);
    max-width: 520px;
    line-height: 1.55;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  }
  
  .hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
  }
  
  /* --------------------------------------------------------------------------
     5. Buttons
     -------------------------------------------------------------------------- */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 28px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    border: none;
  }
  
  .btn-primary {
    background: #0a3560;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(10, 53, 96, 0.3);
  }
  
  .btn-primary:hover {
    background: #0c3d6d;
    box-shadow: 0 4px 12px rgba(10, 53, 96, 0.35);
    transform: translateY(-1px);
  }
  
  .btn-secondary {
    background: #e2eaf2;
    color: #0f3d6b;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  }
  
  .btn-secondary:hover {
    background: #ecf0f5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
  }
  
  .btn-curative { background: var(--blue-dark); color: white; border: none; }
  .btn-preventive { background: var(--green-track); color: white; border: none; }
  
  /* --------------------------------------------------------------------------
     6. Highlights section
     -------------------------------------------------------------------------- */
  .section-bg-2 {
    position: relative;
    background: #e0eef7 url('/public/assets/images/2.png') center center / cover no-repeat;
    padding: 56px 24px 72px;
  }
  
  .section-bg-2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.25);
    pointer-events: none;
  }
  
  .highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
    align-items: stretch;
  }
  
  .highlight-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 8px 32px rgba(15, 61, 107, 0.08), 0 2px 8px rgba(15, 61, 107, 0.04);
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(15, 61, 107, 0.06);
    min-height: 140px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(15, 61, 107, 0.12), 0 4px 12px rgba(15, 61, 107, 0.06);
  }
  
  .highlight-card.gold {
    border: 1px solid rgba(210, 170, 80, 0.4);
    background: linear-gradient(145deg, #fffef8 0%, #fcf6e8 50%, #f8f0dc 100%);
    box-shadow: 0 8px 32px rgba(210, 170, 80, 0.15), 0 2px 8px rgba(0, 0, 0, 0.04);
  }
  
  .highlight-card.gold:hover {
    box-shadow: 0 12px 40px rgba(210, 170, 80, 0.2), 0 4px 12px rgba(0, 0, 0, 0.06);
  }
  
  .highlight-icon-wrap {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #e8f1fa 0%, #d4e4f4 100%);
    color: var(--blue-dark);
  }
  
  .highlight-card.gold .highlight-icon-wrap {
    background: linear-gradient(145deg, #fef9e7 0%, #f5e6c0 100%);
    color: #b8860b;
  }
  
  .highlight-card.gold .highlight-icon-wrap .highlight-icon {
    width: 28px;
    height: 28px;
    opacity: 0.9;
  }
  
  .highlight-icon {
    width: 32px;
    height: 32px;
    color: inherit;
  }
  
  .highlight-icon-blood {
    color: #b91c1c !important;
  }
  
  .highlight-icon-blood-wrap {
    background: linear-gradient(145deg, #fef2f2 0%, #fee2e2 100%) !important;
    color: #b91c1c !important;
  }
  
  .highlight-card .highlight-text {
    flex: 1;
    min-width: 0;
  }
  
  .highlight-card h3 {
    margin: 0 0 8px;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--blue-dark);
    line-height: 1.25;
    letter-spacing: -0.01em;
  }
  
  .highlight-card .sub {
    font-size: 0.9375rem;
    color: var(--gray-mid);
    margin: 0;
    line-height: 1.4;
  }
  
  .highlight-card .sub + .sub {
    margin-top: 2px;
  }
  
  .highlight-card.gold h3 {
    font-size: 1.625rem;
    margin-bottom: 6px;
    color: var(--blue-dark);
  }
  
  .highlight-card.gold .sub {
    font-size: 0.9rem;
  }

  /* --------------------------------------------------------------------------
     7. Where we work section
     -------------------------------------------------------------------------- */
  .where-we-work {
    position: relative;
    background: #e0eef7 url('/public/assets/images/4.png') center center / cover no-repeat;
    padding: 0 24px 64px;
  }

  .where-we-work::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.24);
    pointer-events: none;
  }

  .where-we-work-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr);
    gap: 24px;
    align-items: stretch;
    position: relative;
    z-index: 1;
  }

  .where-map-panel,
  .impact-panel {
    border-radius: 16px;
    border: 1px solid #a1c5ed;
    backdrop-filter: blur(2px);
    box-shadow: 0 6px 24px rgba(15, 61, 107, 0.1);
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .where-map-intro {
    margin: 0 0 16px;
    color: var(--gray-mid);
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .district-map {
    width: 100%;
    min-height: 380px;
    flex: 1;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(15, 61, 107, 0.12);
  }

  .district-map-fallback {
    width: 100%;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 24px;
    color: var(--blue-dark);
  }

  .district-map-fallback span {
    color: var(--gray-mid);
    font-size: 0.92rem;
  }

  .where-map-note {
    margin: 12px 0 0;
    color: var(--gray-mid);
    font-size: 0.86rem;
  }

  .impact-panel h3 {
    margin: 0 0 16px;
    color: var(--blue-dark);
    font-size: 1.3rem;
  }

  .impact-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
  }

  .impact-summary-card {
    border: 1px solid rgba(15, 61, 107, 0.1);
    border-radius: 12px;
    padding: 12px 10px;
    text-align: center;
  }

  .impact-summary-card .label {
    display: block;
    color: var(--gray-mid);
    font-size: 0.75rem;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .impact-summary-card strong {
    font-size: 1.15rem;
    color: var(--blue-dark);
    line-height: 1.2;
  }

  .impact-chart-card {
    border: 1px solid rgba(15, 61, 107, 0.1);
    border-radius: 14px;
    padding: 14px;
  }

  .impact-chart-title {
    margin: 0 0 12px;
    color: var(--blue-dark);
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }

  .impact-line-legend {
    display: flex;
    gap: 14px;
    margin-bottom: 10px;
    align-items: center;
  }

  .line-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--gray-mid);
    font-weight: 600;
  }

  .line-item::before {
    content: '';
    width: 18px;
    height: 3px;
    border-radius: 99px;
    display: inline-block;
  }

  .line-item-registrations::before {
    background: #0f3d6b;
  }

  .line-item-screenings::before {
    background: #2a7dba;
  }

  .impact-bar-chart-wrap {
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 10px;
  }

  .impact-bar-chart {
    min-height: 190px;
    display: grid;
    grid-template-columns: repeat(var(--district-count, 4), minmax(0, 1fr));
    gap: 10px;
    align-items: end;
  }

  .impact-bar-group {
    display: grid;
    gap: 6px;
    justify-items: center;
  }

  .impact-bar-values {
    display: grid;
    gap: 1px;
    text-align: center;
  }

  .impact-bar-values span {
    font-size: 0.7rem;
    color: var(--gray-mid);
    line-height: 1.2;
  }

  .impact-bars {
    width: 100%;
    height: 124px;
    border-radius: 10px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    padding: 6px;
  }

  .impact-bar {
    width: 42%;
    border-radius: 6px 6px 3px 3px;
    min-height: 8px;
  }

  .impact-bar.registrations {
    background: var(--blue-dark);
  }

  .impact-bar.screenings {
    background: var(--green-track);
  }

  .impact-bar-group h4 {
    margin: 0;
    font-size: 0.8rem;
    color: var(--blue-dark);
  }

  .impact-chart-note {
    margin: 10px 0 0;
    color: var(--gray-mid);
    font-size: 0.8rem;
  }

  .district-map-popup h4 {
    margin: 0 0 6px;
    color: var(--blue-dark);
  }

  .district-map-popup p {
    margin: 0;
    color: var(--gray-mid);
    font-size: 0.86rem;
  }
  
  /* --------------------------------------------------------------------------
     7. Section title
     -------------------------------------------------------------------------- */
  .section-title {
    text-align: center;
    margin: 0;
    padding: 48px 24px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    position: relative;
    z-index: 1;
  }
  
  .section-title span {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-dark);
  }
  
  .section-title::before,
  .section-title::after {
    content: '';
    width: 80px;
    height: 2px;
    background: var(--blue-mid);
  }
  
  /* --------------------------------------------------------------------------
     8. Dual strategy section
     -------------------------------------------------------------------------- */
  .section-bg-3 {
    position: relative;
    background: #e0eef7 url('/public/assets/images/4.png') center center / cover no-repeat;
    padding-bottom: 64px;
  }
  
  .section-bg-3::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.2);
    pointer-events: none;
  }
  
  .dual-strategy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
  }
  
  .strategy-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #a1c5ed;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0,0,0, 0.06);
  }
  
  .strategy-card .card-head {
    padding: 16px 20px;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
  }
  
  .strategy-card.curative .card-head { background: var(--blue-dark); }
  .strategy-card.preventive .card-head { background: var(--green-track); }
  
  .strategy-card .card-body {
    padding: 24px;
  }
  
  .strategy-card h3 {
    margin: 0 0 12px;
    font-size: 1.15rem;
    color: var(--blue-dark);
  }
  
  .strategy-card ul {
    margin: 0 0 20px;
    padding-left: 20px;
    color: var(--gray-mid);
    font-size: 0.95rem;
  }
  
  .strategy-card .visual {
    height: 140px;
    background: var(--blue-light);
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-dark);
    font-weight: 600;
    font-size: 0.9rem;
  }
  
  .strategy-card.preventive .visual {
    background: #e6f4ec;
    color: var(--green-track);
  }
  
  /* --------------------------------------------------------------------------
     9. Why this matters section
     -------------------------------------------------------------------------- */
  .why-section {
    position: relative;
    background: #e8f1fa url('/public/assets/images/5.png') center center / cover no-repeat;
    padding: 48px 24px 64px;
  }
  
  .why-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.35);
    pointer-events: none;
  }
  
  .why-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
  }
  
  .why-content h2 {
    margin: 0 0 16px;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-dark);
  }
  
  .why-content p {
    margin: 0 0 28px;
    color: var(--gray-mid);
    font-size: 1rem;
  }
  
  .why-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  
  .stat-box {
    background: var(--blue-dark);
    color: white;
    padding: 20px 16px;
    border-radius: 12px;
    text-align: center;
  }
  
  .stat-box strong {
    display: block;
    font-size: 1.35rem;
    margin-bottom: 4px;
  }
  
  .stat-box span {
    font-size: 0.8rem;
    opacity: 0.95;
  }
  
  .why-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(15, 61, 107, 0.15);
    aspect-ratio: 4/3;
    background: #cbd5e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-mid);
    font-size: 0.9rem;
  }
  
  .why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .why-image-placeholder {
    padding: 1rem;
    text-align: center;
  }
  
  /* --------------------------------------------------------------------------
     10. Footer (bottom section with quick links + copyright)
     -------------------------------------------------------------------------- */
  .footer.section-bg-5 {
    min-height: 200px;
    padding: 48px 24px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .footer-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
  }
  
  .footer-quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    margin-bottom: 28px;
  }
  
  .footer-quick-links a {
    color: var(--blue-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 4px 0;
    transition: color 0.2s, text-decoration 0.2s;
  }
  
  .footer-quick-links a:hover {
    color: var(--blue-mid);
    text-decoration: underline;
  }
  
  .footer-quick-links form {
    display: inline-flex;
    align-items: center;
  }
  
  .footer-logout-btn {
    background: none;
    border: none;
    padding: 4px 0;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--blue-dark);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s, text-decoration 0.2s;
  }
  
  .footer-logout-btn:hover {
    color: var(--blue-mid);
    text-decoration: underline;
  }
  
  .footer-copyright {
    margin: 0;
    font-size: 0.875rem;
    color: var(--gray-mid);
    opacity: 0.95;
  }
  
  .footer-charity {
    margin: 0 0 8px 0;
    font-size: 0.875rem;
    color: var(--gray-mid);
    opacity: 0.95;
  }
  
  .section-bg-5 {
    position: relative;
    background: #e0eef7 url('/public/assets/images/5.png') center center / cover no-repeat;
  }
  
  .section-bg-5::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.2);
    pointer-events: none;
  }
  
  /* --------------------------------------------------------------------------
     11. Responsive
     -------------------------------------------------------------------------- */
  @media (max-width: 900px) {
    .highlights { grid-template-columns: 1fr; }
    .highlight-card { min-height: auto; padding: 28px 24px; }
    .where-we-work-inner { grid-template-columns: 1fr; }
    .impact-summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dual-strategy { grid-template-columns: 1fr; }
    .why-inner { grid-template-columns: 1fr; }
    .why-image { order: -1; max-height: 280px; }
  }
  
  @media (max-width: 600px) {
    .hero-layout { padding-left: 20px; padding-right: 20px; }
    .where-we-work { padding: 0 20px 56px; }
    .where-map-panel,
    .impact-panel { padding: 18px; }
    .district-map,
    .district-map-fallback { min-height: 300px; }
    .impact-summary-grid { grid-template-columns: 1fr; }
    .impact-pie-layout { grid-template-columns: 1fr; }
    .impact-bar-chart { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .section-title::before,
    .section-title::after { width: 40px; }
    .why-stats { grid-template-columns: 1fr; }
    .footer-quick-links { flex-direction: column; gap: 12px; }
    .footer.section-bg-5 { padding: 40px 20px 32px; }
  }
  
  /* --------------------------------------------------------------------------
     12. Auth pages (login, register, etc.) — GTF styled card & form
     -------------------------------------------------------------------------- */
  .guest-page {
    min-height: 100vh;
    padding: 48px 24px 80px;
    background: #e0eef7 url('/public/assets/images/2.png') center center / cover no-repeat;
    position: relative;
  }
  
  .guest-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.4);
    pointer-events: none;
  }
  
  .guest-page-inner {
    position: relative;
    z-index: 1;
    max-width: 28rem;
    margin: 0 auto;
  }
  
  .auth-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem 2rem 2.5rem;
    box-shadow: 0 8px 32px rgba(15, 61, 107, 0.12), 0 2px 8px rgba(15, 61, 107, 0.06);
    border: 1px solid rgba(15, 61, 107, 0.08);
  }
  
  .auth-card h1,
  .auth-card h2 {
    margin: 0 0 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue-dark);
  }
  
  .auth-card label {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--gray-dark);
    margin-bottom: 0.25rem;
  }
  
  .auth-card input[type="text"],
  .auth-card input[type="email"],
  .auth-card input[type="password"] {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    margin-bottom: 0;
    padding: 0.625rem 0.875rem;
    border: 1px solid rgba(15, 61, 107, 0.25);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--gray-dark);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  
  .auth-card input:focus {
    outline: none;
    border-color: var(--blue-mid);
    box-shadow: 0 0 0 3px rgba(26, 90, 158, 0.2);
  }
  
  .auth-card input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    vertical-align: middle;
  }
  
  .auth-card .auth-field {
    margin-bottom: 1.25rem;
  }
  
  .auth-card .auth-errors,
  .auth-card ul.text-sm.text-red-600 {
    font-size: 0.875rem;
    color: #b91c1c;
    margin-top: 0.25rem;
    list-style: none;
    padding: 0;
  }
  
  .auth-card .auth-errors li,
  .auth-card ul.text-sm.text-red-600 li {
    margin-top: 0.125rem;
  }
  
  .auth-card .auth-status,
  .auth-card .mb-4 {
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    color: var(--gray-mid);
  }
  
  .auth-card .auth-status.success,
  .auth-card .font-medium.text-green-600 {
    color: var(--green-track);
    font-weight: 500;
  }
  
  .auth-card button[type="submit"],
  .auth-card .inline-flex.items-center.px-4.py-2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 28px;
    margin-top: 1rem;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9375rem;
    background: var(--blue-dark) !important;
    color: #fff !important;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
  }
  
  .auth-card button[type="submit"]:hover,
  .auth-card .inline-flex.items-center.px-4.py-2:hover {
    background: var(--blue-mid) !important;
    box-shadow: 0 4px 12px rgba(10, 53, 96, 0.35);
  }
  
  .auth-card a.underline {
    color: var(--blue-mid);
    text-decoration: none;
    font-weight: 500;
  }
  
  .auth-card a.underline:hover {
    text-decoration: underline;
  }
  
  .auth-card .flex.items-center.justify-end {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  .auth-card .flex.items-center.justify-between {
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .auth-card .mt-4 {
    margin-top: 1rem;
  }
  
  .auth-card .block.mt-4 {
    margin-top: 1.25rem;
  }
  
  .auth-card .mt-2 {
    margin-top: 0.25rem;
  }
  
  .auth-card .ms-3,
  .auth-card .ms-4 {
    margin-left: 0.75rem;
  }
  
  /* Public inner pages */
  .page-main { padding: 48px 24px 80px; max-width: 900px; margin: 0 auto; }
  .page-main .page-title { margin: 0 0 32px; font-family: 'Source Serif 4', Georgia, serif; font-size: 2rem; font-weight: 700; color: var(--blue-dark); line-height: 1.25; }
  .page-main .page-lead { font-size: 1.125rem; color: var(--gray-mid); line-height: 1.6; margin-bottom: 32px; }
  .page-main .content-block { margin-bottom: 32px; }
  .page-main .content-block h2 { font-size: 1.35rem; font-weight: 700; color: var(--blue-dark); margin: 0 0 12px; }
  .page-main .content-block p { margin: 0 0 12px; color: var(--gray-dark); line-height: 1.6; }
  .page-main .content-block ul { margin: 0 0 12px; padding-left: 24px; color: var(--gray-dark); line-height: 1.6; }
  .page-main .content-block li { margin-bottom: 6px; }
  