/* 
   Government Polytechnic Bhagalpur - Header and Footer Styling
   Theme System, Navbar, Navigation Drawer, Footer and Floating Widgets
*/

:root {
    --saffron: #ff9933;
    --white: #ffffff;
    --green: #39b54a;
    --dark-blue: #111827;
    --royal-blue: #1f2937;
    --charcoal: #1f2937;
    --bi-red: #d94e34;
    --top-bar-bg: #2d3748;

    /* Theming tokens (default = slate/charcoal) */
    --theme-primary: #1f2937;
    --theme-primary-dark: #111827;
    --theme-accent: #ff9933;
    --theme-nav-bg: #2d3748;
    --theme-nav-border: #ff9933;
    --theme-header-bg1: #ff9933;
    --theme-header-bg2: #ffffff;
    --theme-header-bg3: #39b54a;
    --theme-ticker-bg: #111827;
    --theme-ticker-label: #ff9933;
    --theme-btn-bg: #1f2937;
    --theme-link-hover: #111827;
    --theme-section-title: #111827;
    --theme-top-bar: #2d3748;
    --theme-news-bg: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    --theme-news-border: #ff9933;

    /* --- Backwards Compatibility Maps --- */
    --primary: var(--theme-primary);
    --primary-light: var(--theme-primary);
    --secondary: var(--theme-accent);
    --secondary-light: var(--theme-accent);
    --accent: var(--theme-accent);
    --text-main: #2d3436;
    --header-scrolled-bg: var(--theme-primary-dark);
    --text-muted: #636e72;
    --bg-main: #f8f9fa;
    --bg-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);

    --bg-dark-section: var(--theme-primary-dark);
    --bg-dark-section-glow1: var(--theme-primary);
    --bg-dark-section-glow2: var(--theme-accent);
    --bg-dark-section-glow3: var(--theme-primary-dark);
    --menu-drawer-bg: rgba(17, 24, 39, 0.98);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.2);

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

