/* ==========================================================
   FOOTER
========================================================== */

.footer {
    position: relative;
    background: linear-gradient(135deg, #174b8a, #0f67c8);
    color: #fff;
    margin-top: 100px;
}

.footer-wave {
    line-height: 0;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 90px;
}

.footer .main-container {
    width: 90%;
    max-width: 1400px;
    margin: auto;
    padding: 70px 0 50px;
}

/* ==========================================================
   LOGO
========================================================== */

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo img {
    width: 320px;
    height: auto;
    display: block;
    transition: .35s;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.footer-desc {
    color: rgba(255, 255, 255, .85);
    line-height: 1.9;
    margin-bottom: 28px;
}

/* ==========================================================
   CONTACT
========================================================== */

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-contact div {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.footer-contact i {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, .12);
    color: #ffd400;
    font-size: 18px;
}

.footer-contact span {
    line-height: 1.7;
    color: rgba(255, 255, 255, .9);
}

/* ==========================================================
   TITLE
========================================================== */

.footer h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
}

/* ==========================================================
   MENU
========================================================== */

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

.footer-menu li {
    margin-bottom: 14px;
}

.footer-menu a {
    color: rgba(255, 255, 255, .88);
    text-decoration: none;
    transition: .3s;
    display: inline-block;
}

.footer-menu a:hover {
    color: #ffd400;
    transform: translateX(8px);
}

/* ==========================================================
   TEXT
========================================================== */

.footer-text {
    color: rgba(255, 255, 255, .88);
    line-height: 1.8;
    margin-bottom: 25px;
}

/* ==========================================================
   SOCIAL
========================================================== */

.footer-social {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
}

.footer-social a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 20px;
    transition: .35s;
}

.footer-social a:hover {
    background: #fff;
    color: #174b8a;
    transform: translateY(-5px);
}

/* ==========================================================
   BUTTON
========================================================== */

.footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background: #ffd400;
    color: #174b8a;
    padding: 15px 28px;
    border-radius: 50px;
    font-weight: 700;
    transition: .35s;
}

.footer-btn:hover {
    background: #fff;
    color: #174b8a;
    transform: translateY(-4px);
}

/* ==========================================================
   COPYRIGHT
========================================================== */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .15);
    padding: 25px 0;
}

.footer-bottom-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-wrap div {
    color: rgba(255, 255, 255, .85);
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: rgba(255, 255, 255, .9);
    text-decoration: none;
    transition: .3s;
}

.footer-links a:hover {
    color: #ffd400;
}

/* ==========================================================
   BACK TO TOP
========================================================== */

#backToTop {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    background: #174b8a;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
    opacity: 0;
    visibility: hidden;
    transition: .35s;
    z-index: 9999;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    background: #0f67c8;
    transform: translateY(-5px);
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media(max-width:991px) {

    .footer .main-container {
        width: 92%;
    }

    .footer-logo {
        margin-bottom: 20px;
    }

    .footer h4 {
        margin-top: 20px;
    }

    .footer-bottom-wrap {
        flex-direction: column;
        text-align: center;
    }

}

@media(max-width:768px) {

    .footer {
        margin-top: 70px;
    }

    .footer-wave svg {
        height: 60px;
    }

    .footer .main-container {
        padding: 50px 0 35px;
    }

    .footer-logo {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo h3 {
        font-size: 22px;
    }

    .footer-desc {
        text-align: center;
    }

    .footer-contact div {
        justify-content: center;
    }

    .footer h4 {
        text-align: center;
    }

    .footer-menu {
        text-align: center;
    }

    .footer-text {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-btn {
        display: flex;
        justify-content: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

}