:root {
    --brand-red: #B91C1C;
    --brand-red-dark: #991B1B;
    --brand-saffron: #EA580C;
    --brand-gold: #F59E0B;
    --brand-bg: #FAFAF9;
    --brand-card-bg: #FFFFFF;
    --dark-text: #1C1917;
    --muted-text: #57534E;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-hindi: 'Tiro Devanagari Hindi', serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--muted-text);
    background-color: var(--brand-bg);
    overflow-x: hidden;
    top: 0 !important;
    margin: 0;
    padding: 0;
}

/* Site Root Wrapper (Max-width for ultra-wide up to 3000px) */
.site-wrapper {
    max-width: 3000px;
    margin: 0 auto;
    position: relative;
    background-color: var(--brand-bg);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-text);
}

.hindi-font {
    font-family: var(--font-hindi);
}

/* Container Scaling across High-Resolution Displays (1400px - 3000px) */
@media (min-width: 1400px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1360px;
    }
}

@media (min-width: 1600px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1480px;
    }
}

@media (min-width: 2000px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1680px;
    }
}

@media (min-width: 2560px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1920px;
    }
}

/* 1. Top Bar Strip - Modern Royal Saffron & Crimson */
.topbar-strip {
    background: linear-gradient(90deg, #4c0505 0%, #7F1D1D 50%, #991B1B 100%);
    color: #FEF08A;
    font-size: 0.82rem;
    padding: 7px 0;
    border-bottom: 2px solid #F59E0B;
}

.topbar-strip a {
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.2s ease;
}

.topbar-badge {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(254, 240, 138, 0.35);
    color: #FEF08A;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: 0.80rem;
    padding: 3px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.topbar-link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #FEF08A !important;
}

.topbar-social-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.84rem;
    color: #FFFFFF !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.topbar-social-btn:hover {
    transform: translateY(-2px) scale(1.08);
}

/* Facebook Hover: Blue */
.topbar-social-btn.topbar-social-fb:hover {
    background: #1877F2 !important;
    border-color: #1877F2 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.45);
}

/* Instagram Hover: Pink / Gradient */
.topbar-social-btn.topbar-social-insta:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
    border-color: transparent !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(214, 36, 159, 0.45);
}

/* WhatsApp Hover: Green */
.topbar-social-btn.topbar-social-wa:hover {
    background: #25D366 !important;
    border-color: #25D366 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
}

/* YouTube Hover: Red */
.topbar-social-btn.topbar-social-yt:hover {
    background: #FF0000 !important;
    border-color: #FF0000 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(255, 0, 0, 0.45);
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}

/* 2. Main Navbar */
.site-navbar {
    background: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 1040;
    border-bottom: 3px solid var(--brand-saffron);
}

.site-navbar .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap !important;
}

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

.logo-img-clean {
    height: 46px;
    width: 46px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.navbar-brand:hover .logo-img-clean {
    transform: scale(1.04);
}

.brand-title-text {
    font-family: var(--font-hindi);
    font-size: 1.22rem;
    font-weight: 800;
    color: #991B1B;
    line-height: 1.15;
    margin: 0;
    white-space: nowrap;
}

/* Typography & Legible Font Sizes */
.fs-7 {
    font-size: 0.85rem !important;
}

.fs-8 {
    font-size: 0.76rem !important;
}

.fs-9 {
    font-size: 0.75rem !important;
}

.brand-sub-text {
    font-size: 0.75rem;
    color: #C2410C;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    margin-top: 1px;
}

.navbar-nav {
    flex-wrap: nowrap;
}

.nav-link {
    font-weight: 700;
    font-size: 0.86rem;
    color: var(--dark-text) !important;
    padding: 7px 11px !important;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: nowrap !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-red) !important;
    background-color: #FEF2F2;
}

/* Laptops & Desktops (1200px to 1399px) Navbar Adjustment */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .site-navbar {
        padding: 8px 0;
    }

    .brand-title-text {
        font-size: 1.05rem;
    }

    .brand-sub-text {
        font-size: 0.75rem;
    }

    .logo-img-clean {
        height: 40px;
        width: 40px;
    }

    .nav-link {
        font-size: 0.82rem;
        padding: 6px 7px !important;
    }

    #desktopLangDropdown {
        padding: 4px 10px !important;
        font-size: 0.82rem !important;
    }
}

/* Large Screens (1400px+) */
@media (min-width: 1400px) {
    .nav-link {
        font-size: 0.90rem;
        padding: 7px 12px !important;
    }
}

