/* Styles for the desktop header */

#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background-color: #ffffff;
    padding: 20px 40px;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

#headerLeftAyoraDiv {
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    color: #0088cc;
    letter-spacing: -0.5px;
    transition: all 0.2s ease;
    position: relative;
    padding: 4px 0;
}

#headerLeftAyoraDiv:hover {
    color: #006ba3;
    transform: translateY(-1px);
}

#headerLeftAyoraDiv::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0088cc, #006ba3);
    transition: width 0.3s ease;
    border-radius: 2px;
}

#headerLeftAyoraDiv:hover::after {
    width: 100%;
}

#headerRightPartOuterDiv {
    display: flex;
    gap: 30px;
    align-items: center;
}

#headerRightPartGlobeIcon {
    width: 23px;
    height: 23px;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.7;
}

#headerRightPartGlobeIcon:hover {
    transform: scale(1.1);
    opacity: 1;
}

@media screen and (max-width: 850px) {
    #header {
        display: none;
    }
}

/* Styles for the mobile header */

#headerForMobile {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 16px 20px;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
}

#headerForMobileUpperLayer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#headerForMobileLeftAyoraPart {
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    color: #0088cc;
    letter-spacing: -0.5px;
    transition: all 0.2s ease;
    position: relative;
    padding: 4px 0;
    white-space: nowrap;
}

#headerForMobileLeftAyoraPart:hover {
    color: #006ba3;
    transform: translateY(-1px);
}

#headerForMobileLeftAyoraPart::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0088cc, #006ba3);
    transition: width 0.3s ease;
    border-radius: 2px;
}

#headerForMobileLeftAyoraPart:hover::after {
    width: 100%;
}

#headerForMobileRightPartOuterDiv {
    display: flex;
    gap: 20px;
    align-items: center;
}

#headerForMobileRightPartGlobeIcon {
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.7;
}

#headerForMobileRightPartGlobeIcon:hover {
    transform: scale(1.1);
    opacity: 1;
}

@media screen and (max-width: 850px) {
    #headerForMobile {
        display: flex;
    }
}

@media screen and (max-width: 360px) {
    #headerForMobile {
        padding: 14px 16px;
    }

    #headerForMobileLeftAyoraPart {
        font-size: 20px;
    }
}

@media screen and (max-width: 320px) {
    #headerForMobile {
        padding: 12px 14px;
    }

    #headerForMobileLeftAyoraPart {
        font-size: 18px;
    }

    .enable-sticky #headerForMobile.scrolled {
        padding: 12px 14px;
    }
}

/* Sticky header behavior enabled only on pages that set the body class 'enable-sticky' */
.enable-sticky #header,
.enable-sticky #headerForMobile {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.enable-sticky #header.scrolled,
.enable-sticky #headerForMobile.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-bottom-color: rgba(0, 0, 0, 0.08);
    padding: 16px 40px;
}

.enable-sticky #headerForMobile.scrolled {
    padding: 14px 20px;
}