
.navbar, .mega-menu, .dropdown-menu {
    font-family: 'Inter', sans-serif!important;
}
.mega-menu h3, .navbar .nav-link {
    font-weight: 600;
}


    .mege-menu .dropdown-bridge {
        position: absolute;
        top: 70%;
        height: 52px;
        width: 178px;
        z-index: 999;
    }
    /* Base styles for all dropdown links inside .drop-down-pages */
.drop-down-pages li a {
    position: relative;
    padding-left: 20px; /* space for arrow */
    color: #000;
    background-color: transparent;
    transition: all 0.3s ease;
}

/* Arrow before each dropdown link */
.drop-down-pages li a::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #000;
    transition: all 0.3s ease;
}

/* Hover effect: text, background, arrow color */
.drop-down-pages li a:hover {
    padding-left: 25px;
    
    color: #fff!important;
}

.drop-down-pages li a:hover::before {
    color: #fff;
}
.navbar-nav .nav-item .main-menu{
    color:#fff!important;
    text-transform: capitalize;
    font-size:15px;
}

    /* Hover to show dropdown */
.hover-dropdown {
    position: relative;
}

.hover-dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0; /* avoid gap between parent and dropdown */
}

/* Optional dropdown styling */
.hover-dropdown .dropdown-menu {
    display: none;
    top: 100%;
    left: -80px;
    z-index: 1000;
    border-radius: 0;
    border: 1px solid #eee;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}


.hover-dropdown:hover > a::after {
    display: block;
}


    /* Mega menu full width dropdown */
.mega-dropdown .dropdown-menu {
    position: absolute;
    width: 100vw; /* full screen width */
    left: 25%;
    top: 95%;
    display: none;
    margin-top: 0;
    border: none;
    border-radius: 0;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background: #fff;
    z-index: 1000;
    transition: all 0.2s ease-in-out;
}

/* Show dropdown on hover */
.mega-dropdown:hover .dropdown-menu {
    display: block;
}

/* Styling for each dropdown link */
.mega-menu .dropdown-item {
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    display: block;
}

.mega-menu .dropdown-item:hover {
    background-color: #f8f9fa;
}

/* Ensure parent position doesn't interfere */
.mega-dropdown {
    position: inherit !important;
}



/* Arrow between parent and mega dropdown */
.mega-dropdown > a::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
    z-index: 1001;
    display: none;
}

.mega-dropdown:hover > a::after {
    display: block;
}

/* Invisible bridge to avoid dropdown hiding when moving mouse */
.normal-menu .dropdown-bridge {
    position: absolute;
    top: 72%;

    height: 52px;
    width: 85px;
    z-index: 999;}

.caret {
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}


   .submenu-one{
        display:grid;
        grid-template-columns: repeat(3, 1fr); 
        gap: 1rem;
    }
        .mega-menu .submenu-one .submenu-heading a{
            font-weight:800;
        }
                .mega-menu .submenu-one .submenu-heading .active {
    color: #fff !important;
}

/* Subcategory links */
.mega-menu ul li ul li a {
    position: relative;
    padding-left: 20px; /* Space for arrow */
}

/* Always show → arrow */
.mega-menu ul li ul li a::before {
    content: "→"; /* Unicode arrow */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px; /* Optional: adjust size */
    color: #000;     /* Optional: arrow color */
}
.navbar-nav .mega-child li a{
    padding-left: 15px!important;
}

.header .navbar-nav .mega-dropdown .dropdown-menu .mega-child a:hover {
    background-color: #1e387f !important;
    color: #fff !important;
}

.header .navbar-nav .mega-dropdown .dropdown-menu .mega-child a:hover::before {
    color: #fff !important;
}
.header2 .navbar-nav .mega-child .nav-item a{
    color:#1e387f !important;   
}
.header2 .navbar-nav .mega-dropdown .dropdown-menu .mega-child a{
    text-transform: capitalize;
}
.navbar-nav .main-menu a{
    color:#fff!important;
    text-transform: capitalize;
    font-size:15px;
}


@media screen and (max-width: 991px) {
    .navbar li {
        padding: 8px 0 0 0;
    }
    .normal-menu .dropdown-bridge{
        display:none;
        z-index:0;
    }
    .submenu-one{
        display:block;
    }
}

@media screen and (max-width: 991px) {

    /* Fix megamenu dropdown stacking */
    .mega-dropdown {
        position: static !important;
    }

    .navbar-collapse .navbar-nav{
                padding-top: 20px!important;
    }
    
    .mega-dropdown .dropdown-menu.mega-menu {
        position: static !important;
        display: none;
        width: 100% !important;
        position: static !important;
        box-shadow: none;
        border: none;
        background: #f9f9f9;
        margin-top: 0;
        padding: 10px 15px;
    }

    .mega-dropdown.open .dropdown-menu.mega-menu {
        display: block !important;
    }

    /* Make columns stack in mobile */
    .submenu-one {
        display: block !important;
    }

    .submenu-one > li {
        margin-bottom: 15px;
    }

    /* Optional: reduce padding */
    .mega-menu .dropdown-item,
    .mega-menu .mega-child a {
        padding: 8px 15px;
        font-size: 14px;
    }
    .drop-down-pages li a::before{
        right: 108px!important;
    top: 15%;
    transform: rotate(180deg);
    }

    .choose-con .choose_content h2 {
        margin-bottom: 8px;
        font-size: 26px !important;
    }
        .categories2-con .categories_content h2 {
        margin-bottom: 15px;
        font-size: 32px !important;
    }
    .about2-con .about_content h2 {
        margin-bottom: 10px;
        font-size: 31px !important;
        }
    .feature2-con .feature_content h2 {
        margin-bottom: 10px;
        font-size: 40px !important;
    }
    .about3-con .about_content h2 {
        margin-bottom: 10px;
        font-size: 30px !important;
    }
    
        .categories3-con .categories_content h2 {
        margin-bottom: 15px;
        font-size: 30px !important;
    }
    
    .slick-prev{
    z-index: 1!important;
}
.slick-next {
    z-index: 1!important;
}

    .navbar-nav .drop-down-pages .nav-item a {
        padding: 0px 0 !important;
    }
    .drop-down-pages li a::before {
        right: 108px !important;
        top: 13px;
            
        }
        
            
    .drop-down-pages li a::before {
        left: 91px !important;
        top: 13px;
                transform: rotate(6deg);
    }
    
    .about-con .about_content h2 {
        margin-bottom: 10px;
        font-size: 25px !important;
    }
        .about-con .about_content h2 {
        margin-bottom: 10px;
        font-size: 25px !important;
    }
    
}

    .navbar-nav .nav-item a:hover {
            background-color:#1e387f !important;    
    }
        .navbar-nav .drop-down-pages .active > a {
                        background-color:#1e387f !important;   
        }
        
        .navbar-nav .active > a{
                        background-color:#1e387f !important ;  
        }
        .navbar-nav .nav-item .dropdown-item:hover{
            position: static !important;
            background-color:#1e387f !important ;            
        }
        
@media only screen and (min-width: 769px) and (max-width: 912px) 
{
.header .last_list a{
    position: relative;
    margin: 0 71px;
        
    }

}
        
@media only screen and (min-width: 1000px) and (max-width: 1025px) {
    .navbar-nav li {
        margin: 0 !important;
    }

    .navbar-nav .nav-item a {
        font-size: 13px !important;
    }
}
@media screen and (max-width: 767px) {
    .drop-down-pages li a::before {
        left: 0px !important;
        top: 13px;
        transform: rotate(0deg);
    }
}