/* ============================================================
   DHANVANTARI NGO — FRONTEND STYLESHEET
   100% Dynamic — Variables set via PHP from DB Settings
   ============================================================ */

/* Variables fall back to defaults if PHP sets them */
:root {
    --primary:      #1a5276;
    --secondary:    #f0a500;
    --accent:       #27ae60;
    --text:         #2c3e50;
    --text-light:   #6b7280;
    --bg:           #ffffff;
    --bg-light:     #f4f8fb;
    --header-bg:    #1a5276;
    --footer-bg:    #0d2137;
    --border:       #e2e8f0;
    --shadow:       0 4px 20px rgba(0,0,0,0.08);
    --radius:       10px;
    --radius-sm:    6px;
    --font-primary: 'Hind', 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --transition:   0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-primary); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 15px; }
a { text-decoration: none; color: var(--primary); transition: color var(--transition); }
a:hover { color: var(--secondary); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1,h2,h3,h4,h5 { font-family: var(--font-heading); line-height: 1.3; }

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 72px 0; }
.bg-light { background: var(--bg-light); }
.text-center { text-align: center; }

/* ══════════════════════════════════════════════════════════════
   PAGE LOADER
══════════════════════════════════════════════════════════════ */
.page-loader {
    position: fixed; inset: 0; z-index: 99999;
    background: #fff; display: flex; align-items: center; justify-content: center;
    transition: opacity 0.4s, visibility 0.4s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-logo { max-height: 70px; margin: 0 auto 20px; }
.loader-name { font-family: var(--font-heading); font-size: 28px; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.loader-bar { width: 200px; height: 4px; background: #e5e7eb; border-radius: 2px; overflow: hidden; }
.loader-progress { height: 100%; background: linear-gradient(90deg,var(--primary),var(--secondary)); border-radius: 2px; animation: loadProgress 1.5s ease forwards; }
@keyframes loadProgress { from{width:0} to{width:100%} }

/* ══════════════════════════════════════════════════════════════
   TOP BAR
══════════════════════════════════════════════════════════════ */
.topbar {
    background: var(--primary); color: rgba(255,255,255,0.85);
    font-size: 12.5px; padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar-left { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar-left span { display: flex; align-items: center; gap: 5px; }
.topbar-left i { font-size: 11px; }
.topbar-right { display: flex; gap: 8px; align-items: center; }
.social-link { width: 26px; height: 26px; background: rgba(255,255,255,0.15); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: #fff; transition: background var(--transition); }
.social-link:hover { background: var(--secondary); color: #fff; }

/* ══════════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════════ */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: var(--header-bg);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    transition: padding var(--transition);
}
.header-inner { display: flex; align-items: center; gap: 20px; padding: 12px 0; flex-wrap: wrap; }
.site-logo { flex-shrink: 0; }
.logo-img { max-height: 60px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: #fff; }
.logo-tagline { font-size: 11px; color: rgba(255,255,255,0.7); }
.header-org-name { flex: 1; text-align: center; }
.org-name-en { font-family: var(--font-heading); font-size: 17px; font-weight: 700; color: #fff; }
.org-name-hi { font-size: 14px; color: rgba(255,255,255,0.8); font-weight: 500; margin-top: 2px; }
.org-reg { font-size: 11px; color: rgba(255,255,255,0.6); margin-top: 2px; }

/* ── Navigation ── */
.main-nav { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.nav-link {
    padding: 8px 14px; color: rgba(255,255,255,0.85); font-size: 13.5px; font-weight: 500;
    border-radius: 6px; transition: all 0.15s; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { background: rgba(255,255,255,0.15); color: #fff; }
.nav-dropdown { position: relative; }
.nav-dropdown .dropdown-menu {
    position: absolute; top: calc(100% + 8px); left: 0;
    background: #fff; border-radius: 10px; min-width: 220px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: 999; display: none; overflow: hidden;
    border: 1px solid var(--border);
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.nav-dropdown .dropdown-menu a { display: block; padding: 11px 18px; font-size: 13px; color: var(--text); transition: background 0.15s; }
.nav-dropdown .dropdown-menu a:hover { background: var(--bg-light); color: var(--primary); }
.btn-donate { background: var(--secondary); color: #fff !important; padding: 9px 20px; border-radius: 25px; font-weight: 700; font-size: 13px; transition: all 0.15s; }
.btn-donate:hover { background: #d4900a; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(240,165,0,0.4); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s; }

/* ══════════════════════════════════════════════════════════════
   HERO SLIDER
══════════════════════════════════════════════════════════════ */
.hero-slider { position: relative; height: 600px; overflow: hidden; }
.slider-track { height: 100%; }
.slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 0.7s ease;
    display: flex; align-items: center;
}
.slide.active { opacity: 1; z-index: 1; }
.slide-overlay { position: absolute; inset: 0; }
.slide-content { position: relative; z-index: 2; width: 100%; padding: 40px 0; }
.slide-title-hi { font-size: 20px; color: var(--secondary); font-weight: 600; margin-bottom: 8px; }
.slide-title { font-size: clamp(28px,4vw,54px); color: #fff; font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.slide-subtitle { font-size: 18px; color: rgba(255,255,255,0.9); margin-bottom: 8px; max-width: 640px; }
.slide-subtitle-hi { font-size: 16px; color: rgba(255,255,255,0.8); margin-bottom: 24px; }
.text-center .slide-subtitle { margin-left: auto; margin-right: auto; }
.slide-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.text-center .slide-buttons { justify-content: center; }
.btn-slide { padding: 13px 28px; border-radius: 6px; font-size: 15px; font-weight: 600; transition: all 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.btn-slide-primary { background: var(--secondary); color: #fff; }
.btn-slide-primary:hover { background: #d4900a; color: #fff; transform: translateY(-2px); }
.btn-slide-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.7); }
.btn-slide-outline:hover { background: rgba(255,255,255,0.15); color: #fff; }
.btn-slide-secondary { background: var(--primary); color: #fff; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(255,255,255,0.2); border: none; color: #fff; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 16px; transition: background 0.2s; display: flex; align-items: center; justify-content: center; }
.slider-btn:hover { background: rgba(255,255,255,0.35); }
.slider-prev { left: 20px; } .slider-next { right: 20px; }
.slider-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: all 0.2s; }
.dot.active { background: var(--secondary); transform: scale(1.3); }

/* ══════════════════════════════════════════════════════════════
   STATS SECTION
══════════════════════════════════════════════════════════════ */
.stats-section { background: var(--primary); padding: 50px 0; }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 30px; }
.stat-item { text-align: center; }
.stat-ico { font-size: 30px; color: var(--secondary); margin-bottom: 12px; }
.stat-num { font-family: var(--font-heading); font-size: 40px; font-weight: 700; color: #fff; line-height: 1; }
.stat-lbl { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 6px; }
.stat-lbl-en { font-size: 11px; color: rgba(255,255,255,0.5); }

/* ══════════════════════════════════════════════════════════════
   SECTION HEADER
══════════════════════════════════════════════════════════════ */
.section-header { margin-bottom: 48px; }
.section-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 18px; background: rgba(26,82,118,0.08); color: var(--primary); border-radius: 25px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.section-title { font-size: clamp(24px,3vw,38px); color: var(--text); font-weight: 700; margin-bottom: 14px; }
.section-subtitle { font-size: 16px; color: var(--text-light); max-width: 600px; margin: 0 auto; }

/* ══════════════════════════════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════════════════════════════ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.about-img-badge { position: absolute; bottom: -20px; right: -20px; background: var(--secondary); color: #fff; padding: 18px 22px; border-radius: 12px; text-align: center; box-shadow: 0 8px 24px rgba(240,165,0,0.3); }
.badge-num { font-size: 32px; font-weight: 800; line-height: 1; }
.badge-text { font-size: 12px; font-weight: 600; }
.about-img-placeholder { background: linear-gradient(135deg,var(--primary) 0%,#0d2137 100%); border-radius: var(--radius); height: 400px; display: flex; align-items: center; justify-content: center; font-size: 80px; color: rgba(255,255,255,0.3); }
.section-title-hi { font-size: 18px; color: var(--text-light); margin-bottom: 16px; }
.about-text { color: var(--text-light); line-height: 1.8; margin-bottom: 28px; }
.mv-cards { display: grid; gap: 16px; margin-bottom: 28px; }
.mv-card { display: flex; gap: 14px; padding: 16px; background: var(--bg-light); border-radius: 10px; border-left: 4px solid var(--primary); }
.mv-icon { width: 40px; height: 40px; background: var(--primary); color: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; }
.mv-card h4 { font-size: 14px; margin-bottom: 4px; }
.mv-card p { font-size: 13px; color: var(--text-light); }
.about-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════════ */
.btn-primary-solid { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: var(--primary); color: #fff; border-radius: var(--btn-radius,6px); font-weight: 600; font-size: 14px; transition: all 0.2s; }
.btn-primary-solid:hover { background: #154360; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(26,82,118,0.3); }
.btn-outline-solid { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: transparent; color: var(--primary); border: 2px solid var(--primary); border-radius: var(--btn-radius,6px); font-weight: 600; font-size: 14px; transition: all 0.2s; }
.btn-outline-solid:hover { background: var(--primary); color: #fff; }
.btn-white { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: #fff; color: var(--primary); border-radius: 6px; font-weight: 700; font-size: 14px; transition: all 0.2s; }
.btn-white:hover { background: var(--bg-light); }
.btn-outline-white { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.7); border-radius: 6px; font-weight: 600; font-size: 14px; transition: all 0.2s; }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }

/* ══════════════════════════════════════════════════════════════
   SERVICES SECTION
══════════════════════════════════════════════════════════════ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 24px; }
.service-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--border); transition: all 0.25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
.service-icon { margin-bottom: 20px; }
.service-icon img { width: 70px; height: 70px; object-fit: contain; border-radius: 10px; }
.service-icon i { font-size: 40px; color: var(--primary); }
.service-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.service-name-hi { font-size: 14px; color: var(--text-light); margin-bottom: 10px; }
.service-desc { font-size: 14px; color: var(--text-light); margin-bottom: 14px; line-height: 1.6; }
.service-timing { font-size: 12px; color: var(--primary); margin-bottom: 14px; display: flex; align-items: center; gap: 4px; }
.service-link { font-size: 13px; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.service-link:hover { color: var(--secondary); gap: 8px; }

/* ══════════════════════════════════════════════════════════════
   GALLERY
══════════════════════════════════════════════════════════════ */
.gallery-masonry { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 8px; cursor: pointer; aspect-ratio: 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(26,82,118,0.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; font-size: 28px; color: #fff; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ══════════════════════════════════════════════════════════════
   NEWS
══════════════════════════════════════════════════════════════ */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 24px; }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); transition: all 0.25s; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
.news-img { width: 100%; height: 200px; object-fit: cover; }
.news-body { padding: 20px; }
.news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.news-cat { background: rgba(26,82,118,0.08); color: var(--primary); padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.news-date { font-size: 12px; color: var(--text-light); display: flex; align-items: center; gap: 4px; }
.news-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.news-title a { color: var(--text); }
.news-title a:hover { color: var(--primary); }
.news-excerpt { font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 14px; }
.news-read-more { font-size: 13px; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.news-read-more:hover { gap: 8px; color: var(--secondary); }

/* ══════════════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════════════ */
.testimonials-slider { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 24px; }
.testimonial-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.testimonial-stars { color: #f59e0b; margin-bottom: 14px; font-size: 15px; }
.testimonial-text { font-size: 15px; color: var(--text-light); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; flex-shrink: 0; }
.testimonial-name { font-weight: 700; font-size: 15px; }
.testimonial-role { font-size: 12px; color: var(--text-light); }

/* ══════════════════════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════════════════════ */
.faqs-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; background: none; border: none; cursor: pointer; font-size: 16px; font-weight: 600; color: var(--text); text-align: left; gap: 16px; }
.faq-question:hover { background: var(--bg-light); }
.faq-icon { flex-shrink: 0; font-size: 14px; color: var(--primary); transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 22px 18px; font-size: 14px; color: var(--text-light); line-height: 1.8; }

/* ══════════════════════════════════════════════════════════════
   HEALTH CARD CTA
══════════════════════════════════════════════════════════════ */
.hcard-cta-inner { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.hcard-icon { font-size: 60px; color: rgba(255,255,255,0.3); flex-shrink: 0; }
.hcard-content { flex: 1; color: #fff; }
.hcard-content h2 { font-size: 28px; margin-bottom: 10px; }
.hcard-content p { font-size: 16px; opacity: 0.85; }
.hcard-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════════
   DONATE CTA
══════════════════════════════════════════════════════════════ */
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta-icon { font-size: 50px; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.cta-inner h2 { font-size: 34px; color: #fff; margin-bottom: 14px; }
.cta-inner p { font-size: 16px; color: rgba(255,255,255,0.9); }

/* ══════════════════════════════════════════════════════════════
   CONTACT HOME
══════════════════════════════════════════════════════════════ */
.contact-home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.contact-item i { color: var(--primary); font-size: 18px; margin-top: 3px; flex-shrink: 0; width: 20px; }
.contact-item a { color: var(--text); }
.contact-item a:hover { color: var(--primary); }
.google-map { margin-top: 20px; border-radius: var(--radius); overflow: hidden; }
.google-map iframe { width: 100%; height: 250px; border: none; }
.contact-home-form h3 { font-size: 22px; margin-bottom: 20px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf-input { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 14px; font-family: var(--font-primary); color: var(--text); background: #fff; transition: border-color 0.15s; }
.cf-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,82,118,0.1); }
.form-alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.form-alert-success { background: #d1fae5; color: #065f46; }
.form-alert-error { background: #fee2e2; color: #991b1b; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.site-footer { background: var(--footer-bg); }
.footer-top { padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; }
.footer-logo { max-height: 60px; object-fit: contain; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-org-name { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.footer-org-hi { font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 10px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 12px; font-style: italic; }
.footer-reg { font-size: 12px; color: rgba(255,255,255,0.55); margin-bottom: 4px; }
.footer-heading { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 18px; padding-bottom: 8px; border-bottom: 2px solid var(--secondary); display: inline-block; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.65); transition: all 0.15s; display: flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: var(--secondary); padding-left: 4px; }
.footer-contact-items { margin-bottom: 20px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; font-size: 13px; color: rgba(255,255,255,0.7); }
.footer-contact-item i { color: var(--secondary); margin-top: 3px; flex-shrink: 0; width: 16px; }
.footer-contact-item a { color: rgba(255,255,255,0.7); }
.footer-contact-item a:hover { color: var(--secondary); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social-link { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); font-size: 14px; transition: all 0.15s; }
.footer-social-link:hover { background: var(--secondary); color: #fff; }
.footer-upi { margin-bottom: 16px; font-size: 13px; color: rgba(255,255,255,0.7); }
.footer-upi strong { color: #fff; }
.footer-qr { width: 100px; height: 100px; margin: 10px 0; border-radius: 8px; background: #fff; padding: 4px; }
.footer-bank { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 16px; }
.footer-bank strong { color: rgba(255,255,255,0.8); }
.btn-footer-donate { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: var(--secondary); color: #fff; border-radius: 6px; font-size: 14px; font-weight: 700; transition: all 0.2s; }
.btn-footer-donate:hover { background: #d4900a; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-bottom-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-bottom-links a:hover { color: var(--secondary); }

/* ══════════════════════════════════════════════════════════════
   BACK TO TOP & WHATSAPP FLOAT
══════════════════════════════════════════════════════════════ */
.back-to-top {
    position: fixed; right: 24px; bottom: 80px; z-index: 999;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--primary); color: #fff;
    border: none; cursor: pointer; font-size: 16px;
    box-shadow: 0 4px 14px rgba(26,82,118,0.3);
    transition: all 0.3s; opacity: 0; visibility: hidden;
    display: flex; align-items: center; justify-content: center;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: #154360; transform: translateY(-3px); }
.whatsapp-float {
    position: fixed; right: 24px; bottom: 24px; z-index: 999;
    width: 54px; height: 54px; border-radius: 50%;
    background: #25d366; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    transition: all 0.2s; animation: pulse-whatsapp 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }
@keyframes pulse-whatsapp { 0%,100%{box-shadow:0 4px 16px rgba(37,211,102,0.4)} 50%{box-shadow:0 4px 28px rgba(37,211,102,0.7)} }

/* ══════════════════════════════════════════════════════════════
   PAGE INNER (Non-home pages)
══════════════════════════════════════════════════════════════ */
.page-banner { background: linear-gradient(135deg, var(--primary) 0%, #0d2137 100%); padding: 60px 0; position: relative; overflow: hidden; }
.page-banner::before { content:''; position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.page-banner-content { position: relative; z-index: 1; }
.page-banner h1 { font-size: clamp(24px,3vw,42px); color: #fff; font-weight: 700; }
.page-banner p { color: rgba(255,255,255,0.8); margin-top: 10px; font-size: 16px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.breadcrumb a, .breadcrumb span { font-size: 13px; color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb .sep { color: rgba(255,255,255,0.4); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-img-badge { right: 20px; bottom: 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-home-grid { grid-template-columns: 1fr; }
    .gallery-masonry { grid-template-columns: repeat(3,1fr); }
    .hcard-cta-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 768px) {
    .topbar { display: none; }
    .header-org-name { display: none; }
    .main-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary); padding: 12px 0; z-index: 999; box-shadow: 0 8px 20px rgba(0,0,0,0.2); }
    .main-nav.open { display: flex; }
    .nav-toggle { display: flex; }
    .nav-dropdown .dropdown-menu { position: static; box-shadow: none; background: rgba(0,0,0,0.2); border: none; border-radius: 0; }
    .hero-slider { height: 550px; }
    .slide-title { font-size: 26px; }
    .section-padding { padding: 48px 0; }
    .gallery-masonry { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .cf-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .hero-slider { height: 480px; }
    .slide-title { font-size: 20px; }
    .slide-subtitle { font-size: 14px; }
    .stats-row { grid-template-columns: 1fr 1fr; gap: 20px; }
    .gallery-masonry { grid-template-columns: repeat(2,1fr); }
}

/* Typography and Text Style Enhancements */
body {
    font-family: 'Inter', 'Hind', sans-serif;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .section-title, .slide-title, .logo-name, .middle-header h1 {
    font-family: 'Outfit', 'Poppins', sans-serif;
    letter-spacing: -0.02em;
    font-weight: 700;
}

/* Specific Hindi Font Styles styling */
[lang="hi"], .section-title-hi, .slide-title-hi, .slide-subtitle-hi, .org-name-hi, .service-name-hi, .stat-lbl, .testimonial-text-hi {
    font-family: 'Hind', sans-serif !important;
    font-weight: 500;
    letter-spacing: 0;
}
