:root {
    --brand-green: #0f5132;
    --brand-green-2: #16a34a;
    --brand-dark: #14532d;
    --brand-darker: #082c19;
    --brand-gold: #b8860b;
    --brand-gold-2: #c9a14a;
    --brand-gold-3: #e0b75b;
    --brand-cream: #f7f3e8;
    --brand-bg: #fbf9f3;
    --text-dark: #1f2a24;
    --muted: #6b7569;
    --border: #e5e1d2;
    --radius: 14px;
    --shadow-sm: 0 3px 18px rgba(11, 61, 35, .08);
    --shadow-lg: 0 14px 36px rgba(11, 61, 35, .16);
    --grad-primary: linear-gradient(135deg, #14532d 0%, #0f5132 60%, #082c19 100%);
    --grad-gold: linear-gradient(135deg, #e0b75b, #b8860b);
}

/* -------- Base -------- */
* {
    box-sizing: border-box;
}

html,
body {
    font-family: 'Hind Siliguri', 'Noto Sans Bengali', system-ui, sans-serif;
    color: var(--text-dark);
    scroll-behavior: smooth;
}

body {
    background: #fbf9f3;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><g fill='none' stroke='%230f5132' stroke-width='.8' opacity='.18'><path d='M80 8 L100 38 L140 38 L108 62 L120 102 L80 78 L40 102 L52 62 L20 38 L60 38 Z'/><circle cx='80' cy='80' r='28'/></g></svg>");
    background-size: 280px 280px;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(251, 249, 243, .92);
    z-index: -1;
}

.arabic {
    font-family: 'Amiri', serif;
    direction: rtl;
}

a {
    color: var(--brand-green);
    text-decoration: none;
}

a:hover {
    color: var(--brand-darker);
}

/* -------- Page Loader -------- */
#page-loader {
    position: fixed;
    inset: 0;
    background: #fbf9f3;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity .5s ease;
    gap: 1rem;
}

#page-loader.hide {
    opacity: 0;
    pointer-events: none;
}

.loader-star {
    width: 68px;
    height: 68px;
    border: 3px solid #e5e1d2;
    border-top-color: var(--brand-green);
    border-right-color: var(--brand-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-text {
    color: var(--brand-dark);
    font-weight: 600;
    letter-spacing: .3px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* -------- Top Bar -------- */
.top-bar {
    background: var(--brand-darker);
    color: #f4ead0;
    font-size: .88rem;
}

.top-bar .arabic {
    color: var(--brand-gold-3);
    font-size: 17px;
}

.top-bar a {
    color: #f4ead0;
}

.top-bar a:hover {
    color: var(--brand-gold-3);
}

/* -------- Navbar -------- */
.navbar {
    padding: .85rem 0;
    background: #fff !important;
    transition: box-shadow .3s ease;
    border-bottom: 1px solid var(--border);
}

.navbar.scrolled {
    box-shadow: 0 3px 18px rgba(11, 61, 35, .10);
    border-bottom-color: transparent;
}

.brand-logo {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(11, 61, 35, .25);
    border: 2px solid var(--brand-gold);
}

.brand-title {
    font-weight: 700;
    color: var(--brand-dark);
    font-size: 1.05rem;
    line-height: 1.2;
}

.nav-link {
    font-weight: 600;
    color: #374151;
    position: relative;
    padding: .5rem .85rem !important;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: var(--brand-green);
}

.nav-link.active {
    color: var(--brand-green);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    left: .85rem;
    right: .85rem;
    bottom: .25rem;
    height: 3px;
    background: var(--brand-gold);
    border-radius: 2px;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
    border-radius: 12px;
    padding: .5rem;
}

.dropdown-item {
    border-radius: 8px;
    padding: .55rem .8rem;
    font-weight: 500;
}

.dropdown-item:hover {
    background: var(--brand-cream);
    color: var(--brand-green);
}

.dropdown-item.active {
    background: var(--brand-green);
    color: #fff;
}

/* -------- Hero -------- */
.hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 44, 25, .92), rgba(15, 81, 50, .78));
}

.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'><g fill='none' stroke='%23e0b75b' stroke-width='1' opacity='.7'><path d='M110 12 L138 56 L188 56 L148 88 L164 142 L110 110 L56 142 L72 88 L32 56 L82 56 Z'/><circle cx='110' cy='110' r='46'/></g></svg>");
    opacity: .10;
    animation: slow-rotate 90s linear infinite;
    transform-origin: center;
}

