/* ===========================================
   HOPERISE FOUNDATION – MATURE & PROFESSIONAL STYLESHEET
   THEME COLORS: #01203D (Midnight Blue) & #D9E749 (Lime/Yellow)
   =========================================== */

/* ---- CSS VARIABLES ---- */
:root {
    --primary: #D9E749;
    --primary-light: #e6f264;
    --primary-dark: #b8c736;
    --secondary: #005691;
    --secondary-light: #007bc7;
    --accent: #D9E749;
    --accent-light: #e6f264;
    --teal: #2ec4b6;
    --green: #20bf6b;
    --bg-dark: #F8FAFC;
    --bg-card: #3674B5;
    --bg-card2: #3674B5;
    --text-light: #0F172A;
    --text-muted: #475569;
    --border: rgba(0, 86, 145, 0.15);
    --border-light: rgba(0, 0, 0, 0.08);
    --glass: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(217, 231, 73, 0.1);
    --shadow: 0 15px 45px rgba(0, 0, 0, 0.06);
    --radius: 12px;
    --radius-sm: 6px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-main: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: #01203D;
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===========================================
   NAVBAR (Frosted Midnight Glass)
   =========================================== */
.navbar {
    background-color: #3674B5;
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(54, 116, 181, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo-icon {
    width: 42px; height: 42px;
    background: var(--primary);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: #0F172A;
    box-shadow: 0 0 15px rgba(0, 86, 145, 0.3);
    transition: var(--transition);
}

.nav-logo:hover .logo-icon {
    transform: rotate(-5deg) scale(1.05);
}

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main { font-size: 1.25rem; font-weight: 800; color: #ffffff; letter-spacing: 0.5px; }
.logo-sub { font-size: 0.7rem; font-weight: 500; color: #D9E749; letter-spacing: 1.5px; text-transform: uppercase; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links > li { position: relative; }

.nav-links > li > a {
    padding: 0.5rem 0.25rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: #01203D;
    display: flex; align-items: center; gap: 0.35rem;
    border-bottom: 2px solid transparent;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: #D9E749;
    border-bottom-color: #D9E749;
}

/* Dropdown */
.dropdown-menu {
    position: absolute; top: calc(100% + 1rem); left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 0.75rem;
    min-width: 240px;
    opacity: 0; visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    backdrop-filter: blur(20px);
}

.dropdown:hover .dropdown-menu {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem; color: #01203D;
}

.dropdown-menu li a i { color: #005691; width: 18px; }

.dropdown-menu li a:hover {
    background: rgba(0, 86, 145, 0.08);
    color: #005691;
    transform: translateX(4px);
}

.nav-actions { display: flex; align-items: center; gap: 1rem; }

.btn-nav-secondary {
    padding: 0.55rem 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.875rem; font-weight: 600;
    color: #01203D;
}
.btn-nav-secondary:hover { border-color: #005691; color: #005691; }

.btn-nav-primary {
    padding: 0.55rem 1.25rem;
    background: var(--primary);
    border-radius: var(--radius-sm);
    font-size: 0.875rem; font-weight: 700; color: #0F172A;
    display: flex; align-items: center; gap: 0.4rem;
    box-shadow: 0 4px 15px rgba(0, 86, 145, 0.2);
}
.btn-nav-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(217, 231, 73, 0.4);
}

.hamburger {
    display: none; flex-direction: column; gap: 5px;
    padding: 0.5rem; border-radius: var(--radius-sm);
    z-index: 1010;
}
.hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--text-light); border-radius: 2px;
    transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
    display: none; position: fixed; inset: 0; z-index: 998;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(3px);
}
.nav-overlay.active { display: block; }

/* ===========================================
   BUTTONS (Accessible, High Contrast)
   =========================================== */
.btn-primary {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.9rem 2.25rem;
    background: var(--primary);
    color: #0F172A; font-weight: 700; font-size: 0.95rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(0, 86, 145, 0.2);
    transition: var(--transition);
    border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(217, 231, 73, 0.4); color: #0F172A; }

.btn-secondary {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.9rem 2.25rem;
    background: transparent;
    color: #01203D; font-weight: 600; font-size: 0.95rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0,0,0,0.12);
    transition: var(--transition);
    cursor: pointer;
}
.btn-secondary:hover { border-color: #005691; color: #005691; transform: translateY(-2px); }

.btn-accent {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.9rem 2.25rem;
    background: var(--secondary);
    color: #01203D; font-weight: 700; font-size: 0.95rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(0, 86, 145, 0.2);
    transition: var(--transition);
    border: none; cursor: pointer;
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 86, 145, 0.4); color: #01203D; }

/* ===========================================
   SECTION STRUCTURE & HEADINGS
   =========================================== */
.section { padding: 7.5rem 0; }
.section-sm { padding: 4.5rem 0; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 2rem; }

.section-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    background: rgba(217, 231, 73, 0.1);
    border: 1px solid rgba(0, 86, 145, 0.2);
    border-radius: 30px;
    font-size: 0.8rem; font-weight: 700;
    color: #005691; letter-spacing: 1.5px; text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.2;
    color: #01203D;
    margin-bottom: 1.25rem;
}

.section-title span { color: #005691; }

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 650px;
    line-height: 1.75;
}

.section-header { text-align: center; margin-bottom: 4.5rem; }
.section-header .section-subtitle { margin: 0 auto; }

/* ===========================================
   HERO SECTION (Clean, Solid, Premium Look)
   =========================================== */
.hero {
    position: relative; min-height: 95vh;
    display: flex; align-items: center;
    overflow: hidden; padding-top: 100px;
    background: radial-gradient(circle at 80% 20%, rgba(0, 86, 145, 0.05) 0%, transparent 60%),
                linear-gradient(135deg, #F1F5F9 0%, #FFFFFF 100%);
}

.hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.7;
}

.hero-content {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem; align-items: center;
    max-width: 1300px; margin: 0 auto; padding: 0 2rem;
    width: 100%;
}

.hero-text .hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(0, 86, 145, 0.08);
    border: 1px solid rgba(217, 231, 73, 0.25);
    border-radius: 4px; font-size: 0.82rem; font-weight: 700;
    color: #005691; letter-spacing: 1.5px; text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-heading {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.5vw, 3.25rem);
    font-weight: 700; line-height: 1.15; color: #01203D;
    margin-bottom: 1.5rem;
}

.hero-heading span.accent-highlight {
    color: #005691;
    border-bottom: 3px solid #005691;
}

.hero-desc {
    font-size: 1rem; color: var(--text-muted); line-height: 1.8;
    margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 1.25rem; flex-wrap: wrap; }

.hero-stats {
    display: flex; gap: 3rem; margin-top: 3.5rem; flex-wrap: wrap;
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
}

.hero-stat { text-align: left; }
.hero-stat-num { font-size: 1.75rem; font-weight: 800; color: #01203D; line-height: 1; margin-bottom: 0.25rem; }
.hero-stat-num span { color: #005691; }
.hero-stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; }

/* Hero Visual Layout */
.hero-visual { position: relative; }
.hero-geometric-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}
.hero-geometric-card:hover {
    transform: translateX(5px);
    border-left-width: 6px;
    background: var(--bg-card2);
}

.hero-geometric-card h4 {
    font-size: 1.1rem; font-weight: 700; color: #01203D; margin-bottom: 0.35rem;
    display: flex; align-items: center; gap: 0.6rem;
}
.hero-geometric-card h4 i { color: #005691; }
.hero-geometric-card p { font-size: 0.875rem; color: var(--text-muted); }

/* ===========================================
   PAGE HERO (Inner pages)
   =========================================== */
.page-hero {
    position: relative; padding: 11rem 0 6rem;
    overflow: hidden;
    background: linear-gradient(135deg, #F1F5F9 0%, #FFFFFF 100%);
    border-bottom: 1px solid var(--border-light);
}

.page-hero-content { position: relative; z-index: 1; text-align: center; }

.page-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    color: #01203D; margin-bottom: 1rem;
}

.page-hero p { font-size: 1.15rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 1.75rem; }

.breadcrumb {
    display: flex; align-items: center; justify-content: center;
    gap: 0.6rem; font-size: 0.85rem; color: var(--text-muted);
}
.breadcrumb a { color: #005691; font-weight: 600; }
.breadcrumb span { color: var(--text-muted); }

/* ===========================================
   CARDS & GRIDS
   =========================================== */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 2.25rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.glass-card:hover {
    border-color: rgba(0, 86, 145, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.program-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.95) 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.program-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 86, 145, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06), 
                0 0 30px rgba(0, 86, 145, 0.05);
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-card-body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    z-index: 2;
}

.program-card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #005691;
    background: rgba(0, 86, 145, 0.06);
    border: 1px solid rgba(0, 86, 145, 0.15);
    margin-bottom: 1.75rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.program-card:hover .program-card-icon-wrapper {
    background: var(--primary);
    color: #0F172A;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px rgba(217, 231, 73, 0.4);
}

.program-card-body .tag {
    display: inline-block;
    align-self: flex-start;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #01203D;
    transition: all 0.3s ease;
}

.program-card:hover .tag {
    border-color: rgba(0, 86, 145, 0.2);
    color: #005691;
}

.program-card-body h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #01203D;
    margin-bottom: 0.85rem;
    line-height: 1.3;
}

.program-card-body p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.75;
    margin-bottom: 2rem;
    flex: 1;
}

.program-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 800;
    color: #005691;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.program-card-link i {
    transition: transform 0.3s ease;
}

.program-card-link:hover {
    color: #01203D;
}

.program-card-link:hover i {
    transform: translateX(5px);
}

/* ===========================================
   STATS SECTION
   =========================================== */
.stats-section {
    background: #F1F5F9;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 5.5rem 0;
}

.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.stat-item { text-align: center; }

.stat-icon {
    width: 56px; height: 56px; border-radius: 8px;
    background: rgba(0, 86, 145, 0.06);
    border: 1px solid rgba(0, 86, 145, 0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #005691;
    margin: 0 auto 1.25rem;
}

.stat-num {
    font-size: 3rem; font-weight: 900; color: #01203D;
    line-height: 1; margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.stat-num .counter { color: #005691; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* ===========================================
   BLOG CARDS
   =========================================== */
.blog-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.95) 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 86, 145, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06), 
                0 0 30px rgba(0, 86, 145, 0.05);
}

.blog-card:hover::before {
    transform: scaleX(1);
}

.blog-card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #005691;
    background: rgba(0, 86, 145, 0.06);
    border: 1px solid rgba(0, 86, 145, 0.15);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.blog-card:hover .blog-card-icon-wrapper {
    background: var(--primary);
    color: #0F172A;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px rgba(217, 231, 73, 0.4);
}

.blog-card-body {
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    z-index: 2;
}

.blog-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(0, 86, 145, 0.08);
    border: 1px solid rgba(0, 86, 145, 0.2);
    color: #005691;
    margin-bottom: 1.25rem;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-tag {
    background: var(--primary);
    color: #0F172A;
    border-color: #005691;
}

.blog-card-body h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #01203D;
    margin-bottom: 0.85rem;
    line-height: 1.45;
}

.blog-card-body p {
    font-size: 0.925rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 1.75rem;
    flex: 1;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.8rem;
    color: #64748b;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 1.25rem;
    margin-bottom: 1.25rem;
}

.blog-meta i {
    color: #005691;
}

/* ===========================================
   FORMS & INPUTS
   =========================================== */
.form-group { margin-bottom: 1.5rem; }

.form-group label {
    display: block; font-size: 0.875rem; font-weight: 600;
    color: #01203D; margin-bottom: 0.5rem;
}

.form-group label span { color: #005691; }

.form-control {
    width: 100%; padding: 0.875rem 1.25rem;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: #01203D; font-family: inherit; font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: #005691;
    background: rgba(0, 86, 145, 0.03);
    box-shadow: 0 0 0 3px rgba(217, 231, 73, 0.1);
}

.form-control::placeholder { color: var(--text-muted); }

select.form-control option { background: var(--bg-card); color: #01203D; }

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

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

/* ===========================================
   TEAM / PEOPLE CARDS
   =========================================== */
.team-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(248, 250, 252, 0.9) 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.team-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.35s ease;
    transform-origin: right;
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: rgba(217, 231, 73, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06), 0 0 25px rgba(0, 86, 145, 0.03);
}

.team-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.team-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #005691;
    background: rgba(0, 86, 145, 0.05);
    border: 1px solid rgba(0, 86, 145, 0.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
}

.team-card:hover .team-avatar {
    background: var(--primary);
    color: #0F172A;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(217, 231, 73, 0.35);
}

.team-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #01203D;
    margin-bottom: 0.35rem;
    transition: color 0.3s ease;
}

.team-card:hover h3 {
    color: #005691;
}

.team-card .role {
    font-size: 0.8rem;
    color: #01203D;
    opacity: 0.7;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-card p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.75;
}

/* ===========================================
   TIMELINE
   =========================================== */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), transparent);
}

