/* ============================================
   FOOTER REDESIGN - Rota Moulding
   ============================================ */

/* --- Main Footer Section --- */
.footer.footer-redesign {
    background-color: #1a1a8c;
    color: #ffffff;
    padding: 0;
}

/* --- Footer Navigation Menu --- */
.footer-nav-section {
    padding: 45px 0 50px;
}

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

/* Reset the <ul> generated by wp_nav_menu */
.footer-nav-section .footer-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 35px;
}

/* Regular menu links */
.footer-nav-section .footer-nav-list li {
    list-style: none;
}

.footer-nav-section .footer-nav-list li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.2s ease;
}

.footer-nav-section .footer-nav-list li a:hover {
    opacity: 0.8;
}

/* "Request a Quote" button - style the last menu item as a green button */
.footer-nav-section .footer-nav-list li:last-child a {
    background-color: #059616;
    color: #ffffff;
    padding: 20px 20px;
    border-radius: 0px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.footer-nav-section .footer-nav-list li:last-child a:hover {
    background-color: #248f24;
    opacity: 1;
}

/* --- Divider line between nav and content --- */
.footer_contact_section {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- Footer Logo --- */
.footer.footer-redesign .footer-logo {
    display: flex;
    align-items: center;
    height: 100%;
    padding-right: 30px;
}

.footer.footer-redesign .footer-logo img {
    max-width: 170px;
    width: 100%;
    height: auto;
}

/* --- Column Headings --- */
.footer.footer-redesign .contact_section h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding-bottom: 0;
    border-bottom: none;
}

/* --- Body Text & Links --- */
.footer.footer-redesign .contact_section p,
.footer.footer-redesign .contact_section .class_timing {
    color: #c8c8e6;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 5px;
}

.footer.footer-redesign .contact_section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer.footer-redesign .contact_section a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* --- Copyright Bar --- */
.footer.footer-redesign .copyright_section {
    background-color: #1A1A8C;
    padding: 30px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer.footer-redesign .copyright_section p {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    margin: 0;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .footer-nav-section {
        padding: 25px 0 20px;
		display: none;
    }

    .footer-nav-section .footer-nav-list {
        gap: 8px 20px;
    }

    .footer-nav-section .footer-nav-list li a {
        font-size: 13px;
    }

    .footer.footer-redesign .footer_contact_section {
        padding: 50px 0 30px;
    }

    .footer.footer-redesign .footer-logo {
        margin-bottom: 30px;
        justify-content: center;
    }

    .footer.footer-redesign .contact_section {
        margin-bottom: 25px;
    }
	.footer.footer-redesign .footer_contact_section .col-md-3 {
        padding: 0;
    }
}
@media (max-width: 960px) {
	.footer.footer-redesign .footer_contact_section {
        text-align: center;
		margin-bottom: 0;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .footer-nav-section .footer-nav-list {
        flex-direction: column;
        gap: 12px;
    }

    .footer.footer-redesign .footer_contact_section {
        padding: 25px 0;
    }

    .footer.footer-redesign .footer-logo {
        justify-content: flex-start;
        padding-right: 0;
        margin-bottom: 25px;
		padding: 0 15px;
    }

    .footer.footer-redesign .footer-logo img {
        max-width: 180px;
    }

    .footer.footer-redesign .contact_section {
        text-align: left;
        margin-bottom: 25px;
		padding: 0 15px;
    }

    .footer.footer-redesign .copyright_section {
        text-align: left;
    }
}