/* ==============================================================================
   Shatorupa Manabik Unnayan Foundation (শতরূপা মানবিক উন্নয়ন ফাউন্ডেশন)
   Design System & Master Stylesheet
   Typography: Hind Siliguri (Bengali) + Inter (English/Numbers)
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #004d40;
    --primary-dark: #002e26;
    --primary-light: #00796b;
    --primary-subtle: #e0f2f1;
    --accent: #d4af37;
    --accent-dark: #b59226;
    --accent-light: #fff8e1;
    --cta: #e05d44;
    --cta-hover: #c84932;
    --success: #2e7d32;
    --info: #0288d1;
    --warning: #ed6c02;
    --danger: #d32f2f;
    --dark: #1a202c;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --text-main: #2d3748;
    --text-muted: #64748b;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-hover: 0 14px 28px rgba(0,77,64,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Hind Siliguri', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    background-color: var(--light-bg);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--cta);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Announcement Bar */
.top-bar {
    background-color: var(--primary-dark);
    color: #e2e8f0;
    font-size: 0.88rem;
    padding: 8px 0;
    border-bottom: 2px solid var(--accent);
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.top-bar-info span {
    margin-right: 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.reg-badge {
    background: rgba(212, 175, 55, 0.2);
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Header & Navbar */
.site-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}
.header-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 74px;
    gap: 16px;
}
.brand-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}
.header-logo-img {
    height: 48px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}
.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-weight: 700;
    font-size: 22px;
    box-shadow: 0 4px 10px rgba(0,77,64,0.25);
    flex-shrink: 0;
}
.brand-name-bn {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.15;
}
.brand-name-en {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

/* Desktop Nav Menu */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}
.nav-item {
    margin: 0;
}
.nav-item a {
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    font-weight: 600;
    color: #1e293b;
    border-radius: 6px;
    font-size: 0.86rem;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.nav-item a:hover, .nav-item.active a {
    color: var(--primary);
    background: var(--primary-subtle);
}
.nav-item-donate .nav-donate-pill {
    background: #e05d44 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 6px 14px !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(224, 93, 68, 0.35);
}
.nav-item-donate .nav-donate-pill:hover {
    background: #c84932 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(224, 93, 68, 0.45);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.btn-header-donate {
    padding: 8px 16px;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
    display: none;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    width: 44px;
    height: 44px;
    padding: 10px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}
.mobile-toggle:hover, .mobile-toggle:active {
    background: var(--primary-subtle);
    border-color: var(--primary);
}
.hamburger-bar {
    display: block;
    width: 22px;
    height: 2.5px;
    background-color: var(--primary-dark);
    border-radius: 2px;
}

/* Mobile Bottom Bar - HIDDEN by default on Desktop */
.mobile-bottom-bar {
    display: none !important;
}

/* Mobile Off-Canvas Drawer */
.mobile-drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-drawer-overlay.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.mobile-drawer-panel {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 320px;
    max-width: 86vw;
    background: #ffffff;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}
.mobile-drawer-overlay.active .mobile-drawer-panel {
    transform: translateX(0);
}
.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}
.drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.drawer-close-btn {
    background: #f1f5f9;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #64748b;
    transition: var(--transition);
}
.drawer-close-btn:hover {
    background: #fee2e2;
    color: #b91c1c;
}
.drawer-top-cta {
    padding: 14px 16px 8px;
}
.drawer-nav-list {
    list-style: none;
    padding: 8px 12px;
    margin: 0;
    overflow-y: auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    -webkit-overflow-scrolling: touch;
}
.drawer-nav-item {
    margin: 0;
}
.drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    border-radius: 8px;
    transition: var(--transition);
    text-decoration: none;
}
.drawer-link:hover, .drawer-nav-item.active .drawer-link {
    background: var(--primary-subtle);
    color: var(--primary-dark);
}
.drawer-link-highlight {
    background: #fff2ef !important;
    color: var(--cta) !important;
}
.drawer-icon {
    font-size: 1.15rem;
    width: 24px;
    display: inline-flex;
    justify-content: center;
    flex-shrink: 0;
}
.drawer-text small {
    color: #64748b;
    font-weight: 400;
    font-size: 0.82rem;
    margin-left: 4px;
}
.drawer-footer {
    padding: 16px 18px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-bar {
    display: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 0.98rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}
.btn-sm {
    padding: 6px 14px;
    font-size: 0.88rem;
}
.btn-lg {
    padding: 14px 32px;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}
.btn-primary {
    background: var(--primary);
    color: #ffffff !important;
}
.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 16px rgba(0,77,64,0.3);
    transform: translateY(-2px);
}
.btn-cta {
    background: linear-gradient(135deg, var(--cta), #f06a51);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(224,93,68,0.3);
}
.btn-cta:hover {
    background: linear-gradient(135deg, var(--cta-hover), #e05d44);
    box-shadow: 0 8px 20px rgba(224,93,68,0.4);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #ffffff;
}
.btn-outline-white {
    border: 2px solid rgba(255,255,255,0.8);
    color: #ffffff;
}
.btn-outline-white:hover {
    background: #ffffff;
    color: var(--primary-dark);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 26px;
    color: var(--primary);
    cursor: pointer;
    padding: 5px;
}

/* Hero Section - Attractive, Clean & Humanitarian */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 42, 35, 0.91) 0%, rgba(0, 68, 56, 0.86) 60%, rgba(0, 46, 38, 0.93) 100%), 
                url('../images/hero_bg.jpg') center/cover no-repeat;
    color: #ffffff;
    padding: 100px 0 95px;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.12) 0%, transparent 60%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 45px;
    align-items: center;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #fff8e1;
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 22px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.hero-title {
    font-size: clamp(2.3rem, 4.2vw, 3.5rem);
    font-weight: 700;
    line-height: 1.24;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-highlight {
    color: var(--accent);
    position: relative;
    display: inline-block;
}
.hero-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 100%;
    height: 4px;
    background: rgba(212, 175, 55, 0.45);
    border-radius: 2px;
}
.hero-desc {
    font-size: clamp(1.1rem, 1.8vw, 1.25rem);
    line-height: 1.8;
    color: #f1f5f9;
    margin-bottom: 34px;
    max-width: 650px;
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}
.hero-quick-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.28);
}
.hero-quick-card h3 {
    font-size: 1.45rem;
    color: var(--accent);
    margin-bottom: 12px;
    font-weight: 700;
}

