/* 
 * header.css
 * Royal Maharashtrian Theme Styling for Shivsevak Pratishthan Hindusthan NGO
 * Includes Saffron (#FF6B00), Royal Maroon (#7B1E1E), and Cream (#FDFBF7) variables.
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Yatra+One&display=swap');

:root {
    /* Color variables - managed by database settings but initialized here as fallbacks */
    --primary-color: #FF6B00;    /* Royal Saffron */
    --secondary-color: #7B1E1E;  /* Royal Maroon */
    --bg-cream: #FDFBF7;         /* Light Cream */
    --bg-dark: #1E120F;          /* Charcoal Maroon */
    --text-color: #2D221E;       /* Deep Brownish Charcoal */
    --text-light: #6A5B55;       /* Muted Brownish Gray */
    --gold-accent: #D4AF37;      /* Metallic Gold */
    --white: #FFFFFF;
    
    /* Layout heights & properties */
    --top-header-height: 40px;
    --main-header-height: 80px;
    --font-heading: 'Outfit', sans-serif;
    --font-marathi: 'Yatra One', cursive; /* Used for premium Maharashtrian headers */
    
    /* Animation timings */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* Global Reset overrides for Header */
.sf-header-wrapper {
    font-family: var(--font-heading);
    color: var(--text-color);
    box-sizing: border-box;
    position: relative;
    z-index: 1000;
    width: 100%;
}

.sf-header-wrapper *, 
.sf-header-wrapper *::before, 
.sf-header-wrapper *::after {
    box-sizing: border-box;
}

/* ==========================================================================
   1. NOTICE & ANNOUNCEMENT BAR
   ========================================================================== */
.sf-notice-bar {
    background: var(--primary-color);
    color: var(--white);
    font-size: 13.5px;
    font-weight: 500;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid var(--gold-accent);
    position: relative;
    z-index: 1002;
    overflow: hidden;
}

.sf-notice-bar a {
    color: var(--white);
    text-decoration: underline;
    margin-left: 8px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.sf-notice-bar a:hover {
    color: var(--secondary-color);
}

.sf-notice-ticker {
    display: inline-block;
    white-space: nowrap;
    animation: sf-marquee 25s linear infinite;
    padding-left: 100%;
}

.sf-notice-ticker:hover {
    animation-play-state: paused;
}

@keyframes sf-marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* ==========================================================================
   2. TOP HEADER
   ========================================================================== */
.sf-top-header {
    background: var(--secondary-color);
    color: var(--white);
    font-size: 13px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition-smooth);
}

.sf-top-header a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition-fast);
}

.sf-top-header a:hover {
    color: var(--primary-color);
}

.sf-top-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-top-info li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sf-top-info i {
    color: var(--gold-accent);
}

.sf-top-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.sf-top-socials {
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-top-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    font-size: 12px;
    transition: var(--transition-smooth);
}

.sf-top-socials a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* ==========================================================================
   3. GOOGLE TRANSLATE / LANGUAGE SELECTOR
   ========================================================================== */
.sf-lang-wrapper {
    position: relative;
    display: inline-block;
}

.sf-lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--white);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.sf-lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--gold-accent);
}

.sf-lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid rgba(123, 30, 30, 0.15);
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 130px;
    padding: 6px 0;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    z-index: 1005;
}

.sf-lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sf-lang-option {
    display: block;
    width: 100%;
    padding: 8px 16px;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-color) !important;
    font-size: 13px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition-fast);
}

.sf-lang-option:hover {
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary-color) !important;
}

/* Hide default Google Translate widgets but keep active */
#google_translate_element {
    display: none !important;
}
.goog-te-banner-frame {
    display: none !important;
}
body {
    top: 0 !important;
}

/* ==========================================================================
   4. MAIN HEADER (BRANDING & NAVIGATION)
   ========================================================================== */
.sf-main-header {
    background: var(--bg-cream);
    padding: 12px 0;
    border-bottom: 1px solid rgba(123, 30, 30, 0.1);
    transition: var(--transition-smooth);
}

