/* 
  Modern & Stylish Redesign
  Advanced Animations, Glow Effects, and Glassmorphism
*/

:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-glow: rgba(16, 185, 129, 0.2);
    --secondary: #f8fafc;
    --accent: #34d399;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.05);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --section-sep: rgba(16, 185, 129, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.8;
    background-color: #f8fafc;
    color: var(--text-main);
}

/* --- Advanced Animations --- */

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes revealDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes glow {

    0%,
    100% {
        opacity: 0.5;
        filter: blur(100px);
    }

    50% {
        opacity: 0.8;
        filter: blur(130px);
    }
}

@keyframes scrollIndicator {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    50% {
        transform: translateY(10px);
        opacity: 1;
    }

    100% {
        transform: translateY(20px);
        opacity: 0;
    }
}

.reveal-up {
    opacity: 0;
    animation: revealUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.reveal-down {
    opacity: 0;
    animation: revealDown 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-float {
    animation: float 8s ease-in-out infinite;
}

.animate-glow {
    animation: glow 10s ease-in-out infinite;
}

/* --- Modern Glassmorphism --- */

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 640px) {
    .glass-card {
        padding: 1.5rem !important;
        border-radius: 2.5rem !important;
    }
}

.glass-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.glass-nav .nav-text-main {
    color: #0f172a !important;
}

.glass-nav .nav-text-sub {
    color: #64748b !important;
}

.glass-nav .nav-link-dynamic {
    color: #475569 !important;
}

.glass-nav .nav-link-dynamic:hover {
    color: var(--primary) !important;
}

.glass-nav #mobileMenuBtn {
    color: #0f172a !important;
}

/* Premium Login Button */
.btn-login-premium {
    position: relative;
    padding: 0.5rem 0.5rem;
    color: #0f172a;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.nav-link-dynamic {
    font-size: 16px;
    font-weight: 700;
}

.btn-login-premium::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #10b981;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.btn-login-premium:hover::after {
    width: 100%;
}

.btn-login-premium:hover {
    color: #10b981 !important;
    transform: translateY(-1px);
}

/* --- Gradients --- */

.bg-gradient-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.text-gradient {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%, #10b981 200%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* --- Hero Specific --- */

.hero-image-bg {
    background-image: url('../hero_banner.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay-deep {
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.7) 0%, rgba(2, 6, 23, 0.9) 100%);
}

.glass-premium {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* --- Utilities --- */

.stagger-1 {
    animation-delay: 0.1s;
}

.stagger-2 {
    animation-delay: 0.2s;
}

.stagger-3 {
    animation-delay: 0.3s;
}

.stagger-4 {
    animation-delay: 0.4s;
}

.hover-glow:hover {
    box-shadow: 0 0 30px var(--primary-glow);
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--section-sep), transparent);
    width: 60%;
    margin: 0 auto;
}

.bg-soft-primary {
    background-color: rgba(16, 185, 129, 0.03);
}

.bg-dark-footer {
    background-color: #0f172a;
}

.section-padding {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #10b981;
}

/* Mobile Menu States */
#mobileMenu.active {
    opacity: 1;
    pointer-events: auto;
}

#mobileMenu.active>div {
    transform: translateX(0);
}

/* FAQ Accordion */
.faq-item button.active i {
    transform: rotate(45deg);
    color: var(--primary);
}

.faq-item button.active {
    background-color: white;
}

/* Background Decorations */
.white-dots::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 32px 32px;
}

/* Scroll Animations Overrides */
.reveal-up {
    transform: translateY(40px);
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-up.active {
    transform: translateY(0);
    opacity: 1;
}

/* Quick Amount Buttons */
.quick-amount.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 10px 20px var(--primary-glow);
}

/* Counter Font */
.counter {
    font-variant-numeric: tabular-nums;
}

/* --- Volunteer CTA Redesign --- */
.volunteer-cta-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.bg-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.9) 0%, rgba(5, 150, 105, 0.85) 100%);
    z-index: 1;
}

.volunteer-cta-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.btn-glow-primary {
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-glow-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-glow-primary:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .volunteer-cta-section {
        background-attachment: scroll;
    }
}

/* --- Donation Form Redesign --- */
.donation-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 0.5rem;
    background: #f1f5f9;
    border-radius: 1.5rem;
}

.donation-tab {
    flex: 1;
    padding: 1rem;
    border-radius: 1.25rem;
    font-weight: 800;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #64748b;
    border: 1px solid transparent;
}

.donation-tab.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
    border-color: rgba(16, 185, 129, 0.15);
}

.donation-content {
    display: none;
    animation: slideUpFade 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.donation-content.active {
    display: block;
}

.bank-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 2.5rem;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.bank-card:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.08);
    transform: translateY(-5px);
}

.bank-card::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.bank-info-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 0;
    border-bottom: 1px dashed #e2e8f0;
    position: relative;
    z-index: 1;
}

.bank-info-row:last-child {
    border-bottom: none;
}

.bank-info-label {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

.bank-info-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e293b;
}

.copy-btn {
    padding: 0.5rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 10px;
    font-weight: 800;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .donation-tabs {
        padding: 0.25rem;
    }

    .donation-tab {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }
}

/* Responsiveness Adjustments */
@media (max-width: 768px) {
    .section-padding {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .reveal-up {
        transition-duration: 0.8s;
    }

    /* Volunteer Section Button - full width on mobile */
    .btn-glow-primary {
        width: 100%;
        padding-left: 2rem;
        padding-right: 2rem;
        text-align: center;
        display: block;
    }

    /* Donation Tabs - stack icon above text on mobile */
    .donation-tab {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        padding: 0.8rem 0.5rem;
        font-size: 0.75rem;
    }

    .bank-card {
        padding: 1.5rem !important;
        border-radius: 2rem !important;
    }

    .bank-info-value {
        font-size: 0.95rem;
        word-break: break-all;
    }

    .hero-image-bg {
        background-attachment: scroll;
    }

    #home {
        padding-top: 10rem !important;
        padding-bottom: 6rem !important;
        min-height: auto !important;
    }
}

