/* ==========================================================================
   KCFH — Kakuma Child Future Hub
   Brand Stylesheet
   ==========================================================================

   Brand Palette:
   - Navy Blue:   #0B1E63  (primary)
   - Royal Blue:  #243E8E  (secondary)
   - Gold:        #D89B07  (accent)
   - Light Gold:  #F4D26B  (highlight)
   - Leaf Green:  #4E9B1F  (growth)
   - Dark Green:  #2F6E1C  (deep accent)
   - White:       #FFFFFF  (background)
   - Light Gray:  #F4F4F4  (alt background)

   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
    /* Brand colours */
    --navy: #0B1E63;
    --navy-dark: #081550;
    --royal: #243E8E;
    --gold: #D89B07;
    --gold-light: #F4D26B;
    --green: #4E9B1F;
    --green-dark: #2F6E1C;
    --white: #FFFFFF;
    --gray-light: #F4F4F4;
    --gray-border: #E0E0E0;
    --gray-text: #666666;
    --gray-text-light: #999999;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    /* Layout */
    --container-max: 1200px;
    --container-pad: 1.5rem;
    --header-height: 80px;

    /* Effects */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --transition: 0.3s ease;
    --transition-fast: 0.15s ease;
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    background: var(--white);
    overflow-x: hidden;
}

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

a {
    color: var(--royal);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--navy);
}

ul, ol {
    list-style: none;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

strong {
    font-weight: 600;
    color: var(--navy);
}

/* --------------------------------------------------------------------------
   4. Layout Utilities
   -------------------------------------------------------------------------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

.section {
    padding: var(--space-2xl) 0;
}

.section--gray {
    background: var(--gray-light);
}

.section--navy {
    background: var(--navy);
    color: var(--white);
}

.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4 {
    color: var(--white);
}

.section--tight {
    padding: var(--space-xl) 0;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto var(--space-lg);
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-header .section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-text);
    line-height: 1.6;
}

.section--navy .section-header .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.section-header--left {
    text-align: left;
    margin-left: 0;
}

/* Accent line under headings */
.accent-line {
    width: 60px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
    margin-bottom: var(--space-md);
}

.section-header .accent-line {
    margin: 0 auto var(--space-md);
}

.section-header--left .accent-line {
    margin-left: 0;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}

.btn--gold {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.btn--gold:hover {
    background: #B8820A;
    border-color: #B8820A;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--navy {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn--navy:hover {
    background: var(--navy-dark);
    border-color: var(--navy-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--green {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

.btn--green:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.btn--outline:hover {
    background: var(--navy);
    color: var(--white);
}

.btn--outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn--outline-white:hover {
    background: var(--white);
    color: var(--navy);
}

.btn--sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn--lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

.btn--block {
    display: flex;
    width: 100%;
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   6. Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--gray-border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 1rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo:hover {
    text-decoration: none;
}

.logo-img {
    height: var(--header-height);
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
}

.logo-img--footer {
    height: 60px;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--navy);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--gold);
    background: var(--gray-light);
}

.nav-link--active {
    color: var(--gold);
    font-weight: 600;
}

.nav-link--active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0.75rem;
    right: 0.75rem;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.nav-item--cta {
    margin-left: 0.5rem;
}

.nav-item--cta .btn {
    color: var(--white);
}

.nav-item--cta .btn:hover {
    color: var(--white);
}

/* Dropdown caret */
.nav-caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.35rem;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    vertical-align: middle;
    transition: transform var(--transition-fast);
}

.nav-item--has-dropdown {
    position: relative;
}

.nav-item--has-dropdown > .nav-link {
    display: inline-flex;
    align-items: center;
}

/* Dropdown panel — desktop only */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
    z-index: 1100;
}

.nav-item--has-dropdown:hover .nav-dropdown,
.nav-item--has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-item--has-dropdown:hover .nav-caret,
.nav-item--has-dropdown:focus-within .nav-caret {
    transform: rotate(180deg);
}

/* Dropdown items */
.nav-dropdown-item {
    list-style: none;
}

.nav-dropdown-link {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.nav-dropdown-link:hover {
    background: var(--gray-light);
    text-decoration: none;
}

.nav-dropdown-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
}

.nav-dropdown-link:hover .nav-dropdown-label {
    color: var(--gold);
}

.nav-dropdown-desc {
    font-size: 0.78rem;
    color: var(--gray-text);
    margin-top: 0.15rem;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle-bar {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--navy);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   7. Hero Section
   -------------------------------------------------------------------------- */
.hero {
    background: var(--navy);
    color: var(--white);
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--royal);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    opacity: 0.5;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gold);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.hero-tagline .highlight {
    color: var(--gold-light);
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-lg);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual-svg {
    width: 100%;
    max-width: 420px;
    height: auto;
}

.hero-visual-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.15);
}

