@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ==========================================================================
   DESIGN SYSTEM TOKENS - HUMBLE HEARTS CHARITABLE TRUST (BRAND LOGO PALETTE)
   Logo Colors: Crimson Red (#b91c1c / #dc2626), Onyx Black (#18181b), Pure White
   ========================================================================== */
:root {
    --primary: #0284c7;             /* Crisp United Way Light Blue */
    --primary-light: #0ea5e9;       /* Vibrant Sky Blue Hover */
    --primary-dark: #0369a1;        /* Deep Icy Ocean Blue */
    --primary-soft: #f0f9ff;        /* Soft Icy Blue Tint */
    --secondary: #e11d48;           /* Crimson Red Accent */
    --secondary-hover: #be123c;     /* Crimson Hover */
    --secondary-light: #ef4444;     /* Light Red */
    --accent: #f59e0b;              /* Gold Accent */
    --accent-gold: #f59e0b;         /* Gold Highlight */
    --bg-light: #ffffff;            /* Pure White background */
    --bg-alt: #f8fafc;              /* Slate Light Gray / Icy Blue */
    --text-dark: #0f172a;           /* Deep Slate Navy text */
    --text-muted: #475569;          /* Muted Slate text */
    --white: #ffffff;
    --border-color: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.96);
    --glass-border: rgba(226, 232, 240, 0.8);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(2, 132, 199, 0.04);
    --shadow-lg: 0 15px 30px rgba(15, 23, 42, 0.12), 0 4px 8px rgba(2, 132, 199, 0.06);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   BASE & TYPOGRAPHY
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 0.5em;
}

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

a:hover {
    color: var(--primary-light);
}

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

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-hover));
    color: var(--white);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

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

.btn-white:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-pending { background-color: #fef3c7; color: #b45309; }
.badge-reviewed { background-color: #e0f2fe; color: #0284c7; }
.badge-approved { background-color: #fee2e2; color: #b91c1c; }
.badge-rejected { background-color: #f4f4f5; color: #52525b; }

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header-top {
    background-color: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.header-top-info {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.header-top-info span i {
    color: var(--primary-light);
    margin-right: 6px;
}

.header-top-links a {
    color: rgba(255,255,255,0.85);
    margin-left: 15px;
    font-weight: 500;
}

.header-top-links a:hover {
    color: var(--primary-light);
}

header {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

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

.header-logo-img {
    height: 52px;
    width: 52px;
    object-fit: contain;
    border-radius: 50%;
    background: #ffffff;
    padding: 2px;
    box-shadow: 0 2px 8px rgba(185, 28, 28, 0.15);
    border: 1.5px solid rgba(185, 28, 28, 0.2);
}

.logo-text h1 {
    font-size: 1.35rem;
    margin: 0;
    line-height: 1.1;
    color: var(--secondary);
    font-weight: 800;
}

.logo-text span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    font-weight: 700;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 8px 14px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.92rem;
    border-radius: 20px;
}

.nav-link:hover, .nav-item.active .nav-link {
    color: var(--primary);
    background-color: var(--primary-soft);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.06);
    border-top: 3px solid var(--primary);
    padding: 10px 0;
    min-width: 260px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 22px;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: var(--primary-soft);
    color: var(--primary);
    padding-left: 26px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(3, 105, 161, 0.92), rgba(15, 23, 42, 0.95)), url('../img/hero-bg.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 90px 0 110px;
    text-align: center;
    clip-path: ellipse(150% 100% at 50% 0%);
}

.hero-content {
    max-width: 860px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
}

.hero h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
}

.hero h2 span {
    color: #fca5a5;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.92;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ==========================================================================
   SECTIONS & HEADINGS
   ========================================================================== */
section {
    padding: 70px 0;
}

.section-bg-alt {
    background-color: var(--bg-alt);
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    color: var(--text-dark);
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ==========================================================================
   WHO WE ARE / ABOUT GRID
   ========================================================================== */
.who-we-are-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.who-we-are-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.who-we-are-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.02rem;
}

.who-we-are-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.who-we-are-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

/* ==========================================================================
   PROGRAMS & CAUSES CARDS
   ========================================================================== */
.causes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.cause-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
}

.cause-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px -10px rgba(185, 28, 28, 0.18), 0 0 0 1px rgba(185, 28, 28, 0.15);
}

/* Banner Header */
.cause-banner {
    height: 175px;
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    color: #fff;
}

.cause-banner-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.22), transparent 70%), linear-gradient(to bottom, transparent 35%, rgba(0,0,0,0.45) 100%);
    pointer-events: none;
}

