/* --- Root Variables & Base Styles --- */
:root {
    --primary: #4A148C;
    --accent: #FF6F00;
    --dark: #0f172a;
    --light: #f8fafc;
    --white: #ffffff;
    --wa-green: #25D366;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #334155; line-height: 1.6; background: var(--white); overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.bg-light { background: var(--light); }

/* --- Navigation --- */
#navbar { background: var(--white); height: 85px; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo-box { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo { height: 50px; border-radius: 5px; }
.logo-text { color: var(--primary); font-weight: 800; font-size: 0.8rem; line-height: 1.2; }
.logo-text span { color: var(--accent); }

.nav-links { display: flex; list-style: none; gap: 20px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 700; font-size: 0.9rem; }
.nav-cta { background: var(--primary); color: white !important; padding: 10px 20px; border-radius: 50px; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.bar { width: 25px; height: 3px; background: var(--primary); border-radius: 2px; }

/* --- HERO SECTION (Background Image Restored) --- */
.hero { 
    height: 85vh; 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: var(--white); 
    /* The core background image request */
    background: url('photos/widows blessed with food items.jpeg') center/cover no-repeat;
}
.hero-overlay { 
    position: absolute; 
    inset: 0; 
    background: rgba(0, 0, 0, 0.7); /* Darkens the image so text is readable */
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 20px; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: 20px; }
.text-accent { color: var(--accent); }
.btn-hero-main { background: var(--primary); color: white; padding: 18px 40px; border-radius: 50px; text-decoration: none; font-weight: 800; display: inline-block; transition: var(--transition); }
.btn-hero-main:hover { background: var(--accent); transform: translateY(-3px); }

/* --- Purpose Grid --- */
.purpose-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.purpose-card { background: white; padding: 40px; border-radius: 20px; text-align: center; box-shadow: var(--shadow); }
.card-icon-wrap { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; }

/* --- Staggered Layout --- */
.stagger-block { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 60px; }
.stagger-block.reverse { direction: rtl; }
.stagger-block.reverse .stagger-info { direction: ltr; }
.stagger-stat { font-size: 4rem; font-weight: 900; color: var(--primary); opacity: 0.15; }
.stagger-frame img { width: 100%; height: 400px; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }

/* --- Support Box & Form --- */
.support-box { background: white; padding: 40px; border-radius: 25px; box-shadow: var(--shadow); max-width: 800px; margin: 0 auto; }
.input-group { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.field-wrap { position: relative; }
.field-wrap i { position: absolute; left: 15px; top: 18px; color: var(--primary); }
.field-wrap input { width: 100%; padding: 15px 15px 15px 45px; border: 1px solid #ddd; border-radius: 10px; }
.tier-flex { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.t-btn { flex: 1; min-width: 90px; padding: 15px; border: 2px solid #eee; background: white; border-radius: 10px; font-weight: 800; color: var(--primary); cursor: pointer; }
.t-btn.active { background: var(--primary); color: white; border-color: var(--primary); }
.submit-button { width: 100%; padding: 20px; background: var(--wa-green); color: white; border: none; border-radius: 50px; font-weight: 800; cursor: pointer; margin-top: 20px; }

/* --- Gallery --- */
.gallery-hidden { display: none !important; }
.gallery-wrapper { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 30px; }
.gallery-card img { width: 100%; height: 250px; object-fit: cover; border-radius: 15px; }

/* --- Bank Card --- */
.institutional-card { max-width: 500px; margin: 0 auto; background: white; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.card-head { background: var(--primary); color: white; padding: 30px; text-align: center; }
.detail-row { display: flex; justify-content: space-between; padding: 15px 25px; border-bottom: 1px solid #eee; }
.detail-row.highlight { background: #f8f0ff; flex-direction: column; align-items: center; padding: 25px; }
.detail-row.highlight strong { font-size: 1.8rem; color: var(--primary); }
.copy-trigger { background: none; border: 1px dashed var(--primary); color: var(--primary); padding: 8px 15px; border-radius: 5px; cursor: pointer; margin-top: 10px; font-weight: 700; }
.btn-wa-confirm { display: block; text-align: center; background: var(--wa-green); color: white; padding: 20px; text-decoration: none; font-weight: 800; }

/* --- Footer --- */
.main-footer { background: var(--dark); color: white; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.social-icons { display: flex; gap: 15px; margin-top: 15px; }
.social-icons a { width: 50px; height: 50px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem; transition: 0.3s; text-decoration: none; }
.social-icons a:hover { background: var(--primary); transform: translateY(-5px); }
.footer-legal { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; }

/* --- Mobile Specifics --- */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background: var(--wa-green); color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; z-index: 999; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .nav-links { 
        position: fixed; top: 85px; right: -100%; width: 100%; height: calc(100vh - 85px); 
        background: white; flex-direction: column; padding: 40px; transition: 0.3s; 
    }
    .nav-links.active { right: 0; }
    .stagger-block, .stagger-block.reverse { grid-template-columns: 1fr; text-align: center; }
    .input-group { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-icons { justify-content: center; }
}