/* Navigation styles */
.nav {
    background-color: transparent;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    height: 140px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1000;
    /*  */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 35%, rgba(0, 0, 0, 0.5) 70%, rgba(227, 237, 238, 0) 100%);
    transition: 0.3s ease-in-out
}
.nav.scrolled{
    background-color: #000000f2;
    height: 80px;
}
.nav:hover {
    background: white;
    height: 80px;
}
.nav:hover .site_name{
    color: black;
    font-size: 10px;
}
.nav:hover .nav-button {
    color: black;
}
.nav:hover .quick-link{
    color: black;
}
.nav:hover .logo img{
    width: 70px;
    height: 40px;
}
.site_name{
    color: white;
    font-size: 12px;
}
.nav.scrolled {
    background: white;
    height: 80px;
}

.scrolled.scrolled .site_name {
    color: black;
    font-size: 10px;
}

.nav.scrolled .nav-button {
    color: black;
}
.nav.scrolled .quick-link {
    color: black;
}
.nav.scrolled .logo img{
    width: 70px;
    height: 40px;
}
.nav.scrolled .mobile-menu-button {
    color: #000;
    cursor: pointer;
}
.nav-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

/* Logo styles */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-direction: column;
}
.logo a{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.logo img{
    width: 80px;
    height: 50px;
    object-fit: contain;
    transition: 0.3s ease-in-out;
}

/* Desktop navigation styles */
.desktop-nav {
    display: none;
    align-items: center;
    gap: 14px;
}

.nav-item {
    position: relative;
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
    background: none;
    border: none;
    color: #fff;
    font-weight: 400;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.2s;
    text-transform: capitalize;
}

.nav-button:hover {
    color: #047aaa;
}

.chevron {
    transition: transform 0.2s;
}
.relative{
    position: relative;
}
/* Mega menu styles */
.mega-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    margin-top: -0.5rem;
    padding-top: 10px;
    width: 100%;
    min-width: 250px;
    max-width: 36rem;
    background-color: transparent;
    transition: all 0.2s ease-in-out;
    pointer-events: none;
}
.middle-width{
    min-width: 45rem;
}
.nav.scrolled .mega-menu{
    padding-top: 22px;
}

.mega-menu-grid {
    background-color: white;
    border: 1px solid rgb(229, 231, 235);
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 1.5rem;
}

.nav-item:hover .mega-menu,
.mega-menu:hover {
    visibility: visible;
    opacity: 1;
    margin-top: 0;
    pointer-events: auto;
}

.mega-menu-column h3 {
    font-size: 0.875rem;
    font-weight: 800;
    color: rgb(31, 41, 55);
    margin-bottom: 0.75rem;
    text-decoration: underline;
}

.mega-menu-column ul {
    list-style: none;
    padding: 0;
}

.mega-menu-column ul li {
    margin-bottom: 0.5rem;
}

.mega-menu-column ul li a {
    color: #000;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.mega-menu-column ul li a:hover {
    color: #047aaa;
}

/* Quick links styles */
.quick-links {
    display: none;
    align-items: center;
    gap: 1rem;
}

.quick-link {
    color: #fff;
    transition: color 0.2s;
    display: flex;
        align-items: end;
        gap: 5px;
        text-decoration: none;
}
.quick-link svg{
    width: 24px;
    height: 24px;
    /* stroke: #fff; */
}

.quick-link.lang svg{
    width: 30px;
    height: 30px;
}
.quick-link:hover {
    color: #047aaa;
}

/* Mobile menu button styles */
.logo_sideBar img{
    width: 100%;
    height: 110px;
    object-fit: contain;
    transition: 0.3s ease-in-out;
    margin-bottom: 20px;
}
.mobile-menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}


.menu-icon, .close-icon {
    width: 1.5rem;
    height: 1.5rem;
}

/* Mobile navigation styles */
.mobile-nav {
    /* background-color: white; */
    padding: 0rem;
    position: relative;
}

.mobile-nav-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.mobile-nav-item a{
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
    padding: 0.75rem;
}
.mobile-nav-button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.75rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    text-align: left;
    font-weight: 500;
}

.mobile-nav-icon {
    margin-right: 0.5rem;
}

.mobile-chevron {
    margin-left: auto;
    transition: transform 0.2s;
}

.mobile-chevron.active {
    transform: rotate(180deg);
}

.mobile-submenu {
    padding: 1rem 1.5rem;
}

.mobile-submenu.hidden {
    display: none;
}

.mobile-submenu-section {
    margin-bottom: 1.5rem;
}

.mobile-submenu-section h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}

.mobile-submenu-section ul {
    list-style: none;
    padding-left: 0;
}

.mobile-submenu-section ul li {
    margin-bottom: 0.5rem;
}

.mobile-submenu-section ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    opacity: 0.75;
    transition: color 0.2s;
    font-weight: 400;
}




@media(max-width: 1300px){
    .nav-button{
        font-size: 13px;
    }
}
@media (min-width: 1199px) {
    .desktop-nav {
        display: flex;
    }
    .mobile-menu-button {
        display: none;
    }
    .quick-links {
        display: flex;
    }
}

@media(max-width:767px){
    .swiper_news_next, .swiper_news_prev{
        display: none !important;
    }
}
