/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Premium Color Palette - Modern & Trustworthy */
    --primary-color: #0F52BA;
    /* Sapphire Blue - Trust & Professionalism */
    --primary-dark: #07388A;
    /* Deep Navy - Strong Contrast */
    --primary-light: #5AA9E6;
    /* Sky Blue - Hope & Openness */

    --secondary-color: #FF9F1C;
    /* Warm Orange - Action & Optimism */
    --secondary-hover: #F28C00;

    --accent-color: #2EC4B6;
    /* Teal - Balance & Growth */
    --accent-hover: #1F9D91;

    /* Text Colors */
    --text-main: #2D3748;
    /* Softer Black for better readability */
    --text-muted: #718096;
    /* Modern Slate Grey */
    --text-light: #FFFFFF;

    /* Backgrounds */
    --bg-body: #FDFDFD;
    /* Slightly off-white for depth */
    --bg-light: #F7FAFC;
    /* Modern Cool Grey */
    --bg-card: #FFFFFF;

    /* Layout */
    --container-width: 1400px;
    --header-height: 80px;
    /* Slightly more compact */
    --border-radius: 12px;
    /* Modern rounded corners */
    --section-spacing: 5rem;

    /* Animations */
    --transition-speed: 0.3s;
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows - Soft & Layered */
    --shadow-sm: 0 2px 4px rgba(15, 82, 186, 0.08);
    --shadow-md: 0 6px 16px rgba(15, 82, 186, 0.12);
    --shadow-lg: 0 15px 30px rgba(15, 82, 186, 0.15);
    --shadow-hover: 0 20px 40px rgba(15, 82, 186, 0.2);
}

/* Base Structural Classes */
.section-full {
    width: 100%;
    padding: var(--section-spacing) 0;
    position: relative;
    overflow: hidden;
}

.section-full.alt-bg {
    background-color: var(--bg-light);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.section-title-premium {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
    text-transform: capitalize;
}

.section-title-premium::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {

    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-main);
    background-color: var(--bg-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-dark);
    line-height: 1.3;
}

/* Utilities */
.hover-scale {
    transition: transform var(--transition-speed) var(--ease-in-out);
    display: block;
}

.hover-scale:hover {
    transform: scale(1.03);
}

/* =========================================
   2. UTILITIES & TYPOGRAPHY
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title-premium {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.section-title-premium::after {
    content: '';
    display: block;
    width: 60px;
    height: 6px;
    background: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 4px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all var(--transition-speed) var(--ease-in-out);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(15, 82, 186, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(15, 82, 186, 0.4);
    color: white;
}

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

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(15, 82, 186, 0.2);
}

.btn-secondary {
    background: transparent;
    border-color: white;
    color: white;
}

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

/* Form Buttons */
.btn-reset {
    background: #6c757d;
    color: white;
}

.btn-reset:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* =========================================
   3. HEADER & NAVIGATION
   ========================================= */
/* =========================================
   3. HEADER & NAVIGATION
   ========================================= */
.header {
    background: #fff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
}

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

.nav-links ul {
    display: flex;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding: 5px 0;
    transition: color 0.2s;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 26px;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Mobile Nav */
@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

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

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.85), rgba(0, 196, 204, 0.6));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* =========================================
   5. MISSION & ABOUT (Split Layouts)
   ========================================= */
.mission,
.about {
    padding: 5rem 0;
    background-color: var(--bg-body);
}

.mission {
    background-color: var(--bg-light);
}

.mission-content,
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.text-col h3,
.text-col h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-weight: 700;
}

.text-col p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.img-col img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s ease;
}

.img-col img:hover {
    transform: scale(1.02);
}

.mission-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* About Stats Grid */
.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid #eee;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* =========================================
   6. PROJECTS (Card Grid)
   ========================================= */
.projects {
    padding: 5rem 0;
    background-color: #fff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-speed) var(--ease-in-out);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.project-category {
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    width: fit-content;
    border-radius: 0 0 12px 0;
}

.project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.project-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Finance & Progress */
.project-finance {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.finance-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    margin-top: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    width: 0%;
    /* Set inline */
}

