@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
.site-footer {
    background-color: #FFF;
    margin: 40px 40px 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 95%;
}

.footer-content {
    display: flex;
    width: 100%;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .footer-content {
        position: relative; 
    }
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .footer-left {
        margin-right: 20px;
    }
}

.footer-left div:nth-of-type(2) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-powered-by-text {
    color: #000;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.footer-center {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .footer-center {
        margin-right: 5px;
        display: flex;
        justify-content: center;
        position: absolute;
        width: 100%;
    }
}

@media (max-width: 395px) {
    .footer-center {
        right: 20px;
    }
}

.desktop-footer {
    display: flex;
    flex: 1;
}


@media (max-width: 768px) {
    .mobile-footer-left-center {
        display: flex;
        flex-direction: row;
    }

    .desktop-footer {
        display: none;
    }
}

@media (max-width: 450px) {
    .footer-center {
        right: 20px;
    }
}

@media (max-width: 380px) {
    .footer-center {
        position: unset;
    }

    .mobile-footer-left-center {
        display: flex;
        flex-direction: column;
    }

    .footer-left {
        margin-right: 20px;
        align-items: flex-start;
    }

    .footer-right {
        height: unset;
        min-height: 100%;
    }
}

.mobile-footer {
    display: none;
}

@media (max-width: 768px) {
    .mobile-footer {
        display: flex;
        flex: 1;
    }
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    width: 50%;
    max-height: 100%;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
}

.footer-nav a {
    text-decoration: none;
    color: #1E4EBB;
    flex: 0 0 calc(50% - 5px);
    box-sizing: border-box;
    padding-bottom: 10px;
}

@media (max-width: 768px) {
    .footer-nav a {
        flex: 0 0 calc(50%);
        font-size: 14px;
        padding: 0px;
        white-space: nowrap;
        width: 160px;
    }
}

.social-icons {
    display: flex;
    gap: 20px;
}

@media (max-width: 768px) {
    .social-icons {
        gap: 2px;
    }
}

.social-icon {
    width: 35.9px;
    height: 35.9px;
}

.footer-logo-mobile {
    display: none;
}

.momentum-logo-left {
    display: block;
}

.momentum-logo-right {
    display: none;
}

@media (max-width: 768px) {

    .site-footer {
        margin: 20px 20px 10px 20px;
        width: 87%;
    }

    .footer-center {
        margin-left: 0;
    }

    .footer-right {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        height: 235px;
        position: absolute;
        right: 0; 
    }

    .footer-logo {
        display: none;
    }

    .footer-logo-mobile {
        display: flex;
        width: 3rem;
    }

    .momentum-logo-left {
        display: none;
    }

    .momentum-logo-right {
        display: block;
    }

    .footer-nav {
        width: 160px;
    }
}