/* Two-column image */
.two-col-img {
    width: 100%;
    max-width: 460px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* News card image */
.news-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery photo */
.gallery-item-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* News article image */
.news-article-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-lg);
}

/* Hero stats */
.hero-stats {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.hero-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   8. Page Banner (inner pages)
   -------------------------------------------------------------------------- */
.page-banner {
    background: var(--navy);
    color: var(--white);
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: var(--royal);
    clip-path: polygon(40% 0, 100% 0, 100% 100%, 0% 100%);
    opacity: 0.4;
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold);
}

.page-banner-inner {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.page-banner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
}

.breadcrumb {
    display: flex;
    gap: 0.5rem;
    font-size: 0.85rem;
    margin-bottom: var(--space-sm);
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
    color: var(--gold-light);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: all var(--transition);
    height: 100%;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--gold);
}

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    color: var(--navy);
}

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

.card-icon--gold {
    background: var(--gold);
    color: var(--white);
}

.card-icon--green {
    background: var(--green);
    color: var(--white);
}

.card-icon--navy {
    background: var(--navy);
    color: var(--white);
}

.card h3 {
    margin-bottom: var(--space-xs);
    font-size: 1.2rem;
}

.card p {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Grid layouts */
.grid {
    display: grid;
    gap: var(--space-md);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* --------------------------------------------------------------------------
   10. Value Cards
   -------------------------------------------------------------------------- */
.value-card {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
}

.value-card .card-icon {
    margin: 0 auto var(--space-sm);
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.value-card .card-icon svg {
    width: 36px;
    height: 36px;
}

.value-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   11. Objective Items
   -------------------------------------------------------------------------- */
.objective-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    transition: all var(--transition);
}

.objective-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.objective-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
}

.objective-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.objective-content p {
    color: var(--gray-text);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   12. Programme Cards
   -------------------------------------------------------------------------- */
.programme-card {
    display: flex;
    flex-direction: column;
    padding: var(--space-lg);
}

.programme-card .card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
}

.programme-card .card-icon svg {
    width: 36px;
    height: 36px;
}

.programme-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.programme-card .programme-highlights {
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--gray-border);
}

.programme-card .programme-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-text);
    margin-bottom: 0.5rem;
}

.programme-card .programme-highlights li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   13. Beneficiary Tiers
   -------------------------------------------------------------------------- */
.beneficiary-tier {
    margin-bottom: var(--space-xl);
}

.beneficiary-tier-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.beneficiary-tier-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
}

.beneficiary-tier-badge--primary {
    background: var(--gold);
    color: var(--white);
}

.beneficiary-tier-badge--secondary {
    background: var(--green);
    color: var(--white);
}

.beneficiary-card {
    text-align: center;
    padding: var(--space-md);
}

.beneficiary-card .card-icon {
    margin: 0 auto var(--space-sm);
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.beneficiary-card .card-icon svg {
    width: 36px;
    height: 36px;
}

/* --------------------------------------------------------------------------
   14. Get Involved Cards
   -------------------------------------------------------------------------- */
.involve-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: var(--space-lg) var(--space-md);
}

.involve-card .card-icon {
    margin: 0 auto var(--space-sm);
    width: 72px;
    height: 72px;
    border-radius: 50%;
}

.involve-card .card-icon svg {
    width: 40px;
    height: 40px;
}

.involve-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.involve-card p {
    flex-grow: 1;
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
}

.involve-card .btn {
    align-self: center;
}

/* --------------------------------------------------------------------------
   15. Content Blocks (About, Vision, Mission)
   -------------------------------------------------------------------------- */
.content-block {
    max-width: 820px;
    margin: 0 auto;
}

.content-block p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: var(--space-sm);
    color: #444;
}

.content-block h2 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.content-block h2:first-child {
    margin-top: 0;
}

.content-block ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: var(--space-sm);
}

.content-block ul li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* Vision / Mission boxes */
.vm-box {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-left: 5px solid var(--gold);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
}

