/* ==========================================================================
   अयोध्या राम जानकी तिरथा देवी हनुमत सेवा ट्रस्ट - Divine Design System
   World-class Aesthetics, Glassmorphism, Micro-animations & Sacred Heritage
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Rozha+One&family=Yantramanav:wght@400;500;700;900&display=swap');

:root {
    /* Sacred Color Palette */
    --saffron-50: #fffbeb;
    --saffron-100: #fef3c7;
    --saffron-200: #fde68a;
    --saffron-300: #fcd34d;
    --saffron-400: #fbbf24;
    --saffron-500: #f59e0b;
    --saffron-600: #d97706;
    --saffron-700: #b45309;
    --saffron-800: #92400e;
    --saffron-900: #78350f;

    --maroon-600: #b91c1c;
    --maroon-700: #991b1b;
    --maroon-800: #7f1d1d;
    --maroon-900: #450a0a;

    --gold-glow: rgba(245, 158, 11, 0.35);
    --gold-border: rgba(217, 119, 6, 0.25);
    
    --cream-bg: #fffdf7;
    --cream-card: #ffffff;
    --cream-soft: #fffbeb;

    --dark-950: #070a12;
    --dark-900: #0b0f19;
    --dark-800: #111827;
    --dark-700: #1e293b;

    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-gold: #b45309;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(217, 119, 6, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 35px -8px rgba(120, 53, 15, 0.18), 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.35);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Yantramanav', sans-serif;
    color: var(--text-primary);
    background-color: var(--cream-bg);
    line-height: 1.75;
    overflow-x: hidden;
    position: relative;
}

/* Sacred Watermark Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(245, 158, 11, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(153, 27, 27, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

h1, h2, h3, h4, .font-serif, .devotional-heading {
    font-family: 'Rozha One', 'Cinzel', serif;
    font-weight: 700;
    line-height: 1.35;
    color: var(--dark-800);
}

a {
    color: var(--saffron-700);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--maroon-700);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

/* Auspicious Chants Marquee */
.auspicious-ticker {
    background: linear-gradient(90deg, #3b0707 0%, #78350f 25%, #991b1b 50%, #78350f 75%, #3b0707 100%);
    background-size: 200% auto;
    animation: gradientShift 12s ease infinite;
    color: #fef3c7;
    font-family: 'Rozha One', 'Cinzel', serif;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 6px 14px;
    text-align: center;
    border-bottom: 1px solid rgba(245, 158, 11, 0.3);
    letter-spacing: 0.8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    position: relative;
    z-index: 1021;
}

.auspicious-ticker .ticker-item {
    display: inline-flex;
    align-items: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.auspicious-ticker .ticker-divider {
    font-size: 0.7rem;
    vertical-align: middle;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Top Information Header */
.top-info-header {
    background: #0f141d;
    color: #94a3b8;
    font-size: 0.83rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1019;
}

.top-info-item {
    display: inline-flex;
    align-items: center;
    color: #cbd5e1;
    font-weight: 400;
}

.top-info-item i {
    font-size: 0.88rem;
    color: #f59e0b;
    margin-right: 7px;
    flex-shrink: 0;
}

.top-info-item a {
    color: #cbd5e1;
    transition: var(--transition);
}

.top-info-item a:hover {
    color: #fbbf24;
}

.top-info-divider {
    width: 1px;
    height: 15px;
    background: rgba(255, 255, 255, 0.22);
    margin: 0 10px;
    flex-shrink: 0;
}

.social-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: var(--transition);
    font-size: 0.78rem;
}

.social-pill:hover {
    background: #f59e0b;
    color: #ffffff !important;
    border-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

/* Main Navbar */
.main-navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1020;
    transition: var(--transition);
    padding: 7px 0;
    border-bottom: 2px solid #f59e0b;
}

.navbar-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.navbar-brand-logo img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    border: 2px solid rgba(245, 158, 11, 0.45);
    background: transparent;
    transition: var(--transition);
}

.navbar-brand-logo:hover img {
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
    border-color: #f59e0b;
}

.brand-text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.navbar-brand-title {
    font-family: 'Rozha One', 'Cinzel', serif;
    font-size: 1.15rem;
    line-height: 1.15;
    color: #7f1d1d;
    font-weight: 700;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

.navbar-brand-sub {
    font-family: 'Poppins', sans-serif;
    font-size: 0.65rem;
    color: #b45309;
    font-weight: 700;
    letter-spacing: 0.4px;
    display: block;
    text-transform: uppercase;
    line-height: 1.2;
    white-space: nowrap;
}

/* Navigation Links - Perfect Single-Line Hindi Typography */
.main-navbar .navbar-nav {
    display: flex;
    align-items: center;
    gap: 1px;
    flex-wrap: nowrap;
}

.main-navbar .nav-link {
    font-family: 'Poppins', 'Yantramanav', sans-serif;
    font-weight: 600;
    color: #334155 !important;
    padding: 6px 8px !important;
    border-radius: 8px;
    transition: all 0.22s ease-in-out;
    font-size: 0.88rem;
    white-space: nowrap !important;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.main-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 8px;
    right: 8px;
    height: 2.5px;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    border-radius: 9999px;
    transform: scaleX(0);
    transition: transform 0.22s ease;
}

.main-navbar .nav-link:hover {
    color: #b45309 !important;
    background-color: rgba(245, 158, 11, 0.06);
}

.main-navbar .nav-link:hover::after {
    transform: scaleX(1);
}

.main-navbar .nav-link.active {
    color: #991b1b !important;
    background-color: rgba(245, 158, 11, 0.1);
    font-weight: 700;
}

.main-navbar .nav-link.active::after {
    transform: scaleX(1);
}

/* Header Action Buttons */
.header-action-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    white-space: nowrap;
}

.btn-donate-header {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    color: #ffffff !important;
    border: none;
    font-weight: 700;
    font-size: 0.84rem;
    padding: 7px 13px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.32);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.2px;
    white-space: nowrap !important;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.btn-donate-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-donate-header:hover::before {
    left: 100%;
}

.btn-donate-header:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 60%, #78350f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(180, 83, 9, 0.42);
}

.btn-login-header {
    background: #ffffff;
    color: #334155 !important;
    border: 1.5px solid #cbd5e1;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 6px 11px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap !important;
    flex-shrink: 0;
}

.btn-login-header:hover {
    border-color: #f59e0b;
    color: #b45309 !important;
    background: #fffdf5;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.15);
}

