/* MEGA MENU - FIXED WIDTH */

/* Reset any conflicting styles */
.navigation__menu--item.mega-menu,
.navigation__menu--item.mega-menu *,
.rts-megamenu,
.rts-megamenu * {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    direction: ltr !important;
}

/* Mega menu parent */
.navigation__menu--item.mega-menu {
    position: static !important;
}

/* Mega menu dropdown container */
.navigation__menu--item.mega-menu .rts-megamenu {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(20px) !important;
    top: 100% !important;
    background: #fff !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    padding: 40px 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    z-index: 999 !important;
    display: block !important;
    width: auto !important;
    max-width: 1320px !important;
    min-width: 800px !important;
}

.navigation__menu--item.mega-menu:hover .rts-megamenu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}

/* Container inside mega menu */
.rts-megamenu .container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
}

/* Row */
.rts-megamenu .row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    margin: 0 -12px !important;
}

/* Columns */
.rts-megamenu .col-lg-3 {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    width: 25% !important;
    padding: 0 12px !important;
    float: none !important;
    display: block !important;
}

.rts-megamenu .col-md-6 {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    width: 25% !important;
    padding: 0 12px !important;
}

/* Mega menu item */
.mega-menu-item {
    padding: 0 !important;
    display: block !important;
}

/* Title */
.mega-menu-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
    color: #1a1a1a !important;
    display: block !important;
    white-space: normal !important;
}

.mega-menu-title a {
    color: #1a1a1a !important;
    text-decoration: none !important;
    display: inline !important;
}

.mega-menu-title a:hover {
    color: #007bff !important;
}

/* Description */
.mega-menu-desc {
    font-size: 14px !important;
    color: #666 !important;
    margin-bottom: 15px !important;
    line-height: 1.6 !important;
    display: block !important;
    white-space: normal !important;
}

/* List */
.mega-menu-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}

.mega-menu-list li {
    margin-bottom: 8px !important;
    display: block !important;
}

.mega-menu-list li a {
    color: #666 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    display: inline-block !important;
    padding: 5px 0 !important;
    transition: all 0.3s ease !important;
    white-space: normal !important;
}

.mega-menu-list li a:hover {
    color: #007bff !important;
    padding-left: 10px !important;
}

.mega-menu-list li a i {
    margin-right: 8px !important;
    display: inline-block !important;
}

/* Responsive */
@media (max-width: 991px) {
    .rts-megamenu .col-lg-3,
    .rts-megamenu .col-md-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
}

@media (max-width: 575px) {
    .navigation__menu--item.mega-menu .rts-megamenu {
        min-width: 300px !important;
    }

    .rts-megamenu .col-lg-3,
    .rts-megamenu .col-md-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* Top Banner */
.header-top-banner {
    background: #8b0000;
    padding: 10px 0;
    text-align: center;
}

.banner-content a,
.banner-content span {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
}

.banner-content a:hover {
    opacity: 0.9;
}

/* Video banner uchun arrow line ni o'chirish */
.banner__video--wrapper::before,
.banner__video--wrapper .banner__wrapper--bg::before {
    display: none !important;
    content: none !important;
}

/* Video banner height */
.banner__video--wrapper {
    min-height: 100vh !important;
    max-height: 100vh !important;
    height: 100vh !important;
    position: relative !important;
}

.banner__video--wrapper .banner__height {
    min-height: 100vh !important;
    max-height: 100vh !important;
    height: 100vh !important;
}

/* Video banner - COMPLETE FIX */
.banner__video--wrapper {
    position: relative !important;
    width: 100% !important;
    min-height: 100vh !important;
    height: 100vh !important;
    overflow: hidden !important;
}

.video-background {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 0 !important;
}

.video-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 1 !important;
}

.banner__video--wrapper .container {
    position: relative !important;
    z-index: 10 !important;
}

.banner__video--wrapper .banner__height {
    position: relative !important;
    z-index: 10 !important;
    min-height: 100vh !important;
    height: 100vh !important;
    display: flex !important;
    align-items: center !important;
}

.banner__video--wrapper .banner__slides--container {
    position: relative !important;
    z-index: 10 !important;
}

.banner__video--wrapper .banner__slides--content {
    position: relative !important;
    z-index: 10 !important;
    color: #fff !important;
    opacity: 1 !important;
    animation: none !important;
}

.banner__video--wrapper .banner__slides--content--sub {
    position: relative !important;
    z-index: 10 !important;
    color: #fff !important;
    opacity: 1 !important;
    animation: none !important;
}

.banner__video--wrapper .banner__slides--content--title {
    position: relative !important;
    z-index: 10 !important;
    color: #fff !important;
    opacity: 1 !important;
    animation: none !important;
}

.banner__video--wrapper .rts-theme-btn {
    position: relative !important;
    z-index: 10 !important;
    opacity: 1 !important;
    animation: none !important;
    display: inline-block !important;
}

/* Barcha child elementlar uchun */
.banner__video--wrapper .banner__slides--content * {
    opacity: 1 !important;
    animation: none !important;
}