/* Footer Section */
.footer {
    background-color: #0B141B;
    padding: 2.5rem 1.5rem;
    width: 100%;
    padding-bottom: 8.125rem;
}

.footer-content {
    max-width: 75rem;
    margin: 0 auto;
}

/* Footer Top Section */
.footer-top {
    margin-bottom: 1.875rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.logo-text {
    color: #FFFFFF;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.logo-separator {
    width: 0.0625rem;
    height: 1.875rem;
    background-color: #CCCCCC;
}

.footer-social-icons {
    display: flex;
    gap: 0.1875rem;
    width:100%;
}

.footer-social-icon {
    flex-basis: 16.6%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.footer-social-icon img {
    width: 100%;
    height: auto;
    max-width: 2.5rem;
    max-height: 2.5rem;
    object-fit: contain;
    border-radius:50%;
}

.footer-social-icon:hover {
    transform: scale(1.1);
}

/* Footer Middle Section */
.footer-middle {
    margin-bottom: 40px;
}

.footer-description {
    color: #FFFFFF;
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0 0 1.25rem 0;
}
.language-selector-container{
    width:100%;
    display:flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.language-selector {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.625rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    width: 9.375rem;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    outline: none;
    border: none;
    text-decoration: none;
}

.language-selector:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2F3E4A;
    border-radius: 8px;
    padding: 0;
    margin-top: 4px;
    width: 9.375rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 1000;
}

.language-dropdown.show {
    max-height: 10rem;
    padding: 0.25rem 0;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    cursor: pointer;
}

.language-option:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.language-option:first-child {
    border-radius: 8px 8px 0 0;
}

.language-option:last-child {
    border-radius: 0 0 8px 8px;
}

.flag-icon {
    width: 1.25rem;
    height: 0.9375rem;
    object-fit: cover;
    border-radius: 2px;
}

.language-text {
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 600;
}

.language-chevron {
    color: #FFFFFF;
    font-size: 0.75rem;
}

/* Footer Bottom Section */
.footer-bottom {
    display: flex;
    gap: 5rem;
}

.footer-column {
    flex: 1;
}

.column-title {
    color: #FFFFFF;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.3125rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #FFFFFF;
}

.footer-top .language-selector-container {
    display: none;
}


@media (min-width: 768px) {

    .footer{
        padding-bottom: 1vw;
    }

    .footer-top {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .footer-social-icons{
        width:auto;
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 0.5vw;
    }
    .footer-social-icon{
        flex-basis: auto;
    }

    .footer-social-icon img{
        width:2vw;
        height:2vw;
    }

    .footer-logo{
        justify-content: flex-start;
    }

    .language-selector-container {
        margin-left: 1.04vw;
    }

    .footer-middle {
        position: relative;
    }

    .language-selector-container {
        display: block;
    }

    .footer-top .language-selector-container {
        display: block;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width:auto;
    }
    
    .mobile-language-selector {
        display: none;
    }
}