@keyframes slow-rotate {
    to {
        transform: rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 6rem 0;
}

.hero h1 {
    font-weight: 800;
    text-shadow: 0 3px 24px rgba(0, 0, 0, .5);
}

.hero .arabic {
    font-size: 2rem;
    color: var(--brand-gold-3) !important;
}

/* -------- Page Header / Inner Banner -------- */
.page-header {
    background: var(--grad-primary) !important;
    color: #fff;
    padding: 70px 0 60px !important;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--brand-gold);
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'><g fill='none' stroke='%23e0b75b' stroke-width='1' opacity='.85'><path d='M90 10 L112 46 L156 46 L122 72 L136 116 L90 88 L44 116 L58 72 L24 46 L68 46 Z'/><circle cx='90' cy='90' r='38'/></g></svg>");
    opacity: .10;
    animation: slow-rotate 120s linear infinite;
}

.page-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0, 0, 0, .15), transparent);
}

.page-header>* {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-weight: 800;
    font-size: 2.4rem;
    margin: 0 0 .5rem;
    letter-spacing: -.5px;
}

.page-header .lead {
    color: #f4ead0;
    font-weight: 400;
    opacity: .92;
    margin-bottom: 0;
}

/* Breadcrumb */
.page-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(0, 0, 0, .22);
    border: 1px solid rgba(224, 183, 91, .35);
    padding: .45rem 1.1rem;
    border-radius: 50px;
    margin-top: 1rem;
    font-size: .92rem;
}

.page-breadcrumb a {
    color: var(--brand-gold-3);
    font-weight: 600;
}

.page-breadcrumb a:hover {
    color: #fff;
}

.page-breadcrumb .sep {
    opacity: .6;
    color: #f4ead0;
}

.page-breadcrumb .current {
    color: #fff;
    font-weight: 600;
}

/* -------- Sections -------- */
section {
    padding-top: 80px;
    padding-bottom: 80px;
}

section:nth-of-type(even) {
    background: #fff;
}

section:nth-of-type(odd) {
    background: var(--brand-bg);
}

.hero,
.page-header,
.stats-section,
.donation-cta,
.notice-marquee {
    padding-top: 0;
    padding-bottom: 0;
}

.hero {
    padding: 0;
}

.stats-section {
    padding: 64px 0 !important;
    background: #ffffff !important;
}

.donation-cta {
    padding: 64px 0 !important;
    background: var(--grad-primary) !important;
}

.notice-marquee {
    background: var(--brand-cream) !important;
    padding: .85rem 0 !important;
}

/* -------- Section headings (NO left border) -------- */
.section-head {
    margin-bottom: 2.25rem;
}

h2 {
    font-weight: 700;
    color: var(--brand-dark);
    font-size: 1.7rem;
    padding-left: 0;
    position: relative;
    margin-bottom: 1.5rem;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--brand-gold);
    border-radius: 2px;
    margin-top: 8px;
}

.section-head {
    text-align: center;
}

.section-head h2 {
    display: inline-block;
    color: var(--brand-dark);
}

.section-head h2::after {
    margin-left: auto;
    margin-right: auto;
}

.section-head p.text-muted {
    color: var(--muted) !important;
    margin-top: .5rem;
}

/* -------- Cards -------- */
.card,
.quick-card,
.dept-card,
.notice-card,
.info-card,
.fee-card,
.event-card,
.teacher-card,
.value-card,
.blog-card,
.alumni-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all .35s cubic-bezier(.2, .7, .3, 1);
    overflow: hidden;
}

.card:hover,
.quick-card:hover,
.dept-card:hover,
.notice-card:hover,
.info-card:hover,
.fee-card:hover,
.event-card:hover,
.teacher-card:hover,
.value-card:hover,
.blog-card:hover,
.alumni-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-gold);
}

.info-card,
.notice-card {
    padding: 1.5rem;
}

/* Quick card */
.quick-card {
    display: block;
    padding: 1.5rem 1rem;
    text-align: center;
    color: var(--text-dark);
}

.quick-card .fw-bold {
    color: var(--brand-dark);
}