/* Perfect single-line typography for standard laptops (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .navbar-brand-logo img {
        width: 42px;
        height: 42px;
    }
    .navbar-brand-title {
        font-size: 1.02rem;
    }
    .navbar-brand-sub {
        font-size: 0.58rem;
    }
    .main-navbar .navbar-nav {
        gap: 0px;
    }
    .main-navbar .nav-link {
        padding: 5px 5px !important;
        font-size: 0.80rem;
    }
    .btn-donate-header {
        font-size: 0.78rem;
        padding: 6px 9px;
    }
    .btn-login-header {
        font-size: 0.78rem;
        padding: 5px 8px;
    }
}

/* Enhanced sizing on extra-large desktop displays (>=1400px) */
@media (min-width: 1400px) {
    .main-navbar {
        padding: 8px 0;
    }

    .navbar-brand-logo {
        gap: 10px;
    }

    .navbar-brand-logo img {
        width: 50px;
        height: 50px;
    }

    .navbar-brand-title {
        font-size: 1.18rem;
    }

    .navbar-brand-sub {
        font-size: 0.68rem;
    }

    .main-navbar .navbar-nav {
        gap: 2px;
    }

    .main-navbar .nav-link {
        padding: 6px 8px !important;
        font-size: 0.86rem;
    }

    .header-action-group {
        gap: 6px;
    }

    .btn-donate-header {
        font-size: 0.84rem;
        padding: 7px 13px;
    }

    .btn-login-header {
        font-size: 0.82rem;
        padding: 6px 11px;
    }
}

/* Mobile Responsiveness for Header */
@media (max-width: 1199.98px) {
    .main-navbar > .container-fluid {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .navbar-brand-logo {
        display: inline-flex !important;
        align-items: center !important;
        flex: 1 1 auto !important;
        max-width: calc(100% - 56px) !important;
        min-width: 0 !important;
        margin-right: 6px !important;
    }

    .navbar-brand-logo img {
        flex-shrink: 0 !important;
    }

    .brand-text-block {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .navbar-brand-title {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        font-size: clamp(0.86rem, 3.8vw, 1.12rem) !important;
        line-height: 1.2 !important;
    }

    .navbar-brand-sub {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        font-size: clamp(0.55rem, 2.3vw, 0.68rem) !important;
        line-height: 1.2 !important;
    }

    .navbar-toggler,
    .main-navbar-toggler {
        flex-shrink: 0 !important;
        margin-left: auto !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        border-radius: 10px !important;
        background: #ffffff !important;
        border: 1.5px solid #f59e0b !important;
        color: #7f1d1d !important;
        box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15) !important;
        transition: all 0.2s ease !important;
        cursor: pointer;
    }

    .navbar-toggler:hover,
    .navbar-toggler:focus {
        background: #fffdf5 !important;
        border-color: #d97706 !important;
        box-shadow: 0 3px 12px rgba(245, 158, 11, 0.28) !important;
        outline: none !important;
    }

    .navbar-toggler i {
        font-size: 1.35rem !important;
        color: #7f1d1d !important;
        transition: transform 0.2s ease !important;
    }

    .navbar-toggler[aria-expanded="true"] {
        background: #fef3c7 !important;
        border-color: #b45309 !important;
    }

    .navbar-toggler[aria-expanded="true"] i {
        transform: rotate(90deg);
        color: #b45309 !important;
    }

    .main-navbar .navbar-collapse {
        flex-basis: 100% !important;
        width: 100% !important;
        max-height: calc(88vh - 65px);
        overflow-y: auto;
        padding: 14px 16px 22px;
        background: #ffffff;
        border-radius: 0 0 18px 18px;
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
        margin: 8px -12px -10px -12px;
        border-top: 1px solid rgba(245, 158, 11, 0.2);
    }

    .main-navbar .navbar-nav {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        padding-top: 4px;
        margin-bottom: 0 !important;
    }

    .main-navbar .nav-item {
        width: 100% !important;
    }

    .main-navbar .nav-link {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        padding: 10px 14px !important;
        border-radius: 12px !important;
        background: #f8fafc;
        border: 1px solid #f1f5f9 !important;
        color: #1e293b !important;
        font-size: 0.94rem !important;
        font-weight: 600 !important;
        transition: all 0.2s ease !important;
    }

    .main-navbar .nav-link::after {
        display: none !important;
    }

    .main-navbar .nav-link:hover {
        background: #fffbeb !important;
        color: #b45309 !important;
        border-color: rgba(245, 158, 11, 0.3) !important;
        transform: translateX(4px);
    }

    .main-navbar .nav-link.active {
        background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
        color: #991b1b !important;
        border: 1px solid rgba(245, 158, 11, 0.45) !important;
        border-left: 4px solid #b45309 !important;
        font-weight: 700 !important;
        border-radius: 12px !important;
    }

    .nav-link-icon-badge {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        background: rgba(245, 158, 11, 0.12);
        color: #b45309;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-right: 12px;
        font-size: 0.90rem;
        flex-shrink: 0;
    }

    .main-navbar .nav-link.active .nav-link-icon-badge {
        background: #f59e0b;
        color: #ffffff;
    }

    .header-action-group {
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        padding-top: 14px !important;
        padding-bottom: 8px !important;
    }

    .header-action-group .btn-donate-header {
        flex: 1.3 !important;
        justify-content: center !important;
        padding: 10px 14px !important;
        font-size: 0.88rem !important;
        border-radius: 12px !important;
    }

    .header-action-group .btn-login-header {
        flex: 1 !important;
        justify-content: center !important;
        padding: 10px 14px !important;
        font-size: 0.88rem !important;
        border-radius: 12px !important;
        background: #f8fafc !important;
        border: 1.5px solid #cbd5e1 !important;
        color: #334155 !important;
    }

    .border-top-mobile {
        border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    }
}

.mobile-social-pill {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    color: #475569 !important;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.mobile-social-pill:hover {
    background: #f59e0b;
    color: #ffffff !important;
    border-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-saffron {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    color: #ffffff !important;
    border: none;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 18px rgba(217, 119, 6, 0.35);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn-saffron::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

.btn-saffron:hover::before {
    left: 100%;
}

.btn-saffron:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 50%, #78350f 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(180, 83, 9, 0.45);
}

.btn-maroon {
    background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%);
    color: #ffffff !important;
    border: none;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 18px rgba(153, 27, 27, 0.32);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
}

.btn-maroon:hover {
    background: linear-gradient(135deg, #7f1d1d 0%, #450a0a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(127, 29, 29, 0.45);
}

.btn-razorpay-pay {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    color: #ffffff !important;
    border: none;
    font-weight: 700;
    font-size: clamp(0.85rem, 1.1vw, 0.98rem);
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(217, 119, 6, 0.32);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.2px;
    position: relative;
    overflow: hidden;
    width: 100%;
    text-decoration: none;
    white-space: nowrap;
}

.btn-razorpay-pay::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

.btn-razorpay-pay:hover::before {
    left: 100%;
}

.btn-razorpay-pay:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 50%, #78350f 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(180, 83, 9, 0.45);
    color: #ffffff !important;
}

@media (max-width: 480px) {
    .btn-razorpay-pay {
        font-size: 0.88rem;
        padding: 11px 12px;
        white-space: normal;
        text-align: center;
    }
}

/* Modal Action Buttons (Proportionate, Crisp Single-Line Formatting) */
.btn-modal-donate {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    color: #ffffff !important;
    border: none;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.28);
    transition: all 0.22s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    letter-spacing: 0.2px;
    width: 100%;
    text-decoration: none;
    white-space: nowrap;
}

