@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@500;600;700&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    --primary-blue: #0d253f;
    --primary-blue-rgb: 13, 37, 63;
    --saffron-accent: #e05a10;
    --saffron-accent-rgb: 224, 90, 16;
    --green-accent: #1b7a43;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --dark-bg: #0b1329;
    --card-bg-light: rgba(255, 255, 255, 0.75);
    --card-bg-dark: rgba(15, 23, 42, 0.75);
    --border-light: rgba(255, 255, 255, 0.3);
    --border-dark: rgba(255, 255, 255, 0.05);
    --text-light: #1e293b;
    --text-dark: #f1f5f9;
    --transition-speed: 0.3s;
}

/* Smooth Scroll & Custom Scrollbar System */
html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--saffron-accent) rgba(13, 37, 63, 0.08);
}

/* Custom Webkit Scrollbars (Chrome, Safari, Edge, Opera) */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(13, 37, 63, 0.04);
    border-radius: 10px;
}

body.dark-mode ::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0d253f 0%, #e05a10 100%);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e05a10 0%, #ff8c42 100%);
    border-width: 1px;
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* Global Typography - Barlow */
body,
button,
input,
select,
textarea,
.form-control,
.btn,
.nav-link,
p,
span,
div,
td,
th,
li,
a {
    font-family: 'Barlow', 'urw-din', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-light);
    transition: background-color var(--transition-speed), color var(--transition-speed);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-font {
    font-family: 'Barlow', 'Barlow Semi Condensed', 'urw-din', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Dark Mode Overrides */
body.dark-mode {
    background-color: var(--dark-bg);
    color: var(--text-dark);
}

/* Modern Glassmorphic Header & Dynamic Scroll Controls */
.header-top-bar {
    background: linear-gradient(135deg, #0d253f 0%, #1a3a52 100%);
    padding: 9px 0;
    border-bottom: 2px solid var(--saffron-accent);
    position: relative;
    z-index: 1000;
}

.premium-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(13, 37, 63, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    will-change: background-color, box-shadow;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

body.dark-mode .premium-header {
    background: rgba(11, 19, 41, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Stable Scrolled Header State (No Height Shift) */
.premium-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 35px rgba(13, 37, 63, 0.14);
    border-bottom: 1px solid rgba(224, 90, 16, 0.3);
}

body.dark-mode .premium-header.scrolled {
    background: rgba(11, 19, 41, 0.98);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
    border-bottom-color: rgba(224, 90, 16, 0.35);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-icon {
    color: var(--saffron-accent);
    font-size: 13px;
    width: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-text {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.social-icon-small {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(224, 90, 16, 0.15);
    color: var(--saffron-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(224, 90, 16, 0.2);
}

.social-icon-small:hover {
    background: var(--saffron-accent);
    color: #ffffff;
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 6px 18px rgba(224, 90, 16, 0.35);
}

/* Language Switcher Pill */
.lang-selector-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 3px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.lang-opt {
    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.lang-opt.active,
.lang-opt:hover {
    background: var(--saffron-accent);
    color: #ffffff;
}

/* Main Navigation Bar */
.premium-header .navbar {
    padding: 0.75rem 0;
    background: transparent;
}

.premium-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.premium-brand:hover {
    transform: translateY(-1px) scale(1.01);
}

/* Premium Logo Container */
.premium-logo-container {
    width: auto;
    height: 46px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-logo {
    width: auto;
    height: 100%;
    max-width: 140px;
    object-fit: contain;
}

.premium-brand-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0d253f, #1a3a52);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--saffron-accent);
    font-size: 22px;
    box-shadow: 0 4px 14px rgba(13, 37, 63, 0.2);
}


/* Brand Text */
.premium-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.premium-brand-title {
    font-family: 'Barlow', 'urw-din', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: -0.4px;
    line-height: 1.1;
    margin: 0;
    transition: color 0.3s ease, font-size 0.35s ease;
}

body.dark-mode .premium-brand-title {
    color: #ffffff;
}

.premium-brand-tagline {
    font-family: 'Barlow', 'urw-din', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--saffron-accent);
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* Navigation Links */
.nav-links-premium {
    gap: 4px;
}

.nav-links-premium .nav-link {
    color: var(--primary-blue) !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 7px;
    position: relative;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 20px;
}

body.dark-mode .nav-links-premium .nav-link {
    color: #e2e8f0 !important;
}

.nav-icon {
    font-size: 14px;
    transition: transform 0.25s ease;
    opacity: 0.85;
}

.nav-links-premium .nav-link:hover {
    background: rgba(224, 90, 16, 0.08);
    color: var(--saffron-accent) !important;
    transform: translateY(-1px);
}

.nav-links-premium .nav-link:hover .nav-icon {
    transform: scale(1.15);
    opacity: 1;
}

.nav-links-premium .nav-link.active {
    background: linear-gradient(135deg, rgba(224, 90, 16, 0.16), rgba(224, 90, 16, 0.08));
    color: var(--saffron-accent) !important;
    box-shadow: inset 0 0 0 1px rgba(224, 90, 16, 0.2);
}

.nav-links-premium .nav-link.active .nav-icon {
    transform: scale(1.2);
    color: var(--saffron-accent);
    opacity: 1;
}

/* Dropdown Menu Glass Cards */
.dropdown-menu-premium {
    border: 1px solid rgba(13, 37, 63, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 16px 40px rgba(13, 37, 63, 0.14);
    padding: 8px;
    min-width: 220px;
    margin-top: 10px !important;
}

body.dark-mode .dropdown-menu-premium {
    background: rgba(15, 23, 42, 0.97);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.dropdown-menu-premium .dropdown-item {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--primary-blue);
    padding: 9px 14px;
    border-radius: 8px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
}

body.dark-mode .dropdown-menu-premium .dropdown-item {
    color: var(--text-dark);
}

.dropdown-menu-premium .dropdown-item:hover,
.dropdown-menu-premium .dropdown-item.active {
    background: linear-gradient(135deg, rgba(224, 90, 16, 0.12), rgba(224, 90, 16, 0.05));
    color: var(--saffron-accent) !important;
    transform: translateX(4px);
}

/* Header Action Buttons */
.header-actions-premium {
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    cursor: pointer;
    position: relative;
}

.icon-btn-premium {
    width: 42px;
    height: 42px;
    padding: 0;
    background: rgba(13, 37, 63, 0.06);
    color: var(--primary-blue);
    font-size: 17px;
    border-radius: 12px;
    border: 1px solid rgba(13, 37, 63, 0.08);
}

body.dark-mode .icon-btn-premium {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.12);
}

.icon-btn-premium:hover {
    background: linear-gradient(135deg, var(--saffron-accent), #f7b36b);
    color: #ffffff;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 22px rgba(224, 90, 16, 0.3);
    border-color: transparent;
}

.btn-join-premium {
    background: linear-gradient(135deg, var(--primary-blue), #1a3a52);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(13, 37, 63, 0.18);
}

.btn-join-premium:hover {
    background: linear-gradient(135deg, #0a1a2e, #132a40);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 37, 63, 0.28);
}

.btn-donate-premium {
    background: linear-gradient(135deg, var(--saffron-accent), #ff8c42);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(224, 90, 16, 0.2);
}

.btn-donate-premium:hover {
    background: linear-gradient(135deg, #d94d0b, #f5a345);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(224, 90, 16, 0.35);
}

.badge-cart {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, var(--saffron-accent), #ff8c42);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(224, 90, 16, 0.4);
}

.user-account-premium {
    margin-left: 2px;
}

/* Scroll Progress Indicator Bar */
.scroll-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(224, 90, 16, 0.1);
    z-index: 1000;
    pointer-events: none;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-blue), var(--saffron-accent), #ff9f43);
    box-shadow: 0 0 10px rgba(224, 90, 16, 0.6);
    transition: width 0.1s linear;
}

/* Floating Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a3a52 100%);
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 8px 25px rgba(13, 37, 63, 0.3);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
    background: linear-gradient(135deg, var(--saffron-accent) 0%, #ff8c42 100%);
    color: #ffffff !important;
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 12px 30px rgba(224, 90, 16, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Mobile & Tablet Responsive */
@media (max-width: 991.98px) {
    .premium-header .navbar {
        padding: 0.7rem 0;
    }

    .navbar-collapse {
        margin-top: 1rem;
        padding: 1.25rem;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 16px;
        border: 1px solid rgba(13, 37, 63, 0.08);
        box-shadow: 0 16px 35px rgba(13, 37, 63, 0.12);
    }

    body.dark-mode .navbar-collapse {
        background: rgba(15, 23, 42, 0.98);
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 16px 35px rgba(0, 0, 0, 0.5);
    }

    .nav-links-premium {
        flex-direction: column;
        gap: 4px;
    }

    .nav-links-premium .nav-link {
        padding: 11px 14px;
        border-radius: 10px;
    }

    /* CSS Grid Layout for Action Buttons on mobile/tablet */
    .header-actions-premium {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding-top: 1.25rem !important;
        margin-top: 0.75rem !important;
        border-top: 1px solid rgba(13, 37, 63, 0.08) !important;
        width: 100% !important;
    }

    body.dark-mode .header-actions-premium {
        border-top-color: rgba(255, 255, 255, 0.1) !important;
    }

    .header-actions-premium>a.icon-btn-premium:first-child {
        grid-column: 1 !important;
        grid-row: 1 !important;
        justify-self: end !important;
        margin: 0 !important;
    }

    .header-actions-premium .user-account-premium {
        grid-column: 2 !important;
        grid-row: 1 !important;
        justify-self: start !important;
        margin: 0 !important;
    }

    .header-actions-premium .btn-join-premium {
        grid-column: 1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        margin: 0 !important;
        justify-content: center !important;
    }

    .header-actions-premium .btn-donate-premium {
        grid-column: 2 !important;
        grid-row: 2 !important;
        width: 100% !important;
        margin: 0 !important;
        justify-content: center !important;
    }

    .premium-brand-title {
        font-size: 1.1rem;
    }

    .premium-logo-container {
        height: 42px !important;
    }

    .premium-brand-icon {
        width: 42px !important;
        height: 42px !important;
        border-radius: 10px !important;
        font-size: 19px !important;
    }

    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}

@media (max-width: 575.98px) {
    .header-top-bar {
        padding: 8px 0;
    }

    .header-top-bar .row {
        justify-content: center !important;
    }

    .info-item {
        font-size: 11px;
    }

    .premium-brand-title {
        font-size: 1.02rem;
    }

    .premium-brand-tagline {
        font-size: 0.68rem;
    }

    .premium-logo-container {
        height: 36px !important;
    }

    .premium-brand-icon {
        width: 36px !important;
        height: 36px !important;
        border-radius: 8px !important;
        font-size: 16px !important;
    }

    .nav-links-premium .nav-link {
        font-size: 0.88rem;
        padding: 9px 10px;
    }

    .action-btn {
        padding: 8px 12px;
        font-size: 0.84rem;
    }

    .icon-btn-premium {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}


/* Hero Header (Legacy - not used with new professional sticky header) */
.hero-header {
    position: relative;
    overflow: hidden;
    display: none;
}

.hero-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 217, 151, 0.18), transparent 28%), radial-gradient(circle at bottom right, rgba(13, 37, 63, 0.08), transparent 30%);
    pointer-events: none;
}

.hero-brand,
.hero-actions {
    position: relative;
    z-index: 1;
}

.brand-logo {
    width: 138px;
    height: 138px;
    border-radius: 50%;
    background: linear-gradient(180deg, #123928, #0b2b24);
    display: grid;
    place-items: center;
    border: 3px solid #f8c14b;
    box-shadow: 0 22px 40px rgba(12, 44, 33, 0.18);
}

.brand-logo-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(180deg, #0d3829, #103628);
    display: grid;
    place-items: center;
    color: #f8d58a;
}

.brand-title {
    line-height: 1.02;
}

.text-gold {
    color: #f69319;
}

.text-green {
    color: #167034;
}

.brand-tagline {
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.brand-subtitle {
    color: #374151;
    font-style: italic;
    font-size: 0.96rem;
}

.search-box {
    max-width: 380px;
    border: 1px solid rgba(13, 37, 63, 0.12);
}

.search-box .form-control {
    min-height: 52px;
}

.btn-lang,
.btn-join,
.btn-donate,
.btn-cart {
    min-height: 48px;
    border-radius: 999px;
}

.btn-lang {
    border: 1px solid rgba(13, 37, 63, 0.14);
    color: #0b2b25;
    background: #ffffff;
}

.btn-join {
    background: #0c3626;
    color: #ffffff;
    border: none;
}

.btn-donate {
    background: #f39511;
    color: #08120f;
    border: none;
}

.btn-cart {
    width: 48px;
    height: 48px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #0d253f;
    border: 1px solid rgba(13, 37, 63, 0.12);
}

/* Header refinements */
.navbar-brand .fa-sheep {
    color: var(--saffron-accent);
}

.top-banner .top-slogan,
.top-banner .top-actions {
    align-items: center;
}

.brand-copy .brand-title {
    font-size: 1.8rem;
}

.search-overlay-modal {
    position: fixed;
    inset: 0;
    background: rgba(7, 12, 18, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 2rem;
}

.search-overlay-content {
    width: 100%;
    max-width: 920px;
    background: transparent;
}

.search-input-wrapper {
    position: relative;
}

.search-input-wrapper input {
    width: 100%;
    padding: 20px 48px 20px 48px;
    border-radius: 12px;
    border: none;
}

.search-clear-btn {
    position: absolute;
    right: 14px;
    top: 10px;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.menu-panel .nav-link {
    white-space: nowrap;
}

.btn-white {
    background: #ffffff !important;
    color: #0d253f !important;
}

.bsa-menu-nav {
    background: transparent;
    margin-top: -1.75rem;
    padding: 0;
}

.menu-panel {
    background: #0d362b;
    border-radius: 2rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.18);
    position: relative;
    z-index: 2;
}

.menu-panel .nav-link {
    color: #e5f4e9 !important;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    padding: 14px 18px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

.menu-panel .nav-link:hover,
.menu-panel .nav-link.active {
    background: linear-gradient(90deg, rgba(249, 148, 17, 0.16), rgba(255, 236, 182, 0.22));
    color: #f8d44a !important;
    transform: translateY(-1px);
}

.menu-panel .nav-link.active {
    background: linear-gradient(90deg, #f7c55f, #f59518);
    color: #08120f !important;
}

.nav-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.nav-curve-divider {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
    width: 98px;
    height: 40px;
    background: #f8f4e9;
    border-radius: 0 0 50px 50px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

@media (max-width: 1199.98px) {
    .hero-header {
        padding-top: 2rem;
    }

    .brand-logo {
        width: 122px;
        height: 122px;
    }
}

@media (max-width: 991.98px) {
    .top-banner {
        border-radius: 1.5rem;
        padding: 1rem 0.5rem;
    }

    .hero-header {
        padding-top: 1rem;
    }

    .brand-title {
        font-size: 2.3rem;
    }

    .search-box {
        width: 100%;
    }

    .menu-panel {
        padding: 1rem;
    }
}

.navbar {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: background-color var(--transition-speed);
}

body.dark-mode .navbar {
    background: #0f172a;
}

.nav-link {
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--saffron-accent) !important;
}

/* Header improvements (legacy - updated to professional header) */
.main-header .navbar {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.brand-logo-wrap {
    display: none;
}

.brand-icon {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: linear-gradient(180deg, var(--primary-blue), #0b3a5a);
    display: grid;
    place-items: center;
    color: var(--white);
    font-size: 20px;
}

.brand-title {
    font-size: 1.05rem;
    margin: 0;
    line-height: 1;
    color: var(--primary-blue);
}

.brand-subtitle {
    font-size: 0.75rem;
    color: #5b6b79;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-icon {
    background: transparent;
    border: none;
    padding: 8px;
    color: var(--primary-blue);
    font-size: 18px;
}

.btn-join {
    background: transparent;
    border: 1px solid rgba(13, 37, 63, 0.08);
    color: var(--primary-blue);
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
}

.btn-donate {
    background: linear-gradient(90deg, var(--saffron-accent), #f7b36b);
    color: #08120f;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
    .brand-title {
        font-size: 0.95rem;
    }

    .brand-icon {
        width: 46px;
        height: 46px;
    }

    .navbar-nav {
        gap: 8px;
    }

    .header-actions {
        gap: 6px;
    }
}

body.dark-mode .nav-link {
    color: var(--text-dark);
}

.sub-header-bar {
    background-color: #ffc107;
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--card-bg-light);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

body.dark-mode .glass-card {
    background: var(--card-bg-dark);
    border: 1px solid var(--border-dark);
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.12);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 550px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
}

/* Custom Buttons */
.btn-primary-custom {
    background-color: var(--saffron-accent);
    border: none;
    color: var(--white);
    font-weight: 500;
    border-radius: 30px;
    padding: 10px 24px;
    transition: transform 0.2s, background-color var(--transition-speed);
}

.btn-primary-custom:hover {
    background-color: #c2410c;
    color: var(--white);
    transform: scale(1.05);
}

.btn-secondary-custom {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    font-weight: 500;
    border-radius: 30px;
    padding: 8px 24px;
    transition: all 0.2s;
}

.btn-secondary-custom:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

/* Multilingual & Mode Switches */
.switch-btn {
    border-radius: 20px;
    font-size: 0.85rem;
    padding: 4px 12px;
}

/* Statistics section */
.stat-box {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--saffron-accent);
}

/* Steps in Multi-Step Form */
.form-step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.step-dot {
    width: 36px;
    height: 36px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #64748b;
    position: relative;
}

.step-dot.active {
    background: var(--saffron-accent);
    color: var(--white);
}

.step-dot.completed {
    background: var(--green-accent);
    color: var(--white);
}

/* Gallery and Shop Items */
.media-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--primary-blue-rgb), 0.85);
    opacity: 0;
    transition: opacity var(--transition-speed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-direction: column;
}

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

/* Membership Card Mockup (Glassmorphic) */
.membership-card-mockup {
    width: 380px;
    height: 220px;
    background: linear-gradient(135deg, rgba(13, 37, 63, 0.9), rgba(30, 58, 138, 0.95));
    border-radius: 16px;
    color: var(--white);
    padding: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.membership-card-mockup::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(224, 90, 16, 0.15);
    border-radius: 50%;
}

.membership-card-mockup .card-logo {
    font-size: 1.2rem;
    font-weight: 700;
    border-bottom: 2px solid var(--saffron-accent);
    padding-bottom: 4px;
}

/* Footer styling */
.main-footer {
    background-color: var(--primary-blue);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 20px;
    border-top: 5px solid var(--saffron-accent);
}

.main-footer h5 {
    color: var(--white);
    margin-bottom: 20px;
}

.main-footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.main-footer a:hover {
    color: var(--saffron-accent);
}

/* Utility animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated-fade-in {
    animation: fadeInUp 0.8s forwards;
}

/* Screenshot Styled Header Elements */
.text-saffron {
    color: #e05a10 !important;
}

.text-blue {
    color: #0d253f !important;
}

.bsa-screenshot-logo {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #0d253f;
    border-top-color: #e05a10;
    border-right-color: #1b7a43;
    border-bottom-color: #0d253f;
    border-left-color: #ffc107;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.bsa-screenshot-logo .bsa-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0d253f;
    font-family: 'Barlow', sans-serif;
    letter-spacing: 0.5px;
}

.quick-blue-buttons {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
}

.quick-blue-buttons .quick-btn {
    background-color: #3b71ca;
    color: #ffffff !important;
    padding: 6px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    transition: background-color 0.2s ease;
}

.quick-blue-buttons .quick-btn:last-child {
    border-right: none;
}

.quick-blue-buttons .quick-btn:hover {
    background-color: #2b5db0;
}

.quick-blue-buttons .active-donation {
    background-color: #2a5bb0;
}

.bsa-yellow-nav {
    background: linear-gradient(90deg, #ffca28 0%, #ffc107 50%, #ffb300 100%) !important;
    border-bottom: 3px solid #ff8f00;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrolled Nav styling - Centered Floating Capsule */
.bsa-yellow-nav.scrolled {
    position: fixed !important;
    top: 15px !important;
    left: 2.5% !important;
    right: 2.5% !important;
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 12px 35px rgba(13, 37, 63, 0.15) !important;
    padding: 6px 15px;
    z-index: 1000;
}

.bsa-yellow-nav.scrolled .hide-on-scroll {
    display: none !important;
}

body.dark-mode .bsa-yellow-nav {
    background: linear-gradient(90deg, #b8860b 0%, #a0522d 100%) !important;
    border-bottom: 3px solid #8b0000;
}

body.dark-mode .bsa-yellow-nav.scrolled {
    background: rgba(15, 23, 42, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4) !important;
}

.bsa-yellow-nav .nav-menu-row {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.bsa-yellow-nav .border-bottom-dashed {
    border-bottom: 1px solid rgba(13, 37, 63, 0.08);
}

.bsa-yellow-nav .nav-item-link {
    color: #0d253f !important;
    font-weight: 600;
    font-family: 'Barlow', sans-serif;
    font-size: 0.85rem;
    padding: 12px 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    text-align: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 0.2px;
}

.bsa-yellow-nav .nav-item-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--saffron-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.bsa-yellow-nav .nav-item-link:hover::after,
.bsa-yellow-nav .nav-item-link.active::after {
    width: 50%;
}

.bsa-yellow-nav .nav-item-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--saffron-accent) !important;
    transform: translateY(-1px);
}

.bsa-yellow-nav .nav-item-link.active {
    background-color: rgba(255, 255, 255, 0.35);
    color: var(--saffron-accent) !important;
    font-weight: 700;
}

.navbar-nav .nav-item {
    list-style: none;
}

.navbar-nav .nav-link {
    border-radius: 999px;
    padding: 0.65rem 1rem;
    color: #0d253f !important;
    transition: all 0.3s ease;
    font-weight: 600;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.8);
    color: #e05a10 !important;
}

.footer-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
    transition: transform 0.25s ease, background 0.25s ease;
}

.footer-icon-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    color: #ffffff;
}

.footer-menu-grid {
    display: grid;
    gap: 0.5rem;
}

.footer-menu-grid li {
    list-style: none;
}

.footer-menu-grid li a {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-menu-grid li a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

@media (max-width: 991.98px) {
    .bsa-yellow-nav {
        padding: 0.65rem 0.75rem;
    }

    .navbar-nav {
        gap: 0.5rem !important;
    }

    .navbar-brand .brand-text-mini {
        display: none;
    }

    .navbar-nav .nav-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .main-footer {
        padding: 40px 0 20px;
    }

    .footer-menu-grid {
        gap: 0.75rem;
    }
}

/* Sticky Brand Elements */
.bsa-screenshot-logo-mini {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0d253f;
    border-top-color: #e05a10;
    border-right-color: #1b7a43;
    border-bottom-color: #0d253f;
    border-left-color: #ffc107;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

.bsa-screenshot-logo-mini:hover {
    transform: rotate(360deg);
}

.bsa-screenshot-logo-mini .bsa-text-mini {
    font-size: 0.7rem;
    font-weight: 800;
    color: #0d253f;
    font-family: 'Barlow', sans-serif;
    letter-spacing: 0.2px;
}

.brand-text-mini {
    font-family: 'Barlow', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    color: #0d253f !important;
}

body.dark-mode .brand-text-mini {
    color: #ffffff !important;
}

/* Desktop layout transition to single line on scroll */
@media (min-width: 992px) {
    .bsa-yellow-nav.scrolled .container {
        max-width: 100% !important;
        width: 100% !important;
    }

    .bsa-yellow-nav.scrolled #navCollapse {
        justify-content: center !important;
    }

    .bsa-yellow-nav.scrolled #nav-container {
        flex-direction: row !important;
        justify-content: center !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        padding: 4px 0;
        width: auto !important;
    }

    .bsa-yellow-nav.scrolled #nav-container::-webkit-scrollbar {
        display: none !important;
    }

    .bsa-yellow-nav.scrolled .nav-menu-row {
        display: contents !important;
    }

    .bsa-yellow-nav.scrolled .nav-item-link {
        flex: 0 0 auto !important;
        padding: 8px 16px !important;
        font-size: 0.825rem !important;
        color: #0d253f !important;
        border-radius: 30px !important;
        margin: 0 3px !important;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    body.dark-mode .bsa-yellow-nav.scrolled .nav-item-link {
        color: #f1f5f9 !important;
    }

    .bsa-yellow-nav.scrolled .nav-item-link::after {
        display: none !important;
    }

    .bsa-yellow-nav.scrolled .nav-item-link:hover {
        background-color: rgba(13, 37, 63, 0.05) !important;
        color: var(--saffron-accent) !important;
        transform: none !important;
    }

    .bsa-yellow-nav.scrolled .nav-item-link.active {
        background-color: rgba(13, 37, 63, 0.08) !important;
        color: var(--saffron-accent) !important;
    }

    body.dark-mode .bsa-yellow-nav.scrolled .nav-item-link:hover {
        background-color: rgba(255, 255, 255, 0.06) !important;
    }

    body.dark-mode .bsa-yellow-nav.scrolled .nav-item-link.active {
        background-color: rgba(255, 255, 255, 0.12) !important;
    }
}

@media (max-width: 991.98px) {
    .bsa-yellow-nav .nav-menu-row {
        flex-direction: column;
    }

    .bsa-yellow-nav .nav-item-link {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        width: 100%;
        padding: 12px 15px;
        justify-content: flex-start;
    }

    .bsa-yellow-nav .border-bottom-dashed {
        border-bottom: none;
    }
}

/* Home Page Custom Screenshot Layout overrides */
.hero-slider-custom {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1544027993-37dbfe43562a?auto=format&fit=crop&q=80&w=1200');
    background-size: cover;
    background-position: center;
    height: 480px;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.hero-overlay-custom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-content-custom {
    position: relative;
    z-index: 2;
}

.stats-grid-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.stat-item-inner {
    padding: 20px;
}

.stat-item-inner .stat-val {
    font-size: 2.2rem;
    font-weight: 800;
}

.stat-item-inner .icon-box {
    font-size: 2.2rem;
}

.card-horizontal-custom {
    display: flex;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    margin-bottom: 15px;
}

.card-horizontal-custom .card-img-block {
    width: 140px;
    min-width: 140px;
    background-size: cover;
    background-position: center;
    background-color: #f1f5f9;
}

.card-horizontal-custom .card-body-block {
    padding: 15px 20px;
}

.btn-green-custom {
    background-color: #00a65a;
    color: #ffffff !important;
    font-weight: 700;
    border: none;
    width: 100%;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s ease;
}

.btn-green-custom:hover {
    background-color: #008d4c;
}

.event-row-custom {
    display: flex;
    align-items: center;
    background-color: #fdfdfd;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.event-row-custom .event-date-box {
    background-color: #3b71ca;
    color: #ffffff;
    padding: 8px;
    text-align: center;
    border-radius: 6px;
    min-width: 55px;
    font-weight: bold;
    line-height: 1.1;
    font-size: 0.85rem;
}

.event-row-custom .event-details-box {
    flex: 1;
    padding-left: 15px;
}

.event-row-custom .event-thumb-box {
    width: 55px;
    height: 55px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    background-color: #f1f5f9;
}

/* --- Premium Action Panel & Search Overlay --- */

.premium-action-panel {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.search-action-pill {
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 30px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 0.85rem;
    height: 38px;
}

.search-action-pill:hover {
    background-color: #e2e8f0;
    border-color: #94a3b8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

body.dark-mode .search-action-pill {
    background-color: #1e293b;
    border-color: #475569;
    color: #f1f5f9;
}

body.dark-mode .search-action-pill:hover {
    background-color: #334155;
}

/* Custom Language Switcher Pill */
.lang-switch-toggle {
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 30px;
    padding: 4px 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    position: relative;
    user-select: none;
    height: 38px;
    transition: all 0.3s ease;
}

.lang-switch-toggle:hover {
    background-color: #e2e8f0;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

body.dark-mode .lang-switch-toggle {
    background-color: #1e293b;
    border-color: #475569;
}

body.dark-mode .lang-switch-toggle:hover {
    background-color: #334155;
}

.lang-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    padding: 0 4px;
    z-index: 2;
    transition: color 0.3s ease;
    font-family: 'Barlow', sans-serif;
}

.lang-label.active {
    color: #ffffff;
}

.lang-switch-dot {
    width: 24px;
    height: 24px;
    background-color: #0d253f;
    border-radius: 50%;
    position: absolute;
    left: 6px;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

.lang-switch-dot.switched {
    transform: translateX(20px);
    background-color: #e05a10;
    /* Saffron for Hindi */
}

/* Premium Action Buttons */
.premium-action-btn {
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-family: 'Barlow', sans-serif;
    letter-spacing: 0.3px;
    border: none;
    height: 38px;
}

/* Join Button */
.premium-action-btn.join-btn {
    background: linear-gradient(135deg, #1b7a43 0%, #12522c 100%);
    color: #ffffff !important;
}

.premium-action-btn.join-btn:hover {
    background: linear-gradient(135deg, #229954 0%, #1b7a43 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(27, 122, 67, 0.3) !important;
}

/* Donate Button */
.premium-action-btn.donate-btn {
    background: linear-gradient(135deg, #e05a10 0%, #b83d03 100%);
    color: #ffffff !important;
}

.premium-action-btn.donate-btn:hover {
    background: linear-gradient(135deg, #f26d24 0%, #e05a10 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(224, 90, 16, 0.3) !important;
}

/* Micro-animations */
.hover-scale {
    transition: transform 0.2s ease;
}

.hover-scale:hover {
    transform: scale(1.1);
}

@keyframes pulse-heart {
    0% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.2);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.2);
    }

    60% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}

.pulse-heart {
    animation: pulse-heart 2s infinite ease-in-out;
}

/* Search Overlay Styles */
.search-overlay-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(11, 19, 41, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.search-overlay-modal.active {
    opacity: 1;
}

.search-overlay-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    user-select: none;
}

.search-overlay-close:hover {
    transform: rotate(90deg);
    color: var(--saffron-accent);
}

.search-overlay-content {
    width: 90%;
    max-width: 800px;
    text-align: left;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
    padding: 10px 0;
    transition: border-color 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color: #ffc107;
}

.search-icon-modal {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.6);
}

#globalSearchInput {
    width: 100%;
    border: none;
    background: transparent;
    padding: 10px 45px 10px 45px;
    font-size: 1.8rem;
    color: #ffffff;
    font-family: 'Barlow', sans-serif;
}

#globalSearchInput:focus {
    outline: none;
}

#globalSearchInput::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-clear-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: none;
}

.search-clear-btn:hover {
    color: #ffffff;
}

.search-results-container {
    max-height: 450px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Custom Scrollbar for Results */
.search-results-container::-webkit-scrollbar {
    width: 6px;
}

.search-results-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.search-results-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.search-result-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 15px 20px;
    color: #ffffff !important;
    text-decoration: none;
    display: flex;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffc107;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.search-result-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.search-result-info {
    flex-grow: 1;
}

.search-result-title {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.3;
}

.search-result-type {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-no-results {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    padding: 20px 0;
    text-align: center;
}

/* Sticky Scrolled Action Buttons */
.lang-switch-toggle-mini {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 2px 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    user-select: none;
    height: 32px;
    transition: all 0.3s ease;
}

.lang-switch-toggle-mini:hover {
    background-color: #f1f5f9;
    border-color: #94a3b8;
}

.lang-label-mini {
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    font-family: 'Barlow', sans-serif;
}

.lang-label-mini.active {
    color: #0d253f;
    border-bottom: 2px solid #e05a10;
}

body.dark-mode .lang-switch-toggle-mini {
    background-color: #1e293b;
    border-color: #475569;
}

body.dark-mode .lang-label-mini.active {
    color: #ffffff;
}

/* Hide sticky actions on small devices to avoid navbar overflow */
@media (max-width: 991.98px) {
    #sticky-actions {
        display: none !important;
    }
}

/* ==========================================================================
   BSA PREMIUM HEADER REDESIGN STYLES
   ========================================================================== */

/* Glassmorphism Navigation Bar */
.premium-header {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(12px) saturate(190%);
    -webkit-backdrop-filter: blur(12px) saturate(190%);
    border-bottom: 1px solid rgba(13, 37, 63, 0.08) !important;
}

body.dark-mode .premium-header {
    background: rgba(11, 19, 41, 0.88) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Premium Dropdown Menu Styling */
.dropdown-menu-premium {
    border: none !important;
    border-radius: 14px !important;
    box-shadow: 0 15px 40px rgba(13, 37, 63, 0.15) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    padding: 12px 6px !important;
    min-width: 240px;
    border: 1px solid rgba(13, 37, 63, 0.06) !important;
    transform-origin: top center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ensure dropdown works when clicked/expanded in Bootstrap (like mobile click or manual click) */
.dropdown-menu-premium.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

body.dark-mode .dropdown-menu-premium {
    background: rgba(15, 23, 42, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4) !important;
}

.dropdown-menu-premium .dropdown-item {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-blue) !important;
    padding: 10px 16px !important;
    display: flex;
    align-items: center;
    border-radius: 8px;
    transition: all 0.25s ease;
}

body.dark-mode .dropdown-menu-premium .dropdown-item {
    color: #cbd5e1 !important;
}

.dropdown-menu-premium .dropdown-item i {
    width: 24px;
    font-size: 14px;
    color: var(--primary-blue);
    opacity: 0.6;
    transition: all 0.25s ease;
}

body.dark-mode .dropdown-menu-premium .dropdown-item i {
    color: #94a3b8;
}

.dropdown-menu-premium .dropdown-item:hover {
    background: rgba(224, 90, 16, 0.08) !important;
    color: var(--saffron-accent) !important;
    padding-left: 20px !important;
}

body.dark-mode .dropdown-menu-premium .dropdown-item:hover {
    background: rgba(224, 90, 16, 0.15) !important;
    color: #ffffff !important;
}

.dropdown-menu-premium .dropdown-item:hover i {
    color: var(--saffron-accent) !important;
    opacity: 1;
    transform: scale(1.15);
}

body.dark-mode .dropdown-menu-premium .dropdown-item:hover i {
    color: #ffffff !important;
}

.dropdown-menu-premium .dropdown-item.active {
    background: linear-gradient(135deg, rgba(224, 90, 16, 0.15), rgba(224, 90, 16, 0.08)) !important;
    color: var(--saffron-accent) !important;
    font-weight: 700;
}

/* Hover-activated dropdowns on Desktop */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu-premium {
        display: block !important;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        margin-top: 0;
    }

    .dropdown-menu-premium {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        pointer-events: none;
    }

    .nav-item.dropdown:hover {
        pointer-events: auto;
    }

    .nav-item.dropdown .dropdown-menu-premium {
        pointer-events: auto;
    }
}

/* Animations for Mobile Dropdowns */
.animate {
    animation-duration: 0.25s;
    animation-fill-mode: both;
}

@keyframes slideIn {
    0% {
        transform: translateY(8px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.slideIn {
    animation-name: slideIn;
}

/* Custom premium bilingual pill switcher */
.lang-selector-pill {
    display: inline-flex;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 30px;
    padding: 3px;
    border: 1px solid rgba(13, 37, 63, 0.08);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

body.dark-mode .lang-selector-pill {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.lang-opt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Barlow', sans-serif;
    letter-spacing: 0.5px;
}

body.dark-mode .lang-opt {
    color: #94a3b8;
}

.lang-opt:hover {
    color: var(--saffron-accent);
    text-decoration: none;
}

body.dark-mode .lang-opt:hover {
    color: #ffffff;
}

.lang-opt.active {
    background: linear-gradient(135deg, var(--saffron-accent) 0%, #f7b36b 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(224, 90, 16, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* Desktop Navbar adjustments for extra dropdowns */
@media (min-width: 992px) {
    .nav-links-premium .nav-link {
        font-size: 0.92rem;
        padding: 8px 12px !important;
    }

    .nav-links-premium {
        gap: 4px !important;
    }
}

/* Adaptive styles for medium laptop screens (992px - 1240px) to prevent wrapping */
@media (min-width: 992px) and (max-width: 1240px) {
    .premium-brand {
        gap: 8px !important;
    }

    .premium-brand-title {
        font-size: 1.1rem !important;
    }

    .premium-brand-tagline {
        font-size: 0.7rem !important;
        letter-spacing: 0.8px !important;
    }

    .nav-links-premium .nav-link {
        font-size: 0.82rem !important;
        padding: 6px 8px !important;
        gap: 4px !important;
    }

    .nav-links-premium .nav-icon {
        font-size: 13px !important;
    }

    .header-actions-premium {
        gap: 6px !important;
    }

    .action-btn {
        padding: 8px 12px !important;
        font-size: 0.8rem !important;
    }

    .icon-btn-premium {
        width: 38px !important;
        height: 38px !important;
    }
}

/* Mobile responsive menu overrides */
@media (max-width: 991.98px) {
    .dropdown-menu-premium {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding-left: 1.5rem !important;
        margin-top: 0.5rem;
    }

    .dropdown-menu-premium .dropdown-item {
        color: var(--primary-blue) !important;
        padding: 8px 12px !important;
        border-radius: 8px;
        transition: all 0.2s ease;
    }

    .dropdown-menu-premium .dropdown-item:hover,
    .dropdown-menu-premium .dropdown-item:focus,
    .dropdown-menu-premium .dropdown-item:active {
        background: rgba(224, 90, 16, 0.08) !important;
        color: var(--saffron-accent) !important;
        padding-left: 16px !important;
    }

    body.dark-mode .dropdown-menu-premium .dropdown-item {
        color: #cbd5e1 !important;
    }

    .lang-selector-pill {
        margin: 10px 0;
        width: fit-content;
    }
}

/* Scroll shrink transitions for floating header layout compacting */
.premium-header.floating-header {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.premium-header.floating-header .navbar {
    transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.premium-header.floating-header .premium-logo-container {
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.premium-header.floating-header.scrolled {
    margin-top: 8px !important;
    margin-bottom: 12px !important;
}

.premium-header.floating-header.scrolled .navbar {
    padding: 0.5rem 0 !important;
}

.premium-header.floating-header.scrolled .premium-logo-container {
    height: 44px !important;
}

@media (max-width: 991.98px) {
    .premium-header.floating-header.scrolled .premium-logo-container {
        height: 40px !important;
    }
}

/* Premium styled toggler button */
.premium-header .navbar-toggler {
    background: transparent;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.premium-header .navbar-toggler:hover,
.premium-header .navbar-toggler:focus {
    background: rgba(224, 90, 16, 0.08);
}

.premium-header .navbar-toggler-icon {
    filter: invert(13%) sepia(35%) saturate(3048%) hue-rotate(193deg) brightness(97%) contrast(92%);
}

body.dark-mode .premium-header .navbar-toggler-icon {
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

/* ==========================================================================
   COMPLETELY FRESH FLOATING HEADER & LUXURY FOOTER REDESIGN
   ========================================================================== */

/* Floating Header Card */
.premium-header.floating-header {
    position: sticky;
    top: 15px;
    margin: 15px auto 25px auto;
    width: 98%;
    max-width: 1600px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    border: 1px solid rgba(13, 37, 63, 0.08) !important;
    box-shadow: 0 15px 35px rgba(13, 37, 63, 0.08) !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

/* Adjust header top bar for rounded top corners inside the card */
.premium-header.floating-header .header-top-bar {
    border-radius: 20px 20px 0 0;
    background: linear-gradient(135deg, #0a1727 0%, #11253c 100%);
    border-bottom: 2px solid var(--saffron-accent);
    padding: 8px 0;
}

body.dark-mode .premium-header.floating-header {
    background: rgba(15, 23, 42, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
}

body.dark-mode .premium-header.floating-header .header-top-bar {
    background: linear-gradient(135deg, #050a12 0%, #0c1827 100%);
}

/* Scroll adaptation for floating header (Uses GPU transform to prevent blinking layout shifts) */
.premium-header.floating-header.scrolled {
    transform: translateY(-5px);
    border-color: rgba(224, 90, 16, 0.2) !important;
    box-shadow: 0 18px 40px rgba(13, 37, 63, 0.12) !important;
    background: rgba(255, 255, 255, 0.95) !important;
}

body.dark-mode .premium-header.floating-header.scrolled {
    background: rgba(15, 23, 42, 0.96) !important;
}

/* Dropdown slideIn offset adjustment for floating card */
.premium-header.floating-header .dropdown-menu-premium {
    margin-top: 10px !important;
}

/* Language Harmony Adjustments (Hindi/English Spacing Similarity) */
html[lang="hi"] .premium-brand-title {
    font-size: 1.12rem !important;
    font-weight: 800;
    letter-spacing: -0.2px;
}

html[lang="hi"] .nav-links-premium .nav-link {
    font-size: 0.88rem !important;
    padding: 8px 10px !important;
    font-weight: 700;
}

@media (min-width: 992px) {
    html[lang="hi"] .nav-links-premium {
        gap: 2px !important;
    }
}

/* ==========================================================================
   FRESH PREMIUM FOOTER STYLES
   ========================================================================== */
.premium-footer-fresh {
    background: linear-gradient(180deg, #0b1329 0%, #050914 100%) !important;
    color: #94a3b8 !important;
    border-top: none !important;
    position: relative;
    overflow: hidden;
}

.footer-glow-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--saffron-accent) 0%, #f7b36b 50%, var(--green-accent) 100%);
    box-shadow: 0 4px 20px rgba(224, 90, 16, 0.4);
}

.footer-brand {
    text-decoration: none;
    transition: transform 0.3s ease;
}

.footer-brand:hover {
    transform: scale(1.02);
}

.footer-logo-container {
    width: auto;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 8px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.footer-brand:hover .footer-logo-container {
    transform: scale(1.05);
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(224, 90, 16, 0.3);
}

.footer-logo {
    width: auto;
    height: 100%;
    max-width: 140px;
    object-fit: contain;
}

.footer-brand-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--saffron-accent), #f7b36b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(224, 90, 16, 0.3);
}

.footer-brand-title {
    display: block;
    font-family: 'Barlow', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.footer-brand-tagline {
    display: block;
    font-family: 'Barlow', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--saffron-accent);
    letter-spacing: 1px;
}

.footer-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #94a3b8;
}

/* Social icons with floating cards on hover */
.footer-social-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
}

.footer-social-card:hover {
    background: linear-gradient(135deg, var(--saffron-accent), #f7b36b) !important;
    color: #ffffff !important;
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(224, 90, 16, 0.3);
    border-color: transparent;
}

/* Footer Section Headings */
.footer-section-heading {
    font-family: 'Barlow', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    padding-bottom: 8px;
}

.footer-section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--saffron-accent);
}

/* Links lists with smooth translations on hover */
.footer-links-list li {
    margin-bottom: 10px;
}

.footer-links-list li a {
    color: #cbd5e1 !important;
    font-size: 0.86rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.list-dot {
    font-size: 9px;
    opacity: 0.3;
    transition: all 0.25s ease;
}

.footer-links-list li a:hover {
    color: var(--saffron-accent) !important;
    transform: translateX(4px);
}

.footer-links-list li a:hover .list-dot {
    opacity: 1;
    color: var(--saffron-accent);
}

/* Newsletter Input Form */
.newsletter-input-group {
    display: flex;
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3px;
    transition: all 0.3s ease;
}

.newsletter-input-group:focus-within {
    border-color: var(--saffron-accent);
    box-shadow: 0 0 10px rgba(224, 90, 16, 0.15);
}

.newsletter-input {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 0.85rem;
    padding: 8px 16px !important;
    outline: none !important;
    box-shadow: none !important;
}

.newsletter-input::placeholder {
    color: #64748b;
}

.newsletter-submit-btn {
    background: linear-gradient(135deg, var(--saffron-accent), #f7b36b) !important;
    color: white !important;
    border-radius: 30px !important;
    width: 38px;
    height: 38px;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.newsletter-submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(224, 90, 16, 0.3);
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    opacity: 1;
}

.footer-copyright {
    font-size: 0.8rem;
    color: #64748b;
}

.footer-credits {
    font-size: 0.8rem;
    color: #64748b;
}

.footer-credits-link {
    color: #94a3b8 !important;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.footer-credits-link:hover {
    color: var(--saffron-accent) !important;
}

/* Adjustments for dark-mode text sizes */
body.dark-mode .premium-footer-fresh {
    background: #020408 !important;
}

/* Mobile Adjustments for Redesigned Header */
@media (max-width: 991.98px) {
    .premium-header.floating-header {
        width: 98%;
        top: 10px;
        margin: 10px auto;
    }
}

/* Tighter Navbar adjustments on Desktop to prevent horizontal overflow */
@media (min-width: 992px) {

    /* Brand logo and title scaling */
    .premium-logo-container {
        width: auto !important;
        height: 48px !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    .premium-brand-icon {
        width: 48px !important;
        height: 48px !important;
        border-radius: 8px !important;
        font-size: 20px !important;
    }

    .premium-brand {
        gap: 10px !important;
    }

    .premium-brand-title {
        font-size: 1.02rem !important;
    }

    .premium-brand-tagline {
        font-size: 0.65rem !important;
        letter-spacing: 0.8px !important;
    }

    /* Spacing between nav links */
    .nav-links-premium .nav-link {
        font-size: 0.82rem !important;
        padding: 6px 8px !important;
        gap: 4px !important;
        font-weight: 700 !important;
    }

    /* Make nav icons highly visible and stand out in saffron color */
    .nav-links-premium .nav-link .nav-icon {
        color: var(--saffron-accent) !important;
        font-size: 13px !important;
        opacity: 0.95;
        transition: transform 0.25s ease;
    }

    .nav-links-premium .nav-link:hover .nav-icon {
        transform: scale(1.15);
        color: var(--primary-blue) !important;
    }

    .nav-links-premium {
        gap: 2px !important;
    }

    /* Compact actions buttons block */
    .header-actions-premium {
        gap: 6px !important;
    }

    .header-actions-premium .action-btn {
        padding: 6px 10px !important;
        font-size: 0.78rem !important;
        border-radius: 6px !important;
    }

    .header-actions-premium .icon-btn-premium {
        width: 34px !important;
        height: 34px !important;
        border-radius: 6px !important;
        font-size: 14px !important;
    }
}

/* Scroll adjustments to hide top-bar and remove bottom border */
.premium-header.floating-header.scrolled {
    top: 5px;
    margin-top: 5px;
    border-bottom: none !important;
    border: 1px solid rgba(13, 37, 63, 0.06) !important;
    box-shadow: 0 10px 30px rgba(13, 37, 63, 0.08) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-header.floating-header.scrolled .header-top-bar {
    display: none !important;
}

.premium-header.floating-header.scrolled .navbar {
    border-radius: 20px;
    padding: 0.5rem 0 !important;
}

/* ==========================================================================
   HERO SLIDER SECTION (REDEFINED PREMIUM CAROUSEL WITH DEMO IMAGES)
   ========================================================================== */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 82vh;
    min-height: 580px;
    max-height: 850px;
    overflow: hidden;
    background-color: #0b192c;
    color: #ffffff;
}

/* Progress bar at top of slider */
.hero-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 25;
}

.hero-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #e05a10, #ff9f43);
    box-shadow: 0 0 10px rgba(224, 90, 16, 0.8);
    transition: width 0.1s linear;
}

/* Slides container */
.hero-slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s ease-in-out, visibility 0.9s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Slide background image with zoom transition */
.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.08);
    transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1.0);
}

/* Dark gradient overlay for extreme text readability & luxury vibe */
/* Dark gradient overlay tuned for background image visibility & text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(8, 20, 38, 0.78) 0%, rgba(10, 25, 47, 0.42) 55%, rgba(0, 0, 0, 0.22) 100%);
    z-index: 2;
}

/* Content layout */
.hero-content-wrapper {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 5rem;
}

/* Badge pill */
.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: rgba(224, 90, 16, 0.4);
    border: 1px solid rgba(255, 159, 67, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50px;
    color: #ffd8a8;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Slide Typography */
.hero-title {
    color: #ffffff;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 4px 24px rgba(0, 0, 0, 0.7);
}

.hero-desc {
    color: #ffffff;
    max-width: 680px;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 3px 15px rgba(0, 0, 0, 0.8);
}

/* Buttons */
.btn-hero-primary {
    background: linear-gradient(135deg, #e05a10 0%, #c44702 100%);
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    background: linear-gradient(135deg, #ff6b1a 0%, #e05a10 100%);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(224, 90, 16, 0.45);
}

.btn-hero-outline {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Content Element Keyframe Animations */
.hero-slide .animated-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-slide.active .hero-badge.animated-element {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.hero-slide.active .hero-title.animated-element {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.35s;
}

.hero-slide.active .hero-desc.animated-element {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.hero-slide.active .hero-actions.animated-element {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.65s;
}

/* Navigation Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(13, 37, 63, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
}

.hero-arrow-prev {
    left: 24px;
}

.hero-arrow-next {
    right: 24px;
}

.hero-arrow:hover {
    background: var(--saffron-accent, #e05a10);
    border-color: var(--saffron-accent, #e05a10);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(224, 90, 16, 0.5);
}

/* Bottom Bar & Dots */
.hero-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 20;
}

.hero-counter {
    font-family: 'Barlow', sans-serif;
    letter-spacing: 1px;
}

.hero-dots-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 6px 14px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-dot-item {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.hero-dot-item.active {
    background: var(--saffron-accent, #e05a10);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(224, 90, 16, 0.4);
}

.hero-pause-toggle {
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.hero-pause-toggle:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15);
}

/* Mobile responsive styles */
@media (max-width: 991.98px) {
    .hero-slider-section {
        height: 75vh;
        min-height: 520px;
    }

    .hero-title {
        font-size: 2.25rem !important;
    }

    .hero-arrow {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .hero-arrow-prev {
        left: 12px;
    }

    .hero-arrow-next {
        right: 12px;
    }
}

@media (max-width: 575.98px) {
    .hero-slider-section {
        height: auto;
        min-height: 520px;
        padding-top: 1rem;
        padding-bottom: 2rem;
    }

    .hero-content-wrapper {
        padding-top: 3rem;
        padding-bottom: 4rem;
    }

    .hero-title {
        font-size: 1.85rem !important;
    }

    .hero-desc {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem;
    }

    .btn-hero-primary,
    .btn-hero-outline {
        padding: 12px 22px;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }

    .hero-arrow {
        display: none;
    }
}

/* ==========================================================================
   Custom Header Design - Exact Layout matching User Reference Image
   ========================================================================== */

.bsa-custom-header {
    background-color: #ffffff;
    font-family: 'Barlow', sans-serif;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Row 1: White Top Bar */
.bsa-top-white-bar {
    background-color: #ffffff;
    border-top: 3px solid #ff7700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.header-logo-img,
.header-logo-placeholder,
.brand-v-divider,
.header-brand-main-title,
.header-brand-sub-bar,
.brand-h-divider,
.flag-gradient-navbar {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-logo-container {
    transition: transform 0.3s ease;
}

.header-logo-container:hover {
    transform: scale(1.04);
}

.header-logo-img {
    height: 74px;
    width: auto;
    object-fit: contain;
    background: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    filter: none !important;
    -webkit-filter: none !important;
}

.header-brand-main-title {
    font-family: 'Barlow', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.header-brand-sub-bar {
    font-size: 0.82rem;
    color: #475569;
    margin-top: 3px;
    letter-spacing: 0.03em;
}

.bsa-badge-text {
    font-weight: 800;
    color: #1e293b;
    background: #f1f5f9;
    padding: 1px 6px;
    border-radius: 4px;
}

.pillar-unity {
    color: #d97706;
}

.pillar-strength {
    color: #2563eb;
}

.pillar-progress {
    color: #16a34a;
}

.header-brand-motto-text {
    font-size: 0.8rem;
    color: #334155;
    margin-top: 3px;
    font-style: italic;
    font-weight: 600;
}

.bsa-top-menu .nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b !important;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.bsa-top-menu .nav-link:hover,
.bsa-top-menu .nav-link.active {
    color: #dc2626 !important;
    background-color: #fef2f2;
}

/* Red Oval Pill Join Button */
.btn-red-pill {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50rem !important;
    padding: 0.5rem 1.75rem !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4) !important;
    transition: all 0.25s ease !important;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.btn-red-pill:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.55) !important;
    color: #ffffff !important;
}

/* Blue Oval Pill Login Button */
.btn-blue-pill {
    background: linear-gradient(135deg, #0d253f 0%, #1e40af 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50rem !important;
    padding: 0.5rem 1.5rem !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    box-shadow: 0 4px 14px rgba(13, 37, 63, 0.3) !important;
    transition: all 0.25s ease !important;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.btn-blue-pill:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 20px rgba(13, 37, 63, 0.45) !important;
    color: #ffffff !important;
}

.btn-icon-round {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.btn-icon-round:hover {
    background-color: #eff6ff;
    border-color: #3b82f6;
    transform: translateY(-1px);
}

/* Row 2: Saffron to Green Flag Gradient Navbar */
.flag-gradient-navbar {
    background: linear-gradient(90deg, #ff6600 0%, #ff8800 35%, #ffffff 50%, #0d9600 65%, #007711 100%) !important;
    font-family: 'Barlow', sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4), 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

@media (min-width: 992px) {
    .flag-gradient-navbar .navbar-collapse {
        flex-wrap: nowrap !important;
    }
}

.flag-menu-links {
    flex-wrap: nowrap;
}

.flag-menu-links .nav-link {
    font-size: 0.9rem;
    font-weight: 800 !important;
    letter-spacing: 0.03em;
    color: #ffffff !important;
    white-space: nowrap;
    padding: 0.35rem 0.65rem !important;
    border-radius: 6px;
    transition: all 0.2s ease !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.flag-menu-links .nav-link:hover,
.flag-menu-links .nav-link.active {
    background: rgba(0, 0, 0, 0.2) !important;
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.nav-pipe-divider {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7) !important;
    user-select: none;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Language switch capsule */
.lang-switch-capsule {
    display: inline-flex;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    padding: 3px;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.lang-btn {
    color: #ffffff;
    padding: 3px 12px;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 16px;
    transition: all 0.2s ease;
}

.lang-btn.active,
.lang-btn:hover {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.flag-search-form {
    flex-shrink: 0;
}

/* Flag Search Pill */
.flag-search-pill {
    width: 185px;
    border: 1.5px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.2s ease;
}

.flag-search-pill:focus-within {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    transform: scale(1.02);
}

.flag-search-pill input::placeholder {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 500;
}

/* Flag Gradient Navbar Cart Icon Button (Right of Search Bar) */
.flag-cart-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.28) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
    padding: 0 !important;
    color: #ffffff !important;
    transition: all 0.25s ease !important;
}

.flag-cart-icon-btn:hover {
    background: rgba(0, 0, 0, 0.45) !important;
    border-color: #ffffff !important;
    transform: translateY(-1px) scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    color: #ffffff !important;
}

/* Row 3: Indian Flag Banner Waving Strip */
.indian-flag-header-banner {
    height: 160px;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 6px 15px rgba(0, 0, 0, 0.2), 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    position: relative;
}

.flag-stripe-banner {
    flex: 1;
    width: 100%;
    position: relative;
}

.flag-stripe-banner.saffron-stripe {
    background: linear-gradient(180deg, #ff6600 0%, #ff8800 100%);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.35);
}

.flag-stripe-banner.white-stripe {
    background: #ffffff;
    position: relative;
}

.flag-stripe-banner.green-stripe {
    background: linear-gradient(180deg, #0d9600 0%, #007711 100%);
    box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ashoka-chakra-img {
    animation: rotateChakra 30s linear infinite;
    filter: drop-shadow(0 0 10px rgba(0, 0, 128, 0.5));
}

@keyframes rotateChakra {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 991.98px) {
    .bsa-custom-header {
        position: sticky;
        top: 0;
        z-index: 1035;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    }

    .header-brand-main-title {
        font-size: 1.05rem !important;
    }

    .header-brand-sub-bar {
        font-size: 0.68rem !important;
    }

    .header-brand-motto-text {
        font-size: 0.65rem !important;
    }

    .header-logo-img {
        height: 48px !important;
    }

    /* Mobile Header: Retain exact same sticky header layout after scroll */
    .bsa-custom-header.scrolled {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12) !important;
    }

    .flag-search-pill {
        width: 100% !important;
    }

    /* Mobile Drawer Language Switcher Capsule beside Search Bar */
    .mob-lang-switch {
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        border-radius: 50rem !important;
        padding: 3px !important;
        display: inline-flex !important;
        align-items: center !important;
        backdrop-filter: blur(8px);
    }

    .mob-lang-switch .lang-btn {
        padding: 4px 10px !important;
        font-size: 0.75rem !important;
        font-weight: 700 !important;
        color: rgba(255, 255, 255, 0.85) !important;
        text-decoration: none !important;
        border-radius: 50rem !important;
        transition: all 0.2s ease !important;
    }

    .mob-lang-switch .lang-btn.active {
        background: #ff7700 !important;
        color: #ffffff !important;
        box-shadow: 0 2px 8px rgba(255, 119, 0, 0.5) !important;
    }

    /* Body Scroll Locking & Chrome Address Bar Fix when Mobile Menu is Open */
    body.menu-open {
        overflow: hidden !important;
        touch-action: none;
        height: 100dvh !important;
    }

    body.menu-open .bsa-custom-header {
        position: fixed !important;
        top: 0 !important;
        top: env(safe-area-inset-top, 0px) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1050 !important;
    }

    body.menu-open #backToTopBtn {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    /* Mobile Header Drawer Menu Fix for Mobile Chrome / Safari Address Bar */
    .bsa-custom-header .navbar-collapse {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        padding: 1rem 1.25rem calc(1.75rem + env(safe-area-inset-bottom, 0px)) 1.25rem !important;
        border-radius: 0 0 1rem 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
        margin-top: 0;
        max-height: calc(100vh - 120px) !important;
        max-height: calc(100dvh - 120px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) !important;
        max-height: calc(100svh - 120px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        overscroll-behavior: contain !important;
    }

    .flag-menu-links {
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100%;
        gap: 0.25rem !important;
    }

    .flag-menu-links .nav-item {
        width: 100%;
    }

    .flag-menu-links .nav-link {
        padding: 0.5rem 0.75rem !important;
        width: 100%;
        font-size: 0.95rem !important;
        color: #ffffff !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-pipe-divider {
        display: none !important;
    }

    .flag-search-form {
        width: 100% !important;
        margin-top: 0.75rem !important;
    }

    /* Mobile Hero Slider Fix */
    .hero-slider-section {
        height: 580px !important;
        min-height: 580px !important;
        display: block !important;
        position: relative !important;
    }

    .hero-content-wrapper {
        padding-top: 3rem !important;
        padding-bottom: 4rem !important;
    }

    .hero-title {
        font-size: 2rem !important;
    }
}

@media (max-width: 575.98px) {

    /* Mobile Phone Hero Slider Fix */
    .hero-slider-section {
        height: 540px !important;
        min-height: 540px !important;
        display: block !important;
        position: relative !important;
    }

    .hero-content-wrapper {
        padding-top: 2rem !important;
        padding-bottom: 3.5rem !important;
    }

    .hero-title {
        font-size: 1.65rem !important;
        line-height: 1.25 !important;
    }

    .hero-desc {
        font-size: 0.9rem !important;
        margin-bottom: 1.25rem !important;
    }

    .btn-hero-primary,
    .btn-hero-outline {
        padding: 10px 18px !important;
        font-size: 0.85rem !important;
        width: 48% !important;
        text-align: center !important;
    }
}

/* ==========================================================================
   MEET OUR LEADERS SECTION (EXACT REFERENCE DESIGN MATCH 1:1)
   ========================================================================== */
.leader-section-bg {
    background-color: #051329 !important;
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.leader-card {
    background-color: #ffffff !important;
    border-radius: 22px !important;
    padding: 14px !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35) !important;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45) !important;
}

.leader-photo-box {
    background-color: #051329 !important;
    border-radius: 16px !important;
    height: 270px !important;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}

.leader-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.leader-card:hover .leader-photo-img {
    transform: scale(1.04);
}

.leader-card-body {
    padding: 16px 6px 6px 6px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.leader-name {
    font-family: 'Barlow', sans-serif !important;
    font-weight: 800 !important;
    font-size: 1.2rem !important;
    color: #0b1727 !important;
    margin-bottom: 4px !important;
    line-height: 1.25 !important;
    letter-spacing: -0.2px;
}

.leader-designation {
    font-family: 'Barlow', sans-serif !important;
    font-size: 0.78rem !important;
    font-weight: 500 !important;
    color: #64748b !important;
    margin-bottom: 18px !important;
    line-height: 1.3 !important;
}

.leader-social-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.leader-social-icon {
    color: #0b1727 !important;
    font-size: 0.95rem !important;
    transition: color 0.2s ease, transform 0.2s ease;
    text-decoration: none !important;
}

.leader-social-icon:hover {
    color: #e05a10 !important;
    transform: translateY(-2px);
}

.btn-leader-view-all {
    background-color: #ffcc00 !important;
    color: #000000 !important;
    font-family: 'Barlow', sans-serif !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    padding: 10px 42px !important;
    border-radius: 50px !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.35) !important;
    transition: all 0.3s ease !important;
    display: inline-block;
    text-decoration: none !important;
}

.btn-leader-view-all:hover {
    background-color: #ffd633 !important;
    color: #000000 !important;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 25px rgba(255, 204, 0, 0.5) !important;
}

/* ==========================================================================
   UNIVERSAL DROPDOWN MENU DESIGN SYSTEM (DESKTOP & MOBILE)
   ========================================================================== */

/* Dropdown Caret Animation */
.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.4em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.35em solid;
    border-right: 0.35em solid transparent;
    border-bottom: 0;
    border-left: 0.35em solid transparent;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-toggle.show::after,
.dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Base Desktop Dropdown Menu Card */
.dropdown-menu {
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.18), 0 8px 20px -5px rgba(0, 0, 0, 0.08) !important;
    padding: 0.6rem !important;
    min-width: 250px !important;
    margin-top: 0.5rem !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform-origin: top center;
    animation: dropdownFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dropdownFadeIn {
    0% {
        opacity: 0;
        transform: translateY(8px) scale(0.97);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Dropdown Menu Item Styling */
.dropdown-menu .dropdown-item {
    color: #1e293b !important;
    font-family: 'Barlow', sans-serif !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    padding: 0.65rem 1rem !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.dropdown-menu .dropdown-item i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

/* Dropdown Item Hover & Active States */
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: #f1f5f9 !important;
    color: #dc2626 !important;
    transform: translateX(4px) !important;
}

.dropdown-menu .dropdown-item:hover i,
.dropdown-menu .dropdown-item:focus i {
    transform: scale(1.18);
}

.dropdown-menu .dropdown-item.active {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%) !important;
    color: #dc2626 !important;
    font-weight: 700 !important;
    border-left: 3.5px solid #dc2626 !important;
}

.dropdown-divider {
    border-top: 1px solid #f1f5f9 !important;
    margin: 0.4rem 0 !important;
    opacity: 1 !important;
}

/* Flag Gradient Navbar Dropdown Override */
.flag-gradient-navbar .dropdown-menu {
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    background: rgba(15, 23, 42, 0.96) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 1px 1px rgba(255, 255, 255, 0.15) !important;
}

.flag-gradient-navbar .dropdown-menu .dropdown-item {
    color: #f8fafc !important;
}

.flag-gradient-navbar .dropdown-menu .dropdown-item:hover,
.flag-gradient-navbar .dropdown-menu .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #38bdf8 !important;
}

.flag-gradient-navbar .dropdown-menu .dropdown-item.active {
    background: rgba(56, 189, 248, 0.2) !important;
    color: #38bdf8 !important;
    border-left: 3.5px solid #38bdf8 !important;
}

.flag-gradient-navbar .dropdown-divider {
    border-top-color: rgba(255, 255, 255, 0.15) !important;
}

/* Mobile & Tablet Dropdown Optimization (< 992px) */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 20px;
        padding: 1.25rem;
        margin-top: 0.5rem;
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    }

    .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin-top: 0.5rem !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-radius: 14px !important;
        box-shadow: none !important;
        padding: 0.4rem !important;
    }

    .dropdown-menu .dropdown-item {
        color: #ffffff !important;
        padding: 0.75rem 1rem !important;
        min-height: 44px !important;
    }

    .dropdown-menu .dropdown-item:hover,
    .dropdown-menu .dropdown-item:focus {
        background: rgba(255, 255, 255, 0.15) !important;
        color: #fbbf24 !important;
    }

    .dropdown-divider {
        border-top-color: rgba(255, 255, 255, 0.15) !important;
    }
}

/* ==========================================================================
   BSA Redesigned Premium Mobile Drawer Navigation & Single-Line Actions
   ========================================================================== */

/* Mobile Drawer Container */
.bsa-mob-drawer {
    background: linear-gradient(180deg, rgba(13, 37, 63, 0.98) 0%, rgba(11, 19, 41, 0.98) 100%);
    border-radius: 16px;
    padding: 1.25rem 1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* One Line Action Controls (Login, Join, Cart) */
.mob-actions-one-line .btn-mob-action {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.45rem 0.6rem;
    border-radius: 50rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
}

.mob-actions-one-line .btn-mob-action:hover,
.mob-actions-one-line .btn-mob-action:focus {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.mob-actions-one-line .btn-mob-join {
    background: linear-gradient(135deg, #e05a10 0%, #c84200 100%);
    border-color: #e05a10;
    color: #ffffff !important;
}

.mob-actions-one-line .btn-mob-join:hover {
    background: linear-gradient(135deg, #f06a20 0%, #d85210 100%);
}

.mob-actions-one-line .btn-mob-cart {
    background: rgba(13, 110, 253, 0.2);
    border-color: rgba(13, 110, 253, 0.4);
    color: #ffffff;
}

.mob-actions-one-line .btn-mob-search {
    background: rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.4);
    color: #ffc107 !important;
    border-radius: 50rem;
}

/* Mobile Link Items & Icon Boxes */
.mob-menu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.mob-menu-link:hover,
.mob-menu-link:focus,
.mob-menu-link.active {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fbbf24 !important;
    transform: translateX(3px);
}

.mob-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Dropdown Chevrons & Inner Menu Items */
.mob-menu-link.dropdown-toggle::after {
    margin-left: auto;
    transition: transform 0.25s ease;
}

.mob-menu-container .dropdown-menu {
    position: static !important;
    float: none !important;
    box-shadow: none !important;
    width: 100% !important;
    background: rgba(15, 23, 42, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    margin-top: 0.35rem !important;
    margin-bottom: 0.5rem !important;
    padding: 0.4rem !important;
}

.mob-menu-container .dropdown-item {
    font-size: 0.9rem;
    padding: 0.55rem 0.85rem !important;
    border-radius: 8px;
}

/* Top Right Language Switcher on Mobile Header */
.lang-switch-capsule {
    background: rgba(13, 37, 63, 0.08);
    border: 1px solid rgba(13, 37, 63, 0.15);
    border-radius: 50rem;
    padding: 2px;
    display: inline-flex;
    align-items: center;
}

.lang-switch-capsule .lang-btn {
    padding: 3px 9px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
    text-decoration: none;
    border-radius: 50rem;
    transition: all 0.2s ease;
}

.lang-switch-capsule .lang-btn.active {
    background: #e05a10;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(224, 90, 16, 0.4);
}

/* Flag Navbar Search Bar Alignment & Styling - Desktop Far Right End */
.flag-search-form {
    margin-left: auto !important;
    margin-right: 0 !important;
}

@media (min-width: 992px) {
    .flag-search-form {
        display: flex !important;
        justify-content: flex-end !important;
        padding-left: 3rem !important;
    }
}

.flag-search-pill {
    background: #ffffff !important;
    border-radius: 50rem !important;
    padding: 4px 16px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.25s ease !important;
    min-width: 220px !important;
    max-width: 280px !important;
    width: 100% !important;
}

.flag-search-pill:focus-within {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
    transform: translateY(-1px) !important;
}

/* Stacked Indian Tricolour Brand Title */
.header-brand-main-title {
    font-size: 1.15rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.brand-tricolor-saffron {
    color: #e05a10;
    font-weight: 800;
}

.brand-tricolor-blue {
    color: #0d253f;
    font-weight: 800;
}

.brand-tricolor-green {
    color: #16a34a;
    font-weight: 800;
}

/* Header Logo - Enlarged & Clean White Match without Border or Shadow Effects */
.header-logo-container {
    background: #ffffff !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    filter: none !important;
    backdrop-filter: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.header-logo-img {
    height: 80px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    background: #ffffff !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    border-radius: 0 !important;
    transition: transform 0.25s ease;
    flex-shrink: 0 !important;
}

.header-logo-placeholder {
    width: 70px !important;
    height: 70px !important;
    flex-shrink: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.header-logo-img:hover {
    transform: scale(1.04);
}

@media (max-width: 991.98px) {
    .header-logo-container {
        flex-shrink: 0 !important;
        min-width: 44px !important;
        background: #ffffff !important;
        border: none !important;
        box-shadow: none !important;
    }

    .header-logo-img {
        height: 52px !important;
        max-height: 52px !important;
        width: auto !important;
        max-width: 80px !important;
        object-fit: contain !important;
        flex-shrink: 0 !important;
        background: #ffffff !important;
        border: none !important;
        box-shadow: none !important;
        filter: none !important;
        -webkit-filter: none !important;
    }

    .header-logo-placeholder {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        flex-shrink: 0 !important;
    }

    .header-brand-main-title {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 4px !important;
        font-size: 0.85rem !important;
        letter-spacing: 0.2px !important;
        white-space: nowrap !important;
    }

    .brand-v-divider {
        height: 42px !important;
        flex-shrink: 0 !important;
        margin: 0 4px !important;
    }
}

@media (max-width: 575.98px) {
    .header-logo-img {
        height: 46px !important;
        max-height: 46px !important;
        max-width: 65px !important;
    }

    .header-logo-placeholder {
        width: 42px !important;
        height: 42px !important;
    }

    .brand-v-divider {
        height: 36px !important;
        margin: 0 3px !important;
    }

    .header-brand-main-title {
        font-size: 0.78rem !important;
        gap: 2px !important;
    }

    .header-brand-sub-bar {
        font-size: 0.62rem !important;
    }
}

@media (max-width: 380px) {
    .header-logo-img {
        height: 40px !important;
        max-width: 55px !important;
    }

    .header-logo-placeholder {
        width: 38px !important;
        height: 38px !important;
    }

    .header-brand-main-title {
        font-size: 0.72rem !important;
    }

    .header-brand-sub-bar {
        font-size: 0.58rem !important;
    }
}

/* Header Sticky & Fixed Rules for Mobile and Desktop */
@media (max-width: 991.98px) {
    .bsa-custom-header {
        position: sticky !important;
        top: 0 !important;
        top: env(safe-area-inset-top, 0px) !important;
        z-index: 1035 !important;
        padding-top: max(0px, env(safe-area-inset-top, 0px));
    }
}

/* Desktop Header: Hide Top Header and Fix Bottom Header After Slide */
@media (min-width: 992px) {
    .bsa-custom-header {
        position: relative !important;
        top: auto !important;
        z-index: 1035;
        width: 100%;
    }

    .bsa-top-white-bar {
        position: relative !important;
        z-index: 1040 !important;
        display: block !important;
    }

    .flag-gradient-navbar {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        z-index: 1030 !important;
    }

    /* AFTER SLIDE: Fixed container at top: 0 with top bar hidden */
    .bsa-custom-header.after-slide {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1035 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
        animation: bsaSlideDownNav 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .bsa-custom-header.after-slide .bsa-top-white-bar {
        display: none !important;
    }

    .bsa-custom-header.after-slide .flag-gradient-navbar {
        position: relative !important;
        top: 0 !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .bsa-top-menu .nav-item.dropdown,
    .flag-gradient-navbar .nav-item.dropdown,
    .nav-item.dropdown {
        position: relative;
    }

    .bsa-top-menu .nav-item.dropdown:hover > .dropdown-menu,
    .flag-gradient-navbar .nav-item.dropdown:hover > .dropdown-menu,
    .nav-item.dropdown:hover > .dropdown-menu,
    .dropdown-menu:hover {
        display: block !important;
        margin-top: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .dropdown-menu::before {
        content: "";
        position: absolute;
        top: -16px;
        left: 0;
        right: 0;
        height: 16px;
        background: transparent;
        z-index: 1;
    }
}

@keyframes bsaSlideDownNav {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile Drawer Bottom Search Pill */
.mob-search-pill {
    background: #ffffff !important;
    border-radius: 50rem !important;
    padding: 6px 16px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
    width: 100% !important;
    transition: all 0.25s ease !important;
}

.mob-search-pill:focus-within {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35) !important;
    transform: translateY(-1px) !important;
}

.dropdown-menu {
    z-index: 9999 !important;
}

/* Global Logo Styling Override: Clean White Background Match, No Border, No Shadow */
.header-logo-container,
.header-logo-img,
.footer-logo-container,
.footer-logo,
.brand-logo,
.premium-logo-container,
.premium-logo {
    background-color: #ffffff !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    text-shadow: none !important;
    border-radius: 0 !important;
}