.timeline-item { position: relative; margin-bottom: 3rem; padding-left: 2rem; }
.timeline-item::before {
    content: ''; position: absolute; left: -2.4rem; top: 0.35rem;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--primary); border: 2px solid var(--bg-dark);
}

.timeline-year { font-size: 0.85rem; color: #005691; font-weight: 700; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 1px; }
.timeline-item h3 { font-size: 1.2rem; font-weight: 700; color: #01203D; margin-bottom: 0.5rem; }
.timeline-item p { font-size: 0.925rem; color: var(--text-muted); }

/* ===========================================
   ABOUT PAGE – Mission/Vision/Values Card
   =========================================== */
.about-mvv-card {
    padding: 2.5rem;
}

@media (max-width: 600px) {
    .about-mvv-card {
        padding: 1.5rem;
    }

    /* Timeline tighter on mobile */
    .timeline { padding-left: 1.25rem; }
    .timeline-item { padding-left: 1.25rem; margin-bottom: 2rem; }
    .timeline-item::before { left: -1.65rem; }
    .timeline-item h3 { font-size: 1.05rem; }
    .timeline-item p { font-size: 0.875rem; }

    /* Team cards: reduce padding */
    .team-card { padding: 1.75rem 1.25rem; }
}

/* ===========================================
   CONTACT PAGE LAYOUT
   =========================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: flex-start;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ===========================================
   EVENTS PAGE – Register Button
   =========================================== */
.event-register-btn {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    /* Event card stacks vertically — button full width below body */
    .event-card {
        flex-direction: column;
    }
    .event-date-box {
        width: 100%;
        flex-direction: row;
        gap: 0.75rem;
        align-items: center;
        padding: 0.85rem 1.25rem;
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }
    .event-register-btn {
        padding: 0 1.25rem 1.25rem;
        width: 100%;
    }
    .event-register-btn a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Blog cards — tighter padding on small screens */
    .blog-card-body { padding: 1.5rem 1.25rem; }
    .blog-card-body h3 { font-size: 1.05rem; }
    .blog-card-body p { font-size: 0.875rem; margin-bottom: 1.25rem; }
    .blog-card-icon-wrapper { width: 48px; height: 48px; font-size: 1.4rem; margin-bottom: 1rem; }
    .blog-meta { flex-wrap: wrap; gap: 0.5rem; }

    /* Blog single – article icon banner */
    .blog-article-banner { height: 130px !important; font-size: 2.75rem !important; margin-bottom: 1.5rem !important; }

    /* Blog single – share + back row stack */
    .blog-share-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .blog-share-row .btn-secondary { align-self: stretch; text-align: center; justify-content: center; }

    /* Breadcrumb overflow handling */
    .breadcrumb { flex-wrap: wrap; }

    /* Gallery grid tighter gap */
    .gallery-grid { gap: 1rem; }
    .gallery-img-container { height: 180px; }

    /* Volunteer form grid collapses */
    .form-grid { grid-template-columns: 1fr; }

    /* Lightbox title smaller on mobile */
    .lightbox-title {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        bottom: 1rem;
    }
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        font-size: 1.5rem;
    }
}

/* ===========================================
   CTA SECTION (Mature & Executive Layout)
   =========================================== */
.cta-section {
    position: relative;
    padding: 8rem 0;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #F1F5F9 0%, #FFFFFF 100%);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.cta-section::before, .cta-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 86, 145, 0.04) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}
.cta-section::before {
    top: -100px;
    left: -100px;
}
.cta-section::after {
    bottom: -100px;
    right: -100px;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 86, 145, 0.05);
    border: 1px solid rgba(0, 86, 145, 0.15);
    color: #005691;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    animation: ctaFloat 6s ease-in-out infinite;
    transition: all 0.4s ease;
}

.cta-icon-wrapper:hover {
    background: var(--primary);
    color: #0F172A;
    box-shadow: 0 0 30px rgba(217, 231, 73, 0.35);
    transform: scale(1.05) rotate(15deg);
}

@keyframes ctaFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(3deg); }
}

