.site-footer {
    background-color: #fff;
    padding: 80px 0 40px;
    font-family: var(--wp--preset--font-family--body);
    color: #000;
}

.footer-container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Column 1: Branding */
.footer-branding-col .footer-logo {
    margin-bottom: 25px;
}

.footer-branding-col .footer-logo img {
    max-width: 180px;
    height: auto;
}

.footer-branding-col .footer-tagline {
    font-family: var(--wp--preset--font-family--heading);
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.4;
    max-width: 250px;
}

.footer-branding-col .footer-copyright {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    max-width: 200px;
}

/* Columns 2 & 3: Navigation */
.footer-nav-col h4 {
    display: none;
    /* Titles are not shown in the design image provided, or are styled differently */
}

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

.footer-menu-list li {
    margin-bottom: 12px;
    position: relative;
}

/* Sub-menu styling */
.footer-menu-list .sub-menu {
    list-style: none;
    padding: 8px 0 0 15px;
    margin: 0;
    display: none;
    /* Hidden by default */
}

.footer-menu-list li.is-open>.sub-menu {
    display: block;
}

.footer-menu-list .sub-menu li {
    margin-bottom: 8px;
}

.footer-menu-list .sub-menu a {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.8;
}

/* Indicator for parent items */
.footer-menu-list .menu-item-has-children>a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 6px;
    font-size: 0.8em;
    display: inline-block;
    vertical-align: middle;
    opacity: 0.5;
}

.footer-menu-list a {
    text-decoration: none;
    color: #000;
    font-size: 15px;
    font-weight: 700;
    transition: color 0.3s;
}

.footer-menu-list a:hover {
    color: #3b82f6;
}

/* Column 4: Contact & Social */
.footer-contact-col {
    text-align: right;
}

.footer-info {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #333;
}

.footer-info p {
    margin: 0 0 5px;
}

.footer-info a {
    color: #333;
    text-decoration: none;
}

.footer-social-section h4 {
    margin-bottom: 24px;
    font-size: var(--wp--preset--font-size--section-heading);
    color: #ffffff;
    font-family: var(--wp--preset--font-family--heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-social-links {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.footer-social-links a {
    color: #000;
    font-size: 20px;
    transition: color 0.3s;
}

.footer-social-links a:hover {
    color: #3b82f6;
}

/* Bottom Bar: Logos */
.footer-bottom {
    border-top: 1px solid #E5E5E5;
    padding-top: 40px;
}

.footer-bottom-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.footer-bottom-logos a,
.footer-bottom-logos span {
    display: block;
}

.footer-bottom-logos img {
    max-height: 50px;
    width: auto;

}

.footer-bottom-logos img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 991px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-social-links {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;

    }

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


    .footer-branding-col,
    .footer-contact-col {
        text-align: center;
    }

    .footer-branding-col .footer-tagline,
    .footer-branding-col .footer-copyright {
        max-width: none;
    }

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

    .footer-bottom-logos {
        gap: 20px;
    }
}