[data-theme="maroon"] {
    --saffron: #e8a0a0;
    --royal-blue: #7b1e1e;
    --dark-blue: #5a0f0f;
    --top-bar-bg: #3d0f0f;

    --theme-primary: #7b1e1e;
    --theme-primary-dark: #5a0f0f;
    --theme-accent: #e8a0a0;
    --theme-nav-bg: #3d0f0f;
    --theme-nav-border: #c0392b;
    --theme-header-bg1: #c0392b;
    --theme-header-bg2: #ffffff;
    --theme-header-bg3: #7b1e1e;
    --theme-ticker-bg: #5a0f0f;
    --theme-ticker-label: #e8a0a0;
    --theme-btn-bg: #7b1e1e;
    --theme-link-hover: #5a0f0f;
    --theme-section-title: #6d0100;
    --theme-top-bar: #3d0f0f;
    --theme-news-bg: linear-gradient(145deg, #3d0f0f 0%, #270808 100%);
    --theme-news-border: #e8a0a0;
    --menu-drawer-bg: rgba(90, 15, 15, 0.98);
}

[data-theme="gold"] {
    --saffron: #c79600;
    --royal-blue: #7a6000;
    --dark-blue: #5a4400;
    --top-bar-bg: #3d2e00;

    --theme-primary: #7a6000;
    --theme-primary-dark: #5a4400;
    --theme-accent: #f0c000;
    --theme-nav-bg: #3d2e00;
    --theme-nav-border: #c79600;
    --theme-header-bg1: #c79600;
    --theme-header-bg2: #fffbe6;
    --theme-header-bg3: #7a6000;
    --theme-ticker-bg: #5a4400;
    --theme-ticker-label: #f0c000;
    --theme-btn-bg: #7a6000;
    --theme-link-hover: #5a4400;
    --theme-section-title: #7a6000;
    --theme-top-bar: #3d2e00;
    --theme-news-bg: linear-gradient(145deg, #3d2e00 0%, #261c00 100%);
    --theme-news-border: #f0c000;
    --menu-drawer-bg: rgba(92, 67, 8, 0.98);
}

[data-theme="olive"] {
    --saffron: #a5b84c;
    --royal-blue: #4a5e1a;
    --dark-blue: #3a4c12;
    --top-bar-bg: #2e3d0f;

    --theme-primary: #4a5e1a;
    --theme-primary-dark: #3a4c12;
    --theme-accent: #8aa62a;
    --theme-nav-bg: #2e3d0f;
    --theme-nav-border: #8aa62a;
    --theme-header-bg1: #6b8c23;
    --theme-header-bg2: #f4f8e8;
    --theme-header-bg3: #3a4c12;
    --theme-ticker-bg: #3a4c12;
    --theme-ticker-label: #a5b84c;
    --theme-btn-bg: #4a5e1a;
    --theme-link-hover: #3a4c12;
    --theme-section-title: #4a5e1a;
    --theme-top-bar: #2e3d0f;
    --theme-news-bg: linear-gradient(145deg, #2e3d0f 0%, #1c2608 100%);
    --theme-news-border: #8aa62a;
    --menu-drawer-bg: rgba(58, 76, 18, 0.98);
}

/* --- Header Wrapper (Overlay) --- */
.header-wrapper {
    position: relative;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    /* overflow: hidden removed — it was clipping the fixed-position drawer menu */
    overflow: visible;
}

#header-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.header-wrapper.scrolled {
    position: fixed;
    background: var(--header-scrolled-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    top: 0;
}

/* When scrolled, hide the top strip and make header compact */
.header-wrapper.scrolled .kata-top-strip {
    display: none !important;
}

.header-wrapper.scrolled .kata-header {
    height: 65px !important;
}

.header-wrapper.scrolled .kata-logo-area {
    padding-top: 2px;
    padding-bottom: 2px;
}

.header-wrapper.scrolled .kata-header-actions {
    padding-right: 3%;
}

/* --- Header & Navigation --- */
.header {
    background: transparent;
    transition: var(--transition);
}

.logo-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 0 8px 20px rgba(255, 126, 95, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    font-family: 'Roboto Slab', serif;
}

.logo-text h1 {
    font-size: 25px;
    color: white;
    margin-bottom: 4px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.logo-text p {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.25);
    padding: 3px 8px;
    border-radius: 20px;
    display: inline-block;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

/* Scrolled state text colors and icon sizing */
.header-wrapper.scrolled .logo-text h1 {
    color: #ffffff;
    font-size: clamp(1.2rem, 1.5vw, 1.6rem);
    font-family: 'Roboto Slab', serif;
    text-shadow: none;
}

.header-wrapper.scrolled .logo-text p {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: clamp(0.55rem, 0.65vw, 0.65rem);
    padding: 2px 8px;
}

.header-wrapper.scrolled .logo-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(255, 126, 95, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    color: white !important;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    outline: none;
    z-index: 10000;
}

.mobile-menu-btn:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 126, 95, 0.4);
}

.header-wrapper.scrolled .mobile-menu-btn {
    display: flex !important;
    color: white !important;
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: flex !important;
    }
}

/* --- KATA HUA GPB HEADER --- */
.kata-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 90px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.kata-logo-area {
    position: relative;
    height: 100%;
    background: var(--primary);
    display: flex;
    align-items: center;
    padding-left: 2vw;
    padding-right: 40px;
    z-index: 2;
    gap: 12px;
}

.kata-logo-area::after {
    content: '';
    position: absolute;
    top: 0;
    right: -40px;
    width: 60px;
    height: 100%;
    background: var(--primary);
    transform-origin: top right;
    transform: skewX(-25deg);
    border-right: 6px solid var(--secondary);
    z-index: -1;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
}

.kata-logo-area .logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kata-logo-area .logo-text h1 {
    color: #ffffff;
    text-shadow: none;
    margin-bottom: 2px;
    font-size: 25px;
    white-space: nowrap;
    letter-spacing: 0.5px;
    font-weight: 800;
    font-family: 'Roboto Slab', serif;
}

.kata-logo-area .logo-text p {
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    border: none;
    padding: 0;
    backdrop-filter: none;
    font-size: clamp(0.55rem, 0.7vw, 0.7rem);
    white-space: nowrap;
    margin: 0;
    font-family: 'Roboto Slab', serif;
}

.kata-header-right {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    height: 100%;
    z-index: 1;
}

.kata-top-strip {
    width: 100%;
    height: 45px;
    background: var(--primary) !important;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 2%;
    gap: 10px;
}

.accessibility-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
}

