/* ==========================================================
   Jeev Daya Society — main stylesheet
   ========================================================== */
:root {
    --maroon: #8a2c1d;
    --maroon-dark: #5e1c12;
    --saffron: #e8902a;
    --saffron-soft: #fbe3c4;
    --green: #3c5a3a;
    --cream: #fbf5ea;
    --ink: #2b211c;
    --muted: #6f625a;
    --radius: 18px;
    --shadow: 0 14px 40px rgba(94, 28, 18, .10);
}

body {
    font-family: 'Hind', system-ui, sans-serif;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.7;
    background: #fff;
}
h1, h2, h3, h4, h5, .section-title { font-family: 'Playfair Display', Georgia, serif; color: var(--ink); }
a { color: var(--maroon); text-decoration: none; }
a:hover { color: var(--saffron); }
.text-saffron { color: var(--saffron) !important; }
.text-maroon { color: var(--maroon) !important; }
.bg-cream { background: var(--cream); }
.shadow-soft { box-shadow: var(--shadow); }
.hindi-line, .hindi-quote, .eyebrow { font-family: 'Tiro Devanagari Hindi', serif; }

/* ---------- Buttons ---------- */
.btn { border-radius: 50px; font-weight: 600; padding: .6rem 1.5rem; }
.btn-lg { padding: .8rem 2rem; }
.btn-donate { background: var(--saffron); color: #fff; border: 0; box-shadow: 0 6px 18px rgba(232, 144, 42, .35); }
.btn-donate:hover { background: var(--maroon); color: #fff; }
.btn-primary-jd { background: var(--maroon); color: #fff; border: 0; }
.btn-primary-jd:hover { background: var(--maroon-dark); color: #fff; }
.btn-outline-jd { border: 2px solid var(--maroon); color: var(--maroon); }
.btn-outline-jd:hover { background: var(--maroon); color: #fff; }

/* ---------- Top bar & nav ---------- */
.topbar { background: var(--maroon-dark); color: #f3d9c4; font-size: 14px; padding: 7px 0; }
.topbar a { color: #f3d9c4; }
.topbar a:hover { color: #fff; }
.topbar .hindi-line { color: var(--saffron); }

.main-nav { background: rgba(255, 255, 255, .97); box-shadow: 0 2px 20px rgba(0, 0, 0, .06); padding: 10px 0; backdrop-filter: blur(6px); }
.brand-logo { width: 56px; height: 56px; }
.brand-text { line-height: 1.1; display: flex; flex-direction: column; }
.brand-text strong { font-family: 'Playfair Display', serif; font-size: 1.45rem; color: var(--maroon); }
.brand-text small { text-transform: uppercase; letter-spacing: 4px; font-size: .72rem; color: var(--saffron); font-weight: 700; }
.main-nav .nav-link { color: var(--ink); font-weight: 600; padding: .5rem .85rem !important; position: relative; }
.main-nav .nav-link.active, .main-nav .nav-link:hover { color: var(--maroon); }
.main-nav .nav-link.active::after { content: ''; position: absolute; left: .85rem; right: .85rem; bottom: 2px; height: 2px; background: var(--saffron); border-radius: 2px; }
.navbar-toggler { border: 0; font-size: 2rem; color: var(--maroon); }
.navbar-toggler:focus { box-shadow: none; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(circle at 85% 20%, var(--saffron-soft), transparent 45%), var(--cream); padding: 80px 0 110px; overflow: hidden; }
.eyebrow { color: var(--maroon); font-size: 1.15rem; display: inline-block; margin-bottom: 1rem; }
.hero-title { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 800; line-height: 1.12; margin-bottom: 1.3rem; }
.hero-title em { color: var(--maroon); font-style: italic; }
.hero .lead { color: var(--muted); font-size: 1.15rem; }
.helpline { display: inline-flex; gap: 14px; align-items: center; background: #fff; padding: 12px 22px 12px 14px; border-radius: 60px; box-shadow: var(--shadow); }
.helpline i { width: 46px; height: 46px; border-radius: 50%; background: var(--maroon); color: #fff; display: grid; place-items: center; font-size: 1.2rem; }
.helpline small { display: block; color: var(--muted); line-height: 1.2; }
.helpline a { font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.hero-visual { position: relative; }
.hero-img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 200px 200px 28px 28px; box-shadow: var(--shadow); border: 8px solid #fff; }
.hero-badge { position: absolute; left: -24px; bottom: 36px; background: var(--maroon); color: #fff; padding: 18px 24px; border-radius: var(--radius); display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow); }
.hero-badge strong { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--saffron); }
.hero-badge span { line-height: 1.3; font-size: .95rem; }

/* ---------- Stats ---------- */
.stats { margin-top: -55px; position: relative; z-index: 2; }
.stats .row { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 30px 12px; border-right: 1px solid #f1e6d8; }
.stat:last-child { border-right: 0; }
.stat i { font-size: 1.8rem; color: var(--saffron); }
.stat strong { display: block; font-family: 'Playfair Display', serif; font-size: 2.1rem; color: var(--maroon); line-height: 1.2; }
.stat span { color: var(--muted); font-size: .95rem; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-tag { display: inline-block; color: var(--saffron); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: .85rem; margin-bottom: .5rem; }
.section-tag::before { content: '✿ '; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; margin-bottom: 1rem; }
.section-sub { color: var(--muted); max-width: 640px; margin: 0 auto; }
.tick { font-weight: 600; }
.tick i { color: var(--green); margin-right: 6px; }

.page-header { background: linear-gradient(rgba(94, 28, 18, .82), rgba(94, 28, 18, .82)), url('../images/page-header.jpg') center/cover; padding: 80px 0 70px; text-align: center; color: #fff; }
.page-header h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
.page-header .breadcrumb { justify-content: center; }
.page-header .breadcrumb a, .page-header .breadcrumb-item.active, .page-header .breadcrumb-item + .breadcrumb-item::before { color: #f6d9bd; }

/* ---------- Cards ---------- */
.service-card { background: #fff; border-radius: var(--radius); padding: 34px 28px; box-shadow: 0 6px 24px rgba(0, 0, 0, .05); transition: .3s; border-bottom: 4px solid transparent; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-bottom-color: var(--saffron); }
.service-icon { width: 68px; height: 68px; border-radius: 20px; background: var(--saffron-soft); color: var(--maroon); display: grid; place-items: center; font-size: 1.9rem; margin-bottom: 18px; }
.service-card h4 { font-size: 1.3rem; margin-bottom: .6rem; }
.service-card p { color: var(--muted); }
.link-more { font-weight: 700; font-size: .95rem; }
.link-more i { transition: .2s; }
.link-more:hover i { margin-left: 4px; }

.help-card { display: block; background: #fff; border: 2px dashed #ecd2b2; border-radius: var(--radius); padding: 30px 24px; text-align: center; color: var(--ink); height: 100%; transition: .3s; }
.help-card strong { display: block; font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--maroon); }
.help-card span { display: block; color: var(--muted); margin: 6px 0 14px; }
.help-card em { font-style: normal; font-weight: 700; color: var(--saffron); }
.help-card:hover { border-style: solid; border-color: var(--saffron); background: var(--cream); color: var(--ink); transform: translateY(-4px); }

.home-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.hg-item { border-radius: 14px; overflow: hidden; }
.hg-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.hg-item img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.hg-item:hover img { transform: scale(1.06); }

.quote-band { background: var(--maroon); color: #f3d9c4; padding: 60px 0; }
.hindi-quote { font-size: clamp(1.8rem, 4vw, 2.7rem); color: #fff; margin-bottom: .3rem; }

.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 24px rgba(0, 0, 0, .06); transition: .3s; display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.blog-thumb { display: block; aspect-ratio: 16/10; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-body p { color: var(--muted); flex: 1; }
.blog-meta { font-size: .87rem; color: var(--saffron); font-weight: 600; margin-bottom: .4rem; }
.blog-body h4 { font-size: 1.25rem; }
.blog-body h4 a { color: var(--ink); }
.blog-body h4 a:hover { color: var(--maroon); }
.blog-search { max-width: 520px; }
.blog-search .form-control { border-radius: 50px 0 0 50px; padding: .7rem 1.3rem; }
.blog-search .btn { border-radius: 0 50px 50px 0; }
.blog-hero-img { max-height: 460px; object-fit: cover; }
.rich-text { font-size: 1.05rem; }
.rich-text h2, .rich-text h3 { margin-top: 1.8rem; font-size: 1.5rem; }
.rich-text img { max-width: 100%; height: auto; border-radius: 12px; }
.share a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--cream); margin-left: 6px; }

.sidebar-box { background: var(--cream); border-radius: var(--radius); padding: 26px; margin-bottom: 24px; }
.sidebar-box h5 { margin-bottom: 1rem; }
.side-links li a { display: block; padding: 10px 0; border-bottom: 1px solid #efe1cf; color: var(--ink); font-weight: 500; }
.side-links li a:hover { color: var(--maroon); padding-left: 4px; }
.side-links i { color: var(--saffron); margin-right: 6px; }
.donate-box { background: var(--maroon); color: #f3d9c4; }
.donate-box h5 { color: #fff; }
.recent-post { display: flex; gap: 12px; margin-bottom: 14px; color: var(--ink); }
.recent-post img { width: 74px; height: 60px; object-fit: cover; border-radius: 10px; }
.recent-post strong { display: block; font-size: .95rem; line-height: 1.35; }
.recent-post small { color: var(--muted); }

/* ---------- About & Mission ---------- */
.about-collage { position: relative; padding: 0 0 60px 60px; }
.about-collage .a1 { width: 100%; border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }
.about-collage .a2 { position: absolute; left: 0; bottom: 0; width: 48%; border-radius: var(--radius); border: 6px solid #fff; box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; }
.years-badge { position: absolute; right: 20px; bottom: 20px; background: var(--saffron); color: #fff; border-radius: var(--radius); padding: 16px 20px; display: flex; gap: 10px; align-items: center; }
.years-badge strong { font-family: 'Playfair Display', serif; font-size: 2.2rem; }
.years-badge span { line-height: 1.2; font-weight: 600; }
.value-card { background: #fff; border-radius: var(--radius); padding: 30px 24px; text-align: center; box-shadow: 0 6px 24px rgba(0, 0, 0, .05); }
.value-card i { font-size: 2.2rem; color: var(--saffron); }
.value-card h5 { margin: 12px 0 8px; }
.value-card p { color: var(--muted); }
.feature-list { list-style: none; padding: 0; }
.feature-list li { padding: 6px 0 6px 30px; position: relative; }
.feature-list i { position: absolute; left: 0; top: 7px; color: var(--green); font-size: 1.1rem; }
.mv-card { border-radius: 24px; padding: 44px 38px; }
.mv-card.mission { background: var(--cream); }
.mv-card.vision { background: var(--maroon); color: #f3d9c4; }
.mv-card.vision h2 { color: #fff; }
.mv-card.vision .feature-list i { color: var(--saffron); }
.mv-icon { width: 70px; height: 70px; border-radius: 50%; background: var(--saffron); color: #fff; display: grid; place-items: center; font-size: 2rem; margin-bottom: 18px; }
.goal-card { border: 1px solid #efe1cf; border-radius: var(--radius); padding: 28px; transition: .3s; }
.goal-card span { font-family: 'Playfair Display', serif; font-size: 2.4rem; color: var(--saffron-soft); font-weight: 800; -webkit-text-stroke: 1px var(--saffron); }
.goal-card:hover { background: var(--cream); border-color: var(--saffron); }
.goal-card p { color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery-filters button { border: 0; background: var(--cream); color: var(--ink); font-weight: 600; padding: 8px 20px; border-radius: 40px; margin: 4px; transition: .2s; }
.gallery-filters button.active, .gallery-filters button:hover { background: var(--maroon); color: #fff; }
.gallery-thumb { display: block; position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.gallery-thumb span { position: absolute; inset: 0; background: rgba(94, 28, 18, .55); color: #fff; display: grid; place-items: center; font-size: 1.6rem; opacity: 0; transition: .3s; }
.gallery-thumb:hover img { transform: scale(1.08); }
.gallery-thumb:hover span { opacity: 1; }
.gallery-item.hide { display: none; }

/* ---------- Forms (Contact / Donate) ---------- */
.form-card { background: #fff; border-radius: 24px; padding: 40px; box-shadow: var(--shadow); }
.form-control, .form-select { border-radius: 12px; padding: .7rem 1rem; border-color: #e7d8c6; }
.form-control:focus, .form-select:focus { border-color: var(--saffron); box-shadow: 0 0 0 .2rem rgba(232, 144, 42, .2); }
.contact-info .ci { display: flex; gap: 16px; margin-bottom: 22px; }
.contact-info .ci > i { flex: 0 0 52px; height: 52px; border-radius: 14px; background: var(--saffron-soft); color: var(--maroon); display: grid; place-items: center; font-size: 1.3rem; }
.contact-info strong { display: block; }
.contact-info span, .contact-info a { color: var(--muted); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.2); }

.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amount-btn { border: 2px solid #ecd2b2; background: #fff; border-radius: 12px; padding: 12px 6px; font-weight: 700; font-size: 1.05rem; color: var(--maroon); transition: .2s; }
.amount-btn:hover, .amount-btn.active { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.pay-methods { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.pay-option { cursor: pointer; }
.pay-option input { display: none; }
.pay-option span { display: block; border: 2px solid #ecd2b2; border-radius: 14px; padding: 14px 16px; font-weight: 700; }
.pay-option span small { display: block; font-weight: 400; color: var(--muted); }
.pay-option input:checked + span { border-color: var(--saffron); background: var(--cream); }
.bank-box th { color: var(--muted); font-weight: 500; background: transparent; }
.bank-box td { font-weight: 700; background: transparent; }
.upi-qr { max-width: 220px; border-radius: 12px; }

/* ---------- CTA & footer ---------- */
.cta-strip { background: linear-gradient(90deg, var(--saffron), #d9701b); color: #fff; padding: 44px 0; }
.cta-strip h3 { color: #fff; }
.site-footer { background: #24170f; color: #c8b5a5; padding: 70px 0 26px; font-size: .98rem; }
.site-footer h6 { color: #fff; font-family: 'Playfair Display', serif; font-size: 1.15rem; margin-bottom: 1rem; }
.footer-links li { margin-bottom: 8px; }
.footer-links a, .footer-contact a { color: #c8b5a5; }
.footer-links a:hover, .footer-contact a:hover { color: var(--saffron); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 10px; }
.footer-contact i { color: var(--saffron); }
.site-footer .social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; }
.site-footer .social a:hover { background: var(--saffron); }
.site-footer hr { border-color: rgba(255, 255, 255, .12); margin: 36px 0 20px; }
.site-footer .hindi-line { color: var(--saffron); }

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.8rem; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); z-index: 999; }
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }

.pagination .page-link { color: var(--maroon); border-radius: 10px !important; margin: 0 3px; }
.pagination .active .page-link { background: var(--maroon); border-color: var(--maroon); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .hero { padding: 50px 0 100px; }
    .hero-badge { left: 12px; }
    .main-nav .nav-link.active::after { display: none; }
    .section { padding: 64px 0; }
}
@media (max-width: 767px) {
    .stat { border-bottom: 1px solid #f1e6d8; }
    .stat:nth-child(2n) { border-right: 0; }
    .home-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
    .form-card { padding: 26px 20px; }
    .about-collage { padding: 0 0 40px 30px; }
    .brand-logo { width: 46px; height: 46px; }
    .brand-text strong { font-size: 1.2rem; }
}
