/* Footer Specific Stylesheet for Location Page */

footer.bg__detail {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: #ffffff;
    padding-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

/* Grid & Flex Layout for Footer (to replace Bootstrap grid) */
footer.bg__detail .container {
    width: 100%;
    max-width: 1600px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
}

footer.bg__detail .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

footer.bg__detail .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
}

footer.bg__detail .col-lg-9 {
    flex: 0 0 75%;
    max-width: 75%;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
}

footer.bg__detail .col-lg-9 .row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

footer.bg__detail .col-lg-9 .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
}

footer.bg__detail .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
}

footer.bg__detail .align-items-center {
    display: flex !important;
    align-items: center !important;
}

footer.bg__detail .justify-content-between {
    justify-content: space-between;
}

/* Text Alignment Classes */
footer.bg__detail .text-lg-start {
    text-align: left;
}

footer.bg__detail .text-lg-end {
    text-align: right;
}

.footer-top {
    padding: 60px 0 40px 0;
    border-top: none !important;
}

.footer-top .ft__nav .mw-60 {
    max-width: 180px;
    height: auto;
}

.footer-top .social_icons {
    margin-top: 15px;
}

.footer-top .social_icons a {
    color: #ffffff;
    font-size: 17px;
    padding-right: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-top .social_icons a:hover {
    color: #ff4d00;
}

.footer-top .ft__nav p {
    font-size: 14px;
    color: #ababab;
    margin-top: 20px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-top .ft__nav h4 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: capitalize;
}

.footer-top .ft__nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-top .ft__nav ul li {
    margin-bottom: 12px;
    color: #ababab;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

.footer-top .ft__nav ul li a {
    color: #ababab;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-top .ft__nav ul li a:hover {
    color: #ed9132;
}

.footer-top .ft__nav ul li a i,
.footer-top .ft__nav ul li i {
    color: #ed9132;
    margin-right: 8px;
    margin-top: 3px;
}

.footer-top .footer-badges {
    display: flex;
    flex-direction: column;
}

.footer-top .footer-badges a {
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 8px;
}

.footer-top .footer-badges img {
    height: auto;
    max-width: 80px;
    display: inline-block;
}

.footer-top img.badges {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
}

/* Footer Bottom Section (Copyright / Privacy Policy) */
footer.bg__detail #home3 {
    border-top: none;
    padding: 20px 0;
    margin-top: 20px;
}

footer.bg__detail #home3 .col-lg-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
}

.copy-rights p {
    margin: 0;
    font-size: 13px;
    color: #ffffff;
    text-align: left !important;
}

.termsandpolicy ul.terms-list {
    list-style: none;
    margin: 0 !important;
    padding: 0;
    display: flex !important;
    gap: 15px;
    justify-content: flex-end !important;
    align-items: center !important;
}

.termsandpolicy ul.terms-list li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.termsandpolicy ul.terms-list li a:hover {
    color: #ed9132;
}

/* Floating Side Call Icon */
.floating-side-icons {
    position: fixed;
    bottom: 30px;
    left: 20px;
    z-index: 999;
}

.f-ico-p a img {
    width: 45px;
    height: 45px;
    transition: transform 0.3s ease;
}

.f-ico-p a:hover img {
    transform: scale(1.1);
}

/* Popup Form styles inside Footer */
.overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
}

.popup-layout {
    width: 90%;
    max-width: 1050px;
    height: auto;
    max-height: 90vh;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    background: linear-gradient(90deg, rgba(237, 145, 50, 1) 0%, rgba(218, 72, 43, 1) 100%);
    border-radius: 15px;
    display: none;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.popup-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 20px;
    color: #FFFFFF;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.popup-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.popup-wrapper {
    padding: 40px;
}

.popup-layout .popup-head {
    margin-bottom: 25px;
}

.popup-layout .popup-head h5 {
    color: #FFFFFF;
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 200;
    margin-bottom: 10px;
}

.popup-layout .popup-head h5 strong {
    font-weight: 600;
}

.popup-layout .popup-head h4 {
    color: #FFFFFF;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 300;
}

.popup-layout .popup-head h4 strong {
    font-weight: 600;
}

.popup-layout .popup-field {
    width: 100%;
    background-color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
    height: 50px;
    border-radius: 35px;
    padding: 0 20px;
    font-size: 14px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.popup-layout .btn-style-2 {
    width: 100%;
    padding: 12px 30px;
    background: #FFFFFF;
    color: #da482b;
    border: none;
    border-radius: 35px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.popup-layout .btn-style-2:hover {
    background-color: #ed9132;
    color: #FFFFFF;
}

.popup-layout .contact-info {
    margin-top: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.popup-layout .contact-info:last-child {
    border-bottom: 0;
}

.popup-layout .contact-info h6 {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.popup-layout .contact-info a {
    color: #fbf7f7;
    font-size: 14px;
    font-weight: 300;
    text-decoration: none;
}

.popup-layout .contact-info a:hover {
    text-decoration: underline;
}

.element {
    position: absolute;
    pointer-events: none;
}

.element-22 {
    bottom: 10px;
    left: 10px;
    width: 80px;
    opacity: 0.3;
}

.element-23 {
    top: 10px;
    right: 10px;
    width: 60px;
    opacity: 0.3;
}

.element-24 {
    bottom: 20px;
    right: 20px;
    width: 70px;
    opacity: 0.3;
}

/* Responsive Footer */
@media (max-width: 991px) {
    footer.bg__detail {
        padding: 40px 20px 20px 20px !important;
    }

    footer.bg__detail .col-lg-3,
    footer.bg__detail .col-lg-9,
    footer.bg__detail .col-lg-9 .col-lg-3,
    footer.bg__detail .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }

    footer.bg__detail .text-center,
    footer.bg__detail .text-lg-start,
    footer.bg__detail .text-lg-end {
        text-align: center;
    }

    .termsandpolicy ul.terms-list {
        justify-content: center !important;
        margin-top: 10px;
    }

    .copy-rights p {
        text-align: center !important;
    }

    footer.bg__detail #home3 .col-lg-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        margin-bottom: 10px;
    }
}