/**
 * Site-wide responsive + footer polish.
 * Load last (after theme-amazon.css).
 */
:root {
    --amazon-ink: #111111;
    --amazon-orange: #FF9900;
}

/* ========== Global ========== */
html {
    -webkit-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

iframe[src*="maps.google"],
iframe[src*="google.com/maps"] {
    width: 100%;
    max-width: 100%;
    height: 400px;
    display: block;
}

/* ========== Footer alignment + orange-theme readable text ========== */
.footer_sec .footer-row {
    align-items: flex-start !important;
}

.footer_sec .footer_inner {
    text-align: left;
    padding-top: 0;
    margin-top: 0;
}

/* Logo image often has transparent top padding — drop the other
   three columns so their headings line up with the visible logo */
.footer_sec .quick-lasa,
.footer_sec .footer_info {
    text-align: left;
    padding-top: 52px;
    margin-top: 0;
}

.footer_sec .footer_inner img {
    display: block;
    margin-top: 0;
    margin-bottom: 12px;
}

.footer_sec .footer_inner p,
.footer_sec .footer_info ul li p,
.footer_sec .footer_info ul li p a,
.footer_sec .quick-lasa h3,
.footer_sec .quick-lasa ul li a,
.footer_sec .footer-address-link,
.footer_sec a {
    color: var(--amazon-ink) !important;
}

.footer_sec .quick-lasa .widget-title,
.footer_sec .quick-lasa h3 {
    margin-top: 0 !important;
    margin-bottom: 14px;
    line-height: 1.2;
}

.footer_sec .quick-lasa ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer_sec .quick-lasa ul li {
    margin: 0 0 8px;
}

/* Icon + text on ONE horizontal line */
.footer_sec .footer_info ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer_sec .footer_info ul li,
.footer_sec .footer_info ul li.footer-contact-item {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 10px;
    margin: 0 0 14px !important;
}

.footer_sec .footer_info ul li img {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin: 3px 0 0 0 !important;
    display: block;
}

.footer_sec .footer_info ul li p {
    flex: 1 1 auto;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0;
    font-size: 15px !important;
    line-height: 1.35;
    word-break: break-word;
    overflow-wrap: break-word;
}

.footer_sec .footer_info ul li p a {
    display: inline;
    font-size: inherit !important;
    line-height: inherit;
    word-break: break-word;
}

.footer_sec .footer-address-link {
    text-decoration: none;
    line-height: 1.4;
}

.footer_sec .footer-address-link:hover,
.footer_sec .quick-lasa ul li a:hover,
.footer_sec .footer_info a:hover {
    text-decoration: underline;
}

.footer_sec .badges {
    max-width: 220px;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-top: 8px;
}

@media (max-width: 991.98px) {
    .footer_sec .quick-lasa,
    .footer_sec .footer_info {
        padding-top: 0;
    }
}

.bottom_footer .desclaimer_wrap p,
.bottom_footer .footer_info_link p,
.bottom_footer .footer_info_link a,
.bottom_footer .desclaimer_wrap h3 {
    color: var(--amazon-ink) !important;
}

/* ========== Header ========== */
.page_header a.logo img.logo-color,
.page_header a.logo img,
a.logo.logo_image_only img,
a.logo img {
    max-height: 110px !important;
    max-width: 280px !important;
    width: auto !important;
    height: auto !important;
}

/* ========== Heroes / videos ========== */
#home-top h1,
#service-top h1,
.page_title h1 {
    word-wrap: break-word;
}

#home-top .btn,
#service-top .btn {
    margin-bottom: 8px;
}

.right-video,
video.right-video {
    width: 100%;
    height: auto;
    display: block;
}

/* ========== Forms ========== */
#service-hero-form {
    max-width: 100%;
    box-sizing: border-box;
}

.form_submission .form-control,
#service-hero-form .form-control,
.popupform1 .form-control {
    max-width: 100%;
}

/* ========== Floating side tabs ========== */
#floating_btns a,
#floating_btns_right a {
    font-size: 14px;
}

/* ========== iPad landscape / small laptop ========== */
@media (max-width: 1199.98px) {
    #home-top h1,
    #service-top h1 {
        font-size: 2.25rem;
    }
}

/* ========== iPad portrait ========== */
@media (max-width: 991.98px) {
    #home-top h1,
    #service-top h1,
    .page_title h1 {
        font-size: 1.9rem;
    }

    .footer_sec {
        padding: 32px 0 12px;
    }

    .footer_sec .col-md-6 {
        margin-bottom: 1.5rem;
    }

    #service-hero-form {
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }

    iframe[src*="maps.google"],
    iframe[src*="google.com/maps"] {
        height: 340px;
    }
}

/* ========== Large phone / small tablet ========== */
@media (max-width: 767.98px) {
    body {
        overflow-x: hidden;
    }

    #home-top {
        padding-bottom: 36px !important;
        text-align: center;
    }

    #home-top h1,
    #service-top h1,
    .page_title h1,
    .special-heading {
        font-size: 1.55rem !important;
        line-height: 1.3;
    }

    #home-top .btn,
    #service-top .btn,
    .btn-maincolor,
    .btn-maincolor2 {
        display: inline-block;
        width: auto;
        min-width: 140px;
        margin: 6px 4px;
    }

    #service-top .col-lg-8,
    #service-top .col-lg-4 {
        text-align: center;
    }

    #service-hero-form {
        max-width: 100%;
        margin-top: 20px;
    }

    #floating_btns {
        transform: scale(0.85);
        transform-origin: right center;
    }

    #floating_btns a.rotate90 {
        font-size: 13px;
        padding: 8px 12px;
    }

    .popupform1,
    #popupform1 {
        align-items: flex-start !important;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 16px;
        box-sizing: border-box;
    }

    .popupform1 .custom-pop1,
    #popupform1 .custom-pop1 {
        width: 100% !important;
        max-width: 100%;
        margin: 12px 0;
    }

    iframe[src*="maps.google"],
    iframe[src*="google.com/maps"] {
        height: 280px;
    }

    .footer_sec .badges {
        max-width: 180px;
    }
}

/* ========== Phone ========== */
@media (max-width: 575.98px) {
    #home-top h1,
    #service-top h1,
    .page_title h1 {
        font-size: 1.35rem !important;
    }

    #home-top .btn,
    #service-top .btn,
    section .btn-maincolor,
    section .btn-maincolor2 {
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 8px auto;
    }

    .page_header a.logo img.logo-color,
    .page_header a.logo img,
    a.logo.logo_image_only img,
    a.logo img {
        max-height: 80px !important;
        max-width: 220px !important;
    }

    #floating_btns {
        transform: scale(0.75);
        right: -2px;
    }

    .form-builder-item,
    .wrap-forms .col-lg-6 {
        width: 100%;
        max-width: 100%;
    }

    input[type="submit"],
    button[type="submit"],
    .wpcf7-submit,
    #service-hero-form .btn {
        width: 100%;
    }

    .bottom_footer {
        padding: 16px 12px 28px;
    }

    .desclaimer_wrap h3 {
        font-size: 18px;
    }

    .desclaimer_wrap p {
        font-size: 12px;
        line-height: 1.45;
    }
}
