/* ============================================
   ROOT VARIABLES - VIBRANT COLOR PALETTE
   ============================================ */
:root {
    /* Primary Brand Colors - Vibrant and Energetic */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #ec4899;
    --secondary-dark: #db2777;
    --accent-color: #f59e0b;
    
    /* Neutral Colors */
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --white: #ffffff;
    --text-dark: #111827;
    --text-light: #6b7280;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-warm: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-cool: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-color: 0 8px 30px rgba(99, 102, 241, 0.3);
    
    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-lg);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

/* ============================================
   TOP BAR - RESPONSIVE
   ============================================ */
.top-bar {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info i {
    font-size: 12px;
}

.language-switcher a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition-base);
}

.language-switcher a:hover,
.language-switcher a.active {
    opacity: 1;
    font-weight: 600;
}

/* ============================================
   NAVIGATION - MODERN & MOBILE-FRIENDLY
   ============================================ */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    z-index: 1001;
}

.logo img {
    height: 50px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-toggle {
    display: none;
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    font-size: 24px;
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-base);
    z-index: 1001;
}

.mobile-toggle:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}

.nav-menu a {
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    transition: var(--transition-base);
    display: block;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
}

.btn-donate {
    background: var(--gradient-warm) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-lg) !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(250, 112, 154, 0.3);
}

.btn-donate:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(250, 112, 154, 0.4) !important;
}

.btn-volunteer {
    background: var(--gradient-cool) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-lg) !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.btn-volunteer:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4) !important;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   HERO SECTION - OPTIMIZED
   ============================================ */
 /* Hero Section - Fixed with Reduced Size */
.hero {
    position: relative;
    width: 100%;
    height: 600px; /* Reduced height */
    overflow: hidden;
    margin-top: 0;
}

.hero-slider {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: none;
}

.hero-slide.active {
    display: block;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.5) 0%, rgba(168, 85, 247, 0.5) 100%);
    z-index: 1;
}


.hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
    text-align: center;
    color: white;
    padding: 20px;
}

/* Force ALL text in hero section to be white */
.hero-content *,
.hero-content h1,
.hero-content h2,
.hero-content h3,
.hero-content h4,
.hero-content h5,
.hero-content h6,
.hero-content p,
.hero-content span,
.hero-content div {
    color: white !important;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-content h2,
.hero-content h3,
.hero-content h4,
.hero-content h5,
.hero-content h6 {
    color: white !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-block;
    min-width: 160px;
}

.hero-buttons .btn-primary {
    background: white !important;
    color: #7c3aed !important;
    border: none;
}

.hero-buttons .btn-primary:hover {
    background: #f3f4f6 !important;
    color: #7c3aed !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-secondary {
    background: transparent !important;
    color: white !important;
    border: 2px solid white;
}

.hero-buttons .btn-secondary:hover {
    background: white !important;
    color: #7c3aed !important;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 350px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 200px;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 320px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}
/* ============================================
   SECTION STYLES
   ============================================ */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-color);
    margin: 10px 0;
}

.stat-card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* ============================================
  /* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    cursor: pointer; /* Make it clear the card is clickable */
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-base);
    pointer-events: none; /* CRITICAL: Don't block clicks */
}
.service-card:hover::before {
    opacity: 0.05;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}
.service-icon {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: inline-block;
    pointer-events: none; /* Don't block clicks */
}
.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    pointer-events: none; /* Don't block clicks */
}
.service-card p {
    margin-bottom: 20px;
    line-height: 1.7;
    pointer-events: none; /* Don't block clicks */
}
.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 10; /* Make sure link is on top */
    pointer-events: auto; /* Ensure link is clickable */
    cursor: pointer;
}
.service-link:hover {
    gap: 12px;
}

/* ============================================
   ACTIVITIES SECTION
   ============================================ */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.activity-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.activity-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.activity-card:hover .activity-image img {
    transform: scale(1.1);
}

.activity-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.activity-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.activity-date .month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-top: 4px;
}

