

/* Header styles */
.header {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 0;
    height: 101px;
    display: flex;
    align-items: center;
    width: 100%;
}

.header-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 101px;
    width: 100%;
    position: relative;
}

.logo-container {
    position: absolute;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo {
    height: 87px;
    width: 71px;
    object-fit: cover;
}

.logo-container span {
    font-size: 20px;
    line-height: 1.1em;
    font-family: helvetica-w01-bold, helvetica-neue, helvetica, arial, sans-serif;
    font-weight: bold;
    margin-top: -1px;
    margin-left: 8px;
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 25px;
    align-items: center;
    height: 101px;
}

.nav-link {
    text-decoration: none;
    color: #282626;
    font-size: 17px;
    font-weight: 300;
    font-family: helvetica-w01-light, helvetica-neue, helvetica, arial, sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 101px;
    padding: 0 5px;
    line-height: normal;
    white-space: nowrap;
}

.nav-link:hover {
    color: #F9A826;
}

.right-section {
    position: absolute;
    right: 20px;
    top: 0;
    height: 101px;
    display: flex;
    align-items: center;
}

.language-selector {
    border: 1px solid rgba(var(--borderColor,32,32,32), 1);
    padding: 8px 15px;
    border-radius: 0;
    display: flex;
    align-items: center;
    background-color: #fff;
    position: relative;
    cursor: pointer;
    width: 90px;
    height: 45px;
    justify-content: space-between;
    box-sizing: border-box;
}

.selected-lang {
    font-size: 17px;
    font-weight: 300;
    font-family: helvetica-w01-light, helvetica-neue, helvetica, arial, sans-serif;
}

.chevron-icon {
    color: #000;
    margin-left: 10px;
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-left: -1px;
    width: 90px;
    background-color: #fff;
    border: 1px solid rgba(var(--borderColor,32,32,32), 1);
    border-top: none;
    z-index: 10;
    box-sizing: border-box;
}

.language-dropdown a {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    color: #282626;
    font-size: 17px;
    font-weight: 300;
    font-family: helvetica-w01-light, helvetica-neue, helvetica, arial, sans-serif;
}

.language-selector.active {
    background-color: #fff;
}

.language-selector.active .chevron-icon {
    transform: rotate(180deg);
}

.language-selector.active .language-dropdown {
    display: block;
}

@media (max-width: 1024px) {
    .header-content {
        max-width: 90%;
    }
}

/* Add specific styling for tablet screens */
@media (min-width: 769px) and (max-width: 1023px) {
    .header-content {
        justify-content: center;
    }
    
    .nav-links {
        position: relative;
        left: auto;
        transform: none;
        justify-content: center;
        width: calc(100% - 180px); /* Adjust width to leave space for logo */
        margin-left: 200px; /* Reduced margin to move links slightly to the right */
        padding-right: 100px; /* Adjusted space for language selector */
        box-sizing: border-box;
        gap: 15px; /* Maintain reduced gap between links */
    }
    
    .nav-link {
        font-size: 14px; /* Maintain slightly smaller font size */
        padding: 0 3px; /* Maintain reduced horizontal padding */
    }
    
    .logo-container {
        z-index: 1; /* Ensure logo stays above other elements */
        width: 180px; /* Fixed width for logo container */
    }
    
    .right-section {
        z-index: 1; /* Ensure language selector stays above other elements */
        width: 90px; /* Fixed width for language selector */
    }
}

@media (max-width: 768px) {
    .header {
        height: auto;
        padding: 15px 0 25px;
        position: relative;
    }
    
    .header-content {
        height: auto;
        flex-direction: column;
        gap: 15px;
        position: relative;
        padding-top: 50px;
    }
    
    .logo-container {
        position: absolute;
        top: 12px;
        left: 15px;
        transform: translateY(0);
        justify-content: flex-start;
        display: flex;
        align-items: center;
    }
    
    .logo {
        height: 60px;
        width: 49px;
    }
    
    .logo-container span {
        font-size: 18px;
        margin-top: 3px;
        display: inline-block;
    }
    
    .nav-links {
        position: static;
        transform: none;
        flex-wrap: wrap;
        justify-content: center;
        height: auto;
        padding: 10px 0;
        gap: 16px;
        margin-top: 35px;
    }
    
    .nav-link {
        height: auto;
        padding: 8px 5px;
        font-size: 16px;
    }
    
    .right-section {
        position: absolute;
        top: 15px;
        right: 15px;
        transform: translateY(7px);
        height: auto;
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 15px 0 20px;
    }
    
    .header-content {
        padding-top: 45px;
    }
    
    .logo-container {
        top: 10px;
        left: 10px;
    }
    
    .logo {
        height: 55px;
        width: 45px;
    }
    
    .logo-container span {
        font-size: 16px;
    }
    
    .right-section {
        top: 13px;
        right: 10px;
    }
    
    .nav-links {
        gap: 12px;
        margin-top: 30px;
    }
    
    .nav-link {
        padding: 6px 4px;
        font-size: 15px;
    }
}