.cta-section h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.25rem);
    color: #01203D;
    margin-bottom: 1.25rem;
    font-weight: 800;
}

.cta-section p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* ===========================================
   ACCORDION / FAQ
   =========================================== */
.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    margin-bottom: 1rem; overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover { border-color: rgba(0, 86, 145, 0.3); }

.accordion-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.35rem 1.75rem; cursor: pointer;
    font-weight: 600; font-size: 1.05rem; color: #01203D;
}

.accordion-icon {
    width: 28px; height: 28px;
    background: rgba(0, 86, 145, 0.08); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #005691; font-size: 0.75rem;
    transition: var(--transition); flex-shrink: 0;
}

.accordion-item.open .accordion-icon { transform: rotate(180deg); background: var(--primary); color: #0F172A; }

.accordion-body {
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.75rem;
}

.accordion-item.open .accordion-body { max-height: 300px; padding: 0 1.75rem 1.5rem; }
.accordion-body p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; }

/* ===========================================
   DONATE & VOLUNTEER PAGE UI
   =========================================== */
.donate-amount-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.5rem;
}

.amount-btn {
    padding: 0.85rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.02);
    color: #01203D;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
}

.amount-btn:hover {
    border-color: rgba(0, 86, 145, 0.3);
    background: rgba(0, 86, 145, 0.05);
    color: #005691;
    transform: translateY(-1px);
}