.btn-modal-donate:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 50%, #78350f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(180, 83, 9, 0.4);
    color: #ffffff !important;
}

.btn-modal-receipt {
    background: #ffffff;
    color: #475569 !important;
    border: 1.5px solid #cbd5e1;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 9px 16px;
    border-radius: 12px;
    transition: all 0.22s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    width: 100%;
    text-decoration: none;
    white-space: nowrap;
}

.btn-modal-receipt:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #1e293b !important;
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .btn-modal-donate {
        font-size: 0.88rem;
        padding: 10px 12px;
    }
    .btn-modal-receipt {
        font-size: 0.84rem;
        padding: 9px 12px;
    }
}

.btn-outline-gold {
    background: #ffffff;
    color: #9a3412 !important;
    border: 2px solid var(--saffron-500);
    font-weight: 700;
    padding: 12px 26px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.16);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-gold:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff !important;
    border-color: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(217, 119, 6, 0.35);
}

.hero-section .btn-outline-gold {
    background: rgba(255, 255, 255, 0.08);
    color: #fbbf24 !important;
    border-color: rgba(245, 158, 11, 0.6);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.btn-outline-gold.btn-sm {
    padding: 6px 14px !important;
    font-size: 0.82rem !important;
    border-width: 1.5px !important;
}

.project-icon-box {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.project-icon-box:hover {
    transform: scale(1.08);
}

.welcome-btn-group .btn,
.founder-btn-group .btn {
    white-space: nowrap;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    background: 
        radial-gradient(circle at 80% 30%, rgba(245, 158, 11, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 10% 70%, rgba(153, 27, 27, 0.22) 0%, transparent 50%),
        linear-gradient(135deg, #110c08 0%, #260c0c 40%, #1a0802 100%);
    color: #ffffff;
    padding: 95px 0 115px;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, var(--cream-bg), transparent);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fef08a;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 7px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-title {
    font-size: 3.1rem;
    color: #ffffff;
    margin-bottom: 22px;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #fb923c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.3));
}

.hero-description {
    font-size: 1.15rem;
    color: #e2e8f0;
    max-width: 640px;
    margin-bottom: 38px;
    line-height: 1.8;
}

/* Hero Portrait Frame */
.hero-image-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.7);
    border: 3px solid rgba(245, 158, 11, 0.45);
    background: #0f172a;
    transition: var(--transition);
}

.hero-image-frame:hover {
    border-color: var(--saffron-400);
    box-shadow: 0 30px 70px -10px rgba(245, 158, 11, 0.3);
}

.hero-image-frame img {
    width: 100%;
    height: 490px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-image-frame:hover img {
    transform: scale(1.03);
}

.hero-verified-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.hero-verified-icon {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ==========================================================================
   Stats Counter Floating Bar
   ========================================================================== */

.stats-card-container {
    margin-top: -60px;
    position: relative;
    z-index: 20;
}

.stats-floating-box {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 45px rgba(120, 53, 15, 0.12), 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 2px solid rgba(245, 158, 11, 0.3);
    padding: 30px 20px;
}

.stat-box {
    text-align: center;
    padding: 15px 10px;
    border-right: 1px dashed #e2e8f0;
}

.stat-box:last-child {
    border-right: none;
}

.stat-num {
    font-family: 'Rozha One', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--maroon-700);
    line-height: 1.1;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #991b1b 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label-text {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-secondary);
}

/* ==========================================================================
   Section Headers & Badges
   ========================================================================== */

.section-head-wrap {
    text-align: center;
    margin-bottom: 55px;
    position: relative;
}

.sacred-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--maroon-800);
    background: #fee2e2;
    border: 1px solid rgba(185, 28, 28, 0.25);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 18px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
}

.section-main-title {
    font-size: 2.45rem;
    color: var(--dark-800);
    margin-bottom: 16px;
    letter-spacing: -0.4px;
}

.section-main-title span {
    color: var(--saffron-700);
    position: relative;
    display: inline-block;
}

.section-sub-desc {
    font-size: 1.08rem;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto;
}

/* ==========================================================================
   Cards & Layouts
   ========================================================================== */

.custom-card {
    background: var(--cream-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gold-border);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.custom-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--saffron-400);
}

/* Service / Project Card */
.service-box-card {
    padding: 34px 26px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-top: 4px solid var(--saffron-600);
}

.service-icon-circle {
    width: 76px;
    height: 76px;
    margin: 0 auto 22px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: var(--saffron-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.18);
    transition: var(--transition);
    border: 2px solid rgba(245, 158, 11, 0.35);
}

.service-box-card:hover .service-icon-circle {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #ffffff;
    transform: scale(1.12) rotate(6deg);
    box-shadow: 0 12px 25px rgba(217, 119, 6, 0.35);
}

.service-box-card h4 {
    font-size: 1.32rem;
    margin-bottom: 14px;
    color: var(--dark-800);
    font-weight: 700;
}

