

@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }    
}

@media (max-width: 1024px) {
    :root {
        --radius: 12px;
    }
    .navbar-collapse {
        background-color: rgba(var(--text-light));
        padding: 10px;
        margin-top: 20px;        
    }
    .navbar-nav {
        margin-bottom: 20px;
    }
    .header-section .navbar-collapse {
        background: rgba(var(--primary1), 0.05);
    }
    
    .navbar-brand{max-width: 100px;}
    .header-right-logo{max-width: 100px;
        margin-left: auto !important; 
    }
    .navbar-toggler{margin-left: 0.5rem;}
    .navbar-brand-wrapper .shape{width: 60px;}
    #main-menu ul li a{color: rgb(var(--color_base));}
   
}

/* Show submenu on hover (desktop) */
@media (min-width: 992px) {
	.dropdown:hover>.dropdown-menu {
		display: block;
	}
}

@media (max-width: 992px) {
	.dropdown>.dropdown-menu {
		position: relative;
		top: 0;
		left: 0;
	}
	.dropdown .dropdown-menu .dropdown .dropdown-menu {
		left: 0;
	}
	#main-menu ul li a .bi {
		display: block;
	}
    #main-menu ul li a{
        padding:15px 0;
    }
    #main-menu ul li ul li a{
        padding:15px;
    }
    #main-menu ul li ul{
        width: 100%;
        border-radius: 0;
    }
}

@media (max-width: 991px) {
    .hero-section .slider .item{aspect-ratio: 1920/ 1000;}    
}



/* Mobile (≤767px) */
@media (max-width: 767.98px) {
    .header-section{border-top: 8px solid rgb(var(--color_white));}
    .f-logo-wrap img{max-width: 100px;}
    .f-logo-wrap{gap: 1rem; flex-direction: row;
        align-items: baseline;
        justify-content: space-between;}
    .inner-banner{
        aspect-ratio: 1920 / 1200;
    }  
    .milestones .bg{height: auto !important;} 
    .milestones-slider-wrap {margin-top: 2rem;}
    .timeline-dot{top: 45px;}
    .group-companies-tabs{flex-wrap: nowrap;
    justify-content: flex-start !important;
    overflow: hidden;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    }
    .group-companies-tabs .nav-link{
        padding: 1rem 0;
        white-space: nowrap;
    }
    .company-card img {
    width: 80px;
    }
    .faq-accordion .accordion-body .list-item{
        padding: 1.5rem 0.5rem;
    }
}

/* Extra Small Devices */
@media (max-width: 575.98px) {
 
    .header-section .navbar-nav {
        margin-right: 0 !important;
    }

    .navbar-brand {
        padding: 0;
        position: inherit;
        top: 0;
    }

    .hero-slide {
        height: auto;
        min-height: 480px;
        padding-top: 5rem;
        padding-bottom: 3.5rem;
    }

}

/* Brochure Responsive Rules */
@media (max-width: 991.98px) {
    .brochure-card {
        border-radius: 30px 30px 0 0;
    }
    .brochure-content {
        padding: 2.5rem 1.75rem !important;
    }
    .brochure-img-wrap {
        min-height: 280px;
    }
}

@media (max-width: 575.98px) {
    .brochure-card {
        border-radius: 20px;
    }
    .brochure-actions {
        flex-direction: column;
        align-items: stretch !important;
        width: 100%;
    }
    
}

/* Mobile Owl Carousel Overrides for News Section */
@media (max-width: 991.98px) {
    .news-slider.owl-carousel {
        display: block;
        margin: 0;
        width: 100%;
    }
    .news-slider.owl-carousel .owl-stage-outer {
        overflow: visible;
        padding-bottom: 0.5rem;
    }
    .news-slider.owl-carousel .owl-dots {
        margin-top: 1.5rem;
        text-align: center;
    }
    .news-slider.owl-carousel .owl-dot span {
        width: 10px;
        height: 10px;
        margin: 0 4px;
        background: rgba(var(--primary1), 0.2);
        display: inline-block;
        border-radius: 50%;
        transition: all 0.3s ease;
    }
    .news-slider.owl-carousel .owl-dot.active span {
        background: rgb(var(--primary2));
        width: 24px;
        border-radius: 10px;
    }
}
