/* --- Impact Testimonials Section --- */
.impact-testimonials {
    background: var(--surface-gray);
    padding: 70px 0 80px 0;
    margin-top: 0;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}
.testimonial-card {
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    padding: 36px 28px 28px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid var(--border-color);
    position: relative;
    min-height: 180px;
}
.testimonial-quote {
    font-size: 1.08rem;
    color: #222;
    font-style: italic;
    margin-bottom: 18px;
    line-height: 1.7;
}
.testimonial-author {
    font-size: 0.98rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-top: auto;
}
@media (max-width: 768px) {
    .impact-testimonials {
        padding: 48px 0 48px 0;
    }
    .testimonials-grid {
        gap: 18px;
    }
    .testimonial-card {
        padding: 26px 16px 18px 16px;
    }
}
/* --- Global Variables --- */
:root {
    /* Primary blue – trust & navigation */
    --primary-blue: #4A8FE7;
    --primary-blue-hover: #2563EB;
    /* Accent colours */
    --color-coral: #EF4444;
    --color-orange: #EA580C;
    --color-green: #059669;
    --color-purple: #7C3AED;
    --color-teal: #0891B2;
    --color-yellow-icon: #D97706;
    /* Dark & surface */
    --navy: #0F172A;
    --navy-mid: #1E3A5F;
    --surface: #F0F7FF;
    --surface-gray: #F9FAFB;
    /* Legacy aliases (used by other pages) */
    --color-blue-soft: #EFF6FF;
    --bg-light: #F0F7FF;
    --bg-warm: #FFFFFF;
    --off-white: #F9FAFB;
    /* Base */
    --text-dark: #111827;
    --text-muted: #6B7280;
    --white: #ffffff;
    --border-color: #E5E7EB;
    --nav-height: 80px;
    --topbar-height: 36px;
}

/* --- Resets & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-warm);
    color: var(--text-dark);
    line-height: 1.6;
    padding-top: var(--topbar-height);
}

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding { padding: 80px 0; }

/* --- Hero Section (base reset, main styles below) --- */
.hero {
    scroll-margin-top: var(--topbar-height);
}

/* --- Scrolling News Ticker --- */
.news-ticker {
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--color-purple) 50%, var(--color-green) 100%);
    color: white;
    overflow: hidden;
    height: 50px; 
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.ticker-item {
    position: absolute;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateX(100%);
    animation: tickerSlide 15s linear infinite;
}

.ticker-item:nth-child(1) { animation-delay: 0s; }
.ticker-item:nth-child(2) { animation-delay: 5s; }
.ticker-item:nth-child(3) { animation-delay: 10s; }

@keyframes tickerSlide {
    0%   { opacity: 0; transform: translateX(60%); }
    4%   { opacity: 1; transform: translateX(-2%); }
    6%   { opacity: 1; transform: translateX(1%); }
    7.5% { opacity: 1; transform: translateX(0); }
    27%  { opacity: 1; transform: translateX(0); }
    33%  { opacity: 0; transform: translateX(0); }
    100% { opacity: 0; transform: translateX(0); }
}

/* --- Content Grid Layouts --- */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Cycling accent colours on card tops */
.programs-grid .card:nth-child(3n+2),
.programs-grid-sm .card:nth-child(3n+2) { border-top-color: var(--color-orange); }
.programs-grid .card:nth-child(3n+3),
.programs-grid-sm .card:nth-child(3n+3) { border-top-color: var(--color-green); }

.card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    height: 50px;
}

.card-icon svg {
    transition: transform 0.3s ease;
}

.card:hover .card-icon svg {
    transform: scale(1.1);
}

/* --- Buttons --- */
.primary-btn {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 13px 28px;
    border: 2px solid var(--primary-blue);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    text-align: center;
}
.primary-btn:hover {
    background: var(--primary-blue-hover);
    border-color: var(--primary-blue-hover);
    color: white;
}
.primary-btn--light {
    background: #ffffff;
    color: #1A4FA0;
    border-color: #ffffff;
}
.primary-btn--light:hover {
    background: #EFF6FF;
    border-color: #EFF6FF;
    color: #1A4FA0;
}