.service-box-card p {
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Founder Letter Layout */
.founder-letter-card {
    background: linear-gradient(135deg, #ffffff 0%, #fffdf5 50%, #fffbeb 100%);
    border: 2px solid rgba(245, 158, 11, 0.45);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 45px;
    position: relative;
}

.founder-letter-card::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px dashed rgba(245, 158, 11, 0.3);
    border-radius: calc(var(--radius-xl) - 8px);
    pointer-events: none;
}

.founder-portrait-img {
    border-radius: var(--radius-xl);
    border: 4px solid #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top center;
    display: inline-block;
}

/* Bank Account & QR Donation Card */
.divine-bank-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(217, 119, 6, 0.35);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.divine-bank-header {
    background: linear-gradient(135deg, #991b1b 0%, #78350f 100%);
    color: #ffffff;
    padding: 26px 30px;
    text-align: center;
}

.divine-bank-body {
    padding: 32px;
}

.bank-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
}

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

.bank-row-label {
    font-size: 0.92rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.bank-row-value {
    font-weight: 700;
    color: var(--dark-800);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.98rem;
}

.copy-btn {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.copy-btn:hover {
    background: var(--saffron-100);
    color: var(--saffron-800);
    border-color: var(--saffron-500);
}

.qr-presentation-box {
    background: linear-gradient(135deg, #fffdf7 0%, #fef3c7 100%);
    border: 2px dashed #f59e0b;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.qr-presentation-box img {
    max-width: 260px;
    margin: 0 auto 18px;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border: 4px solid #ffffff;
}

/* ==========================================================================
   Minimalist Modern Document & Form Download Cards (Image 1 Style)
   ========================================================================== */

.clean-doc-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.85);
    padding: 24px 26px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.035);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.clean-doc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(217, 119, 6, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
    border-color: rgba(245, 158, 11, 0.5);
}

.doc-top-tag {
    display: inline-block;
    background: #f1f5f9;
    color: #64748b;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    padding: 3px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    font-family: 'Poppins', -apple-system, sans-serif;
    margin-bottom: 8px;
    width: fit-content;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.2s ease;
}

.clean-doc-card:hover .doc-top-tag {
    background: #fef3c7;
    color: #b45309;
    border-color: rgba(245, 158, 11, 0.35);
}

.doc-card-body-wrap {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    height: 100%;
}

.doc-icon-box {
    width: 66px;
    height: 66px;
    min-width: 66px;
    border-radius: 18px;
    background: #fffdf5;
    border: 1.5px solid #fde68a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.08);
    transition: transform 0.25s ease, background 0.25s ease;
}

.clean-doc-card:hover .doc-icon-box {
    transform: scale(1.06);
    background: #fffbeb;
    color: #d97706;
}

.doc-content-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    min-height: 80px;
}

.doc-matter-title {
    font-family: 'Poppins', 'Yantramanav', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.35;
    color: #1e293b;
    margin-bottom: 6px;
}

.doc-matter-meta {
    font-size: 11.5px;
    color: #64748b;
    margin-bottom: 14px;
    line-height: 1.4;
}

.doc-actions-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 6px;
}

.doc-pill-btn-download {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 20px;
    border-radius: 9999px;
    border: 1.8px solid #0284c7;
    color: #0284c7 !important;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    background: #ffffff;
    transition: all 0.22s ease-in-out;
}

.doc-pill-btn-download:hover {
    background: #0284c7;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
    transform: translateY(-1px);
}

.doc-pill-btn-view {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 9999px;
    border: 1.8px solid #f59e0b;
    color: #b45309 !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    text-decoration: none;
    background: #ffffff;
    transition: all 0.22s ease-in-out;
}

.doc-pill-btn-view:hover {
    background: #f59e0b;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
    transform: translateY(-1px);
}

@media (max-width: 575.98px) {
    .clean-doc-card {
        padding: 18px 16px;
    }
    .doc-card-body-wrap {
        gap: 14px;
    }
    .doc-icon-box {
        width: 54px;
        height: 54px;
        min-width: 54px;
        font-size: 24px;
        border-radius: 14px;
    }
    .doc-matter-title {
        font-size: 0.98rem;
    }
    .doc-pill-btn-download {
        padding: 6px 16px;
        font-size: 11.5px;
    }
    .doc-pill-btn-view {
        padding: 6px 12px;
        font-size: 11.5px;
    }
}

/* ==========================================================================
   Photo Gallery Grid & Lightbox
   ========================================================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap: 22px;
}

.gallery-card-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 250px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    background: #0f172a;
    border: 2px solid transparent;
    transition: var(--transition);
}

.gallery-card-item:hover {
    border-color: var(--saffron-400);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.gallery-card-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.2) 65%, transparent 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px;
    color: #ffffff;
    transition: var(--transition);
}

.gallery-card-item:hover .gallery-card-overlay {
    opacity: 1;
}

.gallery-cat-pill {
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--saffron-600);
    color: #ffffff;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 8px;
    width: fit-content;
    letter-spacing: 0.4px;
}

/* Filter Tab Pills */
.filter-tabs-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-tab-btn {
    padding: 9px 22px;
    border-radius: var(--radius-full);
    font-size: 0.94rem;
    font-weight: 700;
    border: 1.5px solid var(--gold-border);
    background: #ffffff;
    color: var(--text-primary);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.filter-tab-btn:hover, .filter-tab-btn.active {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(217, 119, 6, 0.35);
    transform: translateY(-2px);
}

/* ==========================================================================
   Trustees & Team Cards
   ========================================================================== */

.team-member-card {
    text-align: center;
    padding: 35px 24px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gold-border);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--saffron-400);
}

.team-avatar-frame {
    width: 170px;
    height: 170px;
    margin: 0 auto 22px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12), 0 0 0 3px var(--saffron-400);
    overflow: hidden;
    background: #f1f5f9;
    transition: var(--transition);
}

.team-avatar-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member-card:hover .team-avatar-frame img {
    transform: scale(1.08);
}

.team-member-name {
    font-size: 1.35rem;
    color: var(--dark-800);
    margin-bottom: 6px;
    font-weight: 700;
}

.team-member-role {
    font-size: 0.92rem;
    color: var(--maroon-700);
    font-weight: 700;
    margin-bottom: 12px;
}

/* ==========================================================================
   Testimonial Cards
   ========================================================================== */

.testimonial-quote-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--gold-border);
    border-left: 5px solid var(--saffron-600);
    box-shadow: var(--shadow-md);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.testimonial-quote-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--saffron-500);
}

.testimonial-stars {
    color: #f59e0b;
    margin-bottom: 12px;
    font-size: 0.88rem;
}

.testimonial-body-text {
    font-style: italic;
    font-size: 0.96rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-author-name {
    font-weight: 700;
    color: var(--maroon-800);
    font-size: 1rem;
}

/* ==========================================================================
   Page Banners & Headers
   ========================================================================== */

.page-hero-banner {
    background: 
        radial-gradient(circle at 75% 50%, rgba(245, 158, 11, 0.2) 0%, transparent 60%),
        linear-gradient(135deg, #2b1102 0%, #450a0a 50%, #1e1b18 100%);
    color: #ffffff;
    padding: 68px 0 78px;
    text-align: center;
    position: relative;
    border-bottom: 3px solid var(--saffron-500);
}

.page-hero-title {
    font-size: 2.85rem;
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.page-hero-breadcrumb {
    color: #cbd5e1;
    font-size: 0.92rem;
    font-weight: 500;
}

.page-hero-breadcrumb a {
    color: var(--saffron-300);
}

/* ==========================================================================
   About Page Image & Headquarters Badge
   ========================================================================== */

.about-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 14px 35px -8px rgba(120, 53, 15, 0.22);
    border: 3px solid #fde68a !important;
    background: #0f172a;
}

.about-team-img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    display: block;
}

.about-hq-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    max-width: 310px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #f59e0b;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.main-site-footer {
    background: var(--dark-950);
    color: #94a3b8;
    padding: 75px 0 0;
    border-top: 4px solid var(--saffron-600);
    position: relative;
}

