/* Shared responsive and accessibility refinements for the public site. */
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    max-width: 100%;
    overflow-x: hidden;
    -webkit-tap-highlight-color: rgba(42, 157, 143, .16);
}

/* A stable, touch friendly app shell shared by every public page. */
.navbar-default {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.navbar-nav > li > a {
    min-height: 44px;
    display: flex;
    align-items: center;
}

.navbar-toggler {
    min-width: 44px;
    min-height: 44px;
    border: 0;
    border-radius: 12px;
}

a, button, input, select, textarea {
    touch-action: manipulation;
}

:focus-visible {
    outline: 3px solid #2a9d8f;
    outline-offset: 3px;
}

.home-showcase-card {
    display: flex;
    width: 100%;
    height: 148px;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid #e6ecee;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 45, 59, .06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.home-showcase-card:hover {
    transform: translateY(-3px);
    border-color: #c5dfdc;
    box-shadow: 0 14px 30px rgba(16, 45, 59, .1);
}

.home-showcase-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.main-wrapper > .home-shipment-cta-section {
    padding: 18px 0 76px;
}

.home-quote-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 310px);
    align-items: center;
    gap: clamp(24px, 5vw, 64px);
    overflow: hidden;
    padding: clamp(28px, 5vw, 54px);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 24px;
    background: linear-gradient(118deg, #153947 0%, #1c5963 100%);
    box-shadow: 0 18px 44px rgba(16, 45, 59, .18);
    color: #fff;
}

.home-quote-panel::after {
    position: absolute;
    top: -145px;
    right: 190px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(255,255,255,.025), 0 0 0 68px rgba(255,255,255,.02);
    content: "";
    pointer-events: none;
}

.home-quote-copy,
.home-quote-action { position: relative; z-index: 1; }

.home-quote-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    color: #f0cf76;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.home-quote-copy h2 {
    max-width: 18ch;
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    line-height: 1.12;
}

.home-quote-copy > p {
    max-width: 62ch;
    margin: 0;
    color: rgba(255, 255, 255, .83);
    font-size: 15px;
    line-height: 1.65;
}

.home-quote-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.home-quote-steps li {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .9);
    font-size: 12px;
}

.home-quote-steps li span {
    color: #f0cf76;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
}

.home-quote-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    background: rgba(8, 36, 47, .34);
}

.home-quote-action-icon {
    display: grid;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    place-items: center;
    border-radius: 14px;
    background: rgba(233, 196, 106, .16);
    color: #f0cf76;
    font-size: 18px;
}

.home-quote-action > p {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, .86);
    font-size: 14px;
    line-height: 1.5;
}

.home-quote-button {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 15px;
    border-radius: 11px;
    background: #e9c46a;
    color: #183844;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .18s ease, transform .18s ease;
}

.home-quote-button:hover {
    transform: translateY(-1px);
    background: #f3d98f;
    color: #183844;
}

.why-choose-01 .why-choose-copy {
    max-width: 66ch;
    margin: 0 0 1.1rem;
    font-size: clamp(1rem, 1.1vw, 1.15rem);
    line-height: 1.75;
    text-align: left;
    text-indent: 0;
    word-spacing: normal;
    overflow-wrap: break-word;
}

.why-choose-01 .why-choose-copy:last-of-type {
    margin-bottom: 0;
}

.home-why-section {
    position: relative;
    overflow: hidden;
    padding: clamp(58px, 7vw, 96px) 0 !important;
    background-position: center;
}

.home-why-section .container {
    position: relative;
    z-index: 2;
}

.why-choose-content {
    max-width: 660px;
}

.why-choose-content .section-title {
    margin-bottom: 22px !important;
}

.why-choose-content .section-title .sub-title {
    color: #e9c46a;
}

.why-choose-content .section-title h2 {
    max-width: 18ch;
    font-size: clamp(2.1rem, 4vw, 3.25rem);
    line-height: 1.12;
}

.home-why-section .why-choose-copy {
    max-width: 58ch;
    margin: 0 0 14px;
    color: rgba(255, 255, 255, .92);
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.7;
    text-align: left;
    text-indent: 0;
}

.why-choose-cta {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    border: 1px solid #e9c46a;
    border-radius: 12px;
    background: #e9c46a;
    color: #173b47;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .18s ease, background-color .18s ease;
}

.why-choose-cta:hover {
    transform: translateY(-2px);
    background: #f2d581;
    color: #173b47;
}

.why-choose-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .26);
}

.why-choose-visual > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Keep the image and copy inside this section so the next section cannot slide underneath. */
.why-choose-01 .left-img,
.why-choose-01 .right-content {
    margin-bottom: 0 !important;
}

.mobile-app-nav {
    display: none;
}

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

img {
    height: auto;
}

iframe {
    display: block;
}

video {
    display: block;
}

.row > [class*="col-"] {
    min-width: 0;
}