/* --- Unified button system (used on homepage + new pages) --- */
.btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.93rem;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    line-height: 1.4;
}
.btn-primary     { background: var(--primary-blue);  color: #fff; border-color: var(--primary-blue);  }
.btn-primary:hover { background: var(--primary-blue-hover); border-color: var(--primary-blue-hover); color: #fff; }

.btn-outline-primary { background: transparent; color: var(--primary-blue); border-color: var(--primary-blue); }
.btn-outline-primary:hover { background: var(--primary-blue); color: #fff; }

.btn-white       { background: #fff; color: var(--primary-blue); border-color: #fff; }
.btn-white:hover { background: #EFF6FF; border-color: #EFF6FF; }

.btn-outline-white       { background: transparent; color: #fff; border-color: rgba(255,255,255,0.65); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }

.btn-outline-partner       { background: transparent; color: var(--color-orange); border-color: var(--color-orange); }
.btn-outline-partner:hover { background: var(--color-orange); color: #fff; }

.btn-sm { padding: 8px 20px; font-size: 0.82rem; }

.donate-btn {
    background: var(--color-orange);
    color: white;
    padding: 6px 18px;
    border: 2px solid var(--color-orange);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
    display: inline-block;
}
.donate-btn:hover {
    background: #EA580C;
    border-color: #EA580C;
}

/* --- Top Utility Bar --- */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--topbar-height);
    background: var(--surface-gray);
    border-bottom: 1px solid var(--border-color);
    z-index: 1100;
    overflow: visible;
}
.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar-left {
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    font-weight: 400;
}
.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}
.topbar-link {
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: color 0.2s;
    white-space: nowrap;
    line-height: 1;
}
.topbar-link:hover { color: var(--text-dark); }
.topbar-link--donate {
    color: var(--primary-blue);
    font-weight: 700;
}
.topbar-link--donate:hover { color: var(--primary-blue-hover); }
.topbar-sep {
    width: 1px;
    height: 12px;
    background: var(--border-color);
    flex-shrink: 0;
    display: inline-block;
}
.topbar-user-name {
    font-size: 0.74rem;
    color: var(--text-muted);
    font-weight: 500;
}
.topbar-session-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: #9ca3af;
    background: rgba(156,163,175,0.15);
    border: 1px solid rgba(156,163,175,0.35);
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.topbar-session-badge.warning {
    color: #fbbf24;
    background: rgba(251,191,36,0.15);
    border-color: rgba(251,191,36,0.4);
}
.topbar-session-badge.danger {
    color: #f87171;
    background: rgba(248,113,113,0.15);
    border-color: rgba(248,113,113,0.4);
}
.topbar-btn {
    display: flex;
    align-items: center;
}
.topbar-user-wrap {
    position: relative;
}
/* Login dropdown anchored to topbar right */
.topbar-user-wrap .nav-login-dropdown {
    top: calc(100% + 8px);
    right: 0;
}
@media (max-width: 600px) {
    .topbar-left { display: none; }
    .topbar-inner { justify-content: flex-end; }
    .topbar-right { gap: 10px; }
    .topbar-link { font-size: 0.7rem; }
}

/* --- Navigation --- */
.navbar {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: var(--topbar-height);
    z-index: 1000;
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

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

.nav-links {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

/* --- Mega Dropdown --- */
.nav-dropdown {
    position: static;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.nav-dropdown-arrow {
    font-size: 0.55rem;
    transition: transform 0.25s ease;
    margin-top: 1px;
}

.nav-dropdown.open .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.nav-mega-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 999;
}

.nav-dropdown.open .nav-mega-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-mega-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.nav-mega-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-mega-heading {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.nav-mega-desc {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.nav-mega-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-top: 4px;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.nav-mega-link:hover {
    gap: 10px;
    color: var(--primary-blue-hover);
}

.nav-mega-col-link {
    display: block;
    padding: 18px;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
    height: 100%;
}

.nav-mega-col-link .nav-mega-heading {
    transition: color 0.15s ease;
}

.nav-mega-col-link:hover,
.nav-mega-col-link:focus {
    background-color: rgba(0, 0, 0, 0.035);
    transform: translateY(-1px);
}

.nav-mega-col-link:hover .nav-mega-heading,
.nav-mega-col-link:focus .nav-mega-heading {
    color: var(--primary-blue);
}

.nav-mega-col-link:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(57,139,227,0.08);
    border-radius: 8px;
}

.nav-mega-inner {
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
}

.nav-mega-panel {
    padding: 10px 0;
}

.nav-links a.nav-cta {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.nav-links a.nav-cta:hover {
    background-color: var(--primary-blue-hover);
    color: var(--white);
}

.nav-links a.nav-cta {
    position: relative;
    overflow: visible;
}

.nav-cta-confetti {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    z-index: 10;
    animation: confettiBurst 0.8s ease-out forwards;
}

@keyframes confettiBurst {
    0% {
        opacity: 0.9;
        transform: translate(0, 0) scale(1);
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 0;
        transform: translate(var(--cx), var(--cy)) scale(0.4);
    }
}

.nav-actions {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

/* --- Nav User Login Dropdown --- */
.nav-user-wrapper {
    position: relative;
}

.nav-user-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    opacity: 0.6;
}

.nav-user-btn:hover,
.nav-user-btn.active {
    color: var(--primary-blue);
    opacity: 1;
}

.nav-login-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 220px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 1001;
}

.nav-login-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 14px;
    width: 12px;
    height: 12px;
    background: var(--white);
    border-left: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    transform: rotate(45deg);
}

.nav-login-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-login-form h4 {
    display: none;
}

.nav-login-field {
    margin-bottom: 12px;
}

.nav-login-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-login-field input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(57, 139, 227, 0.15);
}

.nav-login-error {
    color: #dc3545;
    font-size: 0.82rem;
    margin-bottom: 10px;
    min-height: 0;
    transition: min-height 0.2s ease;
}

.nav-login-submit {
    width: 100%;
    padding: 10px;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nav-login-submit:hover {
    background-color: var(--primary-blue-hover);
}

.nav-login-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.nav-forgot-pw {
    text-align: center;
    margin-top: 6px;
}

.nav-forgot-pw-icon {
    position: relative;
    color: var(--text-muted);
    font-size: 0.75rem;
    cursor: help;
}

.nav-forgot-pw-tooltip {
    display: none;
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-dark, #1a1a1a);
    color: #fff;
    font-size: 0.7rem;
    padding: 8px 10px;
    border-radius: 6px;
    width: 220px;
    line-height: 1.4;
    text-align: center;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    pointer-events: none;
}

.nav-forgot-pw-icon:hover .nav-forgot-pw-tooltip,
.nav-forgot-pw-icon:focus .nav-forgot-pw-tooltip {
    display: block;
}

/* --- Nav User Info (logged in) --- */
.nav-user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.nav-user-name {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
    word-break: break-word;
    text-align: center;
}

.nav-user-name strong {
    font-weight: 600;
    color: var(--text-dark);
}

.nav-user-actions {
    display: flex;
    gap: 8px;
    width: 100%;
}

.nav-logout-btn {
    flex: 1;
    padding: 7px 0;
    background-color: transparent;
    color: #dc3545;
    border: 1px solid #dc3545;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.nav-logout-btn:hover {
    background-color: #dc3545;
    color: #fff;
}

.nav-dashboard-btn {
    flex: 1;
    padding: 7px 0;
    background-color: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
}

.nav-dashboard-btn:hover {
    background-color: var(--primary-blue-hover);
    color: #fff;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(155deg, #1a3a7e 0%, #2563EB 50%, var(--primary-blue) 80%, #1d4ed8 100%);
    padding: 127px 24px 109px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 437px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 15% 50%, rgba(74,143,231,0.22) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 15%, rgba(37,99,235,0.18) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 95%, rgba(16,185,129,0.10) 0%, transparent 45%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='%23ffffff' fill-opacity='0.07'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Compact hero for sub-pages */
.hero.hero-compact {
    padding: 80px 24px 80px;
    min-height: auto;
}

.hero.hero-compact h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    letter-spacing: -0.01em;
}

.hero.hero-compact p {
    font-size: 1.1rem;
    margin-bottom: 0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 18px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.hero p {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.92);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.hero .primary-btn {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #fff;
    background: linear-gradient(135deg, rgba(249,115,22,0.55), rgba(139,92,246,0.45));
    border: 1px solid rgba(255,255,255,0.25);
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}

/* --- Main Content Areas --- */
.content-section {
    min-height: 50vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--color-purple));
    margin: 15px auto 0;
    border-radius: 2px;
}

/* --- About Section --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- Programs Section --- */
#programs {
    background-color: transparent;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    text-align: center;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--primary-blue);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.09);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card-icon i {
    font-size: 2.2rem;
    color: var(--primary-blue);
}

/* Cycling icon colours */
.programs-grid .card:nth-child(3n+2) .card-icon i,
.programs-grid-sm .card:nth-child(3n+2) .card-icon i { color: var(--color-orange); }
.programs-grid .card:nth-child(3n+3) .card-icon i,
.programs-grid-sm .card:nth-child(3n+3) .card-icon i { color: var(--color-green); }

.card h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.card p {
    color: var(--text-muted);
}

/* --- Contact Section --- */
.contact-page-section {
    padding: 60px 0 80px;
}
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    background-color: var(--white);
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid var(--border-color);
}

@media (max-width: 992px) {
    .contact-wrapper {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .contact-wrapper {
        padding: 30px 20px;
    }
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.contact-details li {
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.contact-form .primary-btn {
    align-self: flex-start;
}

/* --- Featured Strip Section --- */
.featured-strip {
    position: relative;
    padding: 52px 0 36px;
    background: transparent;
    overflow: visible;
}

.featured-ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.featured-ribbon span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--color-purple) 0%, #6D28D9 100%);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 8px 22px;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
    white-space: nowrap;
}

.featured-ribbon span::before {
    content: '\f005';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.65rem;
}

.featured-row-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.featured-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Featured Mini Cards --- */
.events-loading {
    width: 100%;
    text-align: center;
    color: #999;
    padding: 24px;
    font-size: 1rem;
}

.events-empty {
    text-align: center;
    color: #999;
    padding: 24px;
    width: 100%;
}

.events-empty i {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
    opacity: 0.5;
}

.event-card {
    background: var(--white);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    cursor: pointer;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    border: 1px solid var(--border-color);
    border-top: 3px solid #22c55e;
    position: relative;
    width: 195px;
    flex-shrink: 0;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.09);
}

.event-card-badge {
    display: inline-block;
    background: #22c55e;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-bottom: 8px;
}

.event-card--opportunity {
    border-top-color: #6366f1;
}

.event-card-badge--opportunity {
    background: #6366f1;
}

.event-card h3 {
    font-size: 0.88rem;
    margin-bottom: 6px;
    color: var(--text-dark);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-card-date,
.event-card-location {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-card-date i,
.event-card-location i {
    width: 14px;
    margin-right: 3px;
    color: #aaa;
    font-size: 0.7rem;
}

.event-card-partner {
    font-size: 0.72rem;
    color: #7c3aed;
    font-weight: 600;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-card-partner i {
    width: 14px;
    margin-right: 3px;
    font-size: 0.68rem;
}

.event-card-desc {
    display: none;
}

@media (max-width: 768px) {
    .featured-row {
        gap: 12px;
    }
    .event-card {
        width: 160px;
        padding: 12px 14px;
    }
    .event-card h3 {
        font-size: 0.82rem;
    }
}

/* --- Highlight Section --- */
.highlight-section {
    padding: 60px 0;
    background: transparent;
}

.highlight-heading {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 28px;
    line-height: 1.3;
    text-align: left;
}

.highlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.highlight-text h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 18px;
    line-height: 1.3;
}

.highlight-text p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.highlight-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.stat-label {
    font-size: 0.85rem;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .highlight-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .highlight-heading {
        font-size: 1.4rem;
    }
    .highlight-text h2 {
        font-size: 1.4rem;
    }
    .highlight-stats {
        gap: 24px;
    }
    .stat-number {
        font-size: 1.8rem;
    }
}

/* --- Homepage Redesign --- */

/* Hero CTA buttons */
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
    padding-bottom: 56px;
}
.hero-btn {
    padding: 14px 32px;
    font-size: 1rem;
}
.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 24px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.hero-btn-secondary:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.12);
}
.hero-btn-secondary i { font-size: 0.8rem; }

/* Impact stats bar */
.impact-bar {
    background: #0b1e35;
    padding: 52px 0;
}
.impact-bar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
}
.impact-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.impact-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.14);
}
/* Coloured stat numbers (impact bar, if used) */
.impact-stat:nth-child(1) .stat-number { color: #FB923C; }
.impact-stat:nth-child(3) .stat-number { color: #60A5FA; }
.impact-stat:nth-child(5) .stat-number { color: #34D399; }

/* Section label pattern */
.hp-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-blue);
    background: #DBEAFE;
    border: 1px solid #BFDBFE;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.hp-section-header {
    text-align: center;
    margin-bottom: 52px;
}
.hp-section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.25;
}
.hp-section-header .hp-section-sub a { color: var(--primary-blue); font-weight: 500; }