.font-btn {
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 0.75rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.font-btn:hover {
    background: rgba(0, 0, 0, 0.6);
}

.color-palette {
    display: flex;
    align-items: center;
    gap: 4px;
}

.color-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 0;
    margin: 0;
    outline: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.color-btn:hover {
    transform: scale(1.2);
    border-color: #ffffff;
}

.color-btn.active {
    transform: scale(1.2);
    border-color: #ffffff;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

.color-navy {
    background: #1f2937;
}

.color-green {
    background: #6b8c23;
}

.color-red {
    background: #6d0100;
}

.color-yellow {
    background: #c79600;
}

.top-quick-links {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 700;
}

.top-quick-links a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.top-quick-links a:hover {
    opacity: 0.8;
}

.top-quick-links .divider {
    color: rgba(255, 255, 255, 0.6);
}

.kata-header-actions {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding-right: 2%;
    justify-content: flex-end; /* Align the new elements to the right */
}

/* --- Premium Desktop Header Info --- */
.desktop-header-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 15px;
}

.header-contact-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    padding: 6px 14px 6px 6px;
    border-radius: 50px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.header-contact-pill:hover {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

.header-contact-pill .icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--theme-primary, #1f2937);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.header-contact-pill:hover .icon-circle {
    background: var(--theme-accent, #ff9933);
    transform: rotate(15deg) scale(1.05);
}

.header-contact-pill .info-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

.header-contact-pill .info-text .label {
    font-size: 0.65rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-contact-pill .info-text .value {
    font-size: 0.8rem;
    color: #0f172a;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.header-social-search {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 15px;
    border-left: 1px solid #e2e8f0;
    height: 38px;
}

.header-social-icons {
    display: flex;
    gap: 6px;
}

.h-social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.h-social-icon:hover {
    background: var(--theme-primary, #1f2937);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.header-admission-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--theme-accent, #ff9933);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
}

.header-admission-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg);
    animation: shine 3s infinite;
}

.header-admission-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    filter: brightness(1.1);
}

.header-admission-btn i {
    transition: transform 0.3s ease;
}

.header-admission-btn:hover i {
    transform: translateX(4px);
}

/* Hide this info when scrolled (to keep compact header) */
.header-wrapper.scrolled .desktop-header-info {
    display: none !important;
}

.kata-bottom-nav {
    width: 100%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.kata-header-right .mobile-menu-btn {
    margin-left: 20px;
}

@media (max-width: 992px) {
    .kata-header {
        height: auto !important;
        flex-wrap: wrap;
        background: var(--primary) !important;
    }
    .kata-header-right {
        display: contents;
    }
    .kata-top-strip {
        order: 1;
        width: 100%;
        height: auto;
        padding: 8px 15px;
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        background: var(--theme-nav-bg, #2d3748) !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .kata-logo-area {
        order: 2;
        flex-grow: 1;
        height: auto;
        padding: 15px;
        background: transparent !important;
        display: flex;
        justify-content: center;
    }
    .kata-logo-area a {
        flex-direction: column !important;
        justify-content: center;
        align-items: center !important;
        text-align: center;
        gap: 6px !important;
        width: 100%;
    }
    .kata-logo-area::after {
        display: none !important; /* Remove slanted edge on mobile so it forms one unified bar */
    }
    .kata-logo-area .logo-text {
        text-align: center;
    }
    .kata-logo-area .logo-text h1 {
        font-size: 1.15rem;
        margin-bottom: 0;
    }
    .kata-logo-area .logo-text p {
        display: none;
    }
    .logo-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.1rem;
        border-radius: 10px;
    }
    .kata-header-actions {
        order: 3;
        height: 75px;
        display: flex;
        align-items: center;
        padding-right: 15px;
        justify-content: flex-end;
        background: transparent !important;
    }
}

@media (max-width: 576px) {
    .kata-logo-area {
        height: auto;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 15px;
        padding-bottom: 15px;
        gap: 8px;
        background: transparent !important;
        display: flex;
        justify-content: center;
    }
    .kata-logo-area a {
        flex-direction: column !important;
        align-items: center !important;
        gap: 6px !important;
    }
    .kata-logo-area::after {
        display: none !important;
    }
    .kata-logo-area .logo-text h1 {
        font-size: 1rem;
        white-space: normal;
        line-height: 1.2;
        text-align: center;
    }
    .logo-icon, .kata-logo-area img {
        width: 45px !important;
        height: 45px !important;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    .kata-header-actions {
        height: auto;
        padding-right: 10px;
        align-self: center;
    }
    .mobile-menu-btn {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
        margin-left: 10px !important;
    }
    .kata-top-strip {
        padding: 8px 10px;
        font-size: 0.75rem;
        gap: 8px;
        flex-direction: column;
    }
    .accessibility-controls {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 8px;
        width: 100%;
    }
    .accessibility-controls span[style] {
        margin-left: 8px !important;
    }
    .top-quick-links {
        display: flex;
        justify-content: center;
        width: 100%;
        font-size: 0.8rem;
    }
}

/* --- Dropdown Submenu Styles --- */
.kata-bottom-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 15px;
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: center;
}

.kata-bottom-nav .nav-list>li {
    position: relative;
    padding: 0;
    display: flex;
}

.kata-bottom-nav .nav-list>li>a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(0.85rem, 0.95vw, 1.05rem);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 18px 10px;
    margin: 0;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.kata-bottom-nav .nav-list>li>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 3px;
    background: var(--secondary);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateX(-50%);
    border-radius: 3px 3px 0 0;
}

.kata-bottom-nav .nav-list>li>a:hover,
.kata-bottom-nav .nav-list>li>a.active {
    color: #ffffff;
    background: transparent;
}

.kata-bottom-nav .nav-list>li>a:hover::after,
.kata-bottom-nav .nav-list>li>a.active::after {
    width: 100%;
}

.kata-bottom-nav .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary);
    min-width: 200px;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 1000;
    border-top: 3px solid var(--secondary);
}