.btn-donate-nav {
    background: linear-gradient(135deg, #DC2626, #EA580C);
    color: #FFFFFF !important;
    font-weight: 700;
    padding: 6px 16px;
    font-size: 0.82rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
    border: none;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-donate-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.35);
    color: #FFFFFF !important;
}

/* Tablet & Mobile Screens (< 1200px) */
@media (max-width: 1199.98px) {
    .site-navbar {
        padding: 6px 0;
    }

    .brand-title-text {
        font-size: 0.95rem;
    }

    .brand-sub-text {
        font-size: 0.74rem;
    }

    .logo-img-clean {
        height: 38px;
        width: 38px;
    }
}

/* Mobile Screens (< 576px) */
@media (max-width: 575.98px) {
    .site-navbar {
        padding: 5px 0;
    }

    .navbar-brand {
        gap: 6px;
    }

    .logo-img-clean {
        height: 34px;
        width: 34px;
    }

    .brand-title-text {
        font-size: 0.88rem;
    }

    .brand-sub-text {
        font-size: 0.72rem;
    }
}

/* Extra Small Screens (< 360px) */
@media (max-width: 359.98px) {
    .brand-title-text {
        font-size: 0.80rem;
    }

    .brand-sub-text {
        font-size: 0.70rem;
    }

    .logo-img-clean {
        height: 28px;
        width: 28px;
    }
}

/* Offcanvas Drawer for Mobile */
#mobileNav {
    width: 310px;
    max-width: 86vw;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

/* 3. Hero Carousel Slider */
.hero-slider-container {
    position: relative;
    background-color: #0f172a;
    overflow: hidden;
}

.hero-slide-wrap {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
}

@media (min-width: 1400px) {
    .hero-slide-wrap {
        min-height: 540px;
    }
}

@media (min-width: 2000px) {
    .hero-slide-wrap {
        min-height: 600px;
    }
}

.hero-card-showcase {
    position: relative;
    max-width: 460px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(245, 158, 11, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

@media (min-width: 1600px) {
    .hero-card-showcase {
        max-width: 520px;
    }
}

.hero-card-showcase:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.8), 0 0 40px rgba(245, 158, 11, 0.4);
}

.hero-card-showcase img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    max-height: 360px;
    object-fit: cover;
    border-radius: 18px;
}

@media (max-width: 767.98px) {
    .hero-card-showcase img {
        max-height: 260px;
    }
}

@media (min-width: 1600px) {
    .hero-card-showcase img {
        max-height: 420px;
    }
}