/* --- Section chip label --- */
.section-chip {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-blue);
    background: #DBEAFE;
    border: 1px solid #BFDBFE;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}
.section-chip--light {
    color: rgba(255,255,255,0.92);
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.28);
}

/* Mission section – MEDIUM BLUE */
.hp-mission {
    padding: 90px 0 80px;
    background: #1A4FA0;
    position: relative;
    overflow: hidden;
}
/* Decorative glow orbs */
.hp-mission::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}
.hp-mission::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(16,185,129,0.10) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}
.hp-mission .container { position: relative; z-index: 1; }
/* White text on dark bg */
.hp-mission .hp-label {
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.20);
}
.hp-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hp-mission-text h2 {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #FFFFFF;
}
.hp-mission-text p {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 14px;
}
.hp-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-blue);
    transition: gap 0.2s;
    text-decoration: none;
}
.hp-link:hover { gap: 10px; color: var(--primary-blue-hover); }
.hp-link i { font-size: 0.8rem; }
/* Link colour on dark background (inside .hp-mission) */
.hp-mission .hp-link {
    color: #93C5FD;
}
.hp-mission .hp-link:hover {
    color: #BFDBFE;
    gap: 10px;
}
/* Light-text link variant for coloured-background sections */
.hp-link--white {
    color: rgba(255,255,255,0.85);
}
.hp-link--white:hover {
    color: #fff;
}
.hp-mission-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.hp-focus-intro {
    max-width: 700px;
    margin: 52px auto 36px;
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
    text-align: center;
}
.hp-focus-intro a {
    color: #93C5FD;
    font-weight: 600;
    text-decoration: none;
}
.hp-focus-intro a:hover {
    text-decoration: underline;
}
/* White cards on dark bg */
.hp-mission .card {
    background: #FFFFFF;
    border-top-color: var(--primary-blue);
}
.hp-mission .programs-grid-sm .card:nth-child(3n+2) { border-top-color: var(--color-orange); }
.hp-mission .programs-grid-sm .card:nth-child(3n+3) { border-top-color: var(--color-green); }

/* Events section */
.hp-events {
    padding: 80px 0;
    background: var(--surface-gray);
}

/* --- Homepage Event Cards (Redesigned) --- */
.hp-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.hp-event-card {
    background: var(--white);
    border-radius: 16px;
    padding: 22px 24px;
    border: 1px solid var(--border-color);
    border-top: 3px solid #6366f1;
    cursor: pointer;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.hp-event-card:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.09);
    transform: translateY(-4px);
}

.hp-event-card--event {
    border-top-color: #22c55e;
}

.hp-event-card-head {
    margin-bottom: 10px;
}

.hp-ev-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 12px;
    color: #fff;
}

.hp-ev-badge--event {
    background: #22c55e;
}

.hp-ev-badge--opp {
    background: #6366f1;
}

.hp-event-card h3 {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.3;
    font-weight: 700;
}

.hp-event-partner {
    font-size: 0.78rem;
    color: #7c3aed;
    font-weight: 600;
    margin-bottom: 8px;
}

.hp-event-partner i {
    margin-right: 4px;
    font-size: 0.72rem;
}

.hp-event-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.hp-event-meta span {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hp-event-meta i {
    color: #9db5cc;
    font-size: 0.75rem;
    width: 14px;
    flex-shrink: 0;
}

.hp-event-desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.55;
    margin: 0;
}

.hp-section-sub {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.hp-events-footer {
    text-align: center;
    padding-top: 20px;
}

.events-empty-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    opacity: 0.35;
}

.events-empty h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.events-empty p {
    font-size: 0.92rem;
    margin-bottom: 0;
}

/* --- Homepage Hero (with background image) --- */
.hero.hero-home {
    background:
        linear-gradient(180deg, rgba(10,30,70,0.36) 0%, rgba(26,62,140,0.29) 50%, rgba(10,30,70,0.35) 100%),
        url('/images/content/hero.jpeg') center/cover no-repeat;
}