.qc-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto .75rem;
    background: var(--grad-primary);
}

.qc-icon.bg-warning {
    background: var(--grad-gold) !important;
    color: #1a1a1a !important;
}

.qc-icon.bg-purple,
.qc-icon.bg-danger,
.qc-icon.bg-info,
.qc-icon.bg-primary,
.qc-icon.bg-success {
    background: var(--grad-primary) !important;
    color: var(--brand-gold-3) !important;
}

/* Dept card */
.dept-card {
    display: block;
    padding: 1.75rem 1.25rem;
    text-decoration: none;
    color: var(--text-dark);
    height: 100%;
}

.dept-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--grad-primary);
    color: var(--brand-gold-3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    border: 2px solid var(--brand-gold);
}

/* Stats — white bg, dark green numbers */
.stats-section {
    color: var(--text-dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-section .section-head h2 {
    color: var(--brand-dark);
}

.stat-num {
    font-size: 2.9rem;
    font-weight: 800;
    color: var(--brand-dark);
    font-family: 'Hind Siliguri', sans-serif;
    line-height: 1;
}

.stats-section .stat-label,
.stats-section .col-6>div:last-child {
    color: var(--text-dark);
    font-weight: 500;
}

/* Avatars */
.avatar-ring,
.teacher-card img.avatar-img,
.about-photo {
    border-radius: 50%;
    border: 3px solid var(--brand-gold);
    box-shadow: 0 8px 20px rgba(11, 61, 35, .20);
    background: #fff;
}

.avatar-xl,
.avatar-lg {
    background: var(--grad-primary);
    color: var(--brand-gold-3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Amiri', serif;
    border: 3px solid var(--brand-gold);
    box-shadow: 0 8px 20px rgba(11, 61, 35, .25);
    overflow: hidden;
}

.avatar-xl {
    width: 140px;
    height: 140px;
    font-size: 3.5rem;
}

.avatar-lg {
    width: 96px;
    height: 96px;
    font-size: 2.25rem;
}

.avatar-xl img,
.avatar-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Teacher card */
.teacher-card {
    text-align: center;
    padding: 1.75rem 1rem;
}

.teacher-card .badge {
    background: var(--brand-green) !important;
    color: #fff !important;
    padding: .4rem .85rem;
    border-radius: 50px;
    font-weight: 600;
}

/* Gallery */
.gallery-masonry {
    column-count: 3;
    column-gap: 1rem;
}

@media(max-width:992px) {
    .gallery-masonry {
        column-count: 2;
    }
}

@media(max-width:576px) {
    .gallery-masonry {
        column-count: 1;
    }
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 1rem;
    break-inside: avoid;
    display: block;
    border: 1px solid var(--border);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: .5s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: .75rem;
    background: linear-gradient(transparent, rgba(8, 44, 25, .88));
    color: #fff;
    font-weight: 600;
}

/* Event / Blog */
.event-card {
    padding: 0;
}

.event-date {
    background: var(--grad-primary);
    color: var(--brand-gold-3);
    text-align: center;
    padding: 1rem;
}

.blog-card {
    padding: 0;
}

.blog-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.fee-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-green);
}

.subject-chip {
    display: inline-block;
    background: var(--brand-cream);
    color: var(--brand-dark);
    padding: .35rem .85rem;
    border-radius: 50px;
    font-size: .85rem;
    margin: .2rem;
    font-weight: 500;
    border: 1px solid var(--brand-gold);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 3px solid var(--brand-gold);
    max-width: 720px;
    margin: 0 auto;
}

.timeline-item {
    position: relative;
    padding: .5rem 0 1.5rem 1rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.6rem;
    top: .75rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--brand-green);
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--brand-gold);
}

.timeline-year {
    font-weight: 700;
    color: var(--brand-green);
    font-size: 1.15rem;
}

/* Contact */
.contact-row {
    display: flex;
    gap: .85rem;
    align-items: flex-start;
    padding: .85rem 0;
    border-bottom: 1px solid var(--border);
}

.contact-row i {
    font-size: 1.5rem;
    margin-top: .15rem;
    color: var(--brand-green);
}

/* Donation */
.donation-cta {
    color: #fff;
    border-top: 1px solid var(--brand-gold);
    border-bottom: 1px solid var(--brand-gold);
}

