footer.hml-footer {
    background-size: cover;
    color: white;
    padding-top: 40px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

footer.hml-footer h4.footer-section-heading {
    color: white;
    font: bold 16px 'Lato', sans-serif;
    margin-bottom: 10px;
}

footer.hml-footer div.float-right-section {
    float: right;
}

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

footer.hml-footer ul.contact-column > li > a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}

/* Hide mobile-specific elements on desktop */
.footer-mobile-header,
.footer-mobile-bottom-links {
    display: none;
}

/* Show mobile-specific elements */
.footer-mobile-header,
.footer-mobile-bottom-links {
    display: flex;
}

/* Mobile Header - Logo and Tagline */
.footer-mobile-header {
    text-align: center;
    margin-bottom: 20px;
    flex-direction: column;
}

.footer-mobile-logo img {
    width: 240px;
    height: auto;
    margin: 0 auto 10px;
}

/* Mobile Social Icons */
.footer-mobile-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.footer-mobile-social a {
    display: inline-block;
}

.footer-mobile-social img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

/* Footer sections - Two column layout */
.footer-sections-row {
    margin-bottom: 30px;
}

.footer-section {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px;
}

footer.hml-footer h4.footer-section-heading {
    margin-bottom: 10px;
}

.footer-section ul li {
    margin-bottom: 8px !important;
}

.footer-section ul li a {
    font-size: 14px !important;
}

/* Mobile Bottom Links - Horizontal layout */
.footer-mobile-bottom-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-mobile-bottom-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}

/* Copyright section adjustments for mobile */
footer.hml-footer .row:last-child {
    margin-top: 20px !important;
    padding-top: 15px !important;
    border-top: none !important;
}

footer.hml-footer ul.desktop-social-icons {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

footer.hml-footer ul.desktop-social-icons img.social-img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}