.kata-bottom-nav .has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.kata-bottom-nav .dropdown li {
    padding: 0;
}

.kata-bottom-nav .nav-list li .dropdown a {
    color: #ffffff !important;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    text-decoration: none;
    transition: all 0.2s ease;
}

.kata-bottom-nav .nav-list li .dropdown a:hover {
    background: var(--theme-link-hover, var(--primary-light)) !important;
    color: var(--secondary, #ff9933) !important;
    padding-left: 25px;
}

/* ==========================================
   Premium Slide-out Navigation Drawer (Mobile/Scrolled)
   ========================================== */
@media (max-width: 992px) {
    .kata-bottom-nav {
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        border: none !important;
        height: 0 !important;
        width: 0 !important;
        position: static !important;
    }
}



/* Style main-nav as fixed right drawer */
@media (max-width: 992px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        background: var(--menu-drawer-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6);
        padding: 90px 24px 40px 24px;
        z-index: 9999;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        border-left: 3px solid var(--secondary);
        overflow-y: auto;
        display: block !important;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav .nav-list {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        width: 100% !important;
        justify-content: flex-start !important;
    }

    .main-nav .nav-list>li {
        width: 100% !important;
        flex-direction: column !important;
    }

    .main-nav .nav-list>li>a {
        width: 100% !important;
        padding: 14px 10px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
        justify-content: space-between !important;
        font-size: 0.95rem !important;
        color: rgba(255, 255, 255, 0.85) !important;
    }

    .main-nav .nav-list>li>a::after {
        display: none !important;
    }

    .main-nav .dropdown {
        position: static !important;
        width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background: rgba(0, 0, 0, 0.2) !important;
        box-shadow: none !important;
        border-top: none !important;
        border-left: 2px solid var(--accent) !important;
        padding: 6px 0 6px 15px !important;
        margin-top: 5px !important;
        margin-bottom: 8px !important;
        display: none !important;
    }

    .main-nav .has-dropdown:hover .dropdown,
    .main-nav .has-dropdown.submenu-open .dropdown {
        display: block !important;
    }
}

/* Scrolled state for mobile only (Drawer behavior) */
@media (max-width: 992px) {
    .header-wrapper.scrolled~.kata-bottom-nav {
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        border: none !important;
        height: 0 !important;
        width: 0 !important;
        position: static !important;
    }
}

/* Scrolled state for desktop only (Sticky Horizontal Nav) */
@media (min-width: 993px) {

    /* Keep horizontal menu sticky below scrolled header */
    .header-wrapper.scrolled~.kata-bottom-nav {
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        z-index: 997;
        height: auto !important;
        background: var(--primary) !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
        padding: 0 5% !important;
        border: none !important;
        visibility: visible !important;
    }

    /* Fixed position for news ticker when scrolled on desktop */
    .header-wrapper.scrolled~#flash-ticker {
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        z-index: 998;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    /* If flash-ticker is present, push bottom-nav down to 110px */
    .header-wrapper.scrolled~#flash-ticker~.kata-bottom-nav {
        top: 110px;
    }

    /* Ensure main-nav remains styled horizontally on desktop when scrolled */
    .header-wrapper.scrolled~.kata-bottom-nav .main-nav {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        border: none !important;
        display: block !important;
    }

    .header-wrapper.scrolled~.kata-bottom-nav .main-nav .nav-list {
        flex-direction: row !important;
        align-items: center !important;
        gap: 15px !important;
        justify-content: center !important;
    }

    .header-wrapper.scrolled~.kata-bottom-nav .main-nav .nav-list>li {
        width: auto !important;
        flex-direction: row !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .header-wrapper.scrolled~.kata-bottom-nav .main-nav .nav-list>li>a {
        width: auto !important;
        padding: 18px 10px !important;
        border-bottom: none !important;
        color: rgba(255, 255, 255, 0.85) !important;
    }

    .header-wrapper.scrolled~.kata-bottom-nav .main-nav .nav-list>li>a::after {
        display: block !important;
    }

    .header-wrapper.scrolled~.kata-bottom-nav .main-nav .dropdown {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        background: var(--primary) !important;
        min-width: 200px !important;
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
        border-top: 3px solid var(--secondary) !important;
        padding: 8px 0 !important;
        transform: translateY(15px) !important;
        transition: all 0.3s ease !important;
    }

    .header-wrapper.scrolled~.kata-bottom-nav .main-nav .has-dropdown:hover .dropdown {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
}


/* Drawer Close Button */
.drawer-close-btn {
    display: none;
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    color: white !important;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    outline: none;
    z-index: 10001;
}

.drawer-close-btn:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: rotate(90deg) scale(1.08);
    box-shadow: 0 0 15px rgba(255, 126, 95, 0.4);
}

@media (max-width: 992px) {
    .drawer-close-btn {
        display: flex;
    }
}

/* Staggered entrance animation for drawer menu items */
@media (max-width: 992px) {
    .main-nav .nav-list>li {
        opacity: 0;
        transform: translateX(40px);
        transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .main-nav.active .nav-list>li {
        opacity: 1;
        transform: translateX(0);
    }
}

.main-nav.active .nav-list>li:nth-child(1) {
    transition-delay: 0.04s;
}

.main-nav.active .nav-list>li:nth-child(2) {
    transition-delay: 0.08s;
}

.main-nav.active .nav-list>li:nth-child(3) {
    transition-delay: 0.12s;
}

.main-nav.active .nav-list>li:nth-child(4) {
    transition-delay: 0.16s;
}

.main-nav.active .nav-list>li:nth-child(5) {
    transition-delay: 0.20s;
}

.main-nav.active .nav-list>li:nth-child(6) {
    transition-delay: 0.24s;
}

.main-nav.active .nav-list>li:nth-child(7) {
    transition-delay: 0.28s;
}

.main-nav.active .nav-list>li:nth-child(8) {
    transition-delay: 0.32s;
}

.main-nav.active .nav-list>li:nth-child(9) {
    transition-delay: 0.36s;
}

.main-nav.active .nav-list>li:nth-child(10) {
    transition-delay: 0.40s;
}

.main-nav.active .nav-list>li:nth-child(11) {
    transition-delay: 0.44s;
}

/* ==========================================
   Main Footer Styles
   ========================================== */
.main-footer {
    background: var(--bg-dark-section);
    color: #cbd5e1;
    padding-top: 80px;
    border-top: 4px solid var(--accent);
    position: relative;
    transition: background 0.5s ease;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 15% 20%, var(--bg-dark-section-glow1) 0%, transparent 40%),
        radial-gradient(circle at 85% 70%, var(--bg-dark-section-glow2) 0%, transparent 40%),
        radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 30px 30px;
    z-index: 0;
    pointer-events: none;
}

.main-footer .container {
    position: relative;
    z-index: 1;
}

/* --- Footer Top Brand Bar --- */
.footer-top-brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 20px;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-brand-logo .logo-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    box-shadow: 0 5px 15px rgba(255, 126, 95, 0.25);
}