.donation-cta h2 {
    color: #fff;
}

.donation-cta h2::after {
    background: var(--brand-gold);
    margin-left: auto;
    margin-right: auto;
}

.amount-btn {
    background: #fff;
    color: var(--brand-dark);
    border: 2px solid var(--brand-gold);
    border-radius: 50px;
    padding: .65rem 1.5rem;
    font-weight: 700;
    transition: .25s;
    min-height: 44px;
}

.amount-btn:hover {
    border-color: var(--brand-green);
    color: var(--brand-green);
}

.amount-btn.active {
    background: var(--grad-primary);
    color: #fff;
    border-color: var(--brand-gold);
    box-shadow: 0 6px 16px rgba(11, 61, 35, .3);
}

/* Marquee */
.notice-marquee {
    border-top: 1px solid var(--brand-gold);
    border-bottom: 1px solid var(--brand-gold);
    overflow: hidden;
}

.notice-marquee-inner {
    display: inline-flex;
    gap: 3rem;
    white-space: nowrap;
    animation: marquee 35s linear infinite;
}

.notice-marquee-inner span {
    color: var(--brand-dark);
    font-weight: 500;
}

.notice-marquee-inner i {
    color: var(--brand-gold);
    margin-right: .4rem;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 600;
    transition: all .3s ease;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-success,
.btn-primary {
    background: var(--grad-primary);
    border: none;
    color: #fff;
}

.btn-success:hover,
.btn-primary:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(11, 61, 35, .35);
    color: #fff;
}

.btn-warning {
    background: var(--grad-gold);
    border: none;
    color: #fff;
}

.btn-warning:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(184, 134, 11, .45);
    color: #fff;
}

.btn-outline-light {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}

.btn-outline-light:hover {
    background: #fff;
    color: var(--brand-dark);
}

.btn-outline-success {
    border: 2px solid var(--brand-green);
    color: var(--brand-green);
    background: transparent;
}

.btn-outline-success:hover {
    background: var(--brand-green);
    color: #fff;
}

.btn-lg {
    padding: 14px 36px;
    font-size: 1.05rem;
}

/* Filter bar — outlined green pills */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
}

.filter-bar .btn,
.filter-bar button {
    border: 2px solid #16a34a !important;
    border-radius: 50px !important;
    background: transparent !important;
    color: #16a34a !important;
    padding: .5rem 1.4rem;
    font-weight: 600;
    min-height: 42px;
    box-shadow: none !important;
}

.filter-bar .btn.active,
.filter-bar button.active,
.filter-bar .btn-success,
.filter-bar .btn-primary {
    background: #16a34a !important;
    color: #fff !important;
    border-color: #16a34a !important;
}

.filter-bar .btn:hover,
.filter-bar button:hover {
    background: #16a34a !important;
    color: #fff !important;
}

/* Tab content padding */
.tab-pane {
    padding: 24px;
}

/* Forms */
.form-control,
.form-select {
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: .65rem .9rem;
    font-family: inherit;
    transition: .2s;
    min-height: 44px;
    background: #fff;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-green);
    box-shadow: 0 0 0 3px rgba(15, 81, 50, .15);
}

.form-label {
    font-weight: 600;
    color: var(--brand-dark);
}

/* Tom Select */
.ts-control {
    border: 2px solid var(--border) !important;
    border-radius: 10px !important;
    font-family: inherit !important;
    font-size: 15px !important;
    padding: .55rem .85rem !important;
    min-height: 44px;
    box-shadow: none !important;
    background: #fff !important;
}

.ts-wrapper.focus .ts-control {
    border-color: var(--brand-green) !important;
    box-shadow: 0 0 0 3px rgba(15, 81, 50, .15) !important;
}

.ts-dropdown {
    border: 2px solid var(--brand-gold) !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .10) !important;
    font-family: inherit !important;
    margin-top: 3px;
}

.ts-dropdown .option {
    padding: .55rem .85rem;
    border-radius: 6px;
}

.ts-dropdown .option:hover,
.ts-dropdown .option.active {
    background: var(--brand-cream) !important;
    color: var(--brand-green) !important;
}

.ts-dropdown .option.selected {
    background: var(--brand-green) !important;
    color: #fff !important;
    font-weight: 700 !important;
}

