#footer-container {
    background-color: #1B529E;
    width: 100%;
    color: white;
    padding: 50px 0 8px;
    box-sizing: border-box;
    background-image: url(../images/Group.png);
    background-size: contain;
    background-position: 5% center;
    background-repeat: no-repeat;
}

#footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    padding-top: 50px;
    margin-top: 50px;
}

#footer-left {
    flex: 0 0 100%;
    max-width: 400px;
    margin-bottom: 40px;
}

#footer-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    cursor: pointer;
}

#footer-description {
    font-size: 0.9em;
    line-height: 1.6;
    margin-bottom: 30px;
}

#footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.8em;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 10%;
}

#footer-socials {
    display: flex;
    gap: 27px;
}

#footer-socials img {
    max-height: 26px;
    min-height: 26px;
    width: auto;
    cursor: pointer;
}

#footer-copyright {
    color: rgba(255, 255, 255, 0.7);
}

#footer-powered-by {
    display: flex;
    align-items: center;
}

#footer-powered-by img {
    margin-left: 10px;
    max-height: 20px;
    width: auto;
}

#footer-links, #footer-services {
    max-width: 250px;
    margin-bottom: 30px;
}


#footer-links *, #footer-services * {
	text-align: left;
}

.footer-section-title {
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Oswald', Times, serif;
}

.footer-subtext {
    display: block;
    color: #FAFAFA;
    text-align: center;
    font-weight: 200;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 0.9em;
}

.footer-subtext:hover {
    color: var(--primary-yellow);
}

@media screen and (max-width: 768px) {
    #footer-content {
        flex-direction: column;
        align-items: center;
        margin-top: 0;
        padding-top: 0;
    }

    #footer-container {
        background-image: none;
        padding-top: 30px;
    }

    #footer-left, #footer-links, #footer-services {
        max-width: 100%;
        text-align: center;
    }

    #footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    #footer-powered-by {
        order: -1;
    }
}

@media screen and (max-width: 480px) {
    #footer-container {
        padding: 40px 0 20px;
    }

    #footer-logo {
        max-width: 120px;
    }

    #footer-description {
        font-size: 0.8em;
    }

    .footer-section-title {
        font-size: 1.5em;
    }

    .footer-subtext {
        font-size: .9em;
    }
}