.footer-brand-text h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.5px;
}

.footer-brand-text p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin: 5px 0 0 0;
}

.footer-brand-contact {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.brand-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.brand-contact-item i {
    color: var(--secondary);
    font-size: 0.95rem;
}

.brand-contact-item:hover {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 126, 95, 0.2);
}

.footer-divider-line {
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.08) 20%, rgba(255, 255, 255, 0.08) 80%, rgba(255, 255, 255, 0) 100%);
    margin: 25px 0 45px 0;
}

/* --- Footer Main Grid (5 Columns) --- */
.footer-grid-5 {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col .col-title {
    color: white;
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col .col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
    border-radius: 1px;
}

.about-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 20px;
}

/* Links column styles */
.links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-col ul li {
    margin-bottom: 12px;
}

.links-col ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.links-col ul li a i {
    font-size: 0.75rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.links-col ul li a:hover {
    color: white;
    transform: translateX(6px);
}

.links-col ul li a:hover i {
    color: var(--secondary);
    opacity: 1;
}

/* Social icons layout */
.about-col .social-icons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.about-col .social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.about-col .social-btn:hover {
    color: white;
    transform: translateY(-4px);
}

.about-col .social-btn.facebook:hover {
    background: #3b5998;
    border-color: #3b5998;
    box-shadow: 0 5px 15px rgba(59, 89, 152, 0.3);
}

.about-col .social-btn.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
    box-shadow: 0 5px 15px rgba(29, 161, 242, 0.3);
}