.footer-trust-title {
    font-family: 'Rozha One', serif;
    font-size: 1.45rem;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-widget-title {
    font-family: 'Rozha One', serif;
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2.5px;
    background: var(--saffron-500);
    border-radius: 2px;
}

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

.footer-nav-list li {
    margin-bottom: 11px;
}

.footer-nav-list a {
    color: #94a3b8;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
}

.footer-nav-list a:hover {
    color: var(--saffron-400);
    transform: translateX(5px);
}

.footer-copyright-bar {
    background: #020617;
    padding: 22px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.88rem;
    color: #64748b;
}

/* ==========================================================================
   Floating Quick Action Hub & Smooth Breathing Blinking Animations
   ========================================================================== */

.floating-action-hub {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.action-float-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 1.45rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s ease, filter 0.25s ease;
    position: relative;
    outline: none;
}

.action-float-btn:hover {
    transform: scale(1.15) !important;
    animation-play-state: paused;
}

.action-float-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    animation: smoothBlinkWhatsapp 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.action-float-call {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    animation: smoothBlinkCall 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite 0.8s;
}

.action-float-donate {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    animation: smoothBlinkDonate 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite 1.6s;
}

@keyframes smoothBlinkWhatsapp {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(18, 140, 126, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.75);
    }
    45% {
        transform: scale(1.08);
        box-shadow: 0 8px 25px rgba(18, 140, 126, 0.55), 0 0 0 14px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(18, 140, 126, 0.35), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes smoothBlinkCall {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(185, 28, 28, 0.35), 0 0 0 0 rgba(220, 38, 38, 0.75);
    }
    45% {
        transform: scale(1.08);
        box-shadow: 0 8px 25px rgba(185, 28, 28, 0.55), 0 0 0 14px rgba(220, 38, 38, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(185, 28, 28, 0.35), 0 0 0 0 rgba(220, 38, 38, 0);
    }
}

@keyframes smoothBlinkDonate {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(217, 119, 6, 0.35), 0 0 0 0 rgba(245, 158, 11, 0.8);
    }
    45% {
        transform: scale(1.08);
        box-shadow: 0 8px 25px rgba(217, 119, 6, 0.6), 0 0 0 14px rgba(245, 158, 11, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(217, 119, 6, 0.35), 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

/* ==========================================================================
   Donation Digital Receipt Styles
   ========================================================================== */

.receipt-container {
    background: #ffffff;
    max-width: 860px;
    margin: 0 auto;
    padding: 45px;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(245, 158, 11, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.receipt-watermark {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    max-width: 80%;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: multiply;
    filter: contrast(1);
    user-select: none;
    -webkit-user-select: none;
}

.receipt-header {
    border-bottom: 2px solid var(--maroon-700);
    padding-bottom: 18px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.receipt-table {
    position: relative;
    z-index: 1;
    background: transparent !important;
}

.receipt-table th {
    font-weight: 600;
    color: var(--dark-800);
    background-color: rgba(254, 252, 232, 0.72) !important;
}

.receipt-table td {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.55) !important;
}

.receipt-blessing-box {
    background-color: rgba(248, 250, 252, 0.72) !important;
    position: relative;
    z-index: 1;
}

.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

.text-warning-subtle {
    color: #fef08a !important;
}

/* ==========================================================================
   Contact Page Luxury Layout & Info Tiles
   ========================================================================== */

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-tile {
    background: #ffffff;
    border: 1px solid rgba(245, 158, 11, 0.22);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.contact-info-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #f59e0b, #d97706);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.contact-info-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 158, 11, 0.55);
    box-shadow: 0 10px 28px rgba(245, 158, 11, 0.12);
}

.contact-info-tile:hover::before {
    opacity: 1;
}

.contact-tile-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease;
}

.contact-info-tile:hover .contact-tile-icon {
    transform: scale(1.08);
}

.contact-tile-icon.icon-location {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.contact-tile-icon.icon-phone {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border: 1px solid rgba(185, 28, 28, 0.3);
}

.contact-tile-icon.icon-email {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    color: #3730a3;
    border: 1px solid rgba(79, 70, 229, 0.3);
}

.contact-tile-icon.icon-whatsapp {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.contact-tile-body {
    flex: 1;
    min-width: 0;
}

.contact-tile-badge {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #b45309;
    background: rgba(245, 158, 11, 0.1);
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 4px;
}

.contact-tile-title {
    font-family: 'Rozha One', 'Cinzel', serif;
    font-size: 1.08rem;
    color: #1e293b;
    margin-bottom: 6px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.contact-tile-text {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 0;
}

.contact-pills-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.contact-action-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.contact-action-pill:hover {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
    transform: translateY(-1px);
}

.contact-action-pill.pill-whatsapp {
    background: #ecfdf5;
    color: #065f46;
    border-color: #a7f3d0;
    font-weight: 700;
}

.contact-action-pill.pill-whatsapp:hover {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.contact-map-card {
    background: #ffffff;
    border: 1px solid rgba(245, 158, 11, 0.22);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    margin-top: 20px;
}

.contact-map-header {
    padding: 12px 18px;
    background: #fffbeb;
    border-bottom: 1px solid rgba(245, 158, 11, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ==========================================================================
   Comprehensive Mobile & Responsive Rules
   Deeply tested for 320px, 375px, 420px, 576px, 768px, 992px & 1200px
   ========================================================================== */

/* Tablet Landscape & Below (<= 1199.98px) */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 2.6rem;
    }
}

/* Tablet Portrait & Below (<= 991.98px) */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 55px 0 65px;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-image-frame {
        margin-top: 36px;
    }
    .hero-image-frame img {
        height: 400px;
    }
    .stats-card-container {
        margin-top: -20px;
    }
    .stat-box {
        border-right: none;
        border-bottom: 1px dashed #e2e8f0;
    }
    .stat-box:last-child {
        border-bottom: none;
    }
    .floating-action-hub {
        bottom: 20px;
        right: 20px;
    }
    .receipt-container {
        padding: 24px;
    }
    .section-head-wrap {
        margin-bottom: 38px;
    }
    .founder-letter-card {
        padding: 32px 24px;
    }
    .founder-portrait-img {
        max-height: 340px;
        margin-bottom: 24px;
    }
}

/* Mobile Devices & Small Tablets (<= 767.98px) */
@media (max-width: 767.98px) {
    /* Base & Typography */
    body {
        font-size: 0.95rem;
        overflow-x: hidden !important;
    }
    
    .container, .container-fluid {
        padding-left: 14px;
        padding-right: 14px;
    }

    /* Prevent any negative row margins from overflowing container on mobile */
    .row {
        --bs-gutter-x: 1.25rem !important;
    }
    .row.g-5, .row.g-4 {
        --bs-gutter-x: 1.25rem !important;
        --bs-gutter-y: 1.25rem !important;
    }

    /* Top Chant Ticker */
    .auspicious-ticker {
        font-size: 0.78rem;
        padding: 5px 8px;
        letter-spacing: 0.3px;
    }
    .auspicious-ticker .ticker-item {
        font-size: 0.78rem;
    }

    /* Hero Section */
    .hero-section {
        padding: 36px 0 40px;
    }
    .hero-badge {
        font-size: 0.76rem;
        padding: 5px 12px;
        margin-bottom: 14px;
        gap: 6px;
    }
    .hero-title {
        font-size: 1.85rem !important;
        line-height: 1.25 !important;
        letter-spacing: -0.3px;
        margin-bottom: 14px;
    }
    .hero-description {
        font-size: 0.92rem;
        line-height: 1.65;
        margin-bottom: 22px;
    }
    .hero-section .d-flex.flex-wrap {
        flex-direction: column !important;
        width: 100%;
        gap: 10px !important;
    }
    .hero-section .btn {
        width: 100%;
        justify-content: center;
        padding: 11px 18px !important;
        font-size: 0.92rem;
    }

    /* Form & Action Buttons Mobile Formatting */
    .btn.w-100,
    button[type="submit"].w-100 {
        width: 100% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 8px;
    }
    
    .btn-saffron.btn-lg,
    .btn-maroon.btn-lg,
    .btn.btn-lg {
        font-size: 0.98rem !important;
        padding: 11px 16px !important;
        border-radius: 50px !important;
    }
    .hero-image-frame {
        margin-top: 24px;
        border-radius: var(--radius-lg);
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    .hero-image-frame img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: cover;
        object-position: top center;
    }
    .hero-verified-card {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        margin: 0 !important;
        width: 100% !important;
        border: none !important;
        border-top: 1px solid rgba(245, 158, 11, 0.45) !important;
        border-radius: 0 !important;
        background: rgba(15, 23, 42, 0.96) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        padding: 12px 14px !important;
        box-shadow: none !important;
    }
    .hero-verified-card .hero-verified-icon,
    .hero-verified-card .rounded-circle {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        font-size: 0.92rem !important;
    }
    .hero-verified-card h6 {
        font-size: 0.94rem;
        line-height: 1.3;
    }
    .hero-verified-card small {
        font-size: 0.74rem;
        line-height: 1.35;
        display: block;
    }

    /* Floating Stats Bar */
    .stats-card-container {
        margin-top: 14px;
        margin-bottom: 14px;
    }
    .stats-floating-box {
        padding: 14px 10px;
        border-radius: var(--radius-md);
    }
    .stat-box {
        padding: 10px 6px;
    }
    /* 2x2 grid borders on mobile */
    .stats-floating-box .row > div:nth-child(1) .stat-box,
    .stats-floating-box .row > div:nth-child(2) .stat-box {
        border-bottom: 1px dashed #e2e8f0;
    }
    .stats-floating-box .row > div:nth-child(1) .stat-box,
    .stats-floating-box .row > div:nth-child(3) .stat-box {
        border-right: 1px dashed #e2e8f0;
    }
    .stats-floating-box .row > div:nth-child(2) .stat-box,
    .stats-floating-box .row > div:nth-child(4) .stat-box {
        border-right: none;
    }
    .stat-num {
        font-size: 1.55rem;
        margin-bottom: 2px;
    }
    .stat-label-text {
        font-size: 0.72rem;
    }

    /* Section Headings */
    .section-head-wrap {
        margin-bottom: 26px;
    }
    .sacred-pill-tag {
        font-size: 0.74rem;
        padding: 4px 12px;
        margin-bottom: 10px;
    }
    .section-main-title {
        font-size: 1.62rem !important;
        line-height: 1.3 !important;
        margin-bottom: 10px;
    }
    .section-sub-desc {
        font-size: 0.90rem;
        line-height: 1.6;
    }

    /* Page Hero Banners (About, Donation, Contact, etc.) */
    .page-hero-banner {
        padding: 36px 0 40px;
    }
    .page-hero-title {
        font-size: 1.7rem !important;
        margin-bottom: 8px;
    }
    .page-hero-breadcrumb {
        font-size: 0.82rem;
    }

    /* Founder Letter Card */
    .founder-letter-card {
        padding: 24px 16px 36px 16px !important;
        border-radius: 18px;
    }
    .founder-letter-card::before {
        top: 8px;
        left: 8px;
        right: 8px;
        bottom: 8px;
        border-radius: 12px;
    }
    .founder-portrait-img {
        width: 140px;
        height: 140px;
        border-radius: 50%;
        margin: 0 auto 16px;
        display: block;
        object-fit: cover;
        border-width: 3px;
    }

    /* About Page Mobile Optimizations */
    .about-image-card {
        border-radius: var(--radius-md) !important;
        display: flex;
        flex-direction: column;
        margin-top: 12px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
    }
    .about-team-img {
        width: 100%;
        height: auto;
        max-height: 270px;
        object-fit: cover;
        display: block;
    }
    .about-hq-badge {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        left: auto !important;
        margin: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        border-radius: 0 !important;
        border: none !important;
        border-top: 1px solid rgba(245, 158, 11, 0.45) !important;
        background: rgba(15, 23, 42, 0.96) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        padding: 10px 14px !important;
        box-shadow: none !important;
    }
    .about-hq-badge small.d-block {
        font-size: 0.85rem;
    }
    .about-hq-badge small.text-white-50 {
        font-size: 0.76rem;
    }

    /* Floating Action Hub */
    .floating-action-hub {
        bottom: 14px;
        right: 14px;
        gap: 8px;
    }
    .action-float-btn {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
    }

    /* Service Cards */
    .service-box-card {
        padding: 24px 16px;
    }
    .service-icon-circle {
        width: 62px;
        height: 62px;
        font-size: 1.55rem;
        margin-bottom: 16px;
    }

    /* Digital Receipt */
    .receipt-container {
        padding: 18px 12px;
        border-radius: 14px;
    }
    .receipt-header {
        padding-bottom: 12px;
        margin-bottom: 16px;
    }
    .receipt-table {
        font-size: 0.82rem;
    }

    /* Forms: Prevents iOS Safari Auto-Zoom by enforcing 16px font-size */
    .form-control,
    .form-select,
    .input-group-text {
        font-size: 16px !important;
    }

    /* Footer Responsive Adjustments */
    .main-site-footer {
        padding: 45px 0 0;
    }
    .footer-widget-title {
        margin-bottom: 14px;
    }
    .footer-copyright-bar {
        padding: 16px 0;
        margin-top: 32px;
        font-size: 0.82rem;
        text-align: center;
    }
}

/* Extra Small Phones (<= 575.98px) */
@media (max-width: 575.98px) {
    /* Navbar Brand */
    .main-navbar {
        padding: 6px 0;
    }
    .navbar-brand-logo {
        gap: 8px;
        max-width: calc(100% - 48px) !important;
        min-width: 0 !important;
    }
    .navbar-brand-logo img {
        width: 40px !important;
        height: 40px !important;
        border-width: 1.5px;
        flex-shrink: 0 !important;
    }
    .navbar-brand-title {
        font-size: 0.94rem !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .navbar-brand-sub {
        font-size: 0.58rem !important;
        letter-spacing: 0.2px;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .navbar-toggler,
    .main-navbar-toggler {
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
    }
    .navbar-toggler i,
    .main-navbar-toggler i {
        font-size: 1.2rem !important;
    }

    /* Project Icon Badge */
    .project-icon-box {
        width: 38px !important;
        height: 38px !important;
        font-size: 1rem !important;
    }

    /* Welcome & Founder Action Buttons on Mobile: Single-line, full width */
    .welcome-btn-group,
    .founder-btn-group {
        width: 100% !important;
        gap: 12px !important;
    }
    .welcome-btn-group .btn,
    .founder-btn-group .btn {
        width: 100% !important;
        justify-content: center !important;
        white-space: nowrap !important;
        padding: 13px 20px !important;
        font-size: 0.94rem !important;
        border-radius: var(--radius-full) !important;
    }

    /* Welcome Section Photo & Slogan Badge Overlay */
    .welcome-image-wrap {
        display: flex;
        flex-direction: column;
    }
    .welcome-slogan-badge {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        margin: 10px 0 0 0 !important;
        max-width: 100% !important;
        background: rgba(255, 255, 255, 0.98) !important;
        border-radius: 10px !important;
    }

    /* Bank Transfer Card - Vertical Stack to prevent Hindi Account Name Overflow */
    .divine-bank-body {
        padding: 16px 14px;
    }
    .divine-bank-header {
        padding: 16px 14px;
    }
    .divine-bank-header h4,
    .divine-bank-header h5 {
        font-size: 1.05rem;
    }
    .bank-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px;
        padding: 10px 0;
    }
    .bank-row-label {
        font-size: 0.82rem;
    }
    .bank-row-value {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.92rem;
        word-break: break-word;
    }
    .bank-row-value.fs-5 {
        font-size: 1.1rem !important;
    }
    .copy-btn {
        padding: 3px 8px;
        font-size: 0.72rem;
        flex-shrink: 0;
    }

    /* QR Code Presentation Box */
    .qr-presentation-box {
        padding: 18px 12px;
    }
    .qr-presentation-box img {
        max-width: 200px;
        margin-bottom: 12px;
    }

    /* Gallery Grid: 1 column on phone with visible captions */
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }
    .gallery-card-item {
        height: 215px !important;
    }
    .gallery-card-overlay {
        opacity: 1 !important;
        background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.25) 60%, transparent 100%) !important;
    }

    /* Filter Tabs Bar */
    .filter-tabs-bar {
        gap: 6px;
        margin-bottom: 22px;
    }
    .filter-tab-btn {
        padding: 6px 12px;
        font-size: 0.80rem;
    }

    /* Team Members */
    .team-avatar-frame {
        width: 125px;
        height: 125px;
        margin-bottom: 14px;
    }
    .team-member-card {
        padding: 22px 14px;
    }
    .team-member-name {
        font-size: 1.18rem;
    }

    /* Testimonials */
    .testimonial-quote-card {
        padding: 18px 14px;
    }
    .testimonial-body-text {
        font-size: 0.90rem;
        line-height: 1.6;
    }

    /* Contact Luxury Tiles */
    .contact-info-tile {
        padding: 14px 12px;
        gap: 12px;
        border-radius: 12px;
    }
    .contact-tile-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
        border-radius: 10px;
    }
    .contact-tile-title {
        font-size: 1rem;
    }
    .contact-tile-text {
        font-size: 0.86rem;
    }
    .contact-action-pill {
        padding: 5px 11px;
        font-size: 0.80rem;
    }

    /* Quick Donate Modal */
    .modal-dialog {
        margin: 10px;
    }
}

/* Narrow & Ultra-Compact Screens (<= 380px) */
@media (max-width: 380px) {
    .navbar-brand-title {
        font-size: 0.95rem !important;
    }
    .navbar-brand-sub {
        font-size: 0.54rem !important;
    }
    .hero-title {
        font-size: 1.55rem !important;
    }
    .section-main-title {
        font-size: 1.42rem !important;
    }
    .stat-num {
        font-size: 1.35rem;
    }
    .stat-label-text {
        font-size: 0.68rem;
    }
    .btn-saffron,
    .btn-outline-gold,
    .btn-maroon {
        font-size: 0.86rem !important;
        padding: 9px 12px !important;
    }
}

/* ==========================================================================
   Founder Action Row Single-Line Styling
   ========================================================================== */

.founder-action-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
}

.founder-action-row .btn {
    white-space: nowrap !important;
    padding: 10px 18px !important;
    font-size: 0.9rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto;
}

@media (max-width: 991px) {
    .founder-action-row {
        flex-wrap: wrap;
        gap: 8px;
    }
    .founder-action-row .btn {
        padding: 9px 14px !important;
        font-size: 0.85rem !important;
    }
}

@media (max-width: 575px) {
    .founder-action-row .btn {
        width: 100%;
    }
}

/* ==========================================================================
   Clean Fit-To-Image Gallery Lightbox (No Empty Black Areas)
   ========================================================================== */

.gallery-lightbox-modal .modal-dialog {
    max-width: fit-content !important;
    width: auto !important;
    margin: 1.75rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox-modal .modal-content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img-wrapper {
    position: relative;
    display: inline-block;
    max-width: 92vw;
    max-height: 88vh;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.18);
    background: transparent;
}

.lightbox-image {
    display: block;
    max-height: 84vh;
    max-width: 90vw;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
}

.lightbox-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.lightbox-close-btn:hover {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
    transform: scale(1.12);
}

.lightbox-caption-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 22px 14px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 60%, transparent 100%);
    color: #ffffff;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    backdrop-filter: blur(2px);
    pointer-events: none;
}

.lightbox-tag-badge {
    display: inline-block;
    background: #f59e0b;
    color: #000000;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 9999px;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lightbox-title-text {
    font-family: 'Rozha One', 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}

/* ==========================================================================
   Donation Submit Button - Fully Mobile Friendly
   ========================================================================== */

.btn-submit-donation {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35) !important;
    transition: all 0.25s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

.btn-submit-donation:hover,
.btn-submit-donation:focus {
    background: linear-gradient(135deg, #d97706 0%, #b45309 50%, #78350f 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(180, 83, 9, 0.45) !important;
    color: #ffffff !important;
}

.btn-submit-donation:active {
    transform: translateY(0) !important;
}

.btn-submit-donation .submit-btn-icon {
    font-size: 1.25rem !important;
    flex-shrink: 0 !important;
}

.btn-submit-donation .submit-btn-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    line-height: 1.25 !important;
}

.btn-submit-donation .submit-btn-title {
    font-size: 1.08rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px !important;
}

.btn-submit-donation .submit-btn-sub {
    font-size: 0.78rem !important;
    font-weight: 500 !important;
    opacity: 0.92 !important;
    letter-spacing: 0.2px !important;
}

@media (max-width: 576px) {
    .btn-submit-donation {
        padding: 12px 16px !important;
        border-radius: 10px !important;
        gap: 10px !important;
    }
    .btn-submit-donation .submit-btn-icon {
        font-size: 1.15rem !important;
    }
    .btn-submit-donation .submit-btn-title {
        font-size: 0.98rem !important;
    }
    .btn-submit-donation .submit-btn-sub {
        font-size: 0.72rem !important;
    }
}

/* ==========================================================================
   Quick Donate Modal Buttons (Clean Sizing, Centered & Single-Line Format)
   ========================================================================== */

.modal-donation-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.btn-modal-donate,
.btn-modal-receipt {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 8px !important;
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 0 16px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    transition: all 0.22s ease-in-out !important;
    box-sizing: border-box !important;
}

.btn-modal-donate {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 40%, #b45309 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35) !important;
}

.btn-modal-donate:hover,
.btn-modal-donate:focus {
    background: linear-gradient(135deg, #d97706 0%, #b45309 50%, #991b1b 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(180, 83, 9, 0.45) !important;
}

.btn-modal-donate:active {
    transform: translateY(0) !important;
}

.btn-modal-donate i {
    font-size: 1.05rem;
    flex-shrink: 0;
}

.btn-modal-receipt {
    background: #ffffff !important;
    color: #334155 !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

.btn-modal-receipt:hover,
.btn-modal-receipt:focus {
    background: #fffbeb !important;
    border-color: #f59e0b !important;
    color: #b45309 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.18) !important;
}

.btn-modal-receipt:active {
    transform: translateY(0) !important;
}

.btn-modal-receipt i {
    font-size: 1.05rem;
    color: #d97706;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    #quickDonateModal .modal-body {
        padding: 1.25rem 1rem !important;
    }
    .btn-modal-donate,
    .btn-modal-receipt {
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
        font-size: 0.88rem !important;
        padding: 0 12px !important;
        border-radius: 10px !important;
        gap: 6px !important;
    }
    .btn-modal-donate i,
    .btn-modal-receipt i {
        font-size: 0.95rem;
    }
}

@media (max-width: 360px) {
    .btn-modal-donate,
    .btn-modal-receipt {
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        font-size: 0.82rem !important;
        padding: 0 8px !important;
        gap: 5px !important;
    }
}

/* ==========================================================================
   Volunteer Page Mobile Optimizations
   ========================================================================== */

.volunteer-header-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.volunteer-form-title {
    font-size: 1.25rem;
    line-height: 1.3;
}

.volunteer-form-sub {
    font-size: 0.85rem;
    line-height: 1.4;
    display: block;
}

.volunteer-success-icon {
    width: 68px;
    height: 68px;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-select-card {
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    border-color: #e2e8f0;
}

.service-select-card:hover {
    background-color: #fffdf5;
    border-color: #f59e0b !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.12);
}

.service-select-card:has(input:checked) {
    background-color: #fffbeb;
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 1.5px #f59e0b, 0 4px 12px rgba(245, 158, 11, 0.15);
}

.photo-preview-box {
    min-width: 80px;
}

.volunteer-preview-img {
    width: 76px;
    height: 94px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin: 0 auto;
}

.volunteer-perk-badge {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.btn-submit-volunteer {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 40%, #b45309 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    height: 50px !important;
    min-height: 50px !important;
    width: 100% !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 16px rgba(217, 119, 6, 0.35) !important;
    transition: all 0.22s ease-in-out !important;
    text-decoration: none !important;
    padding: 0 18px !important;
    white-space: nowrap !important;
}

.btn-submit-volunteer:hover,
.btn-submit-volunteer:focus {
    background: linear-gradient(135deg, #d97706 0%, #b45309 50%, #991b1b 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(180, 83, 9, 0.45) !important;
}

.btn-submit-volunteer:active {
    transform: translateY(0) !important;
}

@media (max-width: 767.98px) {
    .volunteer-header-icon {
        width: 40px;
        height: 40px;
        font-size: 1.15rem;
    }
    .volunteer-form-title {
        font-size: 1.05rem;
    }
    .volunteer-form-sub {
        font-size: 0.78rem;
    }
    .volunteer-success-actions .btn {
        width: 100% !important;
        font-size: 0.9rem !important;
        padding: 11px 16px !important;
        border-radius: 10px !important;
        justify-content: center !important;
        display: inline-flex !important;
        align-items: center !important;
    }
    .btn-submit-volunteer {
        height: 46px !important;
        min-height: 46px !important;
        font-size: 0.94rem !important;
        border-radius: 10px !important;
        padding: 0 12px !important;
    }
    .photo-preview-box {
        min-width: 68px;
    }
    .volunteer-preview-img {
        width: 64px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .volunteer-main-card .card-body {
        padding: 1rem !important;
    }
    .btn-submit-volunteer {
        font-size: 0.88rem !important;
        gap: 6px !important;
    }
    .service-select-card {
        padding: 9px 10px !important;
    }
    .service-select-card .fw-semibold {
        font-size: 0.84rem !important;
    }
}