.vm-box--mission {
    border-left-color: var(--green);
}

.vm-box-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    margin-bottom: var(--space-xs);
}

.vm-box--mission .vm-box-label {
    color: var(--green);
}

.vm-box h2 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.vm-box p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

/* --------------------------------------------------------------------------
   16. Two-Column Layout
   -------------------------------------------------------------------------- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.two-col--image-left .two-col-content {
    order: 2;
}

.two-col-content h2 {
    margin-bottom: var(--space-sm);
}

.two-col-content p {
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.two-col-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.two-col-visual svg {
    width: 100%;
    max-width: 400px;
}

/* --------------------------------------------------------------------------
   17. CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
    background: var(--navy);
    color: var(--white);
    padding: var(--space-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold);
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto var(--space-md);
}

.cta-section .btn-group {
    justify-content: center;
}

/* --------------------------------------------------------------------------
   18. Forms
   -------------------------------------------------------------------------- */
.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.form-group label .required {
    color: var(--gold);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #333;
    background: var(--white);
    border: 2px solid var(--gray-border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--royal);
    box-shadow: 0 0 0 3px rgba(36, 62, 142, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-message {
    background: #E8F5E9;
    border: 1px solid var(--green);
    border-radius: var(--radius-sm);
    padding: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-md);
    color: var(--green-dark);
    font-size: 0.95rem;
}

.form-message-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   19. Contact Info
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.contact-info-card {
    background: var(--gray-light);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.contact-info-item {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--gray-border);
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-info-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-sm);
}

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

.contact-info-content h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-text);
    margin-bottom: 0.25rem;
}

.contact-info-content p {
    font-size: 1rem;
    color: var(--navy);
    line-height: 1.5;
}

.contact-info-content a {
    color: var(--navy);
}

.contact-info-content a:hover {
    color: var(--gold);
}

/* --------------------------------------------------------------------------
   20. News Cards
   -------------------------------------------------------------------------- */
.news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.news-card-image {
    height: 180px;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.news-card-image svg {
    width: 80px;
    height: 80px;
    color: var(--gold-light);
    opacity: 0.6;
}

.news-card-date {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background: var(--gold);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-sm);
}

