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

:root {
    --primary: #1e3c72;
    --secondary: #2a5298;
    --accent: #4fc3f7;
    --light: #e3f2fd;
    --white: #ffffff;
    --text: #2d3748;
    --text-light: #718096;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Merriweather', serif;
    line-height: 1.3;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--primary);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
    gap: 1rem;
}

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

.logo-icon {
    font-size: 2rem;
    color: var(--accent);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: 'Merriweather', serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.75rem;
    opacity: 0.8;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.nav a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

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

.btn-donate {
    background: #e53e3e;
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-donate:hover {
    background: #c53030;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    transition: var(--transition);
}

/* ===== MOBILE MENU ===== */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--primary);
    z-index: 1002;
    padding: 2rem 1.5rem;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.open {
    right: 0;
}

.mobile-overlay.open {
    display: block;
}

.mobile-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    margin-bottom: 2rem;
    display: block;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-link {
    display: block;
    color: white;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.mobile-donate {
    background: #e53e3e;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 1rem;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 700px;
    padding: 4rem 20px;
}

.hero-tag {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

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

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid white;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

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

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: white;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary);
    display: block;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--primary);
    margin-bottom: 1rem;
}

.divider {
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 0 auto;
    border-radius: 2px;
}

/* ===== ABOUT ===== */
.about {
    padding: 5rem 0;
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-intro {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.mv-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
}

.mv-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.mv-card h3 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.mv-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.why-exist {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent);
}

.why-exist h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.why-exist p {
    color: var(--text-light);
    line-height: 1.7;
}

.about-image-wrap {
    position: relative;
}

.about-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    background: var(--primary);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* ===== EVENTS ===== */
.events {
    padding: 5rem 0;
    background: white;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.event-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.event-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.event-card:hover .event-img-wrap img {
    transform: scale(1.05);
}

.event-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.event-body {
    padding: 1.5rem;
}

.event-body h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.event-time {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.event-body p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Volunteer & Donate */
.volunteer-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--light);
    padding: 3rem;
    border-radius: 12px;
}

.volunteer-text h3,
.donate-section h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.volunteer-text p,
.donate-section p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.volunteer-list {
    list-style: none;
    margin-bottom: 2rem;
}

.volunteer-list li {
    padding: 0.5rem 0;
    color: var(--text);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}

.donate-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.donate-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-size: 0.9rem;
    font-weight: 600;
}

.donate-icon {
    font-size: 1.2rem;
}

.btn-donate-large {
    display: inline-block;
    background: #e53e3e;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-donate-large:hover {
    background: #c53030;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(229, 62, 62, 0.4);
}

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

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

.contact-info h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.info-item strong {
    display: block;
    color: var(--primary);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-item p, .info-item a {
    color: var(--text-light);
    font-size: 0.95rem;
}

.info-item a:hover {
    color: var(--primary);
}

.contact-form-wrap {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.contact-form-wrap h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px #4fc3f740;
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Open Sans', sans-serif;
}

.btn-submit:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary);
    color: white;
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-family: 'Merriweather', serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-logo-icon {
    font-size: 1.8rem;
    color: var(--accent);
}

.footer-desc {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.footer-info li {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
}

.footer-info strong {
    display: block;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.footer-info a {
    color: var(--accent);
}

.legal-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.legal-box p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.legal-box p:last-child {
    margin-bottom: 0;
}

.ein-display {
    font-size: 1rem !important;
    color: var(--accent) !important;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    margin-bottom: 1.5rem;
}

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

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

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

.footer-social {
    display: flex;
    gap: 0.75rem;
}

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

.footer-social a:hover {
    background: var(--accent);
    color: var(--primary);
}

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

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

.scroll-top-btn {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.scroll-top-btn:hover {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
}

/* ===== MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.modal-icon {
    width: 70px;
    height: 70px;
    background: #48bb78;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.modal h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.modal p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrap {
        order: -1;
    }
    
    .about-img {
        height: 350px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .volunteer-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .btn-donate {
        display: none;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-btns {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        text-align: center;
    }
    
    .contact-form-wrap {
        padding: 1.5rem;
    }
    
    .volunteer-section {
        padding: 2rem 1.5rem;
    }
}