.cause-banner-top {
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
}

.cause-banner-badge {
    background: rgba(255, 255, 255, 0.94);
    color: var(--secondary);
    backdrop-filter: blur(8px);
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cause-banner-badge i {
    color: var(--primary);
}

.cause-icon-wrapper {
    width: 62px;
    height: 62px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    color: var(--primary);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    position: absolute;
    bottom: 18px;
    left: 22px;
    z-index: 2;
    border: 3px solid rgba(255,255,255,0.95);
    transition: transform 0.3s ease, color 0.3s ease;
}

.cause-card:hover .cause-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-light);
}

.cause-metric-pill {
    position: absolute;
    bottom: 22px;
    right: 18px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.22);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
}

.cause-metric-pill i {
    color: #fca5a5;
}

/* Card Body */
.cause-content {
    padding: 26px 22px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cause-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.3;
}

.cause-title a {
    color: var(--text-dark);
}

.cause-title a:hover {
    color: var(--primary);
}

.cause-tagline {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

/* Feature Pills */
.cause-feature-pills {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 18px;
    background: var(--bg-alt);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
}

.feature-pill {
    font-size: 0.84rem;
    color: var(--text-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-pill i {
    color: var(--primary);
    font-size: 0.75rem;
}

/* Progress Section */
.cause-progress-wrapper {
    margin-bottom: 20px;
}

.cause-progress-bar {
    background-color: #e4e4e7;
    height: 7px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.cause-progress-fill {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    height: 100%;
    border-radius: 4px;
}

.cause-progress-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    align-items: center;
}

.status-active {
    color: #059669;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-active i {
    font-size: 0.5rem;
}

/* Action Buttons */
.cause-card-actions {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 10px;
    margin-top: auto;
}

.btn-sm {
    padding: 9px 16px;
    font-size: 0.85rem;
    border-radius: 30px;
}

/* ==========================================================================
   IMPACT STATS SECTION
   ========================================================================== */
.stats-section, .stats-counter {
    background: linear-gradient(135deg, #0f172a 0%, #0c4a6e 60%, #0284c7 100%);
    color: var(--white);
    padding: 85px 0;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 35px 22px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.stat-item:hover {
    background: rgba(2, 132, 199, 0.12);
    transform: translateY(-8px);
    border-color: var(--primary-light);
    box-shadow: 0 15px 30px rgba(2, 132, 199, 0.25);
}

.stat-icon {
    font-size: 2.4rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.stat-item:hover .stat-icon {
    transform: scale(1.2) rotate(8deg);
    color: var(--white);
    filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.4));
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: color 0.3s ease;
}

.stat-item:hover .stat-number {
    color: var(--accent-gold);
}

.stat-name, .stat-title {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    line-height: 1.4;
}

/* ==========================================================================
   APPROACH / CORE PILLARS
   ========================================================================== */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.approach-card {
    background-color: var(--white);
    padding: 30px 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.approach-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.approach-icon {
    width: 65px;
    height: 65px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 20px;
}

.approach-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.approach-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* ==========================================================================
   TESTIMONIALS SLIDER
   ========================================================================== */
.testimonials-slider {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.testimonial-item {
    background-color: var(--white);
    padding: 40px 50px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 25px;
    position: relative;
    line-height: 1.7;
}

.testimonial-text::before {
    content: '"';
    font-family: serif;
    font-size: 4rem;
    color: rgba(185, 28, 28, 0.15);
    position: absolute;
    top: -30px;
    left: -20px;
}

.testimonial-author h4 {
    color: var(--text-dark);
    margin-bottom: 2px;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
}

/* ==========================================================================
   CTA BLOCK
   ========================================================================== */
.cta-box {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
    color: var(--white);
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
    margin-top: 40px;
    border: 1px solid rgba(255,255,255,0.1);
}

.cta-box h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.cta-box-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* ==========================================================================
   FORMS & INPUTS
   ========================================================================== */
.form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: #fafafa;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.12);
    background-color: var(--white);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-check input {
    margin-top: 4px;
}

.form-notice {
    font-size: 0.82rem;
    color: var(--text-muted);
    background-color: #f4f4f5;
    padding: 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    border-left: 3px solid var(--primary);
    line-height: 1.5;
}

.success-banner {
    background-color: #fef2f2;
    border: 1px solid #fecdd3;
    color: #9f1239;
    padding: 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.success-banner i {
    font-size: 1.8rem;
    color: var(--primary);
}

/* ==========================================================================
   POPUP MODAL
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(24, 24, 27, 0.75);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    max-width: 520px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: var(--transition);
    border-top: 6px solid var(--primary);
}

.modal-overlay.active .modal-box {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px;
}

.modal-close:hover {
    color: var(--primary);
}

.promo-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background-color: #0f172a;
    color: rgba(255,255,255,0.75);
    padding: 70px 0 25px;
    border-top: 4px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.9rem;
}

.footer-social a:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
}

.footer-links h4, .footer-contact h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--primary-light);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--primary-light);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.6);
    margin-left: 15px;
}

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

/* ==========================================================================
   ADMIN PANEL STYLES
   ========================================================================== */
.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
    background-color: #f4f4f5;
}

.admin-sidebar {
    background-color: var(--secondary);
    color: var(--white);
    padding: 30px 0;
    display: flex;
    flex-direction: column;
}

.admin-logo {
    padding: 0 25px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 20px;
}

.admin-logo h2 {
    color: var(--white);
    font-size: 1.3rem;
    margin: 0;
}

.admin-nav {
    list-style: none;
    flex-grow: 1;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

.admin-nav-link:hover, .admin-nav-item.active .admin-nav-link {
    color: var(--white);
    background-color: rgba(255,255,255,0.05);
    border-left: 4px solid var(--primary);
}

.admin-nav-link i {
    width: 20px;
}

.admin-logout {
    padding: 20px 25px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.admin-main {
    padding: 40px;
    overflow-y: auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.admin-stat-card {
    background-color: var(--white);
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-color);
}

.admin-stat-info h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.admin-stat-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.admin-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.admin-stat-icon.blue { background-color: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.admin-stat-icon.green { background-color: rgba(185, 28, 28, 0.1); color: #b91c1c; }
.admin-stat-icon.yellow { background-color: rgba(217, 119, 6, 0.1); color: #d97706; }
.admin-stat-icon.purple { background-color: rgba(139, 92, 246, 0.1); color: #8b5cf6; }

.admin-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.admin-table th, .admin-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    background-color: #fafafa;
}

.admin-table tr:hover td {
    background-color: #fafafa;
}

/* ACTION BUTTONS */
.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.action-btn-view { background-color: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.action-btn-edit { background-color: rgba(217, 119, 6, 0.1); color: #d97706; }
.action-btn-delete { background-color: rgba(185, 28, 28, 0.1); color: #b91c1c; }

.action-btn-view:hover { background-color: #3b82f6; color: var(--white); }
.action-btn-edit:hover { background-color: #d97706; color: var(--white); }
.action-btn-delete:hover { background-color: #b91c1c; color: var(--white); }

/* ==========================================================================
   RESPONSIVE & MOBILE-CENTERED STYLING
   ========================================================================== */
@media(max-width: 992px) {
    .nav-toggle {
        display: block;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--shadow-lg);
        border-top: 1px solid rgba(0,0,0,0.06);
        border-bottom: 3px solid var(--primary);
        padding: 20px 0;
        gap: 0;
        text-align: center;
    }
    
    nav.active ul {
        display: flex;
    }
    
    .nav-link {
        padding: 12px 25px;
        border-radius: 0;
        text-align: center;
    }
    
    .nav-item:hover .dropdown-menu, .nav-item.active-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        padding-left: 0;
        transform: none;
        min-width: 100%;
        background-color: var(--primary-soft);
        text-align: center;
    }

    .dropdown-item {
        text-align: center;
        padding: 10px 20px;
    }

    .dropdown-item:hover {
        padding-left: 20px;
        background-color: rgba(185, 28, 28, 0.12);
    }
    
    .causes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
}

@media(max-width: 768px) {
    /* Top Bar Mobile Centering */
    .header-top-content {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        gap: 6px;
    }

    .header-top-info {
        justify-content: center;
        gap: 12px;
        font-size: 0.8rem;
    }

    .header-top-links {
        justify-content: center;
    }

    .header-top-links a {
        margin: 0 8px;
    }

    /* Logo & Nav Alignment */
    .nav-container {
        padding: 10px 0;
    }

    .logo {
        gap: 10px;
    }

    .header-logo-img {
        height: 44px;
        width: 44px;
    }

    .logo-text h1 {
        font-size: 1.15rem;
    }

    .logo-text span {
        font-size: 0.7rem;
    }

    /* Hero Section Mobile Centering */
    .hero {
        padding: 60px 0 80px;
    }

    .hero h2 {
        font-size: 2.1rem;
    }

    .hero p {
        font-size: 1.05rem;
        margin-bottom: 25px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

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

    /* Section Headers */
    .section-header h2 {
        font-size: 1.85rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    /* Who We Are Grid */
    .who-we-are-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .who-we-are-img {
        order: -1;
    }

    .who-we-are-img img {
        height: 260px;
    }

    .who-we-are-content h3 {
        font-size: 1.5rem;
    }

    /* Cards & Grids Mobile Layout */
    .causes-grid {
        grid-template-columns: 1fr;
    }

    .cause-content {
        text-align: center;
    }

    .cause-content .btn {
        width: 100%;
    }

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-item {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Testimonials */
    .testimonial-item {
        padding: 30px 20px;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    /* CTA Section */
    .cta-box {
        padding: 40px 20px;
    }

    .cta-box h2 {
        font-size: 1.7rem;
    }

    .cta-box-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-box-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Form Layouts */
    .form-container {
        padding: 25px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }

    /* Footer Mobile Centering */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-about {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-about > div {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links h4::after, .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact p {
        justify-content: center;
        text-align: center;
    }

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

    .footer-bottom-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .footer-bottom-links a {
        margin: 0;
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        display: none;
    }
    
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 480px) {
    .hero h2 {
        font-size: 1.8rem;
    }

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

    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CHARITY ANIMATED ENHANCEMENTS
   ========================================================================== */

/* Keyframes for entrance animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseSoft {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

/* Animation utilities */
.animate-fade-in {
    opacity: 0;
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Delayed entrances */
.anim-delay-1 { animation-delay: 0.15s; }
.anim-delay-2 { animation-delay: 0.3s; }
.anim-delay-3 { animation-delay: 0.45s; }
.anim-delay-4 { animation-delay: 0.6s; }
.anim-delay-5 { animation-delay: 0.75s; }

/* Pulse badges */
.animated-badge {
    animation: pulseSoft 2.5s ease-in-out infinite;
}

/* Smooth Card Hover transitions */
.cause-card, .future-card-hover, .future-mini-card, .stat-item, .approach-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.cause-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 30px rgba(2, 132, 199, 0.15) !important;
    border-color: var(--primary) !important;
}

.future-mini-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 30px rgba(2, 132, 199, 0.15) !important;
    border-color: var(--primary) !important;
    background-color: var(--primary-soft) !important;
}

/* ==========================================================================
   RESPONSIVE UTILITY CLASSES
   ========================================================================== */
.program-details-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 45px;
}

.future-detail-card {
    display: grid;
    grid-template-columns: 80px 1fr 280px;
    gap: 30px;
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Responsive overrides */
@media(max-width: 992px) {
    .program-details-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .future-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .future-detail-card {
        grid-template-columns: 70px 1fr;
        padding: 25px;
        gap: 20px;
    }
    
    .future-detail-card .support-sidebar {
        grid-column: span 2;
        width: 100%;
        margin-top: 10px;
    }
}

@media(max-width: 768px) {
    .future-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Mobile Pop-up Modal Optimization */
    .modal-box {
        padding: 25px 20px !important;
        width: 92% !important;
        margin: 10px;
        border-radius: var(--radius-md) !important;
    }
    
    .modal-box h3 {
        font-size: 1.3rem !important;
        margin-top: 10px !important;
        margin-bottom: 8px !important;
    }
    
    .modal-box p {
        font-size: 0.85rem !important;
        margin-bottom: 18px !important;
        line-height: 1.5 !important;
    }
    
    .modal-actions {
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .modal-actions .btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 15px !important;
        font-size: 0.85rem !important;
    }
}

@media(max-width: 576px) {
    .future-detail-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 20px;
    }
    
    .future-detail-card .support-sidebar {
        grid-column: span 1;
    }
    
    .future-detail-card div:first-child {
        margin: 0 auto 10px;
    }
}

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