/* Custom Thin Scrollbar for Mobile Menu */
#mobileMenu>div>div.overflow-y-auto::-webkit-scrollbar {
    width: 3px;
    display: block;
}

#mobileMenu>div>div.overflow-y-auto::-webkit-scrollbar-track {
    background: transparent;
}

#mobileMenu>div>div.overflow-y-auto::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.2);
    border-radius: 10px;
}

#mobileMenu>div>div.overflow-y-auto {
    scrollbar-width: thin;
    scrollbar-color: rgba(16, 185, 129, 0.2) transparent;
}

/* Custom Thin Scrollbar for Modals */
.custom-modal-scrollbar::-webkit-scrollbar {
    width: 6px;
    display: block;
}

.custom-modal-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-modal-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.3);
    border-radius: 10px;
}

.custom-modal-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: rgba(16, 185, 129, 0.3) transparent;
}
/* Khidmah editorial theme */
:root {
    --primary: #16634a;
    --primary-dark: #123d32;
    --primary-glow: rgba(22, 99, 74, 0.12);
    --paper: #faf8f2;
    --body-text: #526258;
    --heading-text: #243d30;
    --surface: #fffcf7;
    --surface-sage: #eaf1e9;
    --surface-warm: #f5efe3;
    --gold: #b38b46;
}
body { font-family: 'Noto Sans Bengali', sans-serif; background: var(--paper); }
h1, h2, h3, h4 { font-family: 'Noto Sans Bengali', sans-serif; }
.italic { font-style: normal; }
section[id] { scroll-margin-top: 95px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
.glass-nav { background: rgba(250, 248, 242, .96); box-shadow: none; border-bottom: 1px solid #e8e4d9; }
.glass-nav .gap-10 { gap: 1.6rem; }
.glass-nav .shadow-lg { box-shadow: none; }
.bg-gradient-primary { background: var(--primary-dark); }
.text-gradient { background: none; color: var(--primary); -webkit-text-fill-color: currentColor; animation: none; }
.btn-login-premium:hover { color: var(--primary) !important; }
.btn-login-premium::after { background: var(--primary); }
.bg-soft-primary { background: #eef4ee; }
.section-padding { padding-top: 88px; padding-bottom: 88px; }
.section-divider { height: 1px; background: #e8e4d9; }
.home-hero { padding: 130px 32px 64px; background: var(--paper); overflow: hidden; }
.hero-layout { max-width: 1216px; margin: auto; display: grid; grid-template-columns: 1fr 1.08fr; gap: 60px; align-items: center; }
.eyebrow { font-size: 16px; font-weight: 500; color: var(--body-text); border-left: 2px solid var(--gold); padding-left: 14px; margin-bottom: 22px; }
.hero-copy h1 { font-size: clamp(42px, 4.6vw, 68px); line-height: 1.18; letter-spacing: -.025em; font-weight: 600; color: #202c26; }
.hero-copy h1 span { color: var(--primary-dark); }
.hero-copy h1::after { content: ''; display: block; width: 88px; height: 3px; background: var(--gold); margin-top: 24px; }
.hero-description { max-width: 460px; font-size: 18px; line-height: 1.8; color: var(--body-text); margin-top: 25px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 30px; }
.action-primary { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 14px 27px; border-radius: 10px; background: var(--primary-dark); color: white; font-size: 19px; font-weight: 600; transition: transform .2s, background .2s; }
.action-primary:hover { background: var(--primary); transform: translateY(-3px); }
.action-primary:active { transform: translateY(0); }
.action-link { display: inline-flex; align-items: center; gap: 15px; color: var(--primary-dark); font-weight: 600; border-bottom: 1px solid #d6d9c9; padding-bottom: 3px; }
.link-arrow { display: inline-flex; align-items: center; justify-content: center; width: 12px; height: 12px; flex: none; color: currentColor; }
.link-arrow svg { display: block; width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.action-link:hover .link-arrow { transform: translateY(2px); }
.hero-causes { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 38px; color: #596057; font-size: 14px; }
.hero-causes span { display: flex; align-items: center; gap: 10px; }
.hero-causes span + span { border-left: 1px solid #ddd8c9; padding-left: 18px; }
.hero-causes i { font-size: 23px; color: var(--gold); }
.hero-visual { position: relative; padding-bottom: 20px; }
.hero-photo { width: 100%; height: 530px; object-fit: cover; border-radius: 24px 24px 80px 24px; }
.initiatives { background: var(--surface-sage); padding-top: 80px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2 { font-size: clamp(28px, 3vw, 40px); color: #202c26; font-weight: 600; line-height: 1.25; }
.section-heading h2 span { color: var(--primary); }
.initiative-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.initiative-card { background: #fffcf7; border: 1px solid #e8e4d9; border-radius: 16px; overflow: hidden; }
.initiative-art img { width: 100%; height: 185px; object-fit: cover; transition: transform .5s; }
.initiative-card:hover .initiative-art img { transform: scale(1.025); }
.initiative-body { padding: 23px; }
.initiative-title { display: flex; gap: 14px; align-items: center; }
.initiative-title h3 { font-size: 25px; font-weight: 600; color: #24332d; }
.initiative-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; background: #f2ead9; color: #956b28; font-size: 21px; flex-shrink: 0; }
.initiative-body p { color: var(--body-text); font-size: 16px; line-height: 1.8; margin: 18px 0; }
.initiative-body > a { color: var(--primary); font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
#about { background: var(--surface-sage); }
#about .shadow-2xl { box-shadow: none; }
#about h2, #donate h2 { font-weight: 600; }
#donate { background: #fcfaf5; }
#donate .shadow-premium { box-shadow: 0 12px 40px #123d3208; border-radius: 24px; }
#donate h2 { font-size: clamp(36px, 4vw, 55px); line-height: 1.2; }
.donation-steps { display: flex; gap: 12px; justify-content: space-between; padding-bottom: 26px; margin-bottom: 28px; border-bottom: 1px solid #e8e4d9; }
.donation-steps li { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: #526258; }
.donation-steps span { display: grid; place-items: center; height: 28px; width: 28px; border-radius: 50%; background: #eef4ee; color: var(--primary); }
.volunteer-cta-section { background-attachment: scroll; }
.volunteer-cta-glass { backdrop-filter: none; box-shadow: none; background: #123d32e8; border-radius: 24px; }
footer.bg-dark-footer { background: #102f27; padding-top: 80px; }
.animate-pulse, .animate-ping, .animate-float, .animate-glow { animation: none; }
/* Content is visible by default, including when JavaScript is unavailable. */
.reveal-up, .reveal-up.active { opacity: 1; transform: none; animation: none; transition: none; }
@media (prefers-reduced-motion: no-preference) {
    .reveal-up.is-revealing { animation: editorial-reveal .65s cubic-bezier(.2,.7,.2,1) both; }
    .reveal-up.is-revealing.stagger-1 { animation-delay: .07s; }
    .reveal-up.is-revealing.stagger-2 { animation-delay: .14s; }
    .reveal-up.is-revealing.stagger-3 { animation-delay: .21s; }
    .reveal-up.is-revealing.stagger-4 { animation-delay: .28s; }
}
@keyframes editorial-reveal { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1100px) {
    .glass-nav .gap-10 { gap: 1rem; }
    .glass-nav .nav-link-dynamic { font-size: 14px; }
    .hero-layout { gap: 35px; }
    .hero-photo { height: 480px; }
}
@media (min-width: 768px) and (max-width: 1000px) {
    .glass-nav > div > div > .hidden { display: none; }
    #mobileMenuBtn { display: block; }
    #mobileMenu { display: block; }
}
@media (max-width: 767px) {
    #home.home-hero { padding: 108px 22px 40px !important; }
    .hero-layout { grid-template-columns: 1fr; gap: 28px; }
    .hero-copy h1 { font-size: clamp(40px, 10vw, 58px); }
    .hero-description { font-size: 17px; }
    .hero-actions { gap: 16px; }
    .hero-causes { gap: 12px; font-size: 12px; margin-top: 28px; }
    .hero-causes span + span { padding-left: 12px; }
    .hero-causes i { font-size: 18px; }
    .hero-photo { height: 260px; border-radius: 18px 18px 60px 18px; }
    .section-padding { padding-top: 55px; padding-bottom: 55px; }
    .section-heading { align-items: start; flex-direction: column; gap: 16px; }
    .initiative-grid { grid-template-columns: 1fr; }
    .initiative-art img { height: 190px; }
    #about img { height: 340px; }
    #about .gap-20, #donate .gap-24 { gap: 36px; }
    .volunteer-cta-section { padding-top: 60px; padding-bottom: 60px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Preserve each vector composition on narrow screens; never crop characters. */
.hero-photo {
    object-fit: contain;
    background: #f1f2e6;
    border: 1px solid #e2e7d8;
    border-radius: 24px;
}
.initiative-art img {
    object-fit: contain;
    background: #f1f2e6;
}



/* A consistent Bengali typeface across content and controls (icons keep their font). */
body, h1, h2, h3, h4, h5, h6, button, input, select, textarea, .font-mono {
    font-family: 'Noto Sans Bengali', sans-serif;
}
.hero-copy h1 { font-weight: 700; line-height: 1.35; font-size: clamp(40px, 4.2vw, 61px); }
.hero-description { line-height: 1.9; }
.section-shell { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.impact-section { background: var(--paper); padding: 80px 0; }
.impact-section .section-shell { display: grid; grid-template-columns: .85fr 1.6fr; align-items: center; gap: 65px; }
.impact-intro h2 { font-size: 31px; line-height: 1.55; font-weight: 600; color: #243d30; }
.impact-intro h2 span { color: var(--primary); }
.impact-intro > p:last-child { color: var(--body-text); font-size: 15px; line-height: 1.9; margin-top: 18px; max-width: 340px; }
.impact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #dadfcf; border-bottom: 1px solid #dadfcf; padding: 30px 0; }
.impact-item { padding: 8px 15px; text-align: center; }
.impact-item + .impact-item { border-left: 1px solid #dadfcf; }
.impact-icon { display: inline-grid; place-items: center; height: 43px; width: 43px; border-radius: 50%; color: #7c683e; background: #efe9d8; margin-bottom: 23px; font-size: 18px; }
.impact-number { display: flex; align-items: baseline; justify-content: center; color: #123d32; font-size: clamp(26px, 2.7vw, 37px); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.impact-plus { color: #a0834d; font-size: 22px; margin-left: 3px; }
.impact-item > p { font-size: 13px; color: var(--body-text); margin-top: 12px; }
.volunteer-section { padding: 75px 0 90px; background: var(--surface-warm); }
.volunteer-panel { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border: 1px solid #dfe6d5; border-radius: 28px; overflow: hidden; }
.volunteer-art { display: flex; flex-direction: column; justify-content: center; padding: 35px 15px 35px 30px; }
.volunteer-art img { width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.volunteer-art-label { align-self: center; display: flex; align-items: center; gap: 10px; color: #597152; font-size: 13px; border-bottom: 1px solid #cbd5bd; padding-bottom: 6px; }
.volunteer-copy { padding: 55px 46px 45px 25px; }
.volunteer-copy h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.5; font-weight: 600; color: #243d30; }
.volunteer-copy h2 span { color: var(--primary); }
.volunteer-copy > p:not(.eyebrow):not(.volunteer-note) { font-size: 15px; line-height: 2; color: #586952; margin-top: 20px; }
.volunteer-options { display: flex; flex-wrap: wrap; gap: 18px; margin: 26px 0; font-size: 12px; color: #466041; }
.volunteer-options i { color: #9c7f45; margin-right: 5px; }
.volunteer-copy .action-primary { font-size: 16px; }
.volunteer-copy .volunteer-note { font-size: 12px; color: #65745e; margin-top: 17px; }
.site-footer { background: #153d31; color: #e7eddf; padding: 0 0 25px; }
.footer-invitation { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 46px 0 36px; border-bottom: 1px solid #ffffff24; }
.footer-invitation p { font-size: clamp(16px, 4.5vw, 23px); line-height: 1.8; color: #ede7cc; white-space: nowrap; }
.footer-invitation > a { padding: 13px 18px; border: 1px solid #a4b591; border-radius: 8px; color: #f5f1dc; font-size: 14px; }
.footer-invitation > a .link-arrow { margin-left: 10px; color: #d6bd84; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .9fr 1.2fr; gap: 42px; padding: 45px 0; }
.footer-brand { display: flex; gap: 12px; align-items: center; font-size: 18px; font-weight: 600; }
.footer-brand-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #e7ead6; color: #24563e; flex-shrink: 0; }
.footer-about > p, .footer-join > p, .footer-contact p { font-size: 13px; line-height: 1.95; color: #beccb5; margin-top: 18px; }
.footer-signature { display: block; margin-top: 20px; color: #d1b87e; font-size: 12px; }
.footer-grid h2 { font-size: 14px; color: #ede7cc; font-weight: 600; margin-bottom: 24px; }
.footer-grid nav a, .footer-join button, .footer-contact a { display: block; font-size: 13px; color: #cbd6c2; margin-bottom: 16px; text-align: left; }
.footer-join button .link-arrow { margin-left: 10px; color: #d1b87e; }
.footer-contact { font-style: normal; min-width: 0; }
.footer-contact a { overflow-wrap: anywhere; }

.site-footer a:hover, .site-footer button:hover { color: #fff9dc; }
.footer-bottom { border-top: 1px solid #ffffff24; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; font-size: 11px; color: #c1cfb7; }
.footer-bottom a { white-space: nowrap; }
.footer-bottom span { margin-left: 12px; color: #d1b87e; }
@media (max-width: 1100px) {
    .impact-section .section-shell { grid-template-columns: 1fr; gap: 30px; }
    .impact-intro > p:last-child { max-width: 650px; }
    .footer-grid { grid-template-columns: 1.2fr 1fr; }
}
@media (max-width: 767px) {
    .section-shell { padding: 0 22px; }
    .impact-section, .volunteer-section { padding: 50px 0; }
    .impact-intro h2 { font-size: 28px; }
    .impact-grid { grid-template-columns: 1fr 1fr; padding: 0; border: none; gap: 12px; }
    .impact-item, .impact-item + .impact-item { border: 1px solid #dce2d2; border-radius: 16px; padding: 23px 10px; background: #f1f3e9; }
    .impact-number { font-size: 29px; }
    .impact-icon { margin-bottom: 16px; }
    .volunteer-panel { grid-template-columns: 1fr; border-radius: 20px; }
    .volunteer-art { padding: 25px 12px 0; }
    .volunteer-copy { padding: 20px 24px 30px; }
    .volunteer-copy h2 { font-size: 28px; }
    .volunteer-options { gap: 12px; }
    .volunteer-copy .action-primary { width: 100%; }
    .footer-invitation { align-items: flex-start; flex-direction: column; padding: 35px 0; }
    .footer-grid { gap: 32px 20px; }
    .footer-about, .footer-contact { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; font-size: 11px; line-height: 1.8; }
    .hero-copy h1 { font-size: clamp(34px, 9vw, 48px); }
}
/* Keep account numbers and other formerly monospace fields in the chosen typeface. */
.font-mono { font-family: 'Noto Sans Bengali', sans-serif !important; }

/* Alternate sage, warm cream and light surfaces across the page. */
#home, #activities, #about, #impact, #donate, #faq, #volunteer { border: 0; }
#about .eyebrow { margin-bottom: 14px; }
#about h2 { line-height: 1.45; }
#about .space-y-4 > .flex { padding: 18px 0; border-top: 1px solid #d6dfd0; }
#about .space-y-4 > .flex + .flex { margin-top: 0; }
#impact { background: #e8efe5; }
.section-divider { display: none; }
#donate { background: #fcfaf5; }
.donation-intro { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 65px; margin-bottom: 38px; }
.donation-intro .eyebrow { margin-bottom: 16px; }
#donate h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.5; color: #243d30; }
#donate h2 span { color: var(--primary); }
.donation-intro > p { max-width: 470px; color: #586952; font-size: 17px; line-height: 1.95; padding-bottom: 8px; }
.donation-workspace { display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid #d7e0d0; border-radius: 24px; overflow: hidden; background: #fffcf7; }
.donation-payment, .donation-followup { min-width: 0; padding: 32px; }
.donation-followup { background: #f8faf6; border-left: 1px solid #dfe4d8; }
.donation-panel-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.step-marker { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; color: var(--primary); background: #e7edde; font-size: 19px; }
.donation-panel-heading h3 { color: #243d30; font-size: 23px; font-weight: 600; line-height: 1.5; }
.donation-panel-heading p { color: var(--body-text); font-size: 13px; margin-top: 4px; line-height: 1.8; }
#donate .donation-tabs { display: flex; gap: 6px; padding: 5px; background: #eeeee3; border: 1px solid #e0e3d5; border-radius: 12px; margin-bottom: 22px; }
#donate .donation-tab { flex: 1; padding: 12px 8px; border-radius: 8px; font-size: 14px; font-weight: 600; color: #526258; box-shadow: none; }
#donate .donation-tab.active { background: var(--primary-dark); color: #fff; }
#donate .bank-card { background: transparent; border: 0; border-radius: 0 !important; padding: 0 !important; box-shadow: none; }
#donate .bank-card:hover { transform: none; }
#donate .bank-card::before { display: none; }
#donate .bank-card > .flex { margin-bottom: 14px; gap: 12px; }
#donate .bank-card > .flex > div:first-child { width: 40px; height: 40px; border-radius: 10px; background: #eef4ee; border: 0; box-shadow: none; }
#donate .bank-card h4 { font-size: 17px; font-weight: 600; }
#donate .bank-card .text-\[10px\] { font-size: 13px; font-weight: 400; color: var(--body-text); margin-top: 5px; }
#donate .bank-info-row { padding: 10px 0; border-color: #dce2d3; }
#donate .bank-info-row + .bank-info-row { margin-top: 0; }
#donate .bank-info-label { color: var(--body-text); font-size: 13px; font-weight: 500; letter-spacing: 0; }
#donate .bank-info-value { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; word-break: normal; letter-spacing: .01em; }
#donate .bank-info-row .text-3xl { font-size: clamp(25px, 2.5vw, 34px); font-weight: 600; color: var(--primary-dark); }
#donate .bank-info-row button { flex-shrink: 0; min-width: 44px; min-height: 44px; background: #eef4ee; }
.payment-note { display: flex; align-items: baseline; gap: 8px; margin-top: 22px; padding-top: 16px; border-top: 1px solid #dfe4d8; font-size: 14px; color: var(--body-text); line-height: 1.8; }
.payment-note i { color: var(--gold); }
.followup-description { font-size: 15px; line-height: 1.95; color: #586952; }
.donation-checklist { margin: 22px 0 28px; }
.donation-checklist li { display: flex; gap: 12px; align-items: baseline; font-size: 14px; color: #405a45; padding: 11px 0; border-bottom: 1px solid #e0e1d2; line-height: 1.8; }
.donation-checklist i { color: #92733c; font-size: 12px; }
.donation-contact { width: 100%; gap: 12px; font-size: 16px; padding: 14px 12px; }
.donation-contact-note { font-size: 13px; color: var(--body-text); text-align: center; margin-top: 10px; }
.donation-help { border-top: 1px solid #dddfd0; padding-top: 20px; margin-top: 25px; font-size: 13px; color: var(--body-text); }
.donation-help a { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; margin-top: 8px; color: var(--primary); font-size: 15px; font-weight: 500; }
.donation-thanks { color: var(--body-text); font-size: 13px; text-align: center; margin-top: 23px; line-height: 1.9; }
.faq-section { background: var(--surface); }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 65px; align-items: start; }
.faq-intro h2 { color: var(--heading-text); font-size: 36px; font-weight: 600; line-height: 1.6; }
.faq-intro > p:last-child { color: var(--body-text); font-size: 16px; line-height: 1.9; margin-top: 15px; max-width: 300px; }
.faq-item { border-color: #e0e3d5; box-shadow: none; border-radius: 12px; }
.faq-item button { background: var(--paper); padding: 20px 22px; gap: 20px; }
.faq-item button:hover, .faq-item button.active { background: #eef4ee; }
.faq-item button span { color: var(--heading-text); font-weight: 500; font-size: 15px; }
.faq-content, .faq-content > div { background: #fffcf7; }
.faq-content > div { padding: 20px 22px; font-size: 14px; color: var(--body-text); line-height: 1.95; }

/* Shared form surfaces preserve existing field icons and validation hooks. */
.site-form-modal > div { background: var(--paper); border: 1px solid #dfe4d8; border-radius: 22px; box-shadow: 0 24px 80px #123d3226; }
.site-form-modal .auth-help-note { background: #eef4ee; border: 1px solid #d6e3d8; border-radius: 12px; padding: 14px 16px; color: #526258; font-size: 14px; font-weight: 500; line-height: 1.8; }
.site-form-modal .auth-help-note a { color: var(--primary-dark); font-weight: 700; }
.site-form-modal h3 { color: #243d30; font-weight: 600; }
.site-form-modal form label { font-size: 13px; font-weight: 500; letter-spacing: 0; color: #526258; padding-left: 0; line-height: 1.7; }
.site-form-modal form input:not([type="checkbox"]), .site-form-modal form select, .site-form-modal form textarea { background: #fffcf7; border: 1px solid #d6ddcf; border-radius: 10px; color: #243d30; font-size: 16px; font-weight: 400; padding-top: 13px; padding-bottom: 13px; }
.site-form-modal form input::placeholder, .site-form-modal form textarea::placeholder { color: #7b8577; opacity: 1; }
.site-form-modal form input:focus, .site-form-modal form select:focus, .site-form-modal form textarea:focus { border-color: var(--primary); outline: 2px solid #16634a30; outline-offset: 2px; box-shadow: none; }
.site-form-modal form input[type="checkbox"] { accent-color: var(--primary); }
#volunteerModal form label:has(#volIsBloodDonor) { background: transparent; border: 0; border-radius: 0; box-shadow: none; color: #24483a; }
#volunteerModal form label:has(#volIsBloodDonor) span { color: #24483a; }
#volunteerModal form label:has(#volIsBloodDonor):hover,
#volunteerModal form label:has(#volIsBloodDonor:checked) { background: transparent; box-shadow: none; }
#volunteerModal #volIsBloodDonor { appearance: none; width: 22px; height: 22px; flex: 0 0 22px; margin: 0; border: 1.5px solid #8aa294; border-radius: 6px; background: #fff; display: grid; place-content: center; cursor: pointer; }
#volunteerModal #volIsBloodDonor::after { content: ''; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .12s ease; }
#volunteerModal #volIsBloodDonor:checked { background: var(--primary); border-color: var(--primary); }
#volunteerModal #volIsBloodDonor:checked::after { transform: rotate(45deg) scale(1); }
#volunteerModal #volIsBloodDonor:focus-visible { outline: 3px solid #16634a35; outline-offset: 2px; }
.site-form-modal form button[type="submit"], #submitVolunteerBtn { border-radius: 10px; background: var(--primary-dark); box-shadow: none; font-size: 16px; font-weight: 600; padding-top: 14px; padding-bottom: 14px; }
.site-form-modal form button[type="submit"]:hover, #submitVolunteerBtn:hover { background: var(--primary); transform: none; }
.site-form-modal button[aria-label="বন্ধ করুন"] { min-width: 36px; min-height: 36px; color: var(--body-text); }
#volunteerModal h3 + p { font-size: 12px; font-weight: 400; color: var(--body-text); }
@media (max-width: 900px) {
    .donation-intro { gap: 30px; }
    .donation-payment, .donation-followup { padding: 24px; }
    .faq-layout { grid-template-columns: 1fr; gap: 30px; }
    .faq-intro > p:last-child { max-width: none; }
}
@media (max-width: 767px) {
    .donation-intro, .donation-workspace { grid-template-columns: 1fr; gap: 0; }
    .donation-intro { gap: 20px; margin-bottom: 26px; }
    .donation-intro > p { font-size: 16px; padding-bottom: 0; }
    .donation-workspace { border-radius: 18px; }
    .donation-followup { border-left: 0; border-top: 1px solid #dfe4d8; }
    .donation-payment, .donation-followup { padding: 24px 18px; }
    .donation-panel-heading h3 { font-size: 21px; }
    .donation-panel-heading p { font-size: 13px; }
    #donate .donation-tab { flex-direction: row; justify-content: center; gap: 6px; font-size: 13px; }
    #donate .donation-tab i { margin: 0; }
    #donate .bank-card .gap-6 { gap: 14px; }
    .donation-contact { font-size: 14px; }
    .faq-intro h2 { font-size: 29px; }
    .faq-item button, .faq-content > div { padding: 18px; }
    .site-form-modal .custom-modal-scrollbar { padding: 28px 22px; }
}

/* Keep decorative icons subordinate to the surrounding text. */
body i:is(.fas, .far, .fab) { font-size: .8em !important; }
.hero-causes i { font-size: 14px !important; }
.action-link > .link-arrow, .donation-contact > .link-arrow,
.footer-invitation > a > .link-arrow, .footer-join button > .link-arrow,
.footer-bottom a > .link-arrow { width: 12px; height: 12px; }
.initiative-icon { width: 34px; height: 34px; font-size: 18px; }
.impact-icon { width: 32px; height: 32px; font-size: 17px; margin-bottom: 16px; }
.footer-brand-icon { width: 30px; height: 30px; border-radius: 8px; }
.glass-nav a[aria-label] > div:first-child { width: 32px; height: 32px; border-radius: 9px; }
.site-form-modal .w-16.h-16 { width: 42px; height: 42px; border-radius: 12px; }
#donate .bank-card > .flex > div:first-child { width: 32px; height: 32px; }

/* Shared content hierarchy. */
.section-description { max-width: 560px; margin-top: 16px; font-size: 16px; line-height: 1.8; color: var(--body-text); }
.section-heading h2 { line-height: 1.45; }
.initiative-body { display: flex; flex-direction: column; flex: 1; }
.initiative-card { display: flex; flex-direction: column; }
.initiative-body > a { margin-top: auto; }
.about-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
.about-copy h2 { font-size: clamp(28px, 3vw, 40px); color: var(--heading-text); line-height: 1.5; }
.about-copy h2 span { color: var(--primary); }
.about-copy > p:not(.eyebrow), .about-contact p { font-size: 16px; line-height: 1.85; color: var(--body-text); margin: 18px 0; }
.about-copy h3, .about-contact h3 { font-size: 20px; font-weight: 600; color: var(--heading-text); }
.about-copy h3 { margin-top: 24px; }
.about-contact { font-style: normal; border: 1px solid #dfe4d8; border-radius: 16px; padding: 28px; background: #eef4ee; min-width: 0; }
.about-contact > a { display: block; margin-top: 12px; color: var(--primary-dark); overflow-wrap: anywhere; }
.about-contact .action-link { display: inline-flex; }
.about-contact .about-contact-note { font-size: 14px; margin-top: 24px; }
.copy-status { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 250; width: max-content; max-width: calc(100% - 32px); border-radius: 12px; background: var(--primary-dark); color: white; font-size: 15px; line-height: 1.8; text-align: center; box-shadow: 0 6px 24px #123d3226; }
.copy-status:not(:empty) { padding: 12px 20px; }
@media (max-width: 767px) {
    .hero-copy h1::after { margin-top: 18px; }
    .hero-description { margin-top: 20px; line-height: 1.8; }
    .hero-actions { margin-top: 24px; }
    .hero-actions .action-primary { font-size: 16px; padding: 13px 20px; gap: 14px; }
    .hero-actions .action-link { font-size: 14px; gap: 8px; }
    .hero-causes { margin-top: 22px; }
    .about-layout { grid-template-columns: 1fr; gap: 28px; }
    .about-contact { padding: 24px; }
    .volunteer-art { display: none; }
    .volunteer-copy { padding: 28px 24px; }
    .volunteer-options { font-size: 14px; }
    .footer-grid nav a, .footer-join button, .footer-contact a { font-size: 14px; }
}

/* Initiative slider progressively enhances the six-card grid. */
.initiative-grid { gap: 24px; }
.initiative-card { min-width: 0; transition: border-color .2s, box-shadow .2s; }
.initiative-card:hover { border-color: #bacbbb; box-shadow: 0 8px 24px #123d320a; }
.initiative-title h3 { font-size: 23px; }
.initiative-body { padding: 22px; }
.initiative-body p { margin: 14px 0 0; }
.initiative-slider { --cards-per-view: 3; position: relative; display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain; padding-bottom: 6px; }
.initiative-slider > .initiative-card { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; scroll-snap-stop: always; }
.initiative-navigation { display: flex; justify-content: center; margin-top: 18px; }
.initiative-navigation[hidden] { display: none; }
.initiatives-followup { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 26px; padding-top: 26px; border-top: 1px solid #ccd9cb; }
.initiatives-followup p { color: var(--body-text); font-size: 16px; line-height: 1.8; max-width: 540px; }
.initiatives-followup .action-primary { flex-shrink: 0; font-size: 16px; }
@media (min-width: 768px) and (max-width: 1100px) {
    .initiative-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .initiative-slider { --cards-per-view: 2; }
    .initiative-slider > .initiative-card { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 767px) {
    .initiative-grid { gap: 16px; }
    .initiative-slider { --cards-per-view: 1; }
    .initiative-slider > .initiative-card { flex-basis: 100%; }
    .initiative-card { border-radius: 16px; }
    .initiative-art img { width: 100%; height: 210px; object-fit: contain; }
    .initiative-body { padding: 20px; }
    .initiative-title h3 { font-size: 22px; line-height: 1.5; }
    .initiative-body p { font-size: 16px; line-height: 1.8; margin-top: 12px; }
    .initiatives-followup { flex-direction: column; align-items: stretch; gap: 18px; margin-top: 24px; padding-top: 22px; }
    .initiatives-followup p { font-size: 15px; }
}

/* Inset artwork and quiet pagination keep the cards in focus. */
.initiative-slider::-webkit-scrollbar { display: none; width: 0; height: 0; }
.initiative-card { border-radius: 22px; background: #fffefa; border-color: #dce5da; }
.initiative-art { position: relative; margin: 10px 10px 0; border-radius: 15px; overflow: hidden; background: #f1f2e6; }
.initiative-art img { display: block; width: 100%; height: 210px; object-fit: contain; }
.initiative-body { padding: 24px; }
.initiative-body p { color: #58675b; }
.initiative-pagination { display: flex; align-items: center; justify-content: center; gap: 2px; }
.initiative-pagination button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; }
.initiative-pagination button::after { content: ''; width: 7px; height: 7px; border-radius: 8px; background: #a7b9a9; transition: width .2s, background .2s; }
.initiative-pagination button[aria-current="true"]::after { width: 25px; background: var(--primary-dark); }
.initiative-pagination button:hover::after { background: var(--primary); }
@media (max-width: 767px) {
    .initiative-art img { height: 210px; }
    .initiative-body { padding: 20px; }
    .initiative-pagination button { width: 36px; height: 36px; }
}


/* Volunteer registration uses the same centered, single-scroll layout as donor registration. */
#volunteerModal .volunteer-modal-content { padding: 32px 40px; max-height: 85vh; max-height: min(85dvh, 900px); min-width: 0; overscroll-behavior: contain; }
.volunteer-modal-heading { text-align: center; margin-bottom: 24px; }
.volunteer-modal-heading h3 { margin-top: 24px; line-height: 1.5; }
#volunteerModal .volunteer-modal-heading p { margin-top: 8px; font-size: 14px; }
.volunteer-close { border-radius: 50%; background: var(--paper); }
.volunteer-close:hover { background: #e7edde; }
#volFieldsSection > div { min-width: 0; }
#volCountryCode { flex: 0 0 112px; width: 112px; min-width: 0; }
.volunteer-modal-actions { margin-top: 24px; }

/* Compact navigation leaves room for every destination and contact on phones. */
@media (max-width: 1023px) {
    #mobileMenu > div { width: min(340px, calc(100% - 28px)); padding: 18px; padding-bottom: max(18px, env(safe-area-inset-bottom)); gap: 16px; background: var(--paper); }
    #mobileMenu > div > div:first-child { padding: 0 0 12px; border-bottom: 1px solid #dfe4d8; }
    #mobileMenu > div > div:first-child > span { font-size: 18px; font-weight: 600; color: var(--primary-dark); }
    #closeMenuBtn { width: 44px; height: 44px; border-radius: 50%; background: #eaf0e5; font-size: 18px; }
    #mobileMenu > div > .overflow-y-auto { min-height: 0; padding-right: 0; overscroll-behavior: contain; }
    #mobileMenu nav { gap: 4px; font-size: 15px; }
    #mobileMenu .mobile-nav-link, #mobileNavAuthSection button, #mobileNavUserSection button { padding: 9px 10px; min-height: 50px; gap: 12px; border-radius: 10px; font-weight: 500; }
    #mobileMenu .mobile-nav-link > div, #mobileNavUserSection button > div { gap: 12px; }
    #mobileMenu .w-10.h-10 { width: 32px; height: 32px; flex-shrink: 0; border-radius: 9px; background: #eaf0e5; color: var(--primary); box-shadow: none; }
    #mobileNavAuthSection button span, #mobileNavUserSection button span { font-size: 15px; font-weight: 500; }
    #mobileMenu a[href="#donate"] { padding: 12px; border-radius: 10px; font-size: 16px; font-weight: 600; box-shadow: none; }
    #mobileMenu a[href^="tel:"], #mobileMenu a[href^="mailto:"] { padding: 10px; gap: 10px; border-radius: 10px; background: #edf2e9; }
    #mobileMenu a[href^="mailto:"] .text-ellipsis { white-space: normal; overflow-wrap: anywhere; }
    #mobileMenu .w-9.h-9 { width: 30px; height: 30px; border-radius: 8px; }
}
@media (max-width: 767px) {
    .hero-copy { text-align: center; min-width: 0; }
    .hero-copy .eyebrow { display: inline-block; font-size: 14px; margin-bottom: 22px; }
    .hero-copy h1 { font-size: clamp(30px, 8.7vw, 42px); line-height: 1.4; letter-spacing: -.02em; }
    .hero-copy h1::after { margin: 18px auto 0; width: 56px; }
    .hero-description { max-width: 520px; margin: 18px auto 0; font-size: 16px; }
    .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .hero-actions > a { min-width: 0; justify-content: center; min-height: 48px; }
    .hero-actions .action-primary { padding: 12px 8px; gap: 10px; }
    .hero-actions .action-link { padding: 12px 6px; border: 1px solid #ccd6c8; border-radius: 10px; font-size: 13px; gap: 6px; }
    .hero-causes { display: grid; grid-template-columns: auto auto auto; justify-content: center; gap: 12px; font-size: 12px; }
    .hero-causes span { gap: 6px; }
    .hero-causes span + span { padding-left: 12px; }
    .footer-invitation { align-items: stretch; text-align: center; gap: 18px; padding: 28px 0; }
    .footer-invitation p { white-space: normal; font-size: clamp(17px, 4.6vw, 23px); font-weight: 400; }
    .footer-invitation > a { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 48px; }
    .footer-invitation > a .link-arrow { margin: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; padding: 32px 0; }
    .footer-grid > * { min-width: 0; }
    .footer-grid h2 { margin-bottom: 16px; }
    .site-form-modal { padding: 12px; }
    .site-form-modal > div { max-height: calc(100dvh - 24px); border-radius: 18px; }
    .site-form-modal .custom-modal-scrollbar { max-height: calc(100dvh - 26px); overscroll-behavior: contain; }
    #volunteerModal .volunteer-modal-content { padding: 28px 22px; max-height: calc(100vh - 26px); max-height: calc(100dvh - 26px); }
    #volunteerModal h3 { font-size: 22px; }
    .site-form-modal button[aria-label="বন্ধ করুন"] { min-width: 44px; min-height: 44px; top: 12px; right: 12px; }
}
@media (max-width: 359px) {
    .hero-actions { grid-template-columns: 1fr; }
    .hero-causes { gap: 8px; font-size: 11px; }
    .hero-causes span + span { padding-left: 8px; }
    #volunteerModal .volunteer-modal-content { padding: 28px 18px; }
    #volCountryCode { flex-basis: 104px; width: 104px; padding-left: 8px; padding-right: 4px; }
}


/* Keep the hero message to two deliberate lines with a closing sentence in its description. */
.hero-copy h1 { font-size: clamp(40px, 4vw, 48px); line-height: 1.35; }
.hero-title-first, .hero-title-second { display: block; }
.hero-description-ending { display: block; margin-top: 8px; color: var(--primary-dark); font-weight: 500; }
.hero-layout { grid-template-columns: 1.12fr .88fr; }
.hero-visual { position: relative; padding-bottom: 0; }
@media (min-width: 1001px) {
    .hero-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}
@media (min-width: 768px) and (max-width: 1000px) {
    .hero-layout { grid-template-columns: 1fr; gap: 24px; }
    .hero-copy h1 { font-size: clamp(38px, 5vw, 48px); }
    .hero-description { max-width: 680px; }
    .hero-visual { width: 100%; }
    .hero-photo { height: 360px; }
}
@media (max-width: 767px) {
    .hero-layout { grid-template-columns: minmax(0, 1fr); }
    .hero-copy .eyebrow { border-left: 0; padding-left: 0; margin-bottom: 16px; }
    .hero-copy h1 { font-size: clamp(23px, 7.1vw, 29px); line-height: 1.55; letter-spacing: -.025em; }
    .hero-actions { display: flex; justify-content: center; align-items: center; gap: 20px; }
    .hero-actions > a { min-height: 44px; }
    .hero-actions .action-primary { flex: 0 0 auto; padding: 12px 18px; }
    .hero-actions .action-link { flex: 0 1 auto; border: 0; border-radius: 0; padding: 6px 0; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
    .hero-photo { height: 240px; }
    .section-padding { padding-top: 40px; padding-bottom: 40px; }
    .section-heading { gap: 10px; margin-bottom: 22px; }
    .section-heading .eyebrow { margin-bottom: 8px; }
    .section-description { margin-top: 10px; }
    .impact-section, .volunteer-section { padding-top: 40px; padding-bottom: 40px; }
    .donation-intro { gap: 12px; margin-bottom: 20px; }
    .donation-intro .eyebrow { margin-bottom: 10px; }
    .donation-workspace .donation-panel-heading { margin-bottom: 18px; }
    .faq-layout { gap: 20px; }
    .about-layout { gap: 20px; }
    .about-copy > p:not(.eyebrow), .about-contact p { margin: 12px 0; }
    .footer-invitation { padding-top: 24px; padding-bottom: 24px; }
}
@media (max-width: 359px) {
    .hero-copy h1 { font-size: 23px; }
    .hero-actions { gap: 12px; }
    .hero-actions .action-primary { padding: 12px; }
    .hero-actions .action-link { font-size: 13px; }
}


/* Give mobile section introductions the same centered rhythm as the hero. */
@media (max-width: 767px) {
    .mobile-section-intro { width: 100%; min-width: 0; text-align: center; }
    .section-heading.mobile-section-intro { align-items: center; margin-bottom: 24px; }
    .section-heading.mobile-section-intro > div { width: 100%; }
    :is(#activities, #donate, #about, #faq, #volunteer) .mobile-section-intro .eyebrow {
        border-left: 0;
        padding-left: 0;
        margin: 0 0 16px;
        font-size: 14px;
        line-height: 1.7;
    }
    :is(#activities, #donate, #about, #faq, #volunteer) .mobile-section-intro h2 {
        font-size: clamp(26px, 7.1vw, 29px);
        line-height: 1.5;
        text-wrap: balance;
    }
    .mobile-section-intro .section-description,
    .about-copy.mobile-section-intro > h2 + p,
    .faq-intro.mobile-section-intro > p:last-child,
    .volunteer-copy.mobile-section-intro > p:not(.eyebrow):not(.volunteer-note) {
        max-width: 520px;
        margin: 16px auto 0;
        font-size: 16px;
        line-height: 1.8;
    }
    .donation-intro.mobile-section-intro { gap: 16px; margin-bottom: 24px; }
    .donation-intro.mobile-section-intro > p {
        max-width: 520px;
        margin: 0 auto;
        line-height: 1.8;
    }
    .faq-layout, .about-layout { gap: 24px; }
    .volunteer-copy.mobile-section-intro .volunteer-options { justify-content: center; gap: 10px 16px; margin: 20px 0; }
}

/* Match the SVG proportions at every breakpoint to avoid empty image bands. */
.hero-photo,
.initiative-art img {
    display: block;
    height: auto;
}