.about-col .social-btn.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.about-col .social-btn.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
}

/* --- Footer Bottom Copyright & Counter --- */
.footer-bottom {
    background: rgba(0, 0, 0, 0.25);
    /* Blends dark with the active theme background */
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 0.88rem;
    color: #64748b;
    font-weight: 600;
}

.copyright strong {
    color: white;
}

.footer-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.visitors {
    font-size: 0.88rem;
    color: #94a3b8;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.visitors i {
    color: var(--secondary);
}

/* Neon Digital Counter dashboard look */
.visitor-counter-glow {
    display: inline-flex;
    gap: 4px;
    background: #111827;
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(0, 255, 210, 0.05);
}

.visitor-counter-glow .digit {
    background: #1f2937;
    color: #00ffc8;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 900;
    font-size: 1.1rem;
    padding: 2px 6px;
    border-radius: 4px;
    border-bottom: 2px solid rgba(0, 255, 210, 0.3);
    text-shadow: 0 0 5px rgba(0, 255, 210, 0.8);
}

/* Pulsing Back to Top Button */
.back-to-top {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 126, 95, 0.2);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 126, 95, 0.4);
}

/* Responsiveness */
@media (max-width: 1024px) {
    .footer-grid-5 {
        grid-template-columns: 1.5fr repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Center entire brand section on mobile */
    .footer-top-brand {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 18px;
        padding-bottom: 16px;
    }

    /* Logo row - center icon + text */
    .footer-brand-logo {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .footer-brand-logo .logo-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .footer-brand-text {
        text-align: center;
    }

    .footer-brand-text h3 {
        font-size: 1.05rem;
        line-height: 1.4;
    }

    .footer-brand-text p {
        font-size: 0.75rem;
    }

    /* Contact buttons — 2 per row grid */
    .footer-brand-contact {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        justify-items: center;
    }

    .brand-contact-item {
        width: 100%;
        justify-content: center;
        padding: 9px 12px;
        font-size: 0.78rem;
        border-radius: 10px;
    }

    /* If 3 buttons — make last one full width */
    .footer-brand-contact .brand-contact-item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 60%;
        margin: 0 auto;
    }

    .footer-grid-5 {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-actions {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 767px) {
    .footer-grid-5 {
        grid-template-columns: 1fr;
    }
}



/* ==========================================
   Floating Widgets & Enquiry Modal
   ========================================== */
/* Enquiry Modal overlay & popup card */
.enquiry-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 13, 22, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 20px;
}

.enquiry-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.enquiry-modal-card {
    background: linear-gradient(145deg, #111827 0%, #1f2937 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    padding: 40px;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.enquiry-modal-overlay.active .enquiry-modal-card {
    transform: scale(1) translateY(0);
}

.enquiry-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #94a3b8;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.enquiry-modal-close:hover {
    background: #ef4444;
    color: white;
    transform: rotate(90deg);
}

.enquiry-modal-header {
    margin-bottom: 25px;
}

.enquiry-modal-header h3 {
    font-family: 'Roboto Slab', serif;
    color: white;
    font-size: 1.5rem;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.enquiry-modal-header h3 i {
    color: var(--secondary);
}

.enquiry-modal-header p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
}

.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 500px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    color: #cbd5e1;
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group label i {
    color: var(--secondary);
    font-size: 0.8rem;
    opacity: 0.8;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(15, 23, 42, 0.6);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 14px;
    color: white;
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748b;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(15, 23, 42, 0.85);
    box-shadow: 0 0 0 4px rgba(255, 153, 51, 0.15);
}

.form-group select option {
    background-color: #1e293b !important;
    color: #ffffff !important;
}

/* Submit and Success styles */
.enquiry-form .submit-btn {
    margin-top: 5px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%) !important;
    color: white !important;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.enquiry-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 153, 51, 0.3);
}