/* Hero stats bar — frosted glass strip inside the hero */
.hero-stats-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 22px 40px;
    margin: 52px auto 0;
    max-width: 680px;
    position: relative;
    z-index: 1;
}
.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
}
.hero-stat-sep {
    width: 1px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
    margin: 0 32px;
}
.hero-stat-item .stat-label { color: rgba(255,255,255,0.65); font-size: 0.8rem; }
.hero-stat-item:nth-child(1) .stat-number { color: #FB923C; }
.hero-stat-item:nth-child(3) .stat-number { color: #60A5FA; }
.hero-stat-item:nth-child(5) .stat-number { color: #34D399; }

/* Hero bottom wave (HTML element inside .hero) */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
    font-size: 0;
    z-index: 2;
    pointer-events: none;
}
.hero-wave svg {
    display: block;
    width: 100%;
    height: 100px;
}

/* Wave separators between sections */
.wave-sep {
    display: block;
    line-height: 0;
    font-size: 0;
    overflow: hidden;
}
.wave-sep svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* --- Smaller focus cards --- */
.programs-grid-sm {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.card-sm {
    padding: 28px 22px;
}
.card-sm .card-icon { margin-bottom: 14px; }
.card-sm .card-icon i { font-size: 1.8rem; }
.card-sm h3 { font-size: 1rem; margin-bottom: 10px; }
.card-sm p { font-size: 0.88rem; line-height: 1.65; }

/* --- Come to Events CTA --- */
.hp-attend-cta {
    padding: 90px 0;
    background: var(--white);
}
.hp-attend-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.hp-attend-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.25;
}
.hp-attend-text p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 12px;
}
.hp-attend-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.hp-attend-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.hp-attend-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px 22px;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.hp-attend-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.09);
}
.hp-attend-card > i {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}
/* Coloured icon bubbles */
.hp-attend-highlights .hp-attend-card:nth-child(1) > i { background: #FEE2E2; color: #EF4444; }
.hp-attend-highlights .hp-attend-card:nth-child(2) > i { background: #DCFCE7; color: #059669; }
.hp-attend-highlights .hp-attend-card:nth-child(3) > i { background: #EDE9FE; color: #7C3AED; }
.hp-attend-card strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3px;
}
.hp-attend-card span {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* --- Featured block inside Join Us --- */
.hp-featured-block {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 1px solid var(--border-color);
}

/* --- Partner CTA --- */
.hp-partner-cta {
    padding: 100px 0 90px;
    background: linear-gradient(135deg, #4A8FE7 0%, #38BDF8 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
/* Decorative bubbles */
.hp-partner-cta::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}
.hp-partner-cta::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}
.hp-partner-inner {
    max-width: 680px;
    position: relative;
    z-index: 1;
}
.hp-partner-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--white);
}
.hp-partner-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin-bottom: 16px;
}
.hp-partner-perks {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}
.hp-perk {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.93rem;
    color: rgba(255,255,255,0.92);
    font-weight: 500;
}
.hp-perk i {
    color: #6EE7B7;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Programs section */
.hp-programs {
    padding: 80px 0;
    background: var(--white);
}

/* --- Homepage Events section (override existing) --- */
.hp-events {
    background: #ffffff;
    padding: 90px 0;
}
.hp-events-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 32px;
}
.hp-events-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.2;
}
.hp-events-header .hp-section-sub { margin: 0; font-size: 0.95rem; }
.hp-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* === COMBINED LIGHT SECTION === */
.hp-combined {
    background: #F8FAFC;
    padding: 40px 0 90px;
    position: relative;
    overflow: hidden;
}
.hp-combined::before {
    content: '';
    position: absolute; top: -140px; right: -100px;
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(74,143,231,0.06) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.hp-combined::after {
    content: '';
    position: absolute; bottom: -100px; left: -80px;
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(16,185,129,0.05) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.hp-combined .container { position: relative; z-index: 1; }

/* Stats row */
.hp-stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0 48px;
    gap: 0;
}
.hp-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    max-width: 200px;
}
.hp-stat-sep {
    width: 1px;
    height: 44px;
    background: var(--border-color);
    flex-shrink: 0;
    margin: 0 20px;
}
.hp-stat-item .stat-number { color: var(--color-green); }
.hp-stat-item:nth-child(1) .stat-number { color: var(--color-green); }
.hp-stat-item:nth-child(3) .stat-number { color: var(--color-green); }
.hp-stat-item:nth-child(5) .stat-number { color: var(--color-green); }
.hp-stat-item .stat-label { color: var(--text-muted); font-size: 0.8rem; }

.hp-combined-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 0;
    align-items: start;
}

/* Left events column */
.hp-combined-events {
    padding-right: 48px;
    border-right: 1px solid var(--border-color);
    padding-top: 8px;
}
.hp-col-heading {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}
.hp-col-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 22px;
    line-height: 1.6;
}

/* Event cards stacked vertically */
.hp-events-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}
.hp-events-stack .hp-event-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: none;
    padding: 13px 15px;
    transition: background 0.18s ease, border-color 0.18s ease;
}
.hp-events-stack .hp-event-card:hover {
    background: #EFF6FF;
    border-color: #BFDBFE;
    transform: translateY(0);
    box-shadow: none;
}
.hp-events-stack .hp-event-card h3 { color: var(--text-dark); font-size: 0.88rem; }
.hp-events-stack .hp-event-meta span { color: var(--text-muted); font-size: 0.74rem; }
.hp-events-stack .hp-event-meta i { color: #b0c4d8; }
.hp-events-stack .hp-event-desc { color: #888; font-size: 0.78rem; }
.hp-events-stack .hp-ev-badge { font-size: 0.6rem; padding: 2px 8px; }
.hp-events-col-footer { text-align: center; }

/* Right story column */
.hp-combined-story {
    padding-left: 60px;
}
.hp-story-h2 {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 16px;
}
.hp-story-p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 12px;
}
.hp-link-story {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.93rem;
    text-decoration: none;
    margin-top: 4px;
    transition: gap 0.2s, color 0.2s;
    line-height: 1;
}
.hp-link-story:hover { gap: 11px; color: var(--primary-blue-hover); }
.hp-link-story i { font-size: 0.78rem; line-height: 1; position: relative; top: 0; }

/* Focus inline list */
.hp-focus-inline {
    margin-top: 36px;
    border-top: 1px solid var(--border-color);
}
.hp-focus-inline-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}
.hp-focus-inline .hp-focus-icon {
    width: 40px; height: 40px; min-width: 40px;
    border-radius: 10px;
    font-size: 1rem;
}
.hp-focus-inline-item h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3px;
}
.hp-focus-inline-item p {
    font-size: 0.81rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.55;
}


.hp-event-card {
    background: var(--white);
    border-radius: 16px;
    padding: 22px 24px;
    border: 1px solid var(--border-color);
    border-top: 3px solid #6366f1;
    cursor: pointer;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.hp-event-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.08); }
