@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700;800;900&display=swap');

:root {
    --saffron: #f26a21;
    --deep-saffron: #c94b0c;
    --maroon: #6d1b1b;
    --gold: #f5b942;
    --cream: #fff8ec;
    --dark: #2b1710;
    --green: #198754;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Noto Sans Devanagari', sans-serif;
    background: #fffaf3;
    color: var(--dark);
}

/* Navbar */
.navbar-custom {
    background: rgba(76, 21, 10, 0.97);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 800;
    color: #fff !important;
    line-height: 1.2;
}

.navbar-brand small {
    display: block;
    font-size: 11px;
    color: #ffd58a;
    font-weight: 500;
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
}

.nav-link:hover {
    color: #ffd166 !important;
}

/* Hero */
.hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(65, 13, 5, 0.95) 0%, rgba(107, 27, 12, 0.82) 45%, rgba(107, 27, 12, 0.35) 100%),
        url('https://images.unsplash.com/photo-1567591414240-e3c16f2c1f2d?auto=format&fit=crop&w=1800&q=85') center/cover;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 193, 7, 0.25), transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 0, 0.18), transparent 35%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero-badge {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
    font-size: 14px;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 12px;
}

.hero h1 span {
    color: #ffd166;
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 25px);
    color: #ffe7c2;
    margin-bottom: 12px;
}

.hero-message {
    font-size: 16px;
    color: #fff4e4;
    max-width: 620px;
    line-height: 1.8;
}

.btn-donate {
    background: linear-gradient(135deg, #ffb703, #fb8500);
    color: #3b1700;
    border: 0;
    font-weight: 800;
    padding: 13px 25px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(251, 133, 0, .3);
}

.btn-donate:hover {
    transform: translateY(-2px);
    color: #2b1200;
}

.btn-account {
    border: 1px solid rgba(255,255,255,.6);
    color: #fff;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 50px;
}

.btn-account:hover {
    background: #fff;
    color: var(--maroon);
}

/* Floating diya */
.festival-strip {
    background: linear-gradient(90deg, #8b2500, #c94b0c, #8b2500);
    color: #fff;
    padding: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

/* Section */
.section {
    padding: 70px 0;
}

.section-title {
    font-weight: 900;
    color: var(--maroon);
    margin-bottom: 8px;
}

.section-subtitle {
    color: #7d675d;
    margin-bottom: 35px;
}

/* Account cards */
.account-card {
    border: 0;
    border-radius: 22px;
    padding: 28px 20px;
    height: 100%;
    background: #fff;
    box-shadow: 0 10px 35px rgba(72, 33, 15, .08);
    transition: .25s ease;
    position: relative;
    overflow: hidden;
}

.account-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(72, 33, 15, .13);
}

.account-card::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    right: -35px;
    top: -35px;
    background: rgba(242, 106, 33, .07);
}

.account-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    background: #fff0e5;
    color: var(--saffron);
    margin-bottom: 15px;
}

.account-label {
    color: #765f55;
    font-size: 14px;
}

.account-amount {
    font-size: 30px;
    font-weight: 900;
    color: var(--maroon);
}

.balance-card {
    background: linear-gradient(135deg, #198754, #11633d);
    color: #fff;
}

.balance-card .account-label,
.balance-card .account-amount {
    color: #fff;
}

.balance-card .account-icon {
    background: rgba(255,255,255,.16);
    color: #fff;
}

/* Cards */
.modern-card {
    background: #fff;
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(72, 33, 15, .07);
}

.event-card {
    padding: 24px;
    border-left: 4px solid var(--saffron);
}

.event-date {
    color: var(--saffron);
    font-weight: 800;
    font-size: 14px;
}

.event-title {
    font-weight: 800;
    color: var(--maroon);
    margin: 6px 0;
}

.list-row {
    padding: 15px 18px;
    border-bottom: 1px solid #f2e8df;
}

.list-row:last-child {
    border-bottom: 0;
}

.amount-green {
    color: var(--green);
    font-weight: 800;
}

.amount-red {
    color: #c0392b;
    font-weight: 800;
}

/* Gallery */
.gallery-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 18px;
    transition: .3s ease;
}

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

/* CTA */
.cta-section {
    background:
        linear-gradient(135deg, rgba(110, 27, 10, .95), rgba(198, 72, 12, .93)),
        url('https://images.unsplash.com/photo-1567591414240-e3c16f2c1f2d?auto=format&fit=crop&w=1600&q=80') center/cover;
    color: #fff;
    padding: 65px 0;
}

.cta-title {
    font-weight: 900;
    font-size: clamp(28px, 4vw, 44px);
}

.cta-text {
    color: #ffe8d0;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: #2d1009;
    color: #d9bfb3;
    padding: 45px 0 20px;
}

.footer-title {
    color: #fff;
    font-weight: 800;
}

.footer a {
    color: #d9bfb3;
    text-decoration: none;
}

.footer a:hover {
    color: #ffd166;
}

/* Mobile */
@media (max-width: 767px) {
    .hero {
        min-height: 650px;
        background:
            linear-gradient(180deg, rgba(65, 13, 5, .82), rgba(65, 13, 5, .96)),
            url('https://images.unsplash.com/photo-1567591414240-e3c16f2c1f2d?auto=format&fit=crop&w=1000&q=85') center/cover;
    }

    .hero-content {
        text-align: center;
    }

    .hero-message {
        margin: auto;
    }

    .hero .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .section {
        padding: 50px 0;
    }

    .account-amount {
        font-size: 26px;
    }

    .gallery-img {
        height: 190px;
    }
}