.enquiry-success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 10px;
    animation: fadeInSuccess 0.5s ease forwards;
}

@keyframes fadeInSuccess {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon-wrap {
    font-size: 4.5rem;
    color: #22c55e;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.4));
    animation: bounceIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.1);
    }

    80% {
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.enquiry-success-message h4 {
    font-family: 'Roboto Slab', serif;
    color: white;
    font-size: 1.6rem;
    margin: 0 0 10px 0;
}

.enquiry-success-message p {
    color: #94a3b8;
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
    max-width: 350px;
}

.btn-sliced {
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Roboto Slab', serif;
}

.btn-sliced.light-btn {
    background: white;
    color: #0f172a;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-sliced.light-btn:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

/* ==========================================
   GOVERNMENT CENTERED HEADER STYLES
   ========================================== */
.govt-header {
    background: var(--primary);
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
}
.govt-top-strip {
    background: var(--top-bar-bg, #2d3748);
    color: #ffffff;
    padding: 6px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.govt-top-strip .accessibility-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}
.govt-top-strip .top-quick-links {
    display: flex;
    align-items: center;
    gap: 12px;
}
.govt-top-strip .top-quick-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}
.govt-top-strip .top-quick-links a:hover {
    color: var(--secondary);
}
.govt-logo-area {
    padding: 20px 0;
}
.govt-logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.govt-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    padding: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.govt-logo-text h1 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    font-family: 'Roboto Slab', serif;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.govt-logo-text h2 {
    color: var(--secondary, #ff9933);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    font-family: 'Roboto Slab', serif;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.govt-logo-text .dept-pill {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #e2e8f0;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    margin-top: 5px;
}
.govt-logo-area .mobile-menu-btn {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white !important;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
}
.header-wrapper.scrolled .govt-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--header-scrolled-bg, var(--primary-dark));
}
.header-wrapper.scrolled .govt-top-strip {
    display: none !important;
}
.header-wrapper.scrolled .govt-logo-area {
    padding: 10px 0;
}
.header-wrapper.scrolled .govt-logo-link {
    flex-direction: row;
}
.header-wrapper.scrolled .govt-logo-img {
    width: 45px;
    height: 45px;
}
.header-wrapper.scrolled .govt-logo-text {
    margin-top: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.header-wrapper.scrolled .govt-logo-text h1 {
    font-size: 1.1rem;
    margin-bottom: 0 !important;
}
.header-wrapper.scrolled .govt-logo-text h2 {
    font-size: 0.9rem;
    margin-bottom: 0 !important;
}
.header-wrapper.scrolled .govt-logo-text .dept-pill {
    display: none;
}
@media (max-width: 992px) {
    .govt-logo-text h1 { font-size: 1.4rem; }
    .govt-logo-text h2 { font-size: 1.3rem; }
}
@media (max-width: 576px) {
    .govt-top-strip { padding: 8px 10px; }
    .govt-top-strip .container { flex-direction: column; gap: 8px; }
    .govt-logo-img { width: 60px; height: 60px; }
    .govt-logo-text h1 { font-size: 1.1rem; line-height: 1.2; }
    .govt-logo-text h2 { font-size: 1rem; line-height: 1.2; }
    .govt-logo-text .dept-pill { font-size: 0.65rem; padding: 4px 12px; }
    .govt-logo-area .mobile-menu-btn { width: 38px; height: 38px; font-size: 1rem; left: 10px; }
    .header-wrapper.scrolled .govt-logo-link { flex-direction: row; }
}

/* Helpline Call Button styles */
.header-helpline-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--theme-primary,#1f2937) 0%, #0f172a 100%);
    color: #fff !important;
    padding: 0 16px 0 6px;
    height: 38px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 6px 20px rgba(15,23,42,0.25);
    border: 1.5px solid rgba(255,255,255,0.08);
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
    user-select: none;
    overflow: hidden;
    position: relative;
}

.header-helpline-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg,transparent,rgba(255,255,255,0.18),transparent);
    transform: skewX(-20deg);
    animation: fab-shimmer 2.8s infinite;
}

