/* ============================================================
   ANIELI FOUNDATION — Custom Styles
   Colors: #1B737D (primary) · #49B8C3 (accent) · Black · White
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

:root {
  --primary:       #1B737D;
  --primary-dark:  #145d66;
  --primary-light: rgba(27,115,125,0.09);
  --accent:        #49B8C3;
  --black:         #0A0A0A;
  --white:         #FFFFFF;
  --gray:          #6B7280;
  --gray-light:    #F7FAFB;
  --border:        #E5E7EB;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--black); background: #fff; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; line-height: 1.2; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }
ul { list-style: none; }

/* ---- NAVBAR ---- */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 9000; background: rgba(255,255,255,0.97); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(0,0,0,0.07); transition: box-shadow 0.3s; }
#navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.1); }
.nav-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; height: 76px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 48px; width: auto; }
.logo-title { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 1.15rem; color: var(--primary); line-height: 1; }
.logo-sub { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.22em; color: var(--gray); text-transform: uppercase; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-link { position: relative; font-weight: 500; font-size: 0.92rem; color: #1f2937; padding-bottom: 3px; transition: color 0.3s; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); border-radius: 2px; transition: width 0.3s; }
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-nav { display: inline-flex; align-items: center; background: var(--primary); color: #fff; padding: 10px 22px; border-radius: 50px; font-weight: 600; font-size: 0.88rem; border: 2px solid var(--primary); transition: all 0.3s; }
.btn-nav:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(27,115,125,0.3); }
#menu-btn { display: none; background: none; border: none; cursor: pointer; color: var(--black); padding: 4px; }
#mobile-menu { display: none; flex-direction: column; position: fixed; top: 76px; left: 0; right: 0; background: #fff; padding: 16px 24px 28px; box-shadow: 0 15px 50px rgba(0,0,0,0.12); z-index: 8999; border-top: 3px solid var(--primary); }
#mobile-menu.open { display: flex; }
.mobile-nav-link { color: #1f2937; font-weight: 500; padding: 13px 0; border-bottom: 1px solid #f3f4f6; transition: color 0.3s; }
.mobile-nav-link:hover { color: var(--primary); }

/* ---- BUTTONS ---- */
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--primary); color: #fff; padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 0.95rem; border: 2px solid var(--primary); cursor: pointer; transition: all 0.3s; font-family: 'DM Sans', sans-serif; }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(27,115,125,0.35); }
.btn-outline-white { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: transparent; color: #fff; padding: 13px 30px; border-radius: 50px; font-weight: 600; font-size: 0.95rem; border: 2px solid rgba(255,255,255,0.8); cursor: pointer; transition: all 0.3s; }
.btn-outline-white:hover { background: #fff; color: var(--primary); transform: translateY(-2px); }
.btn-whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #25D366; color: #fff; padding: 17px 40px; border-radius: 50px; font-weight: 700; font-size: 1.08rem; border: none; cursor: pointer; transition: all 0.3s; box-shadow: 0 6px 24px rgba(37,211,102,0.35); font-family: 'DM Sans', sans-serif; }
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-3px); box-shadow: 0 12px 36px rgba(37,211,102,0.5); }

/* ---- SECTION HELPERS ---- */
.section-tag { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; padding: 6px 16px; border-radius: 50px; margin-bottom: 14px; }
.section-tag.light { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }
.section-title { font-size: clamp(1.9rem, 3.5vw, 2.75rem); font-weight: 700; color: var(--black); }
.section-title.white { color: #fff; }
.section-divider { width: 52px; height: 4px; background: var(--primary); border-radius: 2px; margin: 14px 0 20px; }
.section-divider.accent { background: var(--accent); }
.section-divider.white { background: rgba(255,255,255,0.55); }
.section-body { font-size: 1rem; line-height: 1.8; color: var(--gray); max-width: 580px; }
.section-body.white { color: rgba(255,255,255,0.78); }
.section-wrapper { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---- HERO ---- */
.hero-section { min-height: 100vh; background-image: linear-gradient(135deg, rgba(27,115,125,0.82) 0%, rgba(0,0,0,0.75) 100%), url('../assets/images/hero.jpg'); background-size: cover; background-position: center top; background-attachment: fixed; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px 24px 80px; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.3); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; padding: 7px 20px; border-radius: 50px; margin-bottom: 24px; }
.hero-title { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 900; color: #fff; line-height: 1.15; margin-bottom: 20px; }
.hero-title span { color: var(--accent); }
.hero-text { font-size: 1.1rem; color: rgba(255,255,255,0.85); line-height: 1.75; margin-bottom: 40px; max-width: 620px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- PAGE HERO ---- */
.page-hero { min-height: 400px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px 24px 60px; }
.page-hero.about-bg { background-image: linear-gradient(rgba(27,115,125,0.78), rgba(0,0,0,0.68)), url('../assets/images/about-hero.jpg'); }
.page-hero.programs-bg { background-image: linear-gradient(rgba(0,0,0,0.65), rgba(27,115,125,0.75)), url('../assets/images/programs-hero.jpg'); }
.page-hero.contact-bg { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); }
.page-hero-title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; color: #fff; margin-bottom: 14px; }
.page-hero-sub { font-size: 1rem; color: rgba(255,255,255,0.82); max-width: 480px; line-height: 1.7; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 18px; font-size: 0.84rem; color: rgba(255,255,255,0.65); }
.breadcrumb a { color: var(--accent); transition: color 0.2s; }
.breadcrumb a:hover { color: #fff; }

/* ---- ABOUT PREVIEW ---- */
.about-preview { padding: 100px 0; background: #fff; }
.about-preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-preview-img { border-radius: 20px; overflow: hidden; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.14); }
.about-preview-img img { width: 100%; height: 480px; object-fit: cover; }
.about-tag-box { position: absolute; bottom: 28px; left: 28px; background: var(--primary); color: #fff; padding: 16px 22px; border-radius: 14px; box-shadow: 0 8px 28px rgba(27,115,125,0.4); }
.about-tag-box .atb-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 900; line-height: 1; }
.about-tag-box .atb-text { font-size: 0.8rem; opacity: 0.88; margin-top: 3px; }

/* ---- PROGRAMS ---- */
.programs-section { padding: 100px 0; background: var(--gray-light); }
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 60px; }
.program-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.07); transition: all 0.4s; }
.program-card:hover { transform: translateY(-10px); box-shadow: 0 24px 60px rgba(0,0,0,0.14); }
.program-card-img { overflow: hidden; height: 230px; }
.program-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.program-card:hover .program-card-img img { transform: scale(1.07); }
.program-card-body { padding: 28px 28px 32px; }
.program-card-tag { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 12px; border-radius: 50px; margin-bottom: 12px; }
.program-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--black); margin-bottom: 10px; }
.program-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.75; margin-bottom: 20px; }
.program-card-link { color: var(--primary); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.3s; }
.program-card-link:hover { gap: 10px; }

