/* resources/assets/website/css/partials/footer.css */

.site-footer {
    background-color: var(--dark-bg);
    /* #161B40 */
    color: var(--light-text-for-dark-bg);
    /* #F5F7DC */
    padding: 60px var(--page-padding) 20px var(--page-padding);
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 auto;
    gap: 30px;
}

.footer-logo {
    margin-right: 60px;
}

.footer-logo img {
    max-width: 75px;
    height: auto;
}

/* Make picture elements behave like img elements */
.footer-logo picture {
    display: contents;
}

.footer-logo picture img {
    display: block;
    max-width: 75px;
    height: auto;
}

.footer-columns {
    display: flex;
    gap: 30px;
    flex-grow: 1;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h4 {
    font-size: var(--font-size-medium);
    margin-bottom: 15px;
    color: var(--yellow);
    /* #EDE742 */
}

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

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--light-text-for-dark-bg);
    /* #F5F7DC */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--hover-light);
}

.footer-contact {
    text-align: left;
}

.footer-contact p {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: var(--light-text-for-dark-bg);
    margin: 0;
}

.footer-contact p i {
    margin-right: 10px;
    font-size: 18px;
    /* Adjust the icon size as needed */
    color: var(--light-text-for-dark-bg);
    /* Icon color */
}

.footer-social a {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    text-align: center;
    line-height: 24px;
    border-radius: 50%;
    background-color: var(--light-bg);
    /* Circle background color */
    color: #161B40;
    /* Icon color inside circle */
    font-size: 14px;
    /* Icon size */
    transition: background-color 0.3s, color 0.3s;
}

.footer-social a:hover {
    background-color: #EDE742;
    /* Change background color on hover */
    color: #161B40;
    /* Change icon color on hover */
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--light-blue);
    /* #81A4CD */
    padding-top: 20px;
    font-size: var(--font-size-small);
    margin-top: 40px;
}

.footer-bottom p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-columns {
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }

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

    .footer-social {
        display: flex;
        justify-content: space-evenly;
        margin-top: 40px;
    }

    .footer-social a {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .footer-bottom {
        margin-top: 0;
    }

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