.project-footer {
    padding-top: 1rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-ongoing {
    background: #e3f2fd;
    color: #1565c0;
}

.status-planning {
    background: #fff3e0;
    color: #e65100;
}

.status-completed {
    background: #e8f5e9;
    color: #2e7d32;
}

.btn-donate {
    font-size: 0.9rem;
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

/* =========================================
   7. MEDICAL SERVICES GRID (Resource Based)
   ========================================= */
.services-section {
    padding: 6rem 0;
    background: #f8faff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease-in-out);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
    text-align: center;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

/* =========================================
   8. MAJOR PROJECTS (PDF Resources)
   ========================================= */
.major-projects {
    padding: 6rem 0;
    background: white;
}

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

@media (max-width: 900px) {
    .project-banner-grid {
        grid-template-columns: 1fr;
    }
}

.major-project-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    color: white;
    min-height: 300px;
    display: flex;
    align-items: flex-end;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.major-project-card:hover {
    transform: translateY(-5px);
}

.major-project-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 0.5s ease;
}

.major-project-card:hover .major-project-bg {
    transform: scale(1.05);
}

.major-project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2));
    z-index: 2;
}

.major-project-content {
    position: relative;
    z-index: 3;
    padding: 2.5rem;
    width: 100%;
}

.pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
    transition: background 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

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

/* =========================================
   8. TESTIMONIALS & VIDEOS (Swiper)
   ========================================= */
.testimonials-section,
.work-videos-section {
    padding: 5rem 0;
    background: white;
    position: relative;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    margin: 1rem;
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.author-info h4 {
    color: var(--primary-color);
    font-weight: 700;
}

/* Video Cards */
.video-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
}

.video-thumbnail-container {
    position: relative;
    height: 220px;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

/* =========================================
   9. FOOTER
   ========================================= */
/* =========================================
   9. FOOTER
   ========================================= */
.site-footer {
    background: #1A202C;
    /* Darker, cooler slate */
    color: #CBD5E0;
    padding-top: 6rem;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-section img {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    background: white;
    padding: 5px;
    border-radius: 8px;
}

.footer-content h3 {
    color: white;
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.section-heading {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-menu li {
    margin-bottom: 1rem;
}

.nav-menu a {
    color: #A0AEC0;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-media {
    display: flex;
    gap: 12px;
    margin-top: 2rem;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.social-btn:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    text-align: center;
    color: #718096;
}

/* =========================================
   11. INNER PAGE HEADER
   ========================================= */
.page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    margin-bottom: 0;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 1.2rem;
    color: #e0e0e0;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    color: #b0b0b0;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--accent-color);
    font-weight: 500;
}

.breadcrumb a:hover {
    color: white;
    text-decoration: underline;
}

/* =========================================
   12. CONTACT PAGE
   ========================================= */
.contact-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    height: fit-content;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.contact-item:hover .contact-icon {
    transform: rotate(15deg);
    background: var(--primary-color);
    color: white;
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-main);
}

.contact-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border 0.3s, box-shadow 0.3s;
    background: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-light);
    outline: none;
    background: white;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: white;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-main);
    background: white;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #fcfcfc;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px 25px;
    display: none;
    color: var(--text-muted);
    line-height: 1.6;
    border-top: 1px solid #f0f0f0;
    margin-top: -10px;
    padding-top: 20px;
}

.faq-item.active .faq-answer {
    display: block;
}

/* =========================================
   13. GALLERY PAGE
   ========================================= */
.gallery-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.gallery-filter {
    text-align: center;
    margin-bottom: 3rem;
}

.filter-btn {
    background: white;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 10px 28px;
    border-radius: 30px;
    margin: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 196, 204, 0.3);
    transform: translateY(-2px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.gallery-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    border: 1px solid #eee;
}

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

.gallery-image-container {
    height: 260px;
    overflow: hidden;
    position: relative;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-info {
    padding: 1.5rem;
}

.gallery-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.gallery-category {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
}

.lightbox img {
    max-height: 80vh;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* =========================================
   14. RESPONSIVE QUERIES
   ========================================= */
@media (max-width: 1024px) {

    .objectives-grid,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-info {
        order: -1;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .mission-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    /* Reorder for mobile: Image first */
    .about-image {
        order: -1;
    }

    .projects-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .nav-menu a,
    .social-media,
    .footer-content h3,
    .footer-logo-section {
        justify-content: center;
        align-items: center;
    }

    .top-bar {
        display: none;
    }
}

/* Pulse Animation for Donate Button */
.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(15, 82, 186, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(15, 82, 186, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(15, 82, 186, 0);
    }
}