.amount-btn.active {
    border-color: #005691;
    background: var(--primary);
    color: #0F172A;
    box-shadow: 0 0 15px rgba(0, 86, 145, 0.3);
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.payment-method {
    padding: 0.85rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.payment-method:hover {
    border-color: rgba(0, 86, 145, 0.3);
    color: #005691;
    background: rgba(0, 86, 145, 0.04);
    transform: translateY(-1px);
}

.payment-method.active {
    border-color: #005691;
    color: #005691;
    background: rgba(0, 86, 145, 0.08);
    box-shadow: 0 0 15px rgba(0, 86, 145, 0.15);
}

.payment-method i {
    display: block;
    font-size: 1.35rem;
}

/* ===========================================
   EVENTS LISTING
   =========================================== */
.event-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius); overflow: hidden;
    display: flex; transition: var(--transition);
}
.event-card:hover { border-color: #005691; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

.event-date-box {
    width: 100px; flex-shrink: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 1rem;
    background: var(--bg-card2);
    border-right: 1px solid var(--border-light);
    text-align: center;
}

.event-date-box .month { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: #005691; font-weight: 700; }
.event-date-box .day { font-size: 2.4rem; font-weight: 900; color: #01203D; line-height: 1; margin: 0.25rem 0; }
.event-date-box .year { font-size: 0.75rem; color: var(--text-muted); }

.event-body { padding: 1.75rem; flex: 1; }
.event-body h3 { font-size: 1.25rem; font-weight: 700; color: #01203D; margin-bottom: 0.5rem; }
.event-body p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.6; }

.event-meta { display: flex; gap: 1.5rem; font-size: 0.82rem; color: var(--text-muted); flex-wrap: wrap; }
.event-meta i { color: #005691; margin-right: 0.3rem; }

/* ===========================================
   FOOTER (Solid, Professional)
   =========================================== */
.footer {
    background: #F1F5F9;
    border-top: 1px solid var(--border-light);
    padding: 5rem 0 3rem;
}

.footer-container { max-width: 1300px; margin: 0 auto; padding: 0 2rem; }

.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3.5rem; margin-bottom: 4rem;
}

.footer-logo {
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 1.4rem; font-weight: 800; color: #01203D; margin-bottom: 1.25rem;
}
.footer-logo i { color: #005691; }

.footer-brand p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1.75rem; }

.footer-socials { display: flex; gap: 0.75rem; }
.footer-socials a {
    width: 38px; height: 38px; border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); font-size: 0.875rem;
    transition: var(--transition);
}
.footer-socials a:hover { background: var(--primary); border-color: #005691; color: #0F172A; transform: translateY(-2px); }

.footer-links-col h4 { font-size: 1rem; font-weight: 700; color: #01203D; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-links-col ul li { margin-bottom: 0.85rem; }
.footer-links-col ul li a { font-size: 0.9rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem; }
.footer-links-col ul li a i { font-size: 0.65rem; color: #005691; }
.footer-links-col ul li a:hover { color: #005691; padding-left: 4px; }

.footer-contact-col h4 { font-size: 1rem; font-weight: 700; color: #01203D; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-contact-list { margin-bottom: 1.75rem; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.85rem; }
.footer-contact-list li i { color: #005691; flex-shrink: 0; margin-top: 0.25rem; }

.footer-donate-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: var(--primary);
    border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 700; color: #0F172A;
    transition: var(--transition);
}
.footer-donate-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 86, 145, 0.3); }

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.875rem; color: var(--text-muted); }
.footer-bottom-links { display: flex; gap: 1.75rem; }
.footer-bottom-links a { font-size: 0.85rem; color: var(--text-muted); }
.footer-bottom-links a:hover { color: #005691; }

/* ===========================================
   WHATSAPP FLOATING WIDGET
   =========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 5.75rem;
    right: 2rem;
    z-index: 999;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    color: #01203D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation: whatsappBounce 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    background-color: #20ba5a;
    color: #01203D;
}

@keyframes whatsappBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ===========================================
   BACK TO TOP
   =========================================== */
.back-to-top {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
    width: 44px; height: 44px;
    background: var(--primary);
    border-radius: 6px; color: #0F172A; font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 86, 145, 0.2);
    opacity: 0; transform: translateY(20px);
    transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(217, 231, 73, 0.4); }

/* ===========================================
   ALERTS / NOTICES
   =========================================== */
.notice-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1.1rem 2rem;
    text-align: center;
    font-size: 0.925rem;
    font-weight: 500;
    background: #3674B5;
    border-top: none;
    border-bottom: none;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.notice-bar i {
    color: var(--accent);
    font-size: 1.05rem;
    animation: noticePulse 2s infinite;
}

@keyframes noticePulse {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.notice-bar-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-left: 0.5rem;
    padding: 0.3rem 0.85rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.notice-bar-link:hover {
    background: var(--accent);
    color: #0F172A;
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(217, 231, 73, 0.3);
    transform: translateY(-1px);
}

/* ===========================================
   IMPACT CARDS (Every Naira Counts)
   =========================================== */
.impact-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(248, 250, 252, 0.9) 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.impact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--card-accent, var(--primary));
    opacity: 0.8;
}

.impact-card:hover {
    transform: translateX(6px);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06), 0 0 20px rgba(0, 86, 145, 0.03);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.95) 100%);
}

.impact-icon-wrapper {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--card-accent, #005691);
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
    transition: all 0.4s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.12);
}

