/* ==========================================================================
   Mother & Baby - Redesigned Modern Premium Footer Stylesheet
   ========================================================================== */

/* Fix html & body background to match bottom footer color, eliminating white bar */
html, body {
    background-color: #122819 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure page container expands smoothly */
.page {
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

footer,
.footer-section {
    background-color: #1a3824 !important; /* Home page deep forest green */
    color: #e2e8f0 !important; /* Light text for readability */
    font-family: 'Work Sans', sans-serif !important;
    margin-bottom: 0 !important;
    margin-top: auto !important; /* Keep footer at bottom for short pages */
    padding-bottom: 0 !important;
}

.footer-section {
    padding: 70px 0 50px 0 !important;
}

/* Hide Newsletter Form completely */
.footer-about form,
.footer-about .footer-title-small {
    display: none !important;
}

/* Titles */
.footer-title {
    font-family: 'Philosopher', serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #cbb26a !important; /* Warm gold accent */
    text-transform: none !important;
    margin-bottom: 25px !important;
    text-align: left !important;
}

/* Remove default image lines */
footer .img-line {
    display: none !important;
}

/* Left Column: About */
.footer-about img {
    max-height: 75px !important;
    height: auto !important;
    width: auto !important;
    margin-bottom: 20px !important;
    filter: brightness(0) invert(1) !important;
}

.footer-about p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #cbd5e0 !important;
    margin-bottom: 25px !important;
}

/* Middle Column: Quick Links */
.footer-links-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-links-list li {
    margin-bottom: 12px !important;
    padding-left: 0 !important;
}

.footer-links-list li a {
    color: #cbd5e0 !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
    display: inline-block;
}

.footer-links-list li a:hover {
    color: #cbb26a !important;
    transform: translateX(4px);
    text-decoration: none !important;
}

/* Right Column: Contacts */
.footer-contact-details {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-contact-details li {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #cbd5e0 !important;
    margin-bottom: 15px !important;
    display: flex;
    align-items: flex-start;
}

.footer-contact-details li i {
    color: #cbb26a !important;
    font-size: 16px !important;
    margin-right: 12px !important;
    margin-top: 4px;
    width: 16px;
    text-align: center;
}

.footer-contact-details li a {
    color: #cbd5e0 !important;
    transition: color 0.2s ease;
}

.footer-contact-details li a:hover {
    color: #cbb26a !important;
    text-decoration: none !important;
}

/* Working Hours */
.footer-hours-box {
    margin-top: 25px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    color: #cbd5e0 !important;
    text-align: left;
}

/* Bottom Footer Bar */
.bottom-footer {
    background-color: #122819 !important; /* Home page bottom footer shade */
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 22px 0 !important;
    height: auto !important; /* Overrides legacy 60px height constraint */
    line-height: normal !important; /* Overrides legacy 60px line-height */
    margin-bottom: 0 !important;
}

.bottom-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-copy {
    float: none !important;
    color: #a0aec0 !important;
    font-size: 13px !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

.footer-copy a {
    color: #cbd5e0 !important;
    margin: 0 5px;
}

.footer-copy a:hover {
    color: #cbb26a !important;
}

/* Social links icons */
.footer-soc-links {
    float: none !important;
    height: auto !important;
    margin: 0 !important;
    display: flex;
    gap: 12px;
}

.footer-soc-links a {
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #cbd5e0 !important;
    transition: all 0.3s ease !important;
    display: inline-block;
    text-align: center;
}

.footer-soc-links a:hover {
    background-color: #cbb26a !important;
    color: #1a3824 !important;
    transform: translateY(-3px);
}

.footer-soc-links a[aria-label="WhatsApp"]:hover,
.footer-soc-links a.wa-icon:hover {
    background-color: #25d366 !important;
    color: #ffffff !important;
}

.footer-soc-links a[aria-label="Instagram"]:hover,
.footer-soc-links a.ig-icon:hover {
    background-color: #e1306c !important;
    color: #ffffff !important;
}

/* Alignment fixes */
.footer-about, .footer-tweets, .footer-contact {
    text-align: left !important;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .footer-section {
        padding: 50px 0 20px 0 !important;
    }
    .footer-about, .footer-tweets, .footer-contact {
        margin-bottom: 40px !important;
    }
    .bottom-footer .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
