.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: black;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-container {
    max-width: 1800px;
    width: 100%;
    margin: auto;
    padding: 10px 20px;
    display: flex;
    gap: 40px;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    font-size: 1.2rem;
}

.logo img {
    height: 80px;
    width: auto;
    border-radius: 4px;
    background-color: white;
    padding: 4px;
}

.nav-links {
    display: flex;
    gap: 30px;
}


@media (min-width:1400px) {

.nav-links {
     gap:50px;
}

}


.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #e3b841;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-icons i {
    font-size: 1.2rem;
    background: #1f1f1f;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
}

.btn-register {
    background-color: #17B636;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-register:hover {
    background-color: #e3b841;
}

.btn-signin {
    background-color: #00A5DF;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
}

.nav-item {
    position: relative;
}

.nav-item>a {
    display: inline-block;
    padding: 10px 0;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1a1a1a;
    padding: 10px 0;
    min-width: 180px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
    border-radius: 4px;
}

.dropdown a {
    display: block;
    padding: 10px 16px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    white-space: nowrap;
    transition: background 0.3s;
}

.dropdown a:hover {
    background-color: #2a2a2a;
    color: #e3b841;
}

@media (min-width: 1200px) and (max-width:1399px) {

.nav-links {
    gap: 20px;
}

.nav-links a {
    font-size: 18px;
}


}


@media (min-width: 1025px) {
    .nav-item:hover .dropdown {
        display: block;
    }
}

@media (max-width: 1024px) {
    .navbar {
        position: static;
        top: 0;
        left: 0;
        right: 0;
        background-color: black;
        z-index: 1000;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .navbar-container {
        width: 100%;
        margin: 0px;
    }
    .nav-links,
    .nav-icons {
        display: none;
    }
    .mobile-menu-icon {
        display: inline-block;
        font-size: 2.3rem;
        color: white;
        cursor: pointer;
    }
    .mobile-nav {
        display: none;
        flex-direction: column;
        background-color: #1a1a1a;
        padding: 1rem 2rem;
    }
    .mobile-nav.active {
        display: flex;
    }
    .mobile-nav a {
        padding: 0.5rem 0;
        color: white;
        text-decoration: none;
        font-weight: 500;
        width: 50%;
        text-align: center;
        border-bottom: 1px solid #333;
    }

    .btn-register{
        width: 50%;
    }
    .mobile-nav a:hover {
        color: #e3b841;
    }
}

/* Always define base styles outside media queries */

.mobile-nav {
    display: none;
    flex-direction: column;
    background-color: #1a1a1a;
    padding: 1rem 2rem;
}

.mobile-nav a {
    padding: 0.5rem 0;
    color: white;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #333;
}

.mobile-nav a:hover { 
    color: black;
}

.mobile-nav.active {
    display: flex;
    width: 100%;
}

/* Mobile dropdown toggle */

@media (max-width: 1024px) {
    .mobile-nav .dropdown {
        display: none;
        flex-direction: column;
        padding-left: 1rem;
    }
    .logo img {
        height:55px;
        width: auto;
        border-radius: 4px;
        padding: 5px;
    }
    .mobile-nav .nav-item.open .dropdown {
        display: flex;
    }
    .mobile-nav .nav-item>a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        width: 100%;
    }
    .mobile-nav .nav-item>a i {
        transition: transform 0.3s ease;
    }
    .mobile-nav .nav-item.open>a i {
        transform: rotate(180deg);
    }
}


@media (max-width:767px) {
    
.logo img {
    height: 50px;
    padding:5px;
}

}




/* Hide mobile menu on large screens */

@media (min-width: 1025px) {
    .mobile-menu-icon {
        display: none;
    }
    .logo {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-weight: bold;
        font-size: 1.2rem;
        /*width: 20%;*/
    }
    .mobile-nav {
        display: none !important;
    }
}

@media (min-width: 1280px) {
    .logo {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-weight: bold;
        font-size: 1.2rem;
    }
}

.language-dropdown {
    position: relative;
    display: inline-block;
    margin: 1rem 0;
}

.language-dropdown select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background: #fff;
    border: 2px solid #e3b841;
    border-radius: 8px;
    padding: 8px 16px;

    font-size: 1rem;
    font-weight: 600;
    color: #333;

    cursor: pointer;
    transition: all 0.3s ease;
}


.language-dropdown select:hover {
    border-color: #c49a2c;
    box-shadow: 0 4px 10px rgba(227, 184, 65, 0.3);
}

.language-dropdown select:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}