.impact-card:hover .impact-icon-wrapper {
    background: var(--card-accent, var(--primary));
    color: #0F172A;
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 0 20px var(--card-accent-glow, rgba(0, 86, 145, 0.3));
}

.impact-info {
    flex: 1;
}

.impact-amount-badge {
    font-size: 1.35rem;
    font-weight: 800;
    color: #01203D;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.impact-statement {
    font-size: 0.925rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ===========================================
   IMPACT MARQUEE SYSTEM
   =========================================== */
.impact-marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 1.5rem 0;
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.impact-marquee-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: impactMarqueeScroll 25s linear infinite;
}

.impact-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes impactMarqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.75rem)); }
}

/* Marquee Card Override */
.impact-card-marquee {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(248, 250, 252, 0.9) 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 320px;
    flex-shrink: 0;
    white-space: normal;
}

.impact-card-marquee::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--card-accent, var(--primary));
    opacity: 0.8;
}

.impact-card-marquee:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06), 0 0 20px rgba(0, 86, 145, 0.03);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.95) 100%);
}

.impact-card-marquee .impact-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--card-accent, #005691);
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
    transition: all 0.4s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.12);
}

.impact-card-marquee:hover .impact-icon-wrapper {
    background: var(--card-accent, var(--primary));
    color: #0F172A;
    transform: scale(1.08) rotate(8deg);
    box-shadow: 0 0 15px var(--card-accent-glow, rgba(0, 86, 145, 0.3));
}