.navbar-brand img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.page-title-section h1 {
    max-width: 100%;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.form-control,
select.form-control,
textarea.form-control {
    width: 100%;
    max-width: 100%;
}

table {
    max-width: 100%;
}

@media (max-width: 991.98px) {
    .navbar-header-custom {
        max-width: calc(100% - 62px);
    }

    .navbar-brand img {
        max-height: 54px;
    }

    .navbar-toggler {
        flex: 0 0 auto;
    }

    .navbar-nav {
        z-index: 1000;
        max-height: calc(100vh - 82px);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 8px 12px 12px;
        border: 1px solid #e8eef0;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 18px 40px rgba(16, 45, 59, .14);
    }

    .navbar-nav > li > a {
        padding: 12px 14px;
        border-radius: 10px;
    }

    .page-title-section {
        background-position: center;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-bottom: calc(70px + env(safe-area-inset-bottom));
    }

    .navbar-default {
        box-shadow: 0 4px 18px rgba(16, 45, 59, .08);
    }

    .navbar-default > .container-fluid {
        padding-right: 14px;
        padding-left: 14px;
    }

    .navbar-brand img {
        max-height: 48px;
    }

    .mobile-app-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1040;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
        border-top: 1px solid rgba(16, 45, 59, .1);
        background: rgba(255, 255, 255, .97);
        box-shadow: 0 -8px 26px rgba(16, 45, 59, .1);
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
    }

    .mobile-app-nav__item {
        display: flex;
        min-width: 0;
        min-height: 50px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        border-radius: 12px;
        color: #60747c;
        font-size: 10px;
        font-weight: 600;
        line-height: 1.1;
        text-decoration: none;
        transition: color .18s ease, background-color .18s ease;
    }

    .mobile-app-nav__item i {
        font-size: 17px;
    }

    .mobile-app-nav__item.is-active {
        color: #187f77;
        background: #e9f5f3;
    }

    .scroll-to-top {
        bottom: calc(84px + env(safe-area-inset-bottom));
    }

    .main-wrapper > section {
        scroll-margin-top: 78px;
    }

    .main-wrapper > section:not(.page-title-section) {
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .page-title-section {
        min-height: 170px;
    }

    .page-title-section .container {
        padding-top: 26px;
        padding-bottom: 26px;
    }

    .container-fluid {
        padding-right: 16px;
        padding-left: 16px;
    }

    .home-banner-video {
        height: auto !important;
        aspect-ratio: 16 / 9;
        object-fit: contain;
        object-position: center center;
    }

    .page-title-section h1 {
        font-size: clamp(1.9rem, 8vw, 2.7rem);
    }

    .section-title h2,
    section h2.h1 {
        font-size: clamp(1.65rem, 6vw, 2.35rem);
        line-height: 1.2;
    }

    .contact-form .contact-wrapper-box,
    .contact-form-area {
        max-width: 100%;
    }

    .footer-column {
        min-width: 0;
    }

    .home-showcase-image {
        height: 100%;
    }

    .home-showcase-card {
        height: 122px;
        padding: 15px;
        border-radius: 14px;
    }

    .site-footer .footer-contact-list a,
    .site-footer .footer-link-list a {
        display: inline-flex;
        min-height: 42px;
        align-items: center;
    }

    .home-why-section { padding: 46px 0 !important; }
    .why-choose-content .section-title { margin-bottom: 16px !important; }
    .why-choose-content .section-title h2 { max-width: none; font-size: clamp(2rem, 8vw, 2.75rem); }
    .home-why-section .why-choose-copy { font-size: 1rem; line-height: 1.65; }
    .why-choose-visual { aspect-ratio: 3 / 2; border-radius: 18px; }
    .main-wrapper > .home-shipment-cta-section { padding: 24px 0 48px !important; }
    .home-quote-panel { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 22px; border-radius: 18px; }
    .home-quote-panel::after { top: -170px; right: -100px; }
    .home-quote-copy h2 { max-width: 20ch; font-size: clamp(1.75rem, 7vw, 2.25rem); }
    .home-quote-copy > p { font-size: 14px; }
    .home-quote-steps { gap: 7px; margin-top: 16px; }
    .home-quote-steps li { min-height: 35px; padding: 5px 8px; font-size: 11px; }
    .home-quote-action { width: 100%; padding: 16px; border-radius: 14px; }
    .home-quote-action-icon { width: 38px; height: 38px; margin-bottom: 10px; border-radius: 12px; }
    .home-quote-action > p { margin-bottom: 12px; }
}

@media (max-width: 575.98px) {
    .home-banner-video {
        height: auto !important;
        aspect-ratio: 16 / 9;
        object-fit: contain;
    }

    .butn {
        max-width: 100%;
        padding: 13px 18px;
        font-size: 13px;
        letter-spacing: 1px;
        white-space: normal;
    }

    .quform .form-control {
        min-height: 44px;
    }

    .quform textarea.form-control {
        min-height: 120px;
    }

    .page-title-section .container {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .mobile-app-nav {
        padding-right: max(8px, env(safe-area-inset-right));
        padding-left: max(8px, env(safe-area-inset-left));
    }
}
