/* ===============================================================
   SCREEN FIT & ANTI-ZOOM CONTROLS (FIT TO SCREEN)
   Prevents accidental Zoom In / Zoom Out and locks page to screen
   Eliminates all gaps outside Header and Footer
   =============================================================== */
html {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Public website body styling */
body {
    width: 100% !important;
    max-width: 100vw !important;
    min-height: 100vh !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    touch-action: pan-y !important;
    -webkit-text-size-adjust: 100% !important;
    -moz-text-size-adjust: 100% !important;
    -ms-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
    -webkit-tap-highlight-color: transparent;
}

/* Public sticky footer and dark theme only when .page-wrapper is present */
body:has(.page-wrapper) {
    background-color: #030a17 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Ensure wrappers and containers never trigger horizontal scroll or zoom out */
.page-wrapper {
    flex: 1 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow-x: clip !important;
    background-color: #030a17 !important;
}

.main-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: clip !important;
}

/* Header & Footer Zero-Gap Guarantees */
.main-header {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    flex-shrink: 0 !important;
}

.sca-footer-root {
    margin-top: auto !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    width: 100% !important;
    background-color: #030a17 !important;
    flex-shrink: 0 !important;
}

.sca-footer-copyright-bar {
    margin-bottom: 0 !important;
    padding-top: 16px !important;
    padding-bottom: 18px !important;
    background-color: #030a17 !important;
    width: 100% !important;
}

/* Sleek Modern Floating Scroll To Top Button (Replaces rotated line artifact) */
.scroll-to-top {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    color: #061329 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4) !important;
    z-index: 9999 !important;
    cursor: pointer !important;
    transform: none !important;
    transition: all 0.3s ease !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
}

.scroll-to-top:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6) !important;
    color: #061329 !important;
}

.scroll-to-top__text,
.scroll-to-top__wrapper {
    display: none !important;
}

.scroll-to-top::after {
    content: "\f062" !important;
    font-family: "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    font-size: 16px !important;
    color: #061329 !important;
}

/* Prevent accidental horizontal grid overflows */
.container, .container-fluid {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.row {
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Prevent iOS Safari / Android auto-zooming on form input focus */
@media screen and (max-width: 768px) {
    input, select, textarea, .form-control, .nice-select, button {
        font-size: 16px !important;
    }
}

/* Fix media/images from breaking viewport width */
img, svg, video, canvas, iframe {
    max-width: 100% !important;
    height: auto;
}

/* ===============================================================
   PREMIUM MOBILE NAVIGATION SYSTEM (ELITE LOOK & ACCESSIBILITY)
   Fixes dark/invisible text, broken dropdowns & poor mobile view
   =============================================================== */
.mobile-nav__wrapper {
    z-index: 999999 !important;
}

.mobile-nav__overlay {
    background-color: rgba(3, 10, 23, 0.85) !important;
    backdrop-filter: blur(5px) !important;
}

.mobile-nav__content {
    background: linear-gradient(180deg, #051021 0%, #07162e 40%, #030a17 100%) !important;
    width: 320px !important;
    max-width: 86vw !important;
    padding: 24px 20px 35px !important;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.7) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.mobile-nav__content .logo-box {
    margin-bottom: 22px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
}

.mobile-nav__close {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    top: 20px !important;
    right: 18px !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}

.mobile-nav__close:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
}

/* Fix ALL Mobile Nav Menu Links - Crystal Clear White & Gold */
.mobile-nav__content .main-menu__list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.mobile-nav__content .main-menu__list > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

.mobile-nav__content .main-menu__list > li:last-child {
    border-bottom: none !important;
}

.mobile-nav__content .main-menu__list > li > a {
    color: #ffffff !important; /* CRITICAL FIX: Was #1e293b dark, making it invisible */
    font-size: 15px !important;
    font-weight: 600 !important;
    font-family: 'Outfit', sans-serif !important;
    height: auto !important;
    min-height: 48px !important;
    padding: 12px 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    letter-spacing: 0.01em !important;
}

.mobile-nav__content .main-menu__list > li > a:hover,
.mobile-nav__content .main-menu__list > li.current > a,
.mobile-nav__content .main-menu__list > li > a.expanded {
    color: #fbbf24 !important;
}

/* Stop pseudo '+' element in mobile nav */
.mobile-nav__content .main-menu__list > li.dropdown > a::after {
    display: none !important;
}

/* Sleek Gold Chevron Button for Dropdown Toggle */
.mobile-nav__content .main-menu__list > li > a > button {
    width: 34px !important;
    height: 34px !important;
    background: rgba(245, 158, 11, 0.15) !important;
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
    border-radius: 8px !important;
    color: #fbbf24 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 0 0 auto !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transform: none !important; /* Stop 90deg sideways rotation */
    transition: all 0.25s ease !important;
}

.mobile-nav__content .main-menu__list > li > a > button.expanded {
    background: #f59e0b !important;
    color: #061329 !important;
    transform: rotate(180deg) !important;
}

/* Dropdown Sub-menu Container on Mobile */
.mobile-nav__content .main-menu__list > li > ul {
    background: rgba(0, 0, 0, 0.4) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 6px 12px !important;
    margin: 4px 0 14px !important;
    list-style: none !important;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.35) !important;
}

.mobile-nav__content .main-menu__list > li > ul > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mobile-nav__content .main-menu__list > li > ul > li:last-child {
    border-bottom: none !important;
}

.mobile-nav__content .main-menu__list > li > ul > li > a {
    color: #e2e8f0 !important; /* CRITICAL FIX: Was #1e293b dark invisible */
    font-size: 13.5px !important;
    font-weight: 500 !important;
    font-family: 'Outfit', sans-serif !important;
    padding: 11px 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: auto !important;
    line-height: 1.4 !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.mobile-nav__content .main-menu__list > li > ul > li > a:hover,
.mobile-nav__content .main-menu__list > li > ul > li.current > a {
    color: #fbbf24 !important;
    padding-left: 14px !important;
}

/* Mobile Nav Direct Register CTA Button */
.mobile-nav__cta-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%) !important;
    color: #061329 !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    font-family: 'Outfit', sans-serif !important;
    padding: 12px 18px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35) !important;
    text-align: center !important;
}