.activity-content {
    padding: 30px;
}

.activity-content h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.cta-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 50px 40px;
    border-radius: var(--radius-xl);
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-base);
}

.cta-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-10px);
}

.cta-icon {
    font-size: 4rem;
    margin-bottom: 25px;
}

.cta-card h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 250px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.blog-meta i {
    margin-right: 5px;
}

.blog-content h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

/* ============================================
   CERTIFICATE SECTION
   ============================================ */
.certificate-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

.certificate-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.certificate-icon {
    font-size: 4rem;
}

.certificate-content h3 {
    color: var(--white);
    margin-bottom: 15px;
}

.certificate-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin-bottom: 10px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-base);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-list i {
    margin-top: 5px;
    color: var(--primary-light);
}

.certificates {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-color);
}

.certificates i {
    color: var(--accent-color);
    margin-right: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin-bottom: 5px;
}

.footer-bottom i {
    color: #e74c3c;
    margin: 0 5px;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    z-index: 998;
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(99, 102, 241, 0.4);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.hide-mobile {
    display: block;
}

.show-mobile {
    display: none;
}

/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */
@media (max-width: 768px) {
    /* TOP BAR - HIDE ON MOBILE */
    .top-bar {
        display: none;
    }
    
    /* MOBILE NAVIGATION */
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
        overflow-y: auto;
        gap: 0;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .nav-menu a {
        width: 100%;
        padding: 15px 20px;
        border-radius: var(--radius-sm);
    }
    
    .btn-donate,
    .btn-volunteer {
        margin-top: 10px;
        padding: 15px 20px !important;
    }
    
    /* CONTAINER */
    .container {
        padding: 0 15px;
    }
    
    /* SECTIONS */
    section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    /* HERO SECTION */
    .hero {
        min-height: 500px;
    }
    
    .hero-content {
        padding: 40px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons .btn {
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-overlay {
        background: linear-gradient(135deg, rgba(124, 58, 237, 0.4) 0%, rgba(168, 85, 247, 0.4) 100%);
    }
    
    /* Ensure image is properly sized */
    .hero-slide img {
        object-fit: cover;
        object-position: center center;
        min-height: 100%;
    }
}

@media (max-width: 576px) {
    .hero-overlay {
        background: linear-gradient(135deg, rgba(124, 58, 237, 0.4) 0%, rgba(168, 85, 247, 0.4) 100%);
    }
}
/* STATS GRID */
.stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stat-card {
    padding: 25px 15px;
}

.stat-icon {
    font-size: 2.5rem;
}

/* SERVICES, ACTIVITIES, BLOG */
.services-grid,
.activities-grid,
.blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
}

.service-card,
.activity-content,
.blog-content {
    padding: 25px 20px;
}

.activity-image,
.blog-image {
    height: 220px;
}

/* CTA SECTION */
.cta-grid {
    grid-template-columns: 1fr;
    gap: 25px;
}

.cta-card {
    padding: 40px 25px;
}

.cta-icon {
    font-size: 3.5rem;
}

/* CERTIFICATE */
.certificate-box {
    flex-direction: column;
    text-align: center;
    padding: 35px 20px;
}

.certificate-icon {
    font-size: 3.5rem;
}

/* FOOTER */
.footer {
    padding: 50px 0 20px;
}

.footer-content {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: center;
}

.social-links,
.contact-list li {
    justify-content: center;
}

/* BACK TO TOP */
.back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
}

/* UTILITY */
.hide-mobile {
    display: none !important;
}

.show-mobile {
    display: block !important;
}
}

/* ============================================
   MOBILE & TABLET RESPONSIVE - CONTINUATION
   ============================================ */