.hp-event-card--event { border-top-color: #22c55e; }
.hp-ev-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 12px;
    color: #fff;
    background: #6366f1;
    margin-bottom: 10px;
}
.hp-ev-badge--event { background: #22c55e; }
.hp-event-card h3 { font-size: 1rem; color: var(--text-dark); font-weight: 700; margin-bottom: 8px; line-height: 1.35; }
.hp-event-meta { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.hp-event-meta span { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.hp-event-meta i { color: #9db5cc; font-size: 0.72rem; width: 12px; }
.hp-event-desc { font-size: 0.83rem; color: #666; line-height: 1.5; margin: 0; }
.hp-events-footer { text-align: center; }

/* --- Focus areas --- */
.hp-focus { background: #EFF6FF; padding: 90px 0; }
.hp-focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.hp-focus-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 26px 22px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.hp-focus-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.08); }
.hp-focus-icon {
    width: 52px; height: 52px; min-width: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; flex-shrink: 0;
}
.hp-focus-icon--red, .hp-focus-icon--blue, .hp-focus-icon--green { background: #EFF6FF; color: var(--primary-blue); }
.hp-focus-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.hp-focus-card p  { font-size: 0.87rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* --- Story / Mission (navy) --- */
.hp-story {
    background: var(--navy);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.hp-story::before {
    content: '';
    position: absolute; top: -150px; right: -100px;
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(74,143,231,0.14) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.hp-story::after {
    content: '';
    position: absolute; bottom: -100px; left: -80px;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(16,185,129,0.10) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.hp-story .container { position: relative; z-index: 1; }
.hp-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.hp-story-text h2 {
    font-size: 2rem; font-weight: 800; line-height: 1.3;
    margin: 16px 0 20px; color: #fff;
}
.hp-story-text p {
    color: rgba(255,255,255,0.72);
    font-size: 1rem; line-height: 1.85; margin-bottom: 14px;
}
.hp-story-image img {
    width: 100%; border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    object-fit: cover; aspect-ratio: 4/3;
}

/* --- Get Involved dual CTA --- */
.hp-join { background: var(--white); padding: 90px 0; }
.hp-join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hp-join-card {
    background: #F0F7FF;
    border: 1px solid #DBEAFE;
    border-radius: 20px;
    padding: 40px 36px;
}
.hp-join-card--partner { background: #FFF7ED; border-color: #FED7AA; }
.hp-join-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 20px;
    color: var(--primary-blue);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.hp-join-card--partner .hp-join-icon { color: var(--color-orange); }
.hp-join-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; color: var(--text-dark); }
.hp-join-card > p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; }
.hp-join-perks { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; list-style: none; padding: 0; }
.hp-join-perks li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; font-weight: 500; color: var(--text-dark); }
.hp-join-perks li i { color: #059669; font-size: 0.78rem; }

/* --- Contact + Get Involved section --- */
.hp-contact {
    background: var(--surface-gray);
    padding: 80px 0 90px;
}
.hp-contact-ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}
/* Redesigned CTA cards */
.hp-cta-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}
.hp-cta-top {
    background: var(--surface-gray);
    border-bottom: 1px solid var(--border-color);
    padding: 22px 26px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.hp-cta-icon-wrap {
    width: 46px; height: 46px; min-width: 46px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-blue);
    flex-shrink: 0;
}
.hp-cta-top h3 {
    color: var(--text-dark);
    font-size: 1.08rem;
    font-weight: 700;
    margin: 0;
}
.hp-cta-card--partner .hp-cta-top {
    background: var(--surface-gray);
}
.hp-cta-body {
    padding: 22px 26px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.hp-cta-body > p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}
.hp-cta-body .hp-join-perks {
    margin-bottom: 20px;
    flex: 1;
}
.hp-cta-body .hp-join-perks li { font-size: 0.84rem; }
/* Contact form below cards */
.hp-contact-form-wrap {
    background: var(--white);
    border-radius: 18px;
    padding: 40px 44px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.hp-contact-form-wrap h2 {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.hp-contact-form-sub {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}
.hp-contact-form-wrap .contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.hp-contact-form-wrap .contact-form textarea,
.hp-contact-form-wrap .contact-form .newsletter-checkbox,
.hp-contact-form-wrap .contact-form #captcha-container,
.hp-contact-form-wrap .contact-form button,
.hp-contact-form-wrap .contact-form #form-feedback {
    grid-column: 1 / -1;
}

@media (max-width: 900px) {
    .hp-focus-grid { grid-template-columns: 1fr; }
    .hp-story-grid { grid-template-columns: 1fr; gap: 36px; }
    .hp-story-image { display: none; }
    .hp-join-grid  { grid-template-columns: 1fr; }
    .hp-combined-grid { grid-template-columns: 1fr; }
    .hp-combined-events { border-right: none; border-bottom: 1px solid var(--border-color); padding-right: 0; padding-bottom: 40px; margin-bottom: 40px; }
    .hp-combined-story { padding-left: 0; }
    .hp-contact-ctas { grid-template-columns: 1fr; }
    .hp-contact-form-wrap { padding: 28px 24px; }
    .hp-contact-form-wrap .contact-form { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .hp-events, .hp-focus, .hp-story, .hp-join, .hp-contact { padding: 60px 0; }
    .hp-combined { padding: 0 0 60px; }
    .hp-section-header { margin-bottom: 36px; }
    .hp-section-header h2 { font-size: 1.7rem; }
    .hp-events-grid { grid-template-columns: 1fr; }
    .hp-events-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .hp-events-header .btn { align-self: stretch; text-align: center; }
    .hp-join-card { padding: 28px 22px; }
    .hero-stats-bar { padding: 18px 20px; max-width: 100%; }
    .hero-stat-sep { margin: 0 16px; }
    .hp-story-h2 { font-size: 1.5rem; }
    .hp-stats-row { gap: 0; }
    .hp-stat-sep { margin: 0 12px; }
    .hp-story-text h2 { font-size: 1.6rem; }
}

/* --- Scroll Reveal --- */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}
[data-reveal][data-reveal-delay="1"] { transition-delay: 0.10s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 0.20s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 0.30s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: 0.42s; }
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 768px) {
    .hero-actions { flex-direction: column; gap: 12px; }
    .hero-btn, .hero-btn-secondary { width: 100%; text-align: center; justify-content: center; max-width: 280px; }
    .impact-bar-inner { gap: 24px; }
    .impact-divider { height: 36px; }
    .stat-number { font-size: 2rem; }
    .hp-mission { padding: 60px 0 50px; }
    .hp-mission-grid { grid-template-columns: 1fr; gap: 32px; }
    .hp-mission-text h2 { font-size: 1.6rem; }
    .hp-events, .hp-programs, .hp-contact { padding: 60px 0; }
    .hp-section-header { margin-bottom: 32px; }
    .hp-section-header h2 { font-size: 1.6rem; }
    .hp-events-grid { grid-template-columns: 1fr; gap: 14px; }
    .hp-event-card { padding: 18px 20px; }
    .programs-grid-sm { grid-template-columns: 1fr; }
    .hp-attend-grid { grid-template-columns: 1fr; gap: 32px; }
    .hp-attend-cta, .hp-partner-cta { padding: 60px 0; }
    .hp-attend-text h2, .hp-partner-text h2 { font-size: 1.6rem; }
    .wave-sep svg { height: 50px; }
    .hero-wave svg { height: 55px; }
}

@media (max-width: 480px) {
    .impact-bar-inner { flex-direction: column; gap: 20px; }
    .impact-divider { width: 48px; height: 1px; }
}

/* --- Event Detail Modal --- */
.event-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.event-modal-overlay.active {
    display: flex;
}

.event-modal {
    background: var(--white);
    border-radius: 14px;
    max-width: 560px;
    width: 100%;
    padding: 32px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: modalSlideUp 0.3s ease;
    max-height: 85vh;
    overflow-y: auto;
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.event-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.event-modal-close:hover {
    color: #333;
}

.event-modal-badge {
    display: inline-block;
    background: #22c55e;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.event-modal-badge--opportunity {
    background: #6366f1;
}

.event-modal h2 {
    font-size: 1.6rem;
    margin-bottom: 14px;
    color: var(--text-dark);
}

.event-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    font-size: 0.88rem;
    color: #777;
}

.event-modal-meta i {
    margin-right: 4px;
    color: #aaa;
}

#eventModalPartner {
    color: #7c3aed;
    font-weight: 600;
}

#eventModalPartner i {
    color: #7c3aed;
}

.event-modal-desc {
    white-space: pre-wrap;
    line-height: 1.7;
    color: #555;
    margin-bottom: 24px;
}

.event-modal-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.event-modal-interest-btn {
    flex: 1;
    padding: 12px;
    background: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.event-modal-interest-btn:hover {
    background: var(--primary-blue-hover);
}

.event-modal-map-btn {
    flex: 1;
    padding: 12px;
    background: #f0f0f0;
    color: var(--text-dark);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.event-modal-map-btn:hover {
    background: #e0e0e0;
}

.event-modal-feedback {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.event-modal-feedback.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.event-modal-feedback.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.event-interest-form {
    background: #f9f9f9;
    padding: 18px;
    border-radius: 8px;
}

.event-interest-form h4 {
    margin: 0 0 12px;
    font-size: 1rem;
    color: var(--text-dark);
}

.event-interest-form input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.95rem;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.event-interest-form input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

@media (max-width: 768px) {
    .event-modal-actions {
        flex-direction: column;
    }
}

/* --- Footer Wave --- */
.footer-wave-top {
    background: var(--navy);
    line-height: 0;
    overflow: hidden;
    display: block;
}
.footer-wave-top svg {
    display: block;
    width: 100%;
    height: 70px;
}

/* --- Footer --- */
.footer {
    background-color: var(--navy);
    color: #cbd5e0;
    padding: 70px 0 0 0;
    border-top: none;
    overflow-x: hidden;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer h3, .footer h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-col p {
    color: #a0aec0;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-col a {
    color: #cbd5e0;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #398be3;
}

/* Social Icon Styling */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    background: rgba(255,255,255,0.1);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    color: inherit;
    font-size: 1rem;
}

.social-links a:hover {
    background: var(--primary-blue);
    color: #fff;
}

/* Newsletter Input */
.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    background: #2d3748;
    border: 1px solid #4a5568;
    padding: 10px;
    color: white;
    border-radius: 4px 0 0 4px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.newsletter-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.footer-bottom {
    background-color: #171923;
    margin-top: 60px;
    border-top: 1px solid #2d3748;
    padding: 18px 20px;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    width: 100%;
    font-size: 0.72rem;
    color: #718096;
}

.footer-donate-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 11px 24px;
    background: #e25555;
    color: #fff;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.88rem;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    letter-spacing: 0.02em;
}

.footer-donate-btn:hover {
    background: #c0392b;
    box-shadow: 0 4px 14px rgba(226, 85, 85, 0.35);
    color: #fff;
}

/* --- Legal & Safety Pages --- */
.legal-page {
    padding: 60px 0 80px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.legal-content h2 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-top: 36px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-content h2 i {
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.legal-content h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-top: 20px;
    margin-bottom: 8px;
}

.legal-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 14px;
}

.legal-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-content ul li {
    color: #555;
    line-height: 1.8;
    margin-bottom: 6px;
}

.legal-content a {
    color: var(--primary-blue);
}

.legal-content a:hover {
    text-decoration: underline;
}

.safety-intro {
    background: linear-gradient(135deg, rgba(57,139,227,0.08), rgba(46,158,90,0.08));
    border-left: 4px solid var(--primary-blue);
    padding: 20px 24px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 32px;
}

.safety-intro p {
    margin-bottom: 0;
    font-size: 1.05rem;
}

.safety-downloads {
    display: grid;
    gap: 16px;
    margin: 20px 0 32px;
}

.safety-download-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
    cursor: pointer;
}

.safety-download-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 16px rgba(57,139,227,0.1);
}

.safety-download-icon {
    width: 44px;
    height: 44px;
    background: #fef2f2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.safety-download-icon-green {
    width: 44px;
    height: 44px;
    background: #f2fef5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.safety-download-icon i {
    font-size: 1.3rem;
    color: #dc3545;
}

.safety-download-icon-green i {
    font-size: 1.3rem;
    color: #28a745;
}

.safety-download-info {
    flex: 1;
}

.safety-download-info h3 {
    font-size: 1rem;
    margin: 0 0 4px;
    color: var(--text-dark);
}

.safety-download-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.safety-download-arrow {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.safety-download-card:hover .safety-download-arrow {
    color: var(--primary-blue);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .nav-links {
        gap: 20px;
    }

    .nav-links a.nav-cta {
        padding: 7px 16px;
        font-size: 0.9rem;
    }

    .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-wrapper {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
    }
    
    #about,
    #contact {
        padding: 40px 0;
    }

    .nav-links {
        display: none; 
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 15px 0;
        gap: 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    }

    .nav-links li {
        padding: 8px 20px;
    }

    /* Mobile mega dropdown */
    .nav-dropdown {
        position: relative;
    }

    .nav-mega-panel {
        position: static;
        box-shadow: none;
        border-top: none;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: max-height 0.3s ease;
        background: #f8fafc;
        border-radius: 8px;
        margin-top: 6px;
    }

    .nav-dropdown.open .nav-mega-panel {
        max-height: 600px;
        transform: none;
    }

    .nav-mega-inner {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px 20px;
    }

    .nav-mega-col {
        gap: 4px;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-mega-col:last-child {
        border-bottom: none;
    }

    .nav-mega-heading {
        font-size: 0.92rem;
    }

    .nav-mega-desc {
        font-size: 0.82rem;
    }

    /* Push the CTA (Get Involved) to the bottom of the mobile menu */
    .nav-links li:has(.nav-cta) {
        order: 99;
        padding: 12px 20px 16px;
        margin-top: 4px;
        border-top: 1px solid var(--border-color);
    }

    .nav-links a.nav-cta {
        display: block;
        text-align: center;
        border-radius: 8px;
        padding: 12px 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 73px 20px 82px;
        min-height: auto;
    }

    .hero.hero-compact {
        padding: 56px 20px 60px;
    }

    .hero h1 {
        font-size: 1.75rem;
        letter-spacing: -0.01em;
    }

    .hero p {
        font-size: 0.98rem;
        margin-bottom: 20px;
    }
    
    .section-padding {
        padding: 40px 0;
    }

    .about-grid,
    .programs-grid {
        gap: 20px;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer {
        padding: 40px 0 0 0;
    }

    .footer-bottom {
        margin-top: 30px;
        padding: 20px 15px;
        text-align: center;
        font-size: 0.85rem;
    }

    .news-ticker {
        height: 42px;
    }

    .ticker-item {
        font-size: 0.85rem;
        padding: 0 15px;
    }

    .featured-strip {
        padding: 40px 0 28px;
    }

    .featured-ribbon span {
        font-size: 0.65rem;
        padding: 6px 18px;
    }
}

/* ============================================================
   HOMEPAGE 2026 — NEW SECTIONS
   ============================================================ */

/* --- Hero: illustration overlay --- */
.hero-illustration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 220px;
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: flex-end;
}
.hero-illustration svg {
    width: 100%;
    height: 100%;
}
.hero.hero-home .hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 160px;
}
.hero-wave {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    line-height: 0;
    overflow: hidden;
    z-index: 2;
}
.hero-wave svg { display: block; width: 100%; height: 100px; }
.btn-hero-donate {
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    color: #fff;
    border-color: transparent;
}
.btn-hero-donate:hover {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    color: #fff;
}
.hero-actions { flex-wrap: wrap; }

/* --- Stats strip (moved out of combined) --- */
.hp-stats-strip {
    background: #F8FAFC;
    padding: 0;
}

/* --- Who We Serve ribbon --- */
.hp-who-we-serve {
    background: #F8FAFC;
    padding: 0 0 36px;
}
.hp-who-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 16px 24px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.hp-who-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    margin: 0;
}
.hp-who-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.hp-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.01em;
}
.hp-chip i { font-size: 0.75rem; }
.hp-chip--blue   { background: #EFF6FF; color: #1d4ed8; }
.hp-chip--green  { background: #F0FDF4; color: #15803d; }
.hp-chip--purple { background: #F5F3FF; color: #6d28d9; }
.hp-chip--orange { background: #FFF7ED; color: #c2410c; }
.hp-chip--teal   { background: #F0FDFA; color: #0f766e; }

/* HP: Student school search bar */
.hp-who-student-search {
    flex: 1;
    min-width: 180px;
    max-width: 420px;
    position: relative;
}
.hp-school-search-input {
    width: 100%;
    padding: 9px 18px;
    border: 1.5px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.88rem;
    outline: none;
    color: var(--text-dark);
    background: var(--surface-gray);
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.hp-school-search-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(74,143,231,0.12);
    background: #fff;
}
.hp-school-search-input::placeholder { color: var(--text-muted); }
.hp-school-search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    z-index: 300;
    max-height: 220px;
    overflow-y: auto;
    display: none;
}
.hp-school-search-results.visible { display: block; }
.hp-school-result {
    padding: 10px 16px;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.15s;
}
.hp-school-result:last-child { border-bottom: none; }
.hp-school-result:hover { background: #EFF6FF; color: var(--primary-blue); }
.hp-school-result-board {
    display: block;
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-top: 1px;
}
.hp-who-gi-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}
.hp-who-gi-link:hover { color: var(--primary-blue-hover); }

/* --- Combined section: eyebrow labels --- */
.hp-col-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-blue);
    background: #EFF6FF;
    border-radius: 100px;
    padding: 4px 14px;
    margin-bottom: 14px;
}
/* Coloured focus icons */
.hp-focus-icon--green  { background: #EFF6FF; color: var(--primary-blue); }
.hp-focus-icon--purple { background: #EFF6FF; color: var(--primary-blue); }
.hp-focus-icon--orange { background: #EFF6FF; color: var(--primary-blue); }

/* --- Section headers (shared) --- */
.hp-section-header {
    text-align: center;
    margin-bottom: 52px;
}
.hp-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-blue);
    background: #EFF6FF;
    border-radius: 100px;
    padding: 5px 16px;
    margin-bottom: 14px;
}
.hp-section-header h2 {
    font-size: clamp(1.7rem, 3vw, 2.15rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.2;
}
.hp-section-header p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- Testimonials section --- */
.hp-testimonials {
    background: var(--white);
    padding: 90px 0;
}
.hp-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.hp-testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px 28px 26px;
    border: 2px solid transparent;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}
.hp-testimonial-card--blue   { border-color: #BFDBFE; }
.hp-testimonial-card--green  { border-color: #BBF7D0; }
.hp-testimonial-card--purple { border-color: #DDD6FE; }
.hp-testimonial-quote-icon {
    font-size: 1.5rem;
    margin-bottom: 16px;
    opacity: 0.25;
}
.hp-testimonial-card--blue   .hp-testimonial-quote-icon { color: var(--primary-blue); }
.hp-testimonial-card--green  .hp-testimonial-quote-icon { color: var(--color-green); }
.hp-testimonial-card--purple .hp-testimonial-quote-icon { color: var(--color-purple); }
.hp-testimonial-text {
    font-size: 0.97rem;
    color: #374151;
    line-height: 1.75;
    font-style: italic;
    flex: 1;
    margin-bottom: 24px;
}
.hp-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}
.hp-testimonial-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
}
.hp-avatar--coral  { background: linear-gradient(135deg, #f87171, #ef4444); }
.hp-avatar--blue   { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.hp-avatar--green  { background: linear-gradient(135deg, #4ade80, #22c55e); }
.hp-testimonial-author strong { display: block; font-size: 0.92rem; color: var(--text-dark); }
.hp-testimonial-author span   { font-size: 0.8rem; color: var(--text-muted); }

/* --- News section --- */
.hp-news {
    background: var(--surface-gray);
    padding: 25px 0 90px;
}
.hp-news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}
.hp-news-header h2 {
    font-size: clamp(1.7rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--text-dark);
    margin: 8px 0 0;
}
.hp-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.hp-news-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}
.hp-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.09);
}
.hp-news-img {
    height: 130px;
    overflow: hidden;
}
.hp-news-img svg { width: 100%; height: 100%; display: block; }
.hp-news-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.hp-news-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 4px;
    margin-right: 8px;
}
.hp-news-tag--green  { background: #DCFCE7; color: #15803d; }
.hp-news-tag--purple { background: #F5F3FF; color: #6d28d9; }
.hp-news-tag--orange { background: #FFF7ED; color: #c2410c; }
.hp-news-date {
    font-size: 0.77rem;
    color: var(--text-muted);
}
.hp-news-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 10px 0 8px;
}
.hp-news-body p {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 14px;
}
.hp-news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    transition: gap 0.2s;
    margin-top: auto;
}
.hp-news-link:hover { gap: 10px; color: var(--primary-blue-hover); }
.hp-news-link i { font-size: 0.72rem; }

/* --- Get Involved 4-col section --- */
.hp-get-involved {
    background: #F8FAFC;
    padding: 90px 0;
    scroll-margin-top: calc(var(--topbar-height) + var(--nav-height));
}
.hp-gi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.hp-gi-card {
    background: var(--white);
    border-radius: 16px;
    padding: 28px 22px 26px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hp-gi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}
.hp-gi-icon-wrap {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 18px;
    flex-shrink: 0;
}
.hp-gi-icon--blue   { background: #EFF6FF; color: var(--primary-blue); }
.hp-gi-icon--green  { background: #F0FDF4; color: #15803d; }
.hp-gi-icon--coral  { background: #FFF1F2; color: #dc2626; }
.hp-gi-icon--orange { background: #FFF7ED; color: #c2410c; }
.hp-gi-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.hp-gi-card p {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 18px;
    flex: 1;
}
.hp-gi-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-blue);
    border: 1.5px solid var(--primary-blue);
    border-radius: 50px;
    padding: 7px 18px;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
    margin-top: auto;
}
.hp-gi-link:hover { background: var(--primary-blue); color: #fff; }
.hp-gi-link i { font-size: 0.72rem; }

/* --- Newsletter section --- */
.hp-newsletter {
    background: linear-gradient(135deg, #1d4ed8 0%, #4A8FE7 50%, #7C3AED 100%);
    padding: 70px 0;
    overflow: hidden;
}
.hp-newsletter-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}
.hp-newsletter-illo {
    width: 100px;
    flex-shrink: 0;
}
.hp-newsletter-illo svg { width: 100%; height: auto; display: block; }
.hp-newsletter-text {
    flex: 1;
    min-width: 220px;
    max-width: 420px;
}
.hp-newsletter-text h2 {
    font-size: 1.65rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}
.hp-newsletter-text p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.6;
    margin: 0;
}
.hp-newsletter-form {
    display: flex;
    gap: 0;
    flex-shrink: 0;
    max-width: 360px;
    width: 100%;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
}
.hp-newsletter-form input {
    flex: 1;
    padding: 14px 22px;
    border: none;
    outline: none;
    font-size: 0.92rem;
    background: rgba(255,255,255,0.15);
    color: #fff;
    backdrop-filter: blur(8px);
    min-width: 0;
}
.hp-newsletter-form input::placeholder { color: rgba(255,255,255,0.65); }
.hp-newsletter-form .btn-white {
    border-radius: 0;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 14px 22px;
    font-size: 0.88rem;
}

/* --- Partner logos strip --- */
.hp-partners-strip {
    background: var(--white);
    padding: 44px 0;
    border-bottom: 1px solid var(--border-color);
}
.hp-partners-label {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}
.hp-partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
}
.hp-partner-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.55;
    transition: opacity 0.2s;
}
.hp-partner-logo-item:hover { opacity: 0.85; }
.hp-partner-logo-item i {
    font-size: 1.4rem;
    color: var(--text-muted);
}
.hp-partner-logo-item span {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-align: center;
}

/* --- Contact section overrides: bottom layout --- */
.hp-contact-bottom {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: stretch;
}
.hp-contact-info {
    background: var(--white);
    border-radius: 18px;
    padding: 28px 24px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hp-contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.hp-contact-info-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    background: #EFF6FF;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.hp-contact-info-item strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}
.hp-contact-info-item span {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.hp-contact-info-item a {
    color: var(--primary-blue);
    text-decoration: none;
}
.hp-contact-info-item a:hover { text-decoration: underline; }
.hp-contact-social p {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 10px;
}
.hp-contact-social-links {
    display: flex;
    gap: 10px;
}
.hp-contact-social-links a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #EFF6FF;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: background 0.2s, color 0.2s;
}
.hp-contact-social-links a:hover {
    background: var(--primary-blue);
    color: #fff;
}

/* --- Responsive: new sections --- */
@media (max-width: 1100px) {
    .hp-gi-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .hp-testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
    .hp-news-grid { grid-template-columns: 1fr; gap: 16px; }
    .hp-gi-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-contact-bottom { grid-template-columns: 1fr; }
    .hp-newsletter-inner { flex-direction: column; text-align: center; align-items: center; }
    .hp-newsletter-form { max-width: 100%; }
    .hp-news-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .hp-who-inner { flex-direction: column; gap: 12px; }
}
@media (max-width: 680px) {
    .hp-gi-grid { grid-template-columns: 1fr; }
    .hp-testimonials { padding: 60px 0; }
    .hp-news { padding: 60px 0; }
    .hp-get-involved { padding: 60px 0; }
    .hero.hero-home .hero-content { padding-bottom: 120px; }
    .hero-illustration { height: 140px; }
    .hp-newsletter-illo { width: 70px; }
    .hp-who-chips { gap: 8px; }
    .hp-chip { font-size: 0.76rem; padding: 5px 12px; }
}

/* ============================================================
   END HOMEPAGE 2026
   ============================================================ */

/* --- Featured & Upcoming FAB Widget --- */
.featured-fab {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    transition: box-shadow 0.3s;
}
.featured-fab .fab-btn {
    background: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 28px 14px 18px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 24px rgba(57,139,227,0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s, box-shadow 0.2s;
    outline: none;
    position: relative;
}
.featured-fab .fab-btn:active {
    background: var(--primary-blue-hover);
}
.featured-fab .fab-btn i {
    font-size: 1.3em;
    margin-right: 8px;
}
.featured-fab .fab-label {
    display: inline-block;
    font-size: 1.05em;
    transition: opacity 0.2s;
}
.featured-fab.fab-small .fab-label {
    display: none;
}
.featured-fab .fab-list-wrap {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(57,139,227,0.18);
    margin-top: 10px;
    min-width: 320px;
    max-width: 90vw;
    max-height: 60vh;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.25s, transform 0.25s;
    padding: 0 0 8px 0;
}
.featured-fab.open .fab-list-wrap {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}
.featured-fab .fab-list {
    padding: 10px 0 0 0;
}
.fab-item {
    padding: 12px 20px 10px 20px;
    border-bottom: 1px solid #f0f2f5;
    cursor: pointer;
    transition: background 0.15s;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.fab-item:last-child { border-bottom: none; }
.fab-item:hover {
    background: #f7faff;
}
.fab-badge {
    display: inline-block;
    background: var(--primary-blue);
    color: #fff;
    border-radius: 8px;
    font-size: 0.85em;
    padding: 2px 10px;
    margin-bottom: 2px;
    margin-right: 8px;
}
.fab-badge--opportunity {
    background: #2ecc71;
}
.fab-title {
    font-weight: 600;
    font-size: 1.08em;
    margin-bottom: 2px;
    color: var(--text-dark);
}
.fab-meta {
    font-size: 0.97em;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}
.fab-dot {
    margin: 0 6px;
    color: #bbb;
}
.fab-empty {
    padding: 18px 20px;
    color: #888;
    text-align: center;
    font-size: 1em;
}
.fab-more {
    display: block;
    text-align: center;
    color: var(--primary-blue);
    font-weight: 600;
    padding: 10px 0 2px 0;
    font-size: 1.05em;
    border-radius: 0 0 16px 16px;
    transition: background 0.2s, color 0.2s;
}
.fab-more:hover {
    background: #f7faff;
    color: var(--primary-blue-hover);
}
@media (max-width: 600px) {
    .featured-fab {
        right: 12px;
        bottom: 12px;
    }
    .featured-fab .fab-list-wrap {
        min-width: 90vw;
        max-width: 98vw;
    }
    .featured-fab .fab-btn {
        padding: 14px 16px;
        font-size: 1.1rem;
    }
}

