/* Custom Modern UI Styling Overrides for Hotel Suman Paradise - Nainital */

/* Load Premium Google Font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');

/* Apply font override */
body, h1, h2, h3, h4, h5, p, a, input, select, textarea, button, td, th {
    font-family: 'Outfit', 'Montserrat', sans-serif !important;
}

/* Force FontAwesome font-family on all FontAwesome icons to prevent body/link overrides */
.fa, [class^="fa-"], [class*=" fa-"] {
    font-family: 'FontAwesome' !important;
}

/* Base Body Improvements */
body {
    background-color: #f8fafc;
    color: #475569;
}

/* --- HEADER REDESIGN (Full-Width & Glassmorphic Sticky) --- */
#main-header {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(31, 111, 105, 0.12) !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.02) !important;
    position: relative;
    z-index: 999999;
}

#sticky-alt {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* When sticky, make the wrapper fixed and glassmorphic */
.sticky-style.is-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(12px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
    border-bottom: 1px solid rgba(31, 111, 105, 0.15) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05) !important;
    z-index: 2147483647 !important;
    padding: 5px 0 !important;
    transition: all 0.3s ease-in-out !important;
}

/* Ensure inner sticky element stretches and is transparent */
.sticky-style.is-sticky #sticky-alt {
    position: static !important;
    width: auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Slimmenu customizations for modern appearance */
ul.slimmenu li a {
    color: #334155 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    padding: 15px 12px !important;
    transition: color 0.25s ease !important;
    text-transform: capitalize !important;
}

ul.slimmenu li a.active, ul.slimmenu li a:hover {
    color: #1f6f69 !important;
    background: transparent !important;
}

ul.slimmenu li ul li a {
    background: #ffffff !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
}

ul.slimmenu li ul {
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    overflow: hidden !important;
}

/* Logo Alt Styling */
.logo-alt {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    max-height: 52px !important;
    width: auto !important;
    margin-top: 4px !important;
    transition: transform 0.3s ease;
}

.logo-alt:hover {
    transform: scale(1.05);
}

/* Banner overlay improvement */
.bg-mask {
    background-color: rgba(15, 23, 42, 0.35) !important;
}

/* Beautiful modern card shadows and animations */
.thumb, .booking-item {
    background: #ffffff;
    border-radius: 16px !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    overflow: hidden;
}

.thumb:hover, .booking-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(31, 111, 105, 0.2) !important;
}

.thumb-header img {
    transition: transform 0.5s ease !important;
}

.thumb:hover .thumb-header img {
    transform: scale(1.06);
}

/* Custom rounded images */
.curved {
    border-radius: 12px 12px 0 0 !important;
}

/* Redesigned Booking Form Table (#stylized) */
#stylized {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05) !important;
    background: #ffffff !important;
    border-collapse: separate !important;
}

.booking_ttl {
    background: linear-gradient(135deg, #1f6f69 0%, #15716c 100%) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    padding: 12px !important;
    border: none !important;
}

.booking_row td {
    background-color: #ffffff !important;
    padding: 15px 12px !important;
    border: none !important;
}

#stylized select, #stylized input[type="text"], #stylized input[type="date"] {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    color: #334155 !important;
    font-size: 14px !important;
    outline: none !important;
    transition: all 0.3s ease !important;
}

#stylized select:focus, #stylized input[type="text"]:focus {
    border-color: #1f6f69 !important;
    box-shadow: 0 0 0 3px rgba(31, 111, 105, 0.15) !important;
    background: #ffffff !important;
}

/* Welcome Titles and Headings */
h2.text-color {
    color: #1f6f69 !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    position: relative;
    padding-bottom: 12px;
}

h2.text-color::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #1f6f69;
    border-radius: 2px;
}

/* Modernized Features/Facilities Section */
.bg-parallax {
    background-blend-mode: overlay !important;
    background-color: rgba(15, 23, 42, 0.85) !important;
}

.box-icon-big {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    transition: all 0.3s ease !important;
}

.thumb:hover .box-icon-big {
    background: #1f6f69 !important;
    border-color: #1f6f69 !important;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(31, 111, 105, 0.4);
}

.text-light {
    color: #f1f5f9 !important;
    font-weight: 500 !important;
    transition: color 0.2s;
}

.thumb:hover .text-light {
    color: #ffffff !important;
}

/* modern pricing/booking tags */
.btn-primary {
    background: #1f6f69 !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 8px 18px !important;
    transition: all 0.3s ease !important;
}

.btn-primary:hover {
    background: #15716c !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(31, 111, 105, 0.3) !important;
}

/* Footer improvements */
#main-footer {
    background-color: #0f172a !important;
    color: #94a3b8 !important;
    border-top: 4px solid #1f6f69 !important;
    padding: 60px 0 40px !important;
}

