/* Footer 5 Column Layout Fix */

/* Desktop: Keep all columns aligned */
@media (min-width: 992px) {
    .footer-main-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: flex-start;
    }

    /* Column 1: Brand (25% of total width) */
    .footer-main-row > .col-lg-3:nth-child(1) {
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }

    /* Columns 2-5 wrapper (75% of total width) */
    .footer-main-row > .col-lg-9 {
        flex: 0 0 75% !important;
        max-width: 75% !important;
    }

    /* Inner row should not wrap */
    .footer-main-row .col-lg-9 > .row {
        flex-wrap: nowrap !important;
        display: flex !important;
    }

    /* Columns inside the wrapper - let them share space equally */
    .footer-main-row .col-lg-9 > .row > div[class*="col-lg-"] {
        flex: 1 1 0 !important;
        max-width: none !important;
        min-width: 0 !important;
    }
}

/* Service Locations Section */
.footer-service-locations {
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.service-locations-text {
    font-size: 14px;
    color: #303030;
}

.service-location-link {
    display: inline;
    margin-right: 4px;
}

/* Newsletter section styling */
.footer-newsletter-section {
    width: 100%;
}
.arrow-icon{
    background-color: #fadc56;
    padding: 10px;
    border-radius: 50%;
}
/* Get Free Quote Button */
.footer-quote-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 12px 12px 24px;
    background: #FFFFFF;
    border: none;
    border-radius: 50px;
    color: #000;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.footer-quote-btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    color: #000;
}

.footer-quote-btn .arrow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ffc107;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer-quote-btn:hover .arrow-icon {
    background: #ffb300;
    transform: translateX(4px);
}

.footer-quote-btn .arrow-icon svg {
    width: 20px;
    height: 20px;
    color: #000;
}

/* Services List Items Styling */
.footer-services-list {
    list-style: none !important;
    padding: 0 !important;
}

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

.footer-service-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 10px 10px 16px;
    background: #fad121;
    border: none;
    border-radius: 50px;
    color: #000;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.footer-service-btn:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    color: #000;
    background: #f5ca15;
}

.footer-service-btn .service-arrow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #FFFFFF;
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer-service-btn:hover .service-arrow-icon {
    background: #f5f5f5;
    transform: translateX(4px);
}

.footer-service-btn .service-arrow-icon svg {
    width: 16px;
    height: 16px;
    color: #000;
}

.footer-main-newsletter-box {
    margin-top: 0;
}

.newsletter-input-group {
    width: 100%;
    position: relative;
}

.newsletter-input-group .subscribe {
    background: #FFFFFF;
    padding-top: 17px;
    padding-bottom: 17px;
    padding-left: 20px;
    padding-right: 100px;
    border-radius: 30px;
    width: 100%;
    border: 1px solid white;
    height: 56px;
}

.newsletter-input-group .subscribe:focus-visible {
    outline: none !important;
}

.newsletter-input-group .subscribe-btn {
    padding: 11px 24px;
    color: var(--main-text-color);
    font-family: "Outfit", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0;
    border-radius: 50px;
    text-decoration: none;
    background: #F9D12033;
    border: 1px solid #F9D120;
    position: absolute;
    right: 5px;
    top: 42%;
    transform: translateY(-50%);
    width: auto !important;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-input-group .subscribe-btn:hover {
    background: rgba(224, 188, 29, 1);
}

/* Remove old conflicting styles */
.footer-main-navItems-col-one,
.footer-main-navItems-col-two,
.footer-main-navItems-col-three {
    width: auto !important;
    max-width: none !important;
}

/* Tablet & Mobile: Stack columns */
@media (max-width: 991px) {
    .footer-main-row {
        flex-wrap: wrap !important;
    }

    .footer-service-locations {
        margin-top: 20px;
    }
}
