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

:root {
    --primary: #1a3a5c;
    --primary-dark: #0f2540;
    --accent: #c8a84b;
    --accent-light: #e8c96a;
    --text: #2d2d2d;
    --text-light: #666;
    --bg-light: #f8f6f0;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.12);
    --radius: 12px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

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

/* ===== HEADER ===== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(26, 58, 92, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}
.header-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { font-size: 32px; color: var(--accent); }
.logo-text { display: flex; flex-direction: column; }
.logo-main { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--white); line-height: 1.2; }
.logo-sub { font-size: 11px; color: var(--accent-light); letter-spacing: 0.5px; }
.nav { display: flex; gap: 32px; }
.nav a { color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 600; letter-spacing: 0.5px; transition: color 0.2s; text-transform: uppercase; }
.nav a:hover { color: var(--accent-light); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.btn-donate {
    background: var(--accent); color: var(--primary-dark);
    border: none; padding: 9px 20px; border-radius: 6px;
    font-weight: 700; font-size: 13px; cursor: pointer;
    transition: all 0.2s; text-transform: uppercase; letter-spacing: 0.5px;
}
.btn-donate:hover { background: var(--accent-light); transform: translateY(-1px); }
.btn-join {
    background: transparent; color: var(--white);
    border: 2px solid rgba(255,255,255,0.5); padding: 8px 18px;
    border-radius: 6px; font-weight: 600; font-size: 13px;
    cursor: pointer; transition: all 0.2s; text-transform: uppercase;
}
.btn-join:hover { border-color: var(--accent-light); color: var(--accent-light); }
.hamburger { display: none; background: none; border: none; color: var(--white); font-size: 24px; cursor: pointer; }

/* ===== MOBILE MENU ===== */
.mobile-menu-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 1100; }
.mobile-menu {
    position: fixed; top: 0; right: -300px; width: 280px; height: 100vh;
    background: var(--primary-dark); z-index: 1200;
    display: flex; flex-direction: column; padding: 80px 32px 32px;
    gap: 8px; transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.4);
}
.mobile-menu.open { right: 0; }
.mobile-menu-overlay.open { display: block; }
.mobile-menu-close {
    position: absolute; top: 20px; right: 20px;
    background: none; border: none; color: var(--white); font-size: 22px; cursor: pointer;
}
.mobile-menu a { color: rgba(255,255,255,0.85); font-size: 16px; font-weight: 600; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.btn-donate-mobile {
    margin-top: 16px; background: var(--accent); color: var(--primary-dark);
    border: none; padding: 14px; border-radius: 8px;
    font-weight: 700; font-size: 15px; cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(15,37,64,0.88) 0%, rgba(26,58,92,0.75) 50%, rgba(200,168,75,0.3) 100%);
    z-index: 1;
}
.hero-content {
    position: relative; z-index: 2;
    text-align: center; color: var(--white);
    max-width: 800px; padding: 0 24px;
}
.hero-content h1 {
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 700; line-height: 1.15;
    margin-bottom: 24px; text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-content h1 span { color: var(--accent-light); display: block; }
.hero-content p {
    font-size: clamp(16px, 2vw, 20px);
    opacity: 0.9; margin-bottom: 40px; line-height: 1.7;
    font-weight: 300;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
    background: var(--accent); color: var(--primary-dark);
    border: none; padding: 16px 36px; border-radius: 8px;
    font-weight: 700; font-size: 15px; cursor: pointer;
    transition: all 0.3s; text-transform: uppercase; letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(200,168,75,0.4);
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,168,75,0.5); }
.btn-secondary {
    background: transparent; color: var(--white);
    border: 2px solid rgba(255,255,255,0.7); padding: 14px 34px;
    border-radius: 8px; font-weight: 600; font-size: 15px;
    cursor: pointer; transition: all 0.3s; text-transform: uppercase; letter-spacing: 1px;
}
.btn-secondary:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

/* ===== SECTION LABELS ===== */
.section-label {
    display: inline-block; font-size: 12px; font-weight: 700;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--accent); margin-bottom: 12px;
}
.section-label.light { color: var(--accent-light); }