.header-helpline-btn:hover {
    background: linear-gradient(135deg, var(--theme-accent,#ff9933) 0%, #d97706 100%) !important;
    box-shadow: 0 8px 24px rgba(255,153,51,0.45);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.header-helpline-btn .helpline-btn-icon {
    width: 26px; height: 26px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; flex-shrink: 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
}

.header-helpline-btn:hover .helpline-btn-icon {
    transform: rotate(-12deg) scale(1.1);
}

.header-helpline-btn .helpline-btn-dot {
    position: absolute; top: -1px; right: -1px;
    width: 8px; height: 8px;
    background: #22c55e; border-radius: 50%;
    border: 1.5px solid #0f172a;
    animation: fab-dot-pulse 1.8s infinite;
}

/* Welcome Area Helpline Button */
.btn-helpline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--theme-primary,#1f2937) 0%, #0f172a 100%) !important;
    color: #fff !important;
    padding: 0 24px 0 8px !important;
    height: 48px !important;
    border-radius: 50px !important;
    cursor: pointer;
    font-size: 0.88rem !important;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 8px 30px rgba(15,23,42,0.25) !important;
    border: 2px solid rgba(255,255,255,0.08) !important;
    transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
    user-select: none;
    overflow: hidden;
    position: relative;
    clip-path: none !important;
}

.btn-helpline::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg,transparent,rgba(255,255,255,0.18),transparent);
    transform: skewX(-20deg);
    animation: fab-shimmer 2.8s infinite;
}

.btn-helpline:hover {
    background: linear-gradient(135deg, var(--theme-accent,#ff9933) 0%, #d97706 100%) !important;
    box-shadow: 0 12px 40px rgba(255,153,51,0.45) !important;
    transform: translateY(-4px) scale(1.03) !important;
    color: #ffffff !important;
}

.btn-helpline .helpline-btn-icon {
    width: 32px; height: 32px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; flex-shrink: 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
}

.btn-helpline:hover .helpline-btn-icon {
    transform: rotate(-12deg) scale(1.1);
}

.btn-helpline .helpline-btn-dot {
    position: absolute; top: -2px; right: -2px;
    width: 10px; height: 10px;
    background: #22c55e; border-radius: 50%;
    border: 2px solid #0f172a;
    animation: fab-dot-pulse 1.8s infinite;
}