/* Sections Common */
.section {
    padding: 75px 0;
}
.section-alt {
    background-color: #f1f5f9;
}
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px;
}
.section-subtitle {
    color: var(--cta);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 8px;
}
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 14px;
}
.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Impact Dashboard Grid */
.impact-counters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: -45px;
    position: relative;
    z-index: 10;
}
.counter-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 26px 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary);
    transition: var(--transition);
}
.counter-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.counter-icon {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 10px;
}
.counter-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.1;
    margin-bottom: 6px;
    font-family: 'Inter', 'Hind Siliguri', sans-serif;
}
.counter-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Leadership Cards */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.leader-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.leader-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}
.leader-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 30px;
    color: #ffffff;
    text-align: center;
    position: relative;
}
.leader-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 16px;
    border: 4px solid var(--accent);
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary);
}
.leader-name {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.leader-title {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
}
.leader-body {
    padding: 26px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.leader-excerpt {
    font-style: italic;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}
.project-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.project-thumb {
    position: relative;
    height: 200px;
    background: #cbd5e1;
    overflow: hidden;
}
.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.project-card:hover .project-thumb img {
    transform: scale(1.05);
}
.project-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0, 77, 64, 0.9);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.badge-planned {
    background: rgba(237, 108, 2, 0.9) !important;
}
.project-loc {
    position: absolute;
    bottom: 12px;
    left: 14px;
    background: rgba(0,0,0,0.65);
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.78rem;
}
.project-content {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
    line-height: 1.35;
}
.project-summary {
    color: var(--text-muted);
    font-size: 0.94rem;
    margin-bottom: 20px;
    flex-grow: 1;
}
.progress-box {
    margin-bottom: 18px;
}
.progress-bar-bg {
    height: 10px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}
.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 10px;
}
.progress-metrics {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
}
.metric-raised {
    color: var(--primary);
}
.metric-target {
    color: var(--text-muted);
}

