/* Hero White Line Fix */
html,
body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

html {
    background: #0a0a1e !important;
    scroll-padding-top: 0 !important;
}

body {
    background: #0a0a1e !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Ensure header is flush with top */
.header {
    margin-top: 0 !important;
    top: 0 !important;
}

/* Hide scrollbars completely */
::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

* {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

/* Hero section - ensure full width with no gaps */
.hero {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: #0a0a1e !important;
    overflow-x: hidden !important;
    min-height: 90vh !important;
}

@media (max-width: 768px) {
    .hero {
        min-height: 70vh !important;
    }
}

.hero-bg-image {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #0a0a1e !important;
}

.hero-bg-image img,
.hero-bg-image video {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    left: 0 !important;
}

.hero-overlay {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Container fixes - Removed max-width 100% to allow centering */
.container {
    overflow-x: visible !important;
    /* Allow content to wrap naturally */
}

.hero .container {
    width: 100% !important;
    max-width: 100% !important;
}

/* Ensure dropdowns work */
.nav-item.has-dropdown {
    z-index: auto;
}

.nav-item.has-dropdown:hover {
    z-index: 1002;
}