/* Transparent Header Mode (Over Hero - Home Page) */
.sf-header-wrapper.is-transparent .sf-main-header {
    background: rgba(30, 18, 15, 0.75) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3) !important;
}

.sf-header-wrapper.is-transparent .sf-main-header .sf-menu-link {
    color: var(--white) !important;
}

.sf-header-wrapper.is-transparent .sf-main-header .sf-menu-link i {
    color: rgba(255, 255, 255, 0.8) !important;
}

.sf-header-wrapper.is-transparent .sf-main-header .sf-brand-title {
    color: #FFFFFF !important;
    text-shadow: 0 2px 5px rgba(0,0,0,0.6);
}

.sf-header-wrapper.is-transparent .sf-main-header .sf-brand-tagline {
    color: #FF6B00 !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Sticky Header Mode (On Scroll) */
.sf-header-wrapper.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.sf-header-wrapper.is-sticky .sf-top-header,
.sf-header-wrapper.is-sticky .sf-notice-bar {
    display: none;
}

.sf-header-wrapper.is-sticky .sf-main-header {
    background: #FFFDD0 !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 8px 0;
    border-bottom: 2px solid var(--gold-accent) !important;
}

.sf-header-wrapper.is-sticky .sf-main-header .sf-menu-link {
    color: #2D221E !important;
}

.sf-header-wrapper.is-sticky .sf-main-header .sf-brand-title {
    color: #7B1E1E !important;
    text-shadow: none;
}

.sf-header-wrapper.is-sticky .sf-main-header .sf-brand-tagline {
    color: #FF6B00 !important;
    text-shadow: none;
}

/* Brand Branding Layout */
.sf-brand-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
}

.sf-logo-container {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.sf-logo-svg {
    width: 100%;
    height: 100%;
    fill: var(--primary-color);
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.15));
    transition: var(--transition-smooth);
}

.sf-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.sf-brand-wrapper:hover .sf-logo-container {
    transform: rotate(10deg) scale(1.1);
}

.sf-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sf-brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 15px;
    color: var(--secondary-color);
    letter-spacing: 0.2px;
    line-height: 1.2;
    transition: var(--transition-smooth);
    text-shadow: 0px 1px 1px rgba(0,0,0,0.05);
    white-space: nowrap;
}

.sf-brand-tagline {
    font-family: var(--font-marathi);
    font-size: 9.5px;
    color: var(--primary-color);
    letter-spacing: 0.4px;
    margin-top: 1px;
    font-weight: 500;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

/* ==========================================================================
   5. NAVIGATION MENU & MEGA MENU
   ========================================================================== */
.sf-nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sf-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1px;
    flex-wrap: nowrap;
}

.sf-menu-item {
    position: relative;
    white-space: nowrap;
}

.sf-menu-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-color);
    border-radius: 4px;
    position: relative;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.sf-menu-link i {
    font-size: 9px;
    color: var(--text-light);
    transition: var(--transition-smooth);
}

/* Animated Underline Hover Effect */
.sf-menu-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 6px;
    right: 6px;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
}

.sf-menu-item:hover .sf-menu-link::after,
.sf-menu-item.active .sf-menu-link::after {
    transform: scaleX(1);
    transform-origin: left;
}

.sf-menu-item:hover .sf-menu-link {
    color: var(--primary-color) !important;
}

.sf-menu-item:hover .sf-menu-link i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

/* Normal Dropdown Menu */
.sf-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 15px 40px rgba(123, 30, 30, 0.12);
    min-width: 220px;
    border-radius: 0 0 6px 6px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    z-index: 1010;
}

.sf-menu-item:hover > .sf-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sf-dropdown-menu li {
    list-style: none;
}

.sf-dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.sf-dropdown-link i {
    font-size: 13px;
    width: 16px;
    text-align: center;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.sf-dropdown-link:hover {
    background: rgba(255, 107, 0, 0.06);
    color: var(--primary-color);
    padding-left: 25px;
}

.sf-dropdown-link:hover i {
    transform: scale(1.2);
}

/* Mega Dropdown Menu (Fullscreen / Full width grid) */
.sf-mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 720px;
    background: var(--white);
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 20px 50px rgba(123, 30, 30, 0.15);
    border-radius: 0 0 12px 12px;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 1010;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 15px;
}