#main-footer h4, #main-footer h5 {
    color: #ffffff !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
}

#main-footer a {
    color: #94a3b8 !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
}

#main-footer a:hover {
    color: #1f6f69 !important;
    padding-left: 2px;
}

.iframe_frm, #main-footer iframe {
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
}

/* --- UNIVERSAL floating CTA WIDGET --- */
#universal-cta-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 99999999;
}

.cta-button {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-button:hover {
    transform: scale(1.12) translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

/* Pulse glow animations */
@keyframes cta-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes cta-pulse-call {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 180, 219, 0.6);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(0, 180, 219, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 180, 219, 0);
    }
}

.cta-button.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    animation: cta-pulse 2.5s infinite;
}

.cta-button.call {
    background: linear-gradient(135deg, #00b4db 0%, #0083b0 100%) !important;
    animation: cta-pulse-call 2.5s infinite 1.25s;
}

/* Tooltip text for CTAs */
.cta-button::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 70px;
    background: #1e293b;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
    transform: translateX(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-button:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #universal-cta-widget {
        bottom: 20px;
        right: 20px;
        gap: 8px;
    }
    
    .cta-button {
        width: 48px;
        height: 48px;
    }
    
    .cta-button::before {
        display: none; /* Hide tooltips on mobile */
    }

    #stylized td {
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        padding: 5px 15px !important;
    }
    
    #stylized select, #stylized input[type="submit"] {
        width: 100% !important;
    }

    .tbl_booking_sub3 {
        flex-direction: column;
        align-items: stretch;
    }

    .tbl_booking_sub3_2 input[type="date"], .tbl_booking_sub3_3 select, .book-btn {
        width: 100% !important;
    }

    /* Mobile navigation styles */
    ul.slimmenu {
        background: #ffffff !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
        border-radius: 0 0 12px 12px !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        border-top: none !important;
        padding: 10px 0 !important;
    }
}

/* Disable old floating buttons */
.float-button, #floating_book_now, #floating_call_now {
    display: none !important;
}

/* Completely Block and Hide Warning Overlay if dynamically injected */
#dvUpgradeOverlay, [id*="UpgradeOverlay"], [id*="UpgradeBox"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}



/* --- PREMIUM INTERNATIONAL-CLASS HOTEL FACILITIES SECTION --- */

/* Fix spelling mistake and enhance header style */
.bg-content h2, .bg-holder h2, 
.bg-content .h2, .bg-holder .h2, 
.bg-content h4, .bg-holder h4 {
    font-size: 32px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    margin-top: 15px !important;
    margin-bottom: 30px !important;
    position: relative;
    padding-bottom: 12px;
    display: block !important;
}

.bg-content h2::after, .bg-holder h2::after,
.bg-content .h2::after, .bg-holder .h2::after,
.bg-content h4::after, .bg-holder h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #1f6f69;
    border-radius: 2px;
}