.card-img-top {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.text-shadow-sm {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* Hero Slide Modern Design */
.hero-tagline-badge {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #FDE047;
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.hero-title-main {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif !important;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #FFFFFF;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle-text {
    font-family: 'Inter', system-ui, sans-serif !important;
    font-size: clamp(1rem, 1.25vw, 1.18rem);
    color: rgba(241, 245, 249, 0.9);
    line-height: 1.65;
    font-weight: 400;
    margin-bottom: 1.75rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-btn-primary {
    background: linear-gradient(135deg, #DC2626 0%, #EA580C 100%);
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.45);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.6);
    color: #FFFFFF !important;
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 26px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.hero-btn-secondary:hover {
    background: #FFFFFF;
    color: #1E293B !important;
    border-color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

/* Modern Carousel Navigation Buttons */
.hero-slider-container .carousel-control-prev,
.hero-slider-container .carousel-control-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.65);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.25s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider-container .carousel-control-prev {
    left: 24px;
}

.hero-slider-container .carousel-control-next {
    right: 24px;
}

.hero-slider-container .carousel-control-prev:hover,
.hero-slider-container .carousel-control-next:hover {
    background: #DC2626;
    border-color: #DC2626;
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
}

/* Carousel Indicators */
.hero-slider-container .carousel-indicators {
    bottom: 20px;
    margin-bottom: 0;
}

.hero-slider-container .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    transition: all 0.3s ease;
}

.hero-slider-container .carousel-indicators .active {
    width: 28px;
    border-radius: 20px;
    background-color: #F59E0B;
}

/* 4. Custom Cards */
.card-custom {
    background: #FFFFFF;
    border: 1px solid #E7E5E4;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(185, 28, 28, 0.1);
    border-color: #FCA5A5;
}

.section-badge-clean {
    display: inline-block;
    background: #FEF3C7;
    color: var(--brand-red);
    border: 1px solid #FDE68A;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 4px 14px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

/* 5. Footer */
footer {
    background: #1C1917;
    color: #F5F5F4;
    padding-top: 50px;
    padding-bottom: 30px;
    border-top: 4px solid var(--brand-saffron);
}

footer h5 {
    color: #FDE68A;
    font-family: var(--font-hindi);
    font-weight: 700;
    margin-bottom: 18px;
}

footer p,
footer li {
    color: #E7E5E4;
}

footer a {
    color: #F5F5F4;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--brand-gold) !important;
}

footer .text-secondary,
footer .text-muted {
    color: #E7E5E4 !important;
}

/* Footer Social Media Buttons - Perfect Centering & Brand Hover Colors */
.footer-social-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    border: 1.5px solid #F59E0B !important;
    color: #FBBF24 !important;
    background: rgba(245, 158, 11, 0.08) !important;
    text-decoration: none !important;
    padding: 0 !important;
    margin: 0;
    line-height: 1 !important;
    font-size: 16px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    vertical-align: middle;
}

.footer-social-btn i {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
    text-align: center !important;
}

.footer-social-btn:hover {
    transform: translateY(-3px) scale(1.08);
    color: #FFFFFF !important;
}

.footer-social-btn:hover i {
    color: #FFFFFF !important;
}

/* Facebook Brand Hover */
.footer-social-btn.footer-social-fb:hover {
    background: #1877F2 !important;
    border-color: #1877F2 !important;
    box-shadow: 0 6px 16px rgba(24, 119, 242, 0.5) !important;
}

/* Instagram Brand Hover */
.footer-social-btn.footer-social-insta:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
    border-color: #d6249f !important;
    box-shadow: 0 6px 16px rgba(214, 36, 159, 0.5) !important;
}

/* WhatsApp Brand Hover */
.footer-social-btn.footer-social-wa:hover {
    background: #25D366 !important;
    border-color: #25D366 !important;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5) !important;
}

/* X / Twitter Brand Hover */
.footer-social-btn.footer-social-x:hover {
    background: #000000 !important;
    border-color: #FFFFFF !important;
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.35) !important;
}

/* LinkedIn Brand Hover */
.footer-social-btn.footer-social-in:hover {
    background: #0A66C2 !important;
    border-color: #0A66C2 !important;
    box-shadow: 0 6px 16px rgba(10, 102, 194, 0.5) !important;
}

/* YouTube Brand Hover */
.footer-social-btn.footer-social-yt:hover {
    background: #FF0000 !important;
    border-color: #FF0000 !important;
    box-shadow: 0 6px 16px rgba(255, 0, 0, 0.5) !important;
}

/* Topbar Social Buttons */
.topbar-social-btn {
    width: 28px;
    height: 28px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50%;
    color: #FDE68A !important;
    background: rgba(255, 255, 255, 0.1);
    font-size: 13px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.topbar-social-btn:hover {
    color: #FFFFFF !important;
    transform: translateY(-2px);
}
.topbar-social-btn.topbar-social-fb:hover { background: #1877F2 !important; }
.topbar-social-btn.topbar-social-insta:hover { background: #E4405F !important; }
.topbar-social-btn.topbar-social-wa:hover { background: #25D366 !important; }
.topbar-social-btn.topbar-social-yt:hover { background: #FF0000 !important; }

/* Global Accessibility & High-Contrast Enhancements (WCAG 2.1 AA Compliant) */
.text-secondary,
.text-muted {
    color: #334155 !important;
}

.bg-dark .text-secondary,
.bg-dark .text-muted,
.bg-danger .text-secondary,
.bg-danger .text-muted,
[style*="background: linear-gradient"] .text-secondary,
[style*="background: linear-gradient"] .text-muted {
    color: #F1F5F9 !important;
}

/* Focus Visible for Keyboard Navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2.5px solid #F59E0B !important;
    outline-offset: 2px !important;
}

/* Outline danger high contrast */
.btn-outline-danger {
    color: #991B1B !important;
    border-color: #991B1B !important;
    font-weight: 700 !important;
}

.btn-outline-danger:hover {
    background-color: #991B1B !important;
    border-color: #991B1B !important;
    color: #FFFFFF !important;
}

/* 6. Floating WhatsApp Button */
.floating-wa {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 54px;
    height: 54px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 1050;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.floating-wa:hover {
    transform: scale(1.1);
    color: white;
}

@media (max-width: 575.98px) {
    .floating-wa {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        bottom: 16px;
        right: 16px;
    }
}

/* 7. Hide Google Translate Toolbars & Branding */
.goog-te-banner-frame,
.skiptranslate,
#goog-gt-tt {
    display: none !important;
    visibility: hidden !important;
}

.goog-text-highlight {
    background: transparent !important;
    box-shadow: none !important;
}