.news-card-body {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.news-card-body h3 a {
    color: var(--navy);
}

.news-card-body h3 a:hover {
    color: var(--gold);
}

.news-card-body .news-excerpt {
    color: var(--gray-text);
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: var(--space-sm);
}

.news-card-body .news-meta {
    font-size: 0.8rem;
    color: var(--gray-text-light);
}

/* --------------------------------------------------------------------------
   21. Gallery
   -------------------------------------------------------------------------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--navy);
    aspect-ratio: 4 / 3;
    cursor: pointer;
    transition: all var(--transition);
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.gallery-item-visual {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item-visual svg {
    width: 60%;
    height: 60%;
    opacity: 0.85;
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-sm) var(--space-md);
    background: rgba(11, 30, 99, 0.9);
    color: var(--white);
}

.gallery-item-overlay h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.gallery-item-overlay p {
    color: var(--gold-light);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-filter {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

.gallery-filter-btn {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.4rem 1.25rem;
    border: 2px solid var(--gray-border);
    background: var(--white);
    color: var(--navy);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

/* --------------------------------------------------------------------------
   22. Donate Page
   -------------------------------------------------------------------------- */
.donate-hero {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.donate-hero h2 {
    margin-bottom: var(--space-sm);
}

.donate-hero p {
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-bottom: var(--space-md);
}

.donate-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.donate-option {
    text-align: center;
    padding: var(--space-lg);
    border: 2px solid var(--gray-border);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    cursor: pointer;
}

.donate-option:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.donate-option.selected {
    border-color: var(--gold);
    background: #FFF8E8;
}

.donate-option-amount {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.25rem;
}

.donate-option-label {
    font-size: 0.85rem;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.donate-info {
    background: var(--gray-light);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.donate-info h3 {
    margin-bottom: var(--space-sm);
}

.donate-info-list {
    list-style: none;
}

.donate-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #444;
}

.donate-info-list li::before {
    content: '✓';
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   23. Partnerships
   -------------------------------------------------------------------------- */
.partner-type-card {
    text-align: center;
    padding: var(--space-lg);
}

.partner-type-card .card-icon {
    margin: 0 auto var(--space-sm);
    width: 72px;
    height: 72px;
    border-radius: 50%;
}

.partner-type-card .card-icon svg {
    width: 40px;
    height: 40px;
}

/* --------------------------------------------------------------------------
   24. 404 Page
   -------------------------------------------------------------------------- */
.error-page {
    text-align: center;
    padding: var(--space-2xl) 0;
}

.error-page-code {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.error-page h2 {
    margin-bottom: var(--space-sm);
}

.error-page p {
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-bottom: var(--space-lg);
}

/* --------------------------------------------------------------------------
   25. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-col--brand {
    max-width: 360px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: var(--space-sm);
}

.footer-org-type {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

.footer-heading {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-address p {
    margin-bottom: var(--space-sm);
    color: rgba(255, 255, 255, 0.7);
}

.footer-address a {
    color: var(--gold-light);
}

.footer-address a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-registered {
    font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   26. Skip Link
   -------------------------------------------------------------------------- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--navy);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2000;
    border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
    top: 0;
    color: var(--white);
}

/* --------------------------------------------------------------------------
   27. Animations
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Stagger animation for grids */
.grid > *:nth-child(1) { animation-delay: 0.05s; }
.grid > *:nth-child(2) { animation-delay: 0.1s; }
.grid > *:nth-child(3) { animation-delay: 0.15s; }
.grid > *:nth-child(4) { animation-delay: 0.2s; }
.grid > *:nth-child(5) { animation-delay: 0.25s; }
.grid > *:nth-child(6) { animation-delay: 0.3s; }
.grid > *:nth-child(7) { animation-delay: 0.35s; }
.grid > *:nth-child(8) { animation-delay: 0.4s; }

/* --------------------------------------------------------------------------
   28. Utility Classes
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* --------------------------------------------------------------------------
   29. Responsive — Tablet
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .nav-link {
        font-size: 0.8rem;
        padding: 0.5rem 0.6rem;
    }

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

    .footer-col--brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }

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

/* --------------------------------------------------------------------------
   30. Responsive — Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    :root {
        --header-height: 64px;
        --space-2xl: 3.5rem;
    }

    /* Mobile navigation */
    .nav-toggle {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--white);
        padding: var(--space-md);
        overflow-y: auto;
        box-shadow: var(--shadow-lg);
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 999;
    }

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

    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--gray-border);
    }

    .nav-link {
        display: block;
        padding: 1rem 0.5rem;
        font-size: 1rem;
        border-radius: 0;
    }

    .nav-link--active::after {
        display: none;
    }

    /* Mobile: hide caret, flatten dropdowns */
    .nav-caret {
        display: none;
    }

    .nav-item--has-dropdown {
        position: static;
    }

    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        min-width: 0;
        background: var(--gray-light);
    }

    .nav-dropdown-item {
        border-top: 1px solid var(--gray-border);
    }

    .nav-dropdown-link {
        flex-direction: row;
        align-items: center;
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }

    .nav-dropdown-desc {
        margin-top: 0;
        font-size: 0.75rem;
    }

    .nav-item--cta {
        margin: var(--space-sm) 0 0;
        border-bottom: none;
    }

    .nav-item--cta .btn {
        width: 100%;
    }

    /* Hero */
    .hero-inner {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .hero-visual {
        order: -1;
    }

    .hero-visual-svg {
        max-width: 280px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-md);
    }

    /* Grids */
    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }

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

    /* Two column */
    .two-col {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .two-col--image-left .two-col-content {
        order: 0;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    /* Donate */
    .donate-options {
        grid-template-columns: 1fr;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Objective items */
    .objective-item {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .objective-number {
        margin: 0 auto;
    }

    /* Buttons */
    .btn-group {
        flex-direction: column;
    }

    .btn-group .btn {
        width: 100%;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   31. Responsive — Small Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
    :root {
        --container-pad: 1rem;
    }

    .logo-img {
        height: var(--header-height);
    }

    .section {
        padding: var(--space-xl) 0;
    }

    .hero {
        padding: var(--space-xl) 0;
    }

    .hero-stat-number {
        font-size: 1.5rem;
    }

    .hero-stat-label {
        font-size: 0.75rem;
    }
}

/* --------------------------------------------------------------------------
   32. Print
   -------------------------------------------------------------------------- */
@media print {
    .site-header,
    .site-footer,
    .nav-toggle,
    .btn,
    .hero-cta {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }
}