/* ---- WHY SECTION [bg #1B737D] ---- */
.why-section { padding: 100px 0; background: var(--primary); position: relative; overflow: hidden; }
.why-section::before { content: ''; position: absolute; top: -80px; right: -80px; width: 350px; height: 350px; background: rgba(255,255,255,0.04); border-radius: 50%; }
.why-section::after { content: ''; position: absolute; bottom: -100px; left: -60px; width: 280px; height: 280px; background: rgba(255,255,255,0.04); border-radius: 50%; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 58px; }
.why-card { background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.14); border-radius: 18px; padding: 34px 28px; transition: all 0.35s; }
.why-card:hover { background: rgba(255,255,255,0.16); transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.2); }
.why-card-num { font-family: 'Playfair Display', serif; font-size: 2.8rem; font-weight: 900; color: var(--accent); line-height: 1; margin-bottom: 16px; }
.why-card h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.why-card p { font-size: 0.88rem; color: rgba(255,255,255,0.72); line-height: 1.72; }

/* ---- STATS SECTION [bg #1B737D] ---- */
.stats-section { padding: 88px 0; background: linear-gradient(135deg, #145d66 0%, #1B737D 50%, #1e8894 100%); position: relative; overflow: hidden; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item { padding: 10px; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 3.6rem; font-weight: 900; color: #fff; line-height: 1; }
.stat-label { font-size: 0.92rem; font-weight: 500; color: rgba(255,255,255,0.78); margin-top: 10px; line-height: 1.4; }
.stat-divider { width: 38px; height: 3px; background: var(--accent); border-radius: 2px; margin: 14px auto 0; }

/* ---- TESTIMONIALS ---- */
.testimonials-section { padding: 100px 0; background: #fff; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 60px; }
.testimonial-card { background: var(--gray-light); border-radius: 18px; padding: 36px; border-left: 4px solid var(--primary); transition: all 0.3s; }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 16px 46px rgba(0,0,0,0.1); background: #fff; }
.quote-mark { font-family: 'Playfair Display', serif; font-size: 5rem; line-height: 0.6; color: var(--accent); opacity: 0.5; margin-bottom: 18px; display: block; }
.testimonial-card p { font-size: 0.93rem; color: #374151; line-height: 1.78; font-style: italic; margin-bottom: 26px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.1rem; font-family: 'Playfair Display', serif; flex-shrink: 0; }
.author-name { font-weight: 700; color: var(--black); font-size: 0.93rem; }
.author-role { font-size: 0.78rem; color: var(--primary); font-weight: 500; margin-top: 2px; }

/* ---- GALLERY ---- */
.gallery-section { padding: 100px 0; background: var(--gray-light); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 220px 220px; gap: 14px; margin-top: 60px; }
.gallery-item { border-radius: 14px; overflow: hidden; position: relative; cursor: pointer; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(27,115,125,0.72), transparent); opacity: 0; transition: opacity 0.35s; display: flex; align-items: flex-end; padding: 20px; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #fff; font-weight: 600; font-size: 0.88rem; }

/* ---- PARTNERS ---- */
.partners-section { padding: 75px 0; background: #fff; overflow: hidden; }
.partners-track-wrap { overflow: hidden; position: relative; padding: 10px 0; }
.partners-track-wrap::before, .partners-track-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; }
.partners-track-wrap::before { left: 0; background: linear-gradient(to right, #fff, transparent); }
.partners-track-wrap::after { right: 0; background: linear-gradient(to left, #fff, transparent); }
.partners-track { display: flex; gap: 50px; align-items: center; animation: partnerSlide 28s linear infinite; width: max-content; }
.partners-track:hover { animation-play-state: paused; }
@keyframes partnerSlide { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.partner-item { height: 50px; display: flex; align-items: center; justify-content: center; padding: 0 20px; border: 1.5px solid var(--border); border-radius: 10px; font-family: 'Playfair Display', serif; font-weight: 700; font-size: 0.88rem; color: #9ca3af; white-space: nowrap; transition: all 0.3s; flex-shrink: 0; background: var(--gray-light); min-width: 140px; }
.partner-item:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-light); }

/* ---- DONATION ---- */
.donation-section { padding: 100px 0; background: #0A0A0A; text-align: center; position: relative; overflow: hidden; }
.donation-section::before { content: ''; position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(27,115,125,0.18) 0%, transparent 70%); pointer-events: none; }
.donation-title { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 900; color: #fff; margin-bottom: 14px; }
.donation-title span { color: var(--accent); }
.donation-sub { font-size: 1rem; color: rgba(255,255,255,0.6); margin-bottom: 44px; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.75; }
.mpesa-box { display: inline-flex; align-items: center; gap: 16px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 16px 28px; margin-top: 26px; }
.mpesa-label { font-size: 0.78rem; color: rgba(255,255,255,0.45); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.mpesa-number { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: #fff; }
.donation-note { font-size: 0.82rem; color: rgba(255,255,255,0.38); margin-top: 20px; }
.donation-note span { color: var(--accent); }

/* ---- VOLUNTEER ---- */
.volunteer-section { padding: 100px 0; background: var(--gray-light); }
.volunteer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.volunteer-img { border-radius: 20px; overflow: hidden; height: 480px; box-shadow: 0 20px 60px rgba(0,0,0,0.14); }
.volunteer-img img { width: 100%; height: 100%; object-fit: cover; }
.form-group { margin-bottom: 22px; }
.form-label { display: block; font-weight: 600; font-size: 0.87rem; color: #374151; margin-bottom: 7px; }
.form-input, .form-select { width: 100%; padding: 13px 16px; border: 2px solid var(--border); border-radius: 10px; font-family: 'DM Sans', sans-serif; font-size: 0.93rem; color: var(--black); background: #fff; outline: none; transition: border-color 0.3s, box-shadow 0.3s; -webkit-appearance: none; }
.form-input:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(27,115,125,0.1); }

/* ---- CONTACT STRIP ---- */
.contact-strip { padding: 90px 0; background: #fff; }
.contact-strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.contact-strip-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 24px; border-radius: 18px; background: var(--gray-light); border-top: 4px solid var(--primary); transition: all 0.3s; }
.contact-strip-card:hover { transform: translateY(-5px); box-shadow: 0 16px 46px rgba(0,0,0,0.1); background: #fff; }
.contact-icon { width: 58px; height: 58px; background: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--primary); }
.contact-strip-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.contact-strip-card p, .contact-strip-card a { font-size: 0.9rem; color: var(--gray); line-height: 1.65; transition: color 0.3s; }
.contact-strip-card a:hover { color: var(--primary); }

/* ---- FOOTER ---- */
footer { background: #0A0A0A; padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 46px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-logo img { height: 42px; width: auto; filter: brightness(0) invert(1); }
.footer-logo .logo-title { color: var(--accent); }
.footer-logo .logo-sub { color: rgba(255,255,255,0.38); }
.footer-desc { font-size: 0.88rem; color: rgba(255,255,255,0.48); line-height: 1.75; max-width: 280px; }
.social-row { display: flex; gap: 10px; margin-top: 22px; }
.social-icon { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.65); transition: all 0.3s; }
.social-icon:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-3px); }
.footer-col h4 { font-family: 'Playfair Display', serif; font-size: 1.02rem; font-weight: 700; color: #fff; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { color: rgba(255,255,255,0.52); font-size: 0.87rem; transition: color 0.3s; }
.footer-link:hover { color: var(--accent); }
.footer-contact-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.footer-contact-icon { width: 32px; height: 32px; background: rgba(27,115,125,0.2); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent); }
.footer-contact-item p { font-size: 0.86rem; color: rgba(255,255,255,0.52); line-height: 1.5; }
.footer-contact-item a { color: rgba(255,255,255,0.52); transition: color 0.3s; }
.footer-contact-item a:hover { color: var(--accent); }
.footer-bottom { padding: 22px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.28); }
.footer-bottom span { color: var(--accent); font-weight: 600; }

/* ---- FLOATING WHATSAPP ---- */
.floating-wa { position: fixed; bottom: 30px; right: 30px; z-index: 9999; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(37,211,102,0.45); animation: waPulse 2.5s infinite; transition: transform 0.3s, box-shadow 0.3s; }
.floating-wa:hover { transform: scale(1.12); box-shadow: 0 10px 36px rgba(37,211,102,0.6); animation: none; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); } 70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---- REVEAL ANIMATION ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.72s ease, transform 0.72s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; } .reveal-d2 { transition-delay: 0.2s; } .reveal-d3 { transition-delay: 0.3s; } .reveal-d4 { transition-delay: 0.4s; }

/* ---- ABOUT PAGE ---- */
.about-content-section { padding: 100px 0; background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-img-wrap { border-radius: 20px; overflow: hidden; height: 520px; box-shadow: 0 20px 60px rgba(0,0,0,0.14); }
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.vision-mission { padding: 100px 0; background: var(--gray-light); }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 56px; }
.vm-card { border-radius: 18px; padding: 42px 38px; }
.vm-card.vision { background: var(--primary); }
.vm-card.mission { background: #fff; border: 2px solid var(--border); }
.vm-card-icon { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.vm-card.vision .vm-card-icon { background: rgba(255,255,255,0.15); color: #fff; }
.vm-card.mission .vm-card-icon { background: var(--primary-light); color: var(--primary); }
.vm-card h3 { font-size: 1.55rem; font-weight: 700; margin-bottom: 14px; }
.vm-card.vision h3 { color: #fff; }
.vm-card.mission h3 { color: var(--black); }
.vm-card p { font-size: 0.94rem; line-height: 1.8; }
.vm-card.vision p { color: rgba(255,255,255,0.8); }
.vm-card.mission p { color: var(--gray); }
.founders-section { padding: 100px 0; background: #fff; }
.founder-box { background: var(--gray-light); border-radius: 20px; padding: 50px 44px; border-left: 5px solid var(--accent); }
.founder-box h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 6px; }
.founder-box .founder-sub { font-size: 0.88rem; color: var(--primary); font-weight: 600; margin-bottom: 20px; letter-spacing: 0.05em; text-transform: uppercase; }
.founder-box p { font-size: 0.95rem; color: var(--gray); line-height: 1.82; }

/* ---- PROGRAMS PAGE ---- */
.program-detail { padding: 90px 0; }
.program-detail:nth-child(even) { background: var(--gray-light); }
.program-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.program-detail-grid.reverse { direction: rtl; }
.program-detail-grid.reverse > * { direction: ltr; }
.program-detail-img { border-radius: 20px; overflow: hidden; height: 440px; box-shadow: 0 20px 60px rgba(0,0,0,0.14); }
.program-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.program-feature-list { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.program-feature-item { display: flex; align-items: flex-start; gap: 12px; }
.check-icon { width: 22px; height: 22px; flex-shrink: 0; background: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); margin-top: 2px; }
.program-feature-item p { font-size: 0.9rem; color: var(--gray); line-height: 1.65; }

/* ---- CONTACT PAGE ---- */
.contact-main { padding: 100px 0; background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.contact-form-wrap { background: var(--gray-light); border-radius: 20px; padding: 44px 40px; }
.contact-form-wrap h3 { font-size: 1.65rem; font-weight: 700; margin-bottom: 6px; }
.contact-form-wrap .subtitle { color: var(--gray); font-size: 0.91rem; margin-bottom: 30px; }
.contact-info-card { background: var(--primary); border-radius: 20px; padding: 44px 36px; }
.contact-info-card h3 { font-size: 1.65rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.contact-info-card .subtitle { color: rgba(255,255,255,0.68); font-size: 0.91rem; margin-bottom: 34px; }
.ci-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 26px; }
.ci-icon { width: 44px; height: 44px; flex-shrink: 0; background: rgba(255,255,255,0.12); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; }
.ci-item h5 { font-size: 0.77rem; font-weight: 700; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; font-family: 'DM Sans', sans-serif; }
.ci-item p, .ci-item a { font-size: 0.94rem; color: rgba(255,255,255,0.86); line-height: 1.55; transition: color 0.2s; }
.ci-item a:hover { color: var(--accent); }
.map-placeholder { margin-top: 56px; border-radius: 18px; overflow: hidden; height: 330px; background: var(--gray-light); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; color: var(--gray); border: 2px dashed var(--border); }
.map-placeholder p { font-size: 0.9rem; font-weight: 600; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-preview-grid, .volunteer-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-preview-img img, .volunteer-img, .about-img-wrap { height: 320px; }
  .vm-grid { grid-template-columns: 1fr; }
  .program-detail-grid { grid-template-columns: 1fr; gap: 34px; }
  .program-detail-grid.reverse { direction: ltr; }
  .program-detail-img { height: 300px; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .contact-strip-grid { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  #menu-btn { display: block; }
  .hero-section { background-attachment: scroll; }
  .programs-grid, .why-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item.tall { grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .floating-wa { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .about-preview-img img { height: 280px; }
}
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-form-wrap, .contact-info-card { padding: 28px 22px; }
}

/* ---- STORIES GRID ---- */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}
.stories-grid-single {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ---- LEADERS GRID ---- */
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.leaders-grid-row2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .stories-grid, .stories-grid-single { grid-template-columns: repeat(2, 1fr); }
  .leaders-grid, .leaders-grid-row2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .stories-grid, .stories-grid-single { grid-template-columns: 1fr; margin-bottom: 0; gap: 20px; }
  .leaders-grid, .leaders-grid-row2 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .leaders-grid { margin-bottom: 14px; }
}
@media (max-width: 480px) {
  .leaders-grid, .leaders-grid-row2 { grid-template-columns: 1fr; }
}