/* Make mega dropdown layout adapt for different sizes */
@media (max-width: 1200px) {
    .sf-mega-menu {
        width: 680px;
    }
}

.sf-menu-item:hover > .sf-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.sf-mega-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px;
    border-radius: 6px;
    transition: var(--transition-smooth);
    text-decoration: none;
    color: var(--text-color);
}

.sf-mega-item:hover {
    background: rgba(255, 107, 0, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.05);
}

.sf-mega-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary-color);
    font-size: 18px;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.sf-mega-item:hover .sf-mega-icon {
    background: var(--primary-color);
    color: var(--white);
}

.sf-mega-info {
    display: flex;
    flex-direction: column;
}

.sf-mega-title {
    font-weight: 700;
    font-size: 14.5px;
    color: var(--secondary-color);
    margin-bottom: 2px;
    transition: var(--transition-fast);
}

.sf-mega-item:hover .sf-mega-title {
    color: var(--primary-color);
}

.sf-mega-desc {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.3;
}

/* ==========================================================================
   6. HEADER ACTIONS (BUTTONS, DROPDOWN, SEARCH)
   ========================================================================== */
.sf-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

/* Ripple Button Styling */
.sf-btn {
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 12px;
    padding: 8px 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

/* Ripple Effect Class */
.sf-btn-ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Donate Button */
.sf-btn-donate {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.35);
    border: 2px solid var(--primary-color);
    animation: sf-pulse 2s infinite;
}

.sf-btn-donate:hover {
    background: transparent;
    color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.2);
}

@keyframes sf-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(255, 107, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

/* Become Member Button */
.sf-btn-member {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.sf-btn-member:hover {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(123, 30, 30, 0.3);
}

/* Header Transparent Overrides for buttons */
.sf-header-wrapper.is-transparent .sf-btn-member {
    color: var(--white);
    border-color: var(--white);
}

.sf-header-wrapper.is-transparent .sf-btn-member:hover {
    background: var(--white);
    color: var(--secondary-color);
}

/* Search Trigger & Fullscreen Overlay */
.sf-search-trigger {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.sf-search-trigger:hover {
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary-color);
    transform: scale(1.1);
}

.sf-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(123, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.sf-search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sf-search-container {
    width: 90%;
    max-width: 600px;
    text-align: center;
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.sf-search-overlay.active .sf-search-container {
    transform: scale(1);
}

.sf-search-overlay-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.sf-search-overlay-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.sf-search-form {
    position: relative;
    width: 100%;
}

.sf-search-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 3px solid var(--white);
    padding: 15px 0;
    color: var(--white);
    font-size: 24px;
    font-weight: 500;
    outline: none;
    transition: var(--transition-smooth);
}

.sf-search-input:focus {
    border-bottom-color: var(--primary-color);
}

.sf-search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.sf-search-btn:hover {
    color: var(--primary-color);
}

.sf-search-placeholder-text {
    color: rgba(255,255,255,0.6);
    margin-top: 15px;
    font-size: 14px;
}

/* ==========================================================================
   7. RESPONSIVE HAMBURGER & MOBILE DRAWER NAVIGATION
   ========================================================================== */
.sf-hamburger {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1050;
    padding: 0;
}

.sf-hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-color);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.sf-header-wrapper.is-transparent .sf-hamburger span {
    background: var(--white);
}

.sf-hamburger.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.sf-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.sf-hamburger.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Off-canvas Side Drawer */
.sf-mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px; /* Start hidden */
    width: 320px;
    height: 100vh;
    background: var(--bg-cream);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 1020;
    padding: 80px 25px 40px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    overflow-y: auto;
}

.sf-mobile-drawer.active {
    right: 0;
}

.sf-mobile-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(123, 30, 30, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1015;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.sf-mobile-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.sf-mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.sf-mobile-menu-item {
    border-bottom: 1px solid rgba(123, 30, 30, 0.08);
}

.sf-mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 5px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition-fast);
}