/* ===== ABOUT ===== */
.about { padding: 100px 0; background: var(--bg-light); }
.about h2 { font-size: clamp(32px, 4vw, 48px); color: var(--primary); margin-bottom: 20px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-content { }
.lead { font-size: 18px; line-height: 1.8; color: var(--text); margin-bottom: 32px; }
.mission-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.mission-box, .vision-box {
    background: var(--white); padding: 24px; border-radius: var(--radius);
    box-shadow: var(--shadow); border-left: 4px solid var(--accent);
}
.mission-box h3, .vision-box h3 { font-size: 17px; color: var(--primary); margin-bottom: 10px; }
.mission-box p, .vision-box p { font-size: 14px; line-height: 1.7; color: var(--text-light); }
.why-box {
    background: var(--primary); color: var(--white);
    padding: 28px; border-radius: var(--radius);
}
.why-box h3 { font-size: 20px; margin-bottom: 12px; color: var(--accent-light); }
.why-box p { font-size: 15px; line-height: 1.7; opacity: 0.9; }
.about-images { display: flex; flex-direction: column; gap: 16px; }
.about-img-main { border-radius: var(--radius); height: 320px; object-fit: cover; box-shadow: var(--shadow); }
.about-img-secondary { border-radius: var(--radius); height: 200px; object-fit: cover; box-shadow: var(--shadow); }

/* ===== EVENTS ===== */
.events { padding: 100px 0; background: var(--primary-dark); color: var(--white); }
.events h2 { font-size: clamp(32px, 4vw, 48px); color: var(--white); margin-bottom: 48px; text-align: center; }
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 64px; }
.event-card { background: rgba(255,255,255,0.05); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,0.1); transition: transform 0.3s; }
.event-card:hover { transform: translateY(-6px); }
.event-card img { width: 100%; height: 200px; object-fit: cover; }
.event-card-content { padding: 24px; }
.event-tag { background: var(--accent); color: var(--primary-dark); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px; }
.event-card-content h3 { font-size: 20px; margin: 12px 0 8px; color: var(--white); }
.event-card-content p { font-size: 14px; line-height: 1.6; opacity: 0.8; }
.event-time { margin-top: 12px; font-size: 13px; color: var(--accent-light); font-weight: 600; }
.involvement-section { text-align: center; }
.involvement-section h3 { font-size: 32px; margin-bottom: 36px; color: var(--accent-light); }
.involvement-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.involvement-item { background: rgba(255,255,255,0.05); padding: 32px 24px; border-radius: var(--radius); border: 1px solid rgba(200,168,75,0.2); }
.involvement-icon { font-size: 40px; margin-bottom: 16px; }
.involvement-item h4 { font-size: 18px; margin-bottom: 12px; color: var(--accent-light); }
.involvement-item p { font-size: 14px; line-height: 1.7; opacity: 0.8; }

/* ===== CONTACT SECTION ===== */
.contact-section { padding: 80px 0; background: var(--accent); text-align: center; }
.contact-section h2 { font-size: 42px; color: var(--primary-dark); margin-bottom: 16px; }
.section-desc { font-size: 18px; color: var(--primary); margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.btn-contact-main {
    background: var(--primary-dark); color: var(--white);
    border: none; padding: 18px 48px; border-radius: 8px;
    font-weight: 700; font-size: 16px; cursor: pointer;
    transition: all 0.3s; text-transform: uppercase; letter-spacing: 1px;
}
.btn-contact-main:hover { background: var(--primary); transform: translateY(-2px); }

/* ===== FOOTER ===== */
.footer { background: #0a1a2e; color: rgba(255,255,255,0.85); padding: 64px 0 0; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.footer-col h4 { font-size: 16px; color: var(--accent-light); margin-bottom: 20px; font-family: 'Playfair Display', serif; letter-spacing: 0.5px; }
.footer-col p { font-size: 14px; line-height: 1.8; margin-bottom: 10px; }
.footer-col strong { color: var(--accent-light); }
.footer-email { color: var(--accent-light); font-size: 15px; font-weight: 600; word-break: break-all; }
.footer-email:hover { color: var(--white); }
.legal-badge { background: rgba(200,168,75,0.15); border: 1px solid var(--accent); color: var(--accent-light); padding: 10px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; margin-bottom: 16px !important; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent-light); }
.footer-logo-small { display: flex; align-items: center; gap: 10px; margin-top: 24px; }
.logo-icon-small { font-size: 28px; color: var(--accent); }
.footer-logo-small span { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.4; }
.footer-bottom {
    max-width: 1200px; margin: 48px auto 0;
    padding: 20px 24px; border-top: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; opacity: 0.6; }
.scroll-top {
    background: var(--accent); color: var(--primary-dark);
    border: none; padding: 8px 18px; border-radius: 6px;
    font-weight: 700; font-size: 13px; cursor: pointer; transition: all 0.2s;
}
.scroll-top:hover { background: var(--accent-light); }

/* ===== MODALS ===== */
.modal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.7); z-index: 2000;
    align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
    background: var(--white); border-radius: 16px;
    padding: 40px; max-width: 520px; width: 100%;
    position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    animation: modalIn 0.3s ease;
}
.modal-small { max-width: 400px; text-align: center; }
@keyframes modalIn { from { opacity: 0; transform: translateY(-20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-close {
    position: absolute; top: 16px; right: 16px;
    background: none; border: none; font-size: 20px;
    cursor: pointer; color: var(--text-light); transition: color 0.2s;
}
.modal-close:hover { color: var(--text); }
.modal h3 { font-size: 28px; color: var(--primary); margin-bottom: 8px; }
.modal p { font-size: 15px; color: var(--text-light); margin-bottom: 24px; line-height: 1.6; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 12px 16px; border: 2px solid #e0e0e0;
    border-radius: 8px; font-size: 15px; font-family: 'Open Sans', sans-serif;
    transition: border-color 0.2s; outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { height: 120px; resize: vertical; }
.btn-submit {
    width: 100%; background: var(--primary); color: var(--white);
    border: none; padding: 16px; border-radius: 8px;
    font-weight: 700; font-size: 15px; cursor: pointer;
    transition: all 0.3s; text-transform: uppercase; letter-spacing: 1px;
}
.btn-submit:hover { background: var(--primary-dark); }
.thank-you-icon {
    width: 64px; height: 64px; background: #27ae60;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: white; margin: 0 auto 20px; font-weight: bold;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .events-grid { grid-template-columns: repeat(2, 1fr); }
    .involvement-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav { display: none; }
    .btn-join { display: none; }
    .hamburger { display: block; }
    .mission-vision { grid-template-columns: 1fr; }
    .events-grid { grid-template-columns: 1fr; }
    .involvement-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn-primary, .btn-secondary { width: 100%; max-width: 280px; }
}