/* Glassmorphism Cards for Facilities */
.bg-content .thumb, .bg-holder .thumb,
.bg-content .booking-item, .bg-holder .booking-item {
    background: rgba(15, 23, 42, 0.55) !important;
    backdrop-filter: blur(12px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 16px !important;
    padding: 30px 15px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    overflow: visible !important;
    height: auto !important;
}

.bg-content .thumb:hover, .bg-holder .thumb:hover,
.bg-content .booking-item:hover, .bg-holder .booking-item:hover {
    background: rgba(15, 23, 42, 0.75) !important;
    border-color: #1f6f69 !important;
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(31, 111, 105, 0.45) !important;
}

/* Facility Caption */
.bg-content .thumb-caption, .bg-holder .thumb-caption {
    padding: 0 !important;
    margin-top: 15px !important;
    background: transparent !important;
}

.bg-content .thumb-caption a, .bg-holder .thumb-caption a,
.bg-content .thumb-caption div, .bg-holder .thumb-caption div {
    color: #f8fafc !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    transition: color 0.3s ease !important;
    display: inline-block !important;
    text-decoration: none !important;
    background: transparent !important;
}

.bg-content .thumb:hover .thumb-caption a, .bg-holder .thumb:hover .thumb-caption a,
.bg-content .thumb:hover .thumb-caption div, .bg-holder .thumb:hover .thumb-caption div {
    color: #1f6f69 !important;
}

/* Facility Icons Base Container Override */
.bg-content .box-icon-big, .bg-holder .box-icon-big {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    font-size: 26px !important;
    width: 64px !important;
    height: 64px !important;
    line-height: 62px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    margin: 0 auto 10px !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

.bg-content .thumb:hover .box-icon-big, .bg-holder .thumb:hover .box-icon-big {
    background: linear-gradient(135deg, #1f6f69 0%, #15716c 100%) !important;
    border-color: #1f6f69 !important;
    color: #ffffff !important;
    transform: scale(1.15) rotate(5deg) !important;
    box-shadow: 0 8px 20px rgba(31, 111, 105, 0.5) !important;
}

/* Redirect RavisIcon Font Classes to standard cross-platform FontAwesome */
[class^="ravis-icon-"], [class*=" ravis-icon-"] {
    font-family: 'FontAwesome' !important;
    speak: none;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    display: inline-block !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* FontAwesome Unicode Mappings for all active Ravis Icons */
.ravis-icon-television2:before { content: "\f26c" !important; } /* fa-television */
.ravis-icon-parking-sign:before { content: "\f1b9" !important; } /* fa-car */
.ravis-icon-shower2:before { content: "\f2cc" !important; } /* fa-shower */
.ravis-icon-plug:before { content: "\f1e6" !important; } /* fa-plug */
.ravis-icon-room-service:before { content: "\f0f3" !important; } /* fa-bell */
.ravis-icon-laundry-service:before { content: "\f01e" !important; } /* fa-refresh */
.ravis-icon-hotel-elevator-sign:before { content: "\f0aa" !important; } /* fa-arrow-circle-up */
.ravis-icon-room-key:before { content: "\f084" !important; } /* fa-key */
.ravis-icon-hotel-bellhop:before { content: "\f0f3" !important; } /* fa-bell */
.ravis-icon-restaurant:before { content: "\f0f5" !important; } /* fa-cutlery */
.ravis-icon-conference:before { content: "\f0c0" !important; } /* fa-users */
.ravis-icon-toiletries:before { content: "\f06c" !important; } /* fa-leaf */
.ravis-icon-bowling-pin-and-ball:before { content: "\f11b" !important; } /* fa-gamepad */
.ravis-icon-coffee-cup:before { content: "\f0f4" !important; } /* fa-coffee */
.ravis-icon-coffee-pot:before { content: "\f0f4" !important; } /* fa-coffee */
.ravis-icon-hotel-room:before { content: "\f236" !important; } /* fa-bed */
.ravis-icon-double-bed:before { content: "\f236" !important; } /* fa-bed */
.ravis-icon-spa:before { content: "\f21e" !important; } /* fa-heartbeat */
.ravis-icon-air-conditioner:before { content: "\f2dc" !important; } /* fa-snowflake-o */
.ravis-icon-computer-with-wifi-signal:before { content: "\f1eb" !important; } /* fa-wifi */
.ravis-icon-shower:before { content: "\f2cc" !important; } /* fa-shower */
.ravis-icon-safebox:before { content: "\f023" !important; } /* fa-lock */
.ravis-icon-swimming-pool:before { content: "\f1cd" !important; } /* fa-life-ring */
.ravis-icon-tennis-racket-and-ball:before { content: "\f091" !important; } /* fa-trophy */
.ravis-icon-speaker:before { content: "\f028" !important; } /* fa-volume-up */
.ravis-icon-travelling-luggage:before { content: "\f0b1" !important; } /* fa-briefcase */
.ravis-icon-bathtub-with-water-dropping:before { content: "\f2cd" !important; } /* fa-bath */
.ravis-icon-restaurant-sign:before { content: "\f0f5" !important; } /* fa-cutlery */

/* --- ANTIGRAVITY PREMIUM FLEXBOX LAYOUT OVERRIDES & RESPONSIVE FIXES --- */

/* Fix float-based header spacing & vertical alignment by converting to flexbox */
#main-header .container, #main-header .row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    position: relative !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#main-header .container::before, #main-header .container::after,
#main-header .row::before, #main-header .row::after {
    display: none !important;
}

#main-header [class*="col-"] {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
}

#main-header [class*="col-"]:last-child {
    justify-content: flex-end !important;
    flex-grow: 1 !important;
}

/* Mobile header alignment (screens <= 992px) - Align logo & hamburger menu in one row */
@media (max-width: 992px) {
    .slimmenu-menu-collapser {
        background-color: transparent !important;
        color: #1f6f69 !important;
        border: none !important;
        width: auto !important;
        height: auto !important;
        line-height: normal !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        float: right !important;
    }

    .slimmenu-collapse-button {
        position: relative !important;
        right: 0 !important;
        top: 0 !important;
        transform: none !important;
        background: #1f6f69 !important;
        width: 44px !important;
        height: 44px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 8px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .slimmenu-collapse-button .slimmenu-icon-bar {
        background-color: #ffffff !important;
        width: 22px !important;
        height: 2px !important;
        margin: 3px 0 !important;
        display: block !important;
        box-shadow: none !important;
    }

    ul.mobile_slimmenu {
        position: absolute !important;
        top: 100% !important;
        right: 15px !important;
        width: 280px !important;
        background: #ffffff !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
        border-radius: 12px !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        padding: 10px 0 !important;
        z-index: 999999 !important;
    }
}

/* Fix float issues in Facilities section by using Flexbox & equal heights */
.bg-content .container > .gap.text-center {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch !important;
}

.bg-content .container > .gap.text-center > h2,
.bg-content .container > .gap.text-center > h4,
.bg-content .container > .gap.text-center > ul.icon-list,
.bg-content .container > .gap.text-center > .gap,
.bg-content .container > .gap.text-center > a.btn-ghost {
    width: 100% !important;
    flex-basis: 100% !important;
}

.bg-content .container > .gap.text-center > [class*="col-"] {
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 25px !important;
}

.bg-content .container > .gap.text-center > [class*="col-"] > .thumb {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 0 !important;
}

/* Optimize background overlays and spacing */
.bg-parallax {
    opacity: 0.95 !important;
}

.bg-content {
    position: relative;
    z-index: 2;
}

/* --- PURE CSS CONFERENCE/WEDDING MOSAIC HOVER ANIMATION & IMAGE VISIBILITY --- */

.cat-img {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
}

.cat-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.cat-overlay {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    transform: translateY(194px) !important;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    text-decoration: none !important;
}

.box_cat:hover .cat-overlay {
    transform: translateY(0) !important;
}

.cat-overlay h2 {
    margin: 0 !important;
    padding: 10px 12px !important;
    background: #1f6f69 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    line-height: 24px !important;
    border-bottom: 1px solid #ffffff !important;
}

.cat-overlay p, .cat-overlay ul {
    color: #334155 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    padding: 12px 15px !important;
    margin: 0 !important;
}

.cat-overlay ul {
    padding-left: 25px !important;
}

.cat-overlay ul li {
    list-style-type: disc !important;
    margin-bottom: 4px !important;
}

/* --- NAINITAL HOME PAGE & GLOBAL UI IMPROVEMENTS --- */

/* 1. Large Content Font Size (Content ko thoda bada karo) */
body, p, td, li {
    font-size: 16px !important;
    line-height: 1.6 !important;
}

ul.slimmenu li a {
    font-size: 16px !important; /* Menu link font size on mobile/general */
}

/* 2. Nainital Logo in high-visibility white badge (Binsar/Corbett style) */
.logo-alt {
    max-height: 90px !important; /* Premium scaled-up large size (25% increase from standard) */
    width: auto !important;
    background: #ffffff !important;
    padding: 6px 16px !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 20px rgba(31, 111, 105, 0.15) !important;
    border: 1px solid rgba(31, 111, 105, 0.15) !important;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
    display: inline-block !important;
    transition: transform 0.3s ease !important;
}

.logo-alt:hover {
    transform: scale(1.05) !important;
}

/* 3. Header on one line layout overrides (Header ko ek line main karo) */
@media (min-width: 993px) {
    #main-header .container {
        max-width: 98% !important;
        width: 98% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    #main-header .row {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }

    #main-header .col-md-2 {
        width: auto !important;
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    #main-header .col-md-10 {
        width: auto !important;
        flex-grow: 1 !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
    }

    .nav {
        width: auto !important;
    }

    ul.slimmenu {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-end !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }

    ul.slimmenu > li {
        float: none !important;
        display: inline-block !important;
    }

    ul.slimmenu li a {
        font-size: 14px !important; /* Premium fit size for desktop to keep inline */
        padding: 10px 8px !important; /* Tighter padding for perfect inline fit */
        white-space: nowrap !important;
    }
}

/* 4. Scroll shaking & wiggling layout shift prevention */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
}

#main-header {
    position: sticky !important;
    top: 0 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border-bottom: 3px solid #1f6f69 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06) !important;
    z-index: 999999 !important;
}

.sticky-style {
    position: relative !important;
    height: auto !important;
    display: block !important;
}

.sticky-style.is-sticky {
    position: relative !important;
    top: auto !important;
    box-shadow: none !important;
}

.sticky-style.is-sticky #sticky-alt, #sticky-alt {
    position: relative !important;
    width: 100% !important;
    top: auto !important;
    left: auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* 5. Footer social media centering & vertical icon centering */
#main-footer ul.list-horizontal {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding-left: 0 !important;
    list-style: none !important;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}

@media (max-width: 768px) {
    #main-footer ul.list-horizontal {
        justify-content: center !important;
    }
}

#main-footer ul.list-horizontal > li {
    float: none !important;
    margin: 0 10px 0 0 !important;
    display: inline-block !important;
}

@media (max-width: 768px) {
    #main-footer ul.list-horizontal > li {
        margin: 0 10px !important;
    }
}

#main-footer .box-icon-normal {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    text-align: center !important;
    vertical-align: middle !important;
}