.sf-mobile-menu-link:hover {
    color: var(--primary-color);
}

.sf-mobile-menu-link i {
    font-size: 12px;
    transition: var(--transition-smooth);
}

.sf-mobile-menu-link.active i {
    transform: rotate(180deg);
}

/* Mobile Dropdown Submenus (Collapsible Accordions) */
.sf-mobile-submenu {
    list-style: none;
    padding: 0 0 10px 15px;
    margin: 0;
    display: none; /* Toggled via JS */
}

.sf-mobile-submenu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 5px;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 13.5px;
    transition: var(--transition-fast);
}

.sf-mobile-submenu li a:hover {
    color: var(--primary-color);
}

/* Mobile actions in drawer */
.sf-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.sf-mobile-actions .sf-btn {
    width: 100%;
}

/* ==========================================================================
   8. MOBILE BOTTOM STICKY NAVIGATION BAR
   ========================================================================== */
.sf-mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--gold-accent);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    display: none; /* Mobile Only */
    justify-content: space-around;
    align-items: center;
    z-index: 999;
}

.sf-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    gap: 4px;
    transition: var(--transition-smooth);
    flex: 1;
    padding: 5px 0;
}

.sf-bottom-nav-item i {
    font-size: 18px;
    color: var(--text-light);
    transition: var(--transition-smooth);
}

.sf-bottom-nav-item:hover,
.sf-bottom-nav-item.active {
    color: var(--primary-color);
}

.sf-bottom-nav-item:hover i,
.sf-bottom-nav-item.active i {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Center Donate Action in bottom nav */
.sf-bottom-nav-item.sf-bottom-donate {
    background: var(--primary-color);
    color: var(--white) !important;
    border-radius: 50%;
    width: 58px;
    height: 58px;
    flex-grow: 0;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
    transform: translateY(-15px);
    border: 3px solid var(--bg-cream);
}

.sf-bottom-nav-item.sf-bottom-donate i {
    color: var(--white);
    font-size: 20px;
}

.sf-bottom-nav-item.sf-bottom-donate:hover {
    transform: translateY(-18px) scale(1.05);
}

/* Adjust padding on main body when bottom nav is active */
body {
    padding-bottom: 0;
}

/* ==========================================================================
   9. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Laptop View (Max: 1200px) */
@media (max-width: 1200px) {
    .sf-menu-link {
        font-size: 13.5px;
        padding: 10px 10px;
    }
    
    .sf-brand-title {
        font-size: 18px;
    }
    
    .sf-logo-container {
        width: 48px;
        height: 48px;
    }
}

/* Tablet View (Max: 991px) */
@media (max-width: 991px) {
    .sf-top-header {
        display: none; /* Hide top bar on mobile/tablet */
    }
    
    .sf-nav-col {
        display: none !important; /* Hide desktop menu */
    }

    .sf-login-dropdown {
        display: none !important;
    }
    
    .sf-btn-donate {
        font-size: 11px;
        padding: 6px 12px;
        border-radius: 50px;
    }
    
    .sf-hamburger {
        display: flex; /* Show hamburger */
    }
    
    .sf-main-header {
        padding: 10px 0;
    }
    
    .sf-mobile-bottom-nav {
        display: flex; /* Show bottom navigation */
    }
    
    body {
        padding-bottom: 0;
    }

    footer.sf-footer,
    .sf-footer {
        padding-bottom: 95px !important;
    }
}

/* Mobile View (Max: 575px) */
@media (max-width: 575px) {
    .sf-brand-title {
        font-size: 14px;
        line-height: 1.2;
    }
    
    .sf-brand-tagline {
        font-size: 9px;
        display: block;
    }
    
    .sf-logo-container {
        width: 38px;
        height: 38px;
    }
    
    .sf-actions-col .sf-btn-donate {
        display: none !important; /* Hide top donate button on small mobile so logo & menu fit 100% clean! */
    }

    .sf-mobile-drawer {
        width: 280px;
        right: -280px;
    }
    
    .sf-notice-bar {
        font-size: 11.5px;
        padding: 5px 10px;
    }
}