.mobile-nav__cta-btn:hover {
    color: #061329 !important;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5) !important;
}

/* Mobile Nav Contact Info Section */
.mobile-nav__contact {
    margin-top: 15px !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.mobile-nav__contact li {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
    font-size: 13.5px !important;
    color: #94a3b8 !important;
}

.mobile-nav__contact li a {
    color: #cbd5e1 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.mobile-nav__contact li a:hover {
    color: #fbbf24 !important;
}

.mobile-nav__contact li i {
    color: #f59e0b !important;
    width: 18px !important;
    text-align: center !important;
    font-size: 14px !important;
}

/* Mobile Nav Social Buttons */
.mobile-nav__social {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 14px !important;
}

.mobile-nav__social a {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.mobile-nav__social a:hover {
    background: #f59e0b !important;
    color: #061329 !important;
    border-color: #f59e0b !important;
    transform: translateY(-2px) !important;
}

/* ===============================================================
   MOBILE VIEW: LIVE NOTICE COMPACT & HERO PADDING FIT
   Eliminates giant gap between header ticker and hero card
   =============================================================== */
@media screen and (max-width: 991px) {
    .sca-ticker-bar {
        padding: 5px 0 !important;
        margin: 0 !important;
    }

    .sca-ticker-badge {
        font-size: 10px !important;
        font-weight: 800 !important;
        padding: 2px 7px !important;
        gap: 5px !important;
        letter-spacing: 0.03em !important;
        border-radius: 12px !important;
        line-height: 1.35 !important;
    }

    .sca-ticker-badge .pulse-dot {
        width: 5px !important;
        height: 5px !important;
    }

    .sca-ticker-marquee {
        font-size: 12.5px !important;
        font-weight: 600 !important;
    }

    .banner-one {
        min-height: auto !important;
        padding-top: 14px !important;
        padding-bottom: 24px !important;
        display: block !important;
        margin-top: 0 !important;
    }

    .banner-one__content {
        padding: 0 !important;
        margin-top: 0 !important;
    }

    .banner-one__sub-title-box {
        margin-top: 0 !important;
        margin-bottom: 12px !important;
        padding: 5px 12px !important;
    }

    .banner-one__sub-title-box img {
        height: 28px !important;
        width: 28px !important;
    }

    .banner-one__sub-title {
        font-size: 11.5px !important;
        line-height: 1.35 !important;
    }

    .banner-one__title {
        font-size: 23px !important;
        line-height: 1.25 !important;
        margin-top: 0 !important;
        margin-bottom: 12px !important;
    }
}