.impact-card-marquee .impact-info {
    flex: 1;
}

.impact-card-marquee .impact-amount-badge {
    font-size: 1.25rem;
    font-weight: 800;
    color: #01203D;
    margin-bottom: 0.15rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.impact-card-marquee .impact-statement {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

/* ===========================================
   GRIDS & UTILITIES
   =========================================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }

.symptoms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (max-width: 480px) {
    .symptoms-grid {
        grid-template-columns: 1fr;
    }
}

.text-center { text-align: center; }
.text-gradient {
    color: #005691;
}
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.divider {
    height: 1px; background: var(--border-light);
    margin: 3rem 0;
}

.tag {
    display: inline-block; padding: 0.25rem 0.75rem;
    border-radius: 4px; font-size: 0.75rem; font-weight: 700;
    background: rgba(0, 86, 145, 0.08); color: #005691;
    border: 1px solid rgba(0, 86, 145, 0.2);
}

.tag-cancer { background: rgba(0, 86, 145, 0.06); color: #005691; border-color: rgba(0, 86, 145, 0.15); }
.tag-empower { background: rgba(0, 86, 145, 0.06); color: #005691; border-color: rgba(0, 86, 145, 0.15); }
.tag-edu { background: rgba(0, 86, 145, 0.06); color: #005691; border-color: rgba(0, 86, 145, 0.15); }

/* Alert messages */
.alert {
    padding: 1rem 1.5rem; border-radius: var(--radius-sm);
    margin-bottom: 1.5rem; font-size: 0.9rem;
    display: flex; align-items: center; gap: 0.75rem;
}
.alert-success { background: rgba(32, 191, 107, 0.12); border: 1px solid rgba(32, 191, 107, 0.3); color: #20bf6b; }
.alert-error { background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.3); color: #ef4444; }

/* ---- OUTCOME CARDS (DRIVING SUSTAINABLE OUTCOMES) ---- */
.outcome-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(248, 250, 252, 0.9) 100%);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    padding: 2.25rem 1.75rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.outcome-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.35s ease;
    transform-origin: right;
}

.outcome-card:hover {
    transform: translateY(-6px);
    border-color: rgba(217, 231, 73, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06), 0 0 25px rgba(0, 86, 145, 0.03);
}

.outcome-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.outcome-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #005691;
    background: rgba(0, 86, 145, 0.05);
    border: 1px solid rgba(217, 231, 73, 0.12);
    margin-bottom: 1.25rem;
    transition: all 0.4s ease;
}

.outcome-card:hover .outcome-card-icon {
    background: var(--primary);
    color: #0F172A;
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 0 20px rgba(217, 231, 73, 0.35);
}