/* Badges */
.badge.bg-warning {
    background: var(--grad-gold) !important;
    color: #fff !important;
    padding: .5rem .85rem;
    border-radius: 50px;
    font-weight: 600;
}

.badge.bg-success {
    background: var(--brand-green) !important;
}

.badge.bg-warning-subtle {
    background: #fbf4dc !important;
    color: #7a5a16 !important;
}

/* -------- Footer (toned down: dark green + white + gold headings) -------- */
.site-footer {
    background: #14532d;
    color: #ffffff;
    position: relative;
    margin-top: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'><g fill='none' stroke='%23ffffff' stroke-width='1' opacity='1'><path d='M100 10 L124 52 L172 52 L134 80 L150 130 L100 100 L50 130 L66 80 L28 52 L76 52 Z'/><circle cx='100' cy='100' r='42'/><path d='M10 100 L40 70 L70 100 L40 130 Z'/><path d='M130 100 L160 70 L190 100 L160 130 Z'/></g></svg>");
    background-size: 240px 240px;
    background-position: center;
    background-blend-mode: overlay;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20, 83, 45, .95);
    z-index: 0;
    pointer-events: none;
}

.site-footer::after {
    content: '';
    display: block;
    height: 3px;
    background: #b8860b;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.site-footer>* {
    position: relative;
    z-index: 1;
}

.site-footer .footer-main {
    padding: 64px 0 36px;
}

.site-footer h5,
.site-footer h6 {
    color: #b8860b;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    letter-spacing: .3px;
}

.site-footer h5 {
    font-size: 1.2rem;
    color: #ffffff;
}

.site-footer p,
.site-footer li,
.site-footer .small {
    color: #ffffff;
}

.site-footer a {
    color: #ffffff;
    transition: .2s;
    display: inline-block;
}

.site-footer a:hover {
    color: #b8860b;
}

.site-footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-footer ul li {
    padding: .3rem 0;
    font-size: .94rem;
}

.site-footer ul li::before {
    content: '›';
    color: #b8860b;
    margin-right: .5rem;
    font-weight: 700;
}

.footer-contact i {
    color: #b8860b;
    width: 20px;
}

.footer-brand-logo {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 2px solid #b8860b;
}

.footer-social {
    margin-top: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    margin-right: .5rem;
    color: #ffffff;
    border: 1px solid rgba(184, 134, 11, .5);
}

.footer-social a:hover {
    background: #b8860b;
    color: #14532d;
}

.site-footer .btn-warning {
    background: #b8860b !important;
    color: #fff !important;
    border: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .15);
    padding: 1.1rem 0;
    text-align: center;
    background: rgba(0, 0, 0, .25);
    font-size: .88rem;
    color: #ffffff;
}

.footer-bottom strong {
    color: #b8860b;
}

/* -------- Detail page -------- */
.detail-content {
    max-width: 820px;
    margin: 0 auto;
}

.detail-content img.detail-hero {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
}

.detail-content h1 {
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 1rem;
}

.detail-content .meta {
    color: var(--muted);
    font-size: .92rem;
    margin-bottom: 1.5rem;
}

.detail-content p {
    line-height: 1.85;
    font-size: 1.04rem;
    margin-bottom: 1rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

/* -------- Animations -------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1);
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: .08s;
}

.reveal-delay-2 {
    transition-delay: .16s;
}

.reveal-delay-3 {
    transition-delay: .24s;
}

.reveal-delay-4 {
    transition-delay: .32s;
}

/* -------- Responsive -------- */
@media (max-width:992px) {
    .navbar-collapse {
        padding: 1rem 0;
    }

    .nav-link.active::after {
        display: none;
    }
}

@media (max-width:768px) {
    section {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .stats-section,
    .donation-cta {
        padding: 48px 0 !important;
    }

    .hero {
        min-height: 68vh;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .hero .arabic {
        font-size: 1.5rem;
    }

    .page-header {
        padding: 48px 0 40px !important;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .stat-num {
        font-size: 2.2rem;
    }

    .avatar-xl {
        width: 120px;
        height: 120px;
        font-size: 2.75rem;
    }

    .site-footer .footer-main {
        padding: 44px 0 24px;
    }
}

@media (max-width:576px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .btn-lg {
        padding: 12px 26px;
        font-size: 1rem;
    }
}