/* Donation Page & Forms */
.donate-wrapper {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
}
.donate-form-side {
    padding: 40px;
}
.donate-info-side {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #ffffff;
    padding: 40px;
}
.amount-pills {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 12px 0 20px;
}
.amount-pill {
    border: 2px solid var(--border-color);
    padding: 10px;
    text-align: center;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
}
.amount-pill:hover, .amount-pill.active {
    border-color: var(--primary);
    background: var(--primary-subtle);
    color: var(--primary);
}

/* Payment Gateway Selector */
.gateway-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 12px 0 24px;
}
.gateway-card {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 8px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}
.gateway-card:hover, .gateway-card.selected {
    border-color: var(--cta);
    background: #fff5f2;
}
.gateway-name {
    font-weight: 700;
    font-size: 0.92rem;
    display: block;
}

/* Form Groups */
.form-group {
    margin-bottom: 18px;
}
.form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.92rem;
}
.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.96rem;
    font-family: inherit;
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 77, 64, 0.15);
}

/* Receipt Container */
.receipt-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    max-width: 680px;
    margin: 40px auto;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border-top: 8px solid var(--primary);
}
.receipt-header {
    text-align: center;
    border-bottom: 2px dashed #cbd5e1;
    padding-bottom: 20px;
    margin-bottom: 24px;
}
.receipt-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}
.receipt-table th, .receipt-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

/* Modals */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.active {
    display: flex;
}
.modal-box {
    background: #ffffff;
    border-radius: var(--radius-xl);
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.modal-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #ffffff;
    padding: 24px 30px;
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
}
.modal-content {
    padding: 30px;
    line-height: 1.8;
}

/* Alerts */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-weight: 500;
}
.alert-success {
    background: #e8f5e9;
    color: #1b5e20;
    border-left: 4px solid #2e7d32;
}
.alert-danger, .alert-error {
    background: #ffebee;
    color: #b71c1c;
    border-left: 4px solid #c62828;
}

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: #cbd5e1;
    padding: 60px 0 25px;
    border-top: 4px solid var(--accent);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 35px;
    margin-bottom: 40px;
}
.footer-col h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 3px;
    background: var(--accent);
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: #94a3b8;
}
.footer-links a:hover {
    color: var(--accent);
    padding-left: 6px;
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    font-size: 0.88rem;
    color: #94a3b8;
}

/* Responsive & Mobile Compatibility Engine */
@media (max-width: 1140px) {
    .nav-menu {
        display: none !important;
    }
    .mobile-toggle {
        display: flex !important;
    }
}

@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-title {
        font-size: 2.3rem;
    }
    .donate-wrapper {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 70px;
    }
    .top-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .top-bar-links {
        display: none;
    }
    .btn-header-donate {
        display: none;
    }
    .mobile-bottom-bar {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid #e2e8f0;
        z-index: 1001;
        justify-content: space-around;
        align-items: center;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
        padding: 0 4px;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    .bottom-bar-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #64748b;
        text-decoration: none;
        font-size: 0.72rem;
        font-weight: 600;
        padding: 4px 8px;
        background: none;
        border: none;
        cursor: pointer;
        transition: var(--transition);
        min-width: 52px;
    }
    .bottom-bar-item.active, .bottom-bar-item:hover {
        color: var(--primary);
    }
    .bottom-bar-icon {
        font-size: 1.25rem;
        line-height: 1;
        margin-bottom: 3px;
    }
    .bottom-donate-circle {
        width: 48px;
        height: 48px;
        background: linear-gradient(135deg, var(--cta), #f06a51);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 14px rgba(224, 93, 68, 0.45);
        margin-top: -20px;
        border: 3px solid #ffffff;
        color: #ffffff;
        font-size: 20px;
        transition: transform 0.2s ease;
    }
    .bottom-donate-circle:active {
        transform: scale(0.92);
    }
    .donate-label {
        color: var(--cta) !important;
        font-weight: 700 !important;
        margin-top: 2px;
    }
}

@media (max-width: 600px) {
    .header-container {
        height: 62px;
        padding: 0 16px;
    }
    .brand-name-bn {
        font-size: 1.05rem;
    }
    .brand-name-en {
        display: none;
    }
    .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
    .hero-title {
        font-size: 1.95rem;
    }
    .hero-cta-group {
        flex-direction: column;
    }
    .hero-cta-group .btn {
        width: 100%;
    }
    .amount-pills {
        grid-template-columns: repeat(2, 1fr);
    }
    .gateway-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}