.outcome-card h4 {
    color: #01203D;
    margin-bottom: 0.65rem;
    font-size: 1.1rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.outcome-card:hover h4 {
    color: #005691;
}

.outcome-card p {
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 0;
}

.mobile-nav-ctas {
    display: none;
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
}

@media (max-width: 900px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .nav-links, .nav-actions { display: none; }
    .hamburger { display: flex; }

    .nav-links {
        position: fixed; top: 0; left: 0;
        width: 100%; height: 100vh;
        flex-direction: column; 
        justify-content: flex-start; 
        align-items: flex-start;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 999;
        transform: translateX(-100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        gap: 1.25rem;
        overflow-y: auto;
        padding: 7rem 3.5rem 4rem;
    }

    .nav-links.active { transform: translateX(0); display: flex; }
    .nav-links > li { width: 100%; }
    .nav-links > li > a { 
        font-size: 1.35rem; 
        font-weight: 700;
        padding: 0.25rem 0; 
        color: #01203D;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: none !important;
    }
    
    .nav-links > li > a.active {
        color: #D9E749;
    }
    
    .mobile-nav-ctas {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .mobile-nav-ctas a {
        text-align: center;
        justify-content: center;
        width: 100%;
        font-size: 0.95rem !important;
        padding: 0.75rem 1.5rem !important;
        border-bottom: none !important;
    }

    .dropdown-menu {
        display: none;
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        box-shadow: none;
        text-align: left;
        padding: 0.5rem 0 0.5rem 1rem;
        margin-left: 0.5rem;
        border-left: 1px solid rgba(217, 231, 73, 0.25);
        flex-direction: column;
        gap: 0.85rem;
        width: 100%;
    }
    .dropdown.open .dropdown-menu {
        display: flex;
    }
    
    .dropdown-menu li a {
        font-size: 1rem;
        color: var(--text-muted);
        padding: 0.25rem 0;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    
    .dropdown-menu li a:hover,
    .dropdown-menu li a.active {
        color: #005691;
        background: transparent;
        transform: none;
    }

    .event-card { flex-direction: column; }
    .event-date-box { width: 100%; flex-direction: row; gap: 0.5rem; justify-content: flex-start; padding: 0.75rem 1.25rem; border-right: none; border-bottom: 1px solid var(--border-light); }
}

@media (max-width: 600px) {
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .donate-amount-grid { grid-template-columns: 1fr 1fr; }
    .hero-heading { font-size: 1.8rem; }
    .section { padding: 4rem 0; }
    .container { padding: 0 1.25rem; }

    /* Page hero tweaks */
    .page-hero-content h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
    .page-hero-content p { font-size: 0.95rem; }

    /* Glass card comfort on mobile */
    .glass-card { padding: 1.25rem; }

    /* Section header text */
    .section-title { font-size: clamp(1.5rem, 5vw, 2.2rem); }
    .section-subtitle { font-size: 0.9rem; }

    /* Stats compact */
    .stat-num { font-size: 2rem; }
    .stat-label { font-size: 0.8rem; }

    /* CTA actions stack */
    .cta-actions { flex-direction: column; align-items: center; gap: 0.75rem; }
    .cta-actions a { width: 100%; max-width: 320px; text-align: center; justify-content: center; }
}

@media (max-width: 420px) {
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .payment-methods {
        grid-template-columns: 1fr;
    }
    .payment-method {
        flex-direction: row;
        justify-content: flex-start;
        gap: 0.75rem;
        padding: 0.75rem 1.25rem;
    }
    .payment-method i {
        margin: 0;
        font-size: 1.2rem;
    }
}


/* --- USER CARD COLOR OVERRIDES --- */
.glass-card, .stat-card, .hero-geometric-card, .program-card, .blog-card, .team-card, .about-mvv-card, .impact-card, .impact-card-marquee, .outcome-card, .event-card {
    background: #3674B5 !important;
    color: #ffffff !important;
    border: none !important;
}
.glass-card h1, .glass-card h2, .glass-card h3, .glass-card h4, .glass-card h5, .glass-card h6, .glass-card p, .glass-card span, .glass-card div, .glass-card i,
.stat-card h1, .stat-card h2, .stat-card h3, .stat-card h4, .stat-card h5, .stat-card h6, .stat-card p, .stat-card span, .stat-card div, .stat-card i,
.hero-geometric-card h1, .hero-geometric-card h2, .hero-geometric-card h3, .hero-geometric-card h4, .hero-geometric-card h5, .hero-geometric-card h6, .hero-geometric-card p, .hero-geometric-card span, .hero-geometric-card div, .hero-geometric-card i,
.program-card h1, .program-card h2, .program-card h3, .program-card h4, .program-card h5, .program-card h6, .program-card p, .program-card span, .program-card div, .program-card i,
.blog-card h1, .blog-card h2, .blog-card h3, .blog-card h4, .blog-card h5, .blog-card h6, .blog-card p, .blog-card span, .blog-card div, .blog-card i,
.team-card h1, .team-card h2, .team-card h3, .team-card h4, .team-card h5, .team-card h6, .team-card p, .team-card span, .team-card div, .team-card i,
.about-mvv-card h1, .about-mvv-card h2, .about-mvv-card h3, .about-mvv-card h4, .about-mvv-card h5, .about-mvv-card h6, .about-mvv-card p, .about-mvv-card span, .about-mvv-card div, .about-mvv-card i,
.impact-card h1, .impact-card h2, .impact-card h3, .impact-card h4, .impact-card h5, .impact-card h6, .impact-card p, .impact-card span, .impact-card div, .impact-card i,
.impact-card-marquee h1, .impact-card-marquee h2, .impact-card-marquee h3, .impact-card-marquee h4, .impact-card-marquee h5, .impact-card-marquee h6, .impact-card-marquee p, .impact-card-marquee span, .impact-card-marquee div, .impact-card-marquee i,
.outcome-card h1, .outcome-card h2, .outcome-card h3, .outcome-card h4, .outcome-card h5, .outcome-card h6, .outcome-card p, .outcome-card span, .outcome-card div, .outcome-card i,
.event-card h1, .event-card h2, .event-card h3, .event-card h4, .event-card h5, .event-card h6, .event-card p, .event-card span, .event-card div, .event-card i {
    color: #ffffff !important;
}

/* Fix tags inside cards */
.blog-card .blog-tag, .program-card .tag {
    color: #3674B5 !important;
    background: #ffffff !important;
    border: none !important;
}

/* Links inside cards */
.program-card-link, .program-card-link i {
    color: #D9E749 !important;
}

/* Exclude inputs */
input, select, textarea {
    color: #01203D !important;
    background-color: #ffffff !important;
}

/* Reverse icon wrappers inside cards so they are visible */
.outcome-card-icon, .impact-icon-wrapper, .blog-card-icon-wrapper, .program-card-icon-wrapper, .team-avatar {
    background: #ffffff !important;
}
.outcome-card-icon i, .impact-icon-wrapper i, .blog-card-icon-wrapper i, .program-card-icon-wrapper i, .team-avatar i {
    color: #3674B5 !important;
}

/* Ensure buttons keep their contrast */
.btn-primary, .btn-secondary, .btn-accent {
    border: 1px solid rgba(255,255,255,0.2) !important;
}

/* Sidebar overrides if any card applies to sidebar */
.admin-sidebar * {
    color: inherit;
}

/* User Requested Button Text Colors */
.btn-nav-secondary,
.btn-secondary,
.btn-accent,
.btn-nav-secondary *,
.btn-secondary *,
.btn-accent * {
    color: #ffffff !important;
}

/* Fix primary and secondary button contrast */
.btn-primary,
.btn-nav-primary,
.btn-secondary,
.btn-primary *,
.btn-nav-primary *,
.btn-secondary * {
    color: #01203D !important;
}

/* User Requested Background Color for Secondary Button */
.btn-secondary { background-color: #A1E3F9 !important; border-color: #A1E3F9 !important; }

/* User Requested Dropdown Menu Colors */
.dropdown-menu li a, .dropdown-menu li a i { color: #ffffff !important; }
.dropdown-menu li a:hover, .dropdown-menu li a.active { color: #D9E749 !important; background: rgba(255, 255, 255, 0.1) !important; }
.dropdown-menu li a:hover i, .dropdown-menu li a.active i { color: #D9E749 !important; }

/* User Requested Footer Colors */
.footer { background-color: #578FCA !important; }
.footer, .footer *, .footer-title, .footer-link, .footer-text, .footer-socials a, .footer-bottom, .footer-bottom * { color: #ffffff !important; }
.footer-socials a:hover, .footer-link:hover { color: #D9E749 !important; }
.footer-logo img { filter: brightness(0) invert(1) !important; }
.footer-donate-btn, .footer-donate-btn * { color: #01203D !important; }

/* Fix Accordion Contrast */
.accordion-header, .accordion-body p { color: #ffffff !important; }
.accordion-icon, .accordion-icon i { color: #ffffff !important; }
.accordion-item.open .accordion-icon, .accordion-item.open .accordion-icon i { color: #01203D !important; }

@media (max-width: 900px) {
    /* Fix mobile dropdown text contrast */
    .nav-links .dropdown-menu li a, 
    .nav-links .dropdown-menu li a i {
        color: #01203D !important;
    }
    .nav-links .dropdown-menu li a:hover, 
    .nav-links .dropdown-menu li a.active {
        color: #005691 !important;
        background: rgba(0, 86, 145, 0.05) !important;
    }
    .nav-links .dropdown-menu li a:hover i, 
    .nav-links .dropdown-menu li a.active i {
        color: #005691 !important;
    }
}

/* Input Icon Wrapper */
.input-icon-wrapper { position: relative; }
.input-icon-wrapper i { position: absolute; left: 1.25rem; top: 50%; transform: translateY(-50%); color: var(--primary) !important; opacity: 0.8; z-index: 10; pointer-events: none; }
.input-icon-wrapper textarea ~ i { top: 1.75rem; transform: none; }
.input-icon-wrapper .form-control { padding-left: 3.25rem; }
