header {

    width: 100%;
    display: flex;
    justify-content: center;
}

header .nav {

    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    margin: auto;
    margin-top: 10px;
    
    padding: 0px 20px;
    border-radius: 50px;
    max-width: 1400px;
    box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.1),
        /* Inner shadow */
    ;
    /* Outer shadow for a subtle depth */
    /* Light border for definition */
    transition: all 0.3s ease-in-out;
    /* Smooth hover effect */

}
.mob{
    width: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.mob a{
    text-decoration: none;
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: rgb(29, 29, 29);
}
.des{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.language {
    display: flex;
    align-items: center;
    position: relative;
    /* For dropdown positioning */

}

.lang {
    display: flex;
    align-items: center;
    position: relative;
    /* For dropdown positioning */
    color: #fca038;
    border: #fca038 solid 1px;
    padding: 10px 20px;
    border-radius: 25px;


}

.lang svg {
    display: block;
    /* Prevent unwanted inline behavior */
}

.language p {
    font-weight: 300;
    font-size: 18px;
    margin: 0px 5px 0px 15px;
}

/* Dropdown styling */
.language .dropdown {
    position: absolute;
    top: 100%;
    /* Position below the button */
    left: 0;
    background: white;
    border: 1px solid #fca038;
    border-radius: 10px;
    padding: 10px 0;
    display: none;
    /* Hidden by default */
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.language .dropdown li {
    list-style: none;
    padding: 8px 20px;
    font-size: 16px;
    color: #fca038;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.language .dropdown li:hover {
    background-color: #fca038;
    color: white;
}

/* Show dropdown when active */
.language.active .dropdown {
    display: block;
}

.language .arrow-icon {
    width: 16px;
    /* Ensure consistent width */
    height: 12px;
    /* Ensure consistent height */
    margin-right: 5px;
    /* Adjust spacing from text */
    transition: transform 0.3s ease;
}

.language.active .arrow-icon {

    transform: rotate(180deg);
    /* Rotate arrow when dropdown is active */
}

.language1{
    margin-bottom: 20px;
}
.language1 p {
    font-weight: 300;
    font-size: 18px;
    margin: 0px 5px 0px 15px;
}

/* Dropdown styling */
.language1 .dropdown {
    position: absolute;
    top: 100%;
    /* Position below the button */
    left: 0;
    background: white;
    border: 1px solid #fca038;
    border-radius: 10px;
    padding: 10px 0;
    display: none;
    /* Hidden by default */
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.language1 .dropdown li {
    list-style: none;
    padding: 8px 20px;
    font-size: 16px;
    color: #fca038;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.language1 .dropdown li:hover {
    background-color: #fca038;
    color: white;
}

/* Show dropdown when active */
.language1.active .dropdown {
    display: block;
}

.language1 .arrow-icon {
    width: 16px;
    /* Ensure consistent width */
    height: 12px;
    /* Ensure consistent height */
    margin-right: 5px;
    /* Adjust spacing from text */
    transition: transform 0.3s ease;
}

.language1.active .arrow-icon {

    transform: rotate(180deg);
    /* Rotate arrow when dropdown is active */
}


.center-header {
    display: flex;
    align-items: center;
    /* Vertically align items */
    justify-content: center;
    /* Center align items horizontally */
    background-color: white;
    padding: 10px 30px;
    border-radius: 50px;
    box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.1),
        /* Inner shadow */
    ;
    /* Outer shadow for a subtle depth */
    border: 1px solid rgba(0, 0, 0, 0.1);
    /* Light border for definition */
    transition: all 0.3s ease-in-out;
    /* Smooth hover effect */
}

#active {
    color: white;
    background: linear-gradient(45deg, #fca038, #ff7f50);
    /* Gradient background */
    padding: 5px 20px;
    /* Padding for better spacing */
    border-radius: 30px;
    /* Rounded corners */
    border: none;
    /* Removes any default border */
    transition: all 0.3s ease;
    /* Smooth transition for hover effects */
    text-align: center;
    /* Centers the text */
}

/* Add hover effect */
#active:hover {
    background: linear-gradient(45deg, #ff7f50, #fca038);
    /* Reverse gradient on hover */
}



.center-header a {
    text-decoration: none;
    font-size: 18px;
    margin-left: 25px;
    margin-right: 25px;
    color: rgb(29, 29, 29);
}

.menu-btn {
    display: none;
}

.web-icon {
    display: block;
}

@media screen and (max-width: 1300px) {
    .language .arrow-icon {
        display: none;
    }

    .language p {
        display: none;
    }

    .center-header {
        display: flex;
        align-items: center;
        /* Vertically align items */
        justify-content: center;
        /* Center align items horizontally */
        background-color: white;
        padding: 10px 5px;
        border-radius: 40px;
        box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.1),
            /* Inner shadow */
        ;
        /* Outer shadow for a subtle depth */
        border: 1px solid rgba(0, 0, 0, 0.1);
        /* Light border for definition */
        transition: all 0.3s ease-in-out;
        /* Smooth hover effect */
    }

    .center-header a {
        text-decoration: none;
        font-size: 16px;
        margin-left: 15px;
        margin-right: 15px;
        color: rgb(29, 29, 29);
    }
}

@media screen and (max-width: 950px) {
    .language .arrow-icon {
        display: none;
    }

    .language p {
        display: none;
    }

    .center-header {
        display: flex;
        align-items: center;
        /* Vertically align items */
        justify-content: center;
        /* Center align items horizontally */
        background-color: white;
        padding: 10px 15px;
        border-radius: 40px;
        box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.1),
            /* Inner shadow */
        ;
        /* Outer shadow for a subtle depth */
        border: 1px solid rgba(0, 0, 0, 0.1);
        /* Light border for definition */
        transition: all 0.3s ease-in-out;
        /* Smooth hover effect */
    }

    .center-header a {
        text-decoration: none;
        font-size: 15px;
        margin-left: 10px;
        margin-right: 10px;
        color: rgb(29, 29, 29);
    }
    .mob{
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .center-header {
        display: none;
    }
    
    .logo img {
        width: 150px;
    }

    .lang {
        display: flex;
        align-items: center;
        position: relative;
        /* For dropdown positioning */
        color: #fca038;
        border: #fca038 solid 1px;
        padding: 10px;
        border-radius: 25px;

    }

    .menu-btn {
        display: block;
    }

    .language {
        display: none;
    }
   
    header .nav {
        margin: auto;
        padding: 5px 50px;
        margin: 10px 20px;
        
    }

}

@media screen and (max-width: 480px) {
    header .nav {
        z-index: 999;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        width: 90%;
        margin: auto;
        margin-top: 15px;
        
        padding: 0px 20px;
        border-radius: 30px;
        max-width: 1400px;
        box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.1),
            /* Inner shadow */
        ;
        /* Outer shadow for a subtle depth */
        /* Light border for definition */
        transition: all 0.3s ease-in-out;
        /* Smooth hover effect */
    
        
    }

}