@media (max-width: 768px) {
    /* STATS GRID */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-card {
        padding: 25px 15px;
    }
    
    .stat-icon {
        font-size: 2.5rem;
    }
    
    /* SERVICES, ACTIVITIES, BLOG */
    .services-grid,
    .activities-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card,
    .activity-content,
    .blog-content {
        padding: 25px 20px;
    }
    
    .activity-image,
    .blog-image {
        height: 220px;
    }
    
    /* CTA SECTION */
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .cta-card {
        padding: 40px 25px;
    }
    
    .cta-icon {
        font-size: 3.5rem;
    }
    
    /* CERTIFICATE */
    .certificate-box {
        flex-direction: column;
        text-align: center;
        padding: 35px 20px;
    }
    
    .certificate-icon {
        font-size: 3.5rem;
    }
    
    /* FOOTER */
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    
    .social-links,
    .contact-list li {
        justify-content: center;
    }
    
    /* BACK TO TOP */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    /* UTILITY */
    .hide-mobile {
        display: none !important;
    }
    
    .show-mobile {
        display: block !important;
    }
}

/* SMALL MOBILE - 480px and below */
@media (max-width: 480px) {
    .logo img {
        height: 40px;
    }
    
    .hero {
        min-height: 450px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .nav-menu {
        width: 100%;
        max-width: 320px;
    }
}

/* TABLET - 769px to 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-menu {
        gap: 3px;
    }
    
    .nav-menu a {
        font-size: 14px;
        padding: 10px 14px;
    }
    
    .btn-donate,
    .btn-volunteer {
        padding: 10px 18px !important;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

a:focus,
button:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 80px 0 60px;
    text-align: center;
}

.page-header h1 {
    color: var(--white) !important;
    margin-bottom: 15px;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Force ALL text in page header to be white */
.page-header *,
.page-header h1,
.page-header h2,
.page-header h3,
.page-header p,
.page-header span,
.page-header div {
    color: var(--white) !important;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin: 0 auto;
}
 ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}


/* ============================================
   RESOURCE PAGES - CIVIC SENSE AND OTHER TOPICS
   ============================================ */

/* Content Section */
.content-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: #e9ecef;
    color: #333;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 40px;
}

.back-button:hover {
    background: var(--primary-color);
    color: #ffffff;
}

/* Introduction Section */
.intro-section {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.intro-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.intro-section p {
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

/* Key Points Section */
.key-points {
    background: #f0f7ff;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.key-points h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.key-points ul {
    list-style: none;
    padding: 0;
}

.key-points li {
    padding: 15px 0;
    padding-left: 35px;
    position: relative;
    border-bottom: 1px solid #dee2e6;
    font-size: 1.05rem;
    color: #333;
}

.key-points li:last-child {
    border-bottom: none;
}

.key-points li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1.4rem;
}

.key-points li strong {
    color: var(--primary-color);
}

/* Language Selection Section */
.language-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 60px 50px;
    border-radius: 15px;
    text-align: center;
    color: #ffffff;
}

.language-section h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 2rem;
}

.language-section > p {
    margin-bottom: 40px;
    font-size: 1.15rem;
    color: rgba(255,255,255,0.95);
}

.language-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.lang-btn {
    padding: 18px 50px;
    background: #ffffff;
    color: var(--primary-color);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.lang-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    background: #f8f9fa;
}

.lang-btn i {
    font-size: 1.4rem;
}

/* Responsive Styles for Resource Pages */
@media (max-width: 768px) {
    .content-section {
        padding: 40px 0;
    }
    
    .intro-section,
    .key-points,
    .language-section {
        padding: 25px;
    }
    
    .intro-section h2 {
        font-size: 1.5rem;
    }
    
    .key-points h3 {
        font-size: 1.3rem;
    }
    
    .language-section h3 {
        font-size: 1.5rem;
    }
    
    .language-section > p {
        font-size: 1rem;
    }
    
    .language-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .lang-btn {
        width: 100%;
        justify-content: center;
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}


* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 992px) {
    .hero {
        height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .page-header {
        padding: 60px 0 50px;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 450px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 200px;
    }
    
    .page-header {
        padding: 50px 0 40px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header p {
        font-size: 1rem;
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .page-header {
        padding: 40px 0 30px;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .page-header p {
        font-size: 0.95rem;
    }
}