﻿footer {
    z-index: 2;
    position: relative;
    background: rgba(0,0,0,0.4);
    color: var(--color-white);
    padding: 40px 150px 30px;
    backdrop-filter: var(--background-blur);
}

    footer h4 {
        color: #ecf9ff;
        margin-bottom: 50px;
        font-size: var(--font-size-2xl);
    }

    footer p {
        color: var(--color-white);
    }




.footer-sections {
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
}


.footer-section {
    text-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    padding: 30px;
    width: 100%;
}

    .footer-section h5 {
        margin-bottom: 10px;
        color: #cdf7ff;
        font-size: var(--font-size-2xl);
    }

    .footer-section img {
        width: 60%;
        margin: 0 auto;
    }

    .footer-section a {
        color: var(--color-white);
    }

        .footer-section a:hover {
            color: #a2effc;
        }






.footer-divider {
    width: 2px;
    height: 20px;
    background-color: #fff;
}



.footer-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
    padding-top: 20px;
    border-top: 1px solid var(--color-white);
    color: rgba(255, 255, 255, 0.8);
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

    .footer-bottom img,
    .footer-bottom svg {
        width: 24px;
        cursor: pointer;
    }









.footer-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

    .footer-social a {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: white;
    }

        .footer-social a svg path {
            transition: var(--default-transition);
        }

        .footer-social a:hover svg path,
        .footer-social a:hover {
            fill: #a2effc;
        }


.footer-top-btn {
    transition: var(--default-transition);
}

    .footer-top-btn:hover {
        color: #cdf7ff;
    }



.footer-contact {
    display: flex;
    gap: 5px;
}

    .footer-contact svg {
        width: 28px;
    }




.footer-language {
    display: flex;
    align-items: center;
    font-size: 13px;
}

.footer-lang-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
}

    .footer-lang-toggle img {
        margin: 0 2px;
    }





.footer-lang-menu {
    overflow: hidden;
    max-width: 0;
    white-space: nowrap;
    transition: var(--default-transition);
    gap: 0px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    background-color: rgb(255, 255, 255, 0.4);
}

.footer-language:hover .footer-lang-menu {
    max-width: 200px;
}

.footer-lang-menu a {
    padding: 4px 8px;
    color: var(--color-white);
    text-decoration: none;
    padding: auto 0;
    margin: auto 0;
    transition: var(--default-transition);
}

    .footer-lang-menu a:hover {
        background-color: rgb(255, 255, 255, 0.2);
    }

.footer-lang-menu .active {
    color: #87ecff;
}

@media (max-width: 992px) {
    .footer-sections {
        grid-template-columns: 1fr 1fr; 
        gap: 15px;
    }

    .logo-footer {
        display: none;
    }

    footer {
        padding: 40px 70px 30px;
    }

    .footer-section {
        width: 50%;
    }

    .footer-bottom {
        justify-content: center;
    }

    .footer-social {
        gap: 10px;
    }

    .footer-contact {
        gap: 3px;
    }
}

@media (max-width: 567px) {

    footer {
        padding: 40px 20px 30px;
    }

        footer h4 {
            text-align: center;
        }

    .footer-section {
        text-align: center;
        width: 100%;
        gap: 5px;
        padding: 15px;
    }



        .footer-section h5 {
            margin-bottom: 0px;
        }

    .footer-sections {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
    }

    .footer-social {
        gap: 20px;
        justify-content: center;
        flex-direction: column;
    }

    .footer-language {
        display: none;
    }

    .footer-contact {
        gap: 2px;
    }

    .footer-divider {
        display: none;
    }
}


.logo-footer {
    width: 180px;
    animation: allInOne 8s ease-in-out infinite alternate;
}

@keyframes allInOne {
    /* Fade In */
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(10px);
        filter: drop-shadow(0 0 0px #00eaff);
    }

    15% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    /* Pulse */
    30% {
        transform: scale(1.2);
    }

    35% {
        transform: scale(1);
    }
    /* Glow */
    50% {
        filter: drop-shadow(0 0 18px #00eaff);
    }
    /* Rotate */
    70% {
        transform: rotate(360deg);
    }
    /* Bounce */
    80% {
        transform: translateY(-20px);
    }

    85% {
        transform: translateY(0);
    }
    /* Shake */
    88% {
        transform: translateX(-8px);
    }

    92% {
        transform: translateX(8px);
    }

    96% {
        transform: translateX(-8px);
    }

    100% {
        transform: translateX(0);
    }
}
