/* PMT site-wide overrides */

/* Service accordion — diagonal arrow (FA Free has no fa-arrow-up-right) */
.service-box-items .accordion-single .right-content .arrow-icon .fa-solid {
    display: inline-block;
    transform: rotate(-45deg);
}

.footer-section .pmt-footer-value,
.footer-section .pmt-footer-value a {
    text-transform: none;
    letter-spacing: normal;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

/* Footer middle logo — PMT mark is wide; default template sizing is too small */
.footer-section .footer-logo a,
.footer-section-2 .footer-logo a {
    display: inline-block;
    line-height: 0;
}

.footer-section .footer-logo img {
    display: block;
    width: auto;
    height: auto;
    min-height: 72px;
    max-height: 110px;
    max-width: min(420px, 90vw);
    object-fit: contain;
    object-position: left center;
}

@media (max-width: 1199px) {
    .footer-section .footer-logo img {
        min-height: 64px;
        max-height: 96px;
        max-width: min(360px, 85vw);
        object-position: center center;
    }
}

/* Background watermark — template default (7% white) is too faint on PMT navy */
.footer-section .footer-text h2 {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.22) 0%,
        rgba(255, 255, 255, 0.06) 55%,
        rgba(255, 255, 255, 0) 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

@media (min-width: 1400px) and (max-width: 1899px) {
    .footer-section .footer-text h2 {
        font-size: clamp(100px, 8vw, 150px);
    }
}

@media (min-width: 1900px) {
    .footer-section .footer-text h2 {
        font-size: clamp(140px, 9vw, 200px);
    }
}

/* Header language switcher */
.pmt-lang-switcher {
    position: relative;
    margin: 0;
    flex-shrink: 0;
}

.pmt-lang-switcher__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px 7px 9px;
    border: 1px solid rgba(13, 38, 108, 0.12);
    border-radius: 999px;
    background: var(--white-color, #fff);
    color: var(--header, #0d266c);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pmt-lang-switcher__toggle:hover,
.pmt-lang-switcher.is-open .pmt-lang-switcher__toggle {
    border-color: rgba(13, 38, 108, 0.24);
    box-shadow: 0 8px 24px rgba(13, 38, 108, 0.08);
}

.pmt-lang-switcher__flag {
    display: block;
    width: 20px;
    height: 15px;
    border-radius: 2px;
    object-fit: contain;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
    background: #fff;
}

.pmt-lang-switcher__label {
    white-space: nowrap;
    line-height: 1;
}

.pmt-lang-switcher__caret {
    font-size: 10px;
    opacity: 0.65;
    margin-left: 1px;
    transition: transform 0.2s ease;
}

.pmt-lang-switcher.is-open .pmt-lang-switcher__caret {
    transform: rotate(180deg);
}

.pmt-lang-switcher__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    margin: 0;
    padding: 8px;
    list-style: none;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(13, 38, 108, 0.1);
    box-shadow: 0 16px 40px rgba(13, 38, 108, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1200;
}

.pmt-lang-switcher.is-open .pmt-lang-switcher__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pmt-lang-switcher__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--header, #0d266c);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.pmt-lang-switcher__option:hover,
.pmt-lang-switcher__option.is-active {
    background: rgba(13, 38, 108, 0.06);
}

.pmt-lang-switcher__check {
    margin-left: auto;
    font-size: 12px;
    color: var(--theme, #00b4d8);
}

@media (max-width: 575px) {
    .pmt-lang-switcher__label {
        display: none;
    }

    .pmt-lang-switcher__toggle {
        padding: 7px 9px;
        gap: 0;
    }
}

/* Header actions — uniform spacing (lang, CTA, menu) */
.header-main .pmt-header-actions {
    gap: 18px;
    margin-left: auto;
    flex-shrink: 0;
}

.header-main .pmt-header-actions .theme-btn {
    padding: 16px 24px;
    font-size: 15px;
    white-space: nowrap;
}

.header-main .pmt-header-actions .theme-btn i {
    margin-left: 8px;
}

.header-main .pmt-header-actions .header__hamburger,
.header-main .pmt-header-actions .sidebar__toggle {
    margin: 0;
    line-height: 0;
}

/* Slightly tighter nav item spacing */
.header-main .main-menu ul li {
    margin-inline-end: 28px;
}

@media (max-width: 1399px) {
    .header-main .main-menu ul li {
        margin-inline-end: 22px;
    }

    .header-main .pmt-header-actions {
        gap: 14px;
    }
}

/* Hero / transparent header — compact lang pill on dark background */
.header-1:not(.pmt-header--solid):not(.sticky) .pmt-lang-switcher__toggle {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.96);
}

/* Header top bar — single row like template */
.header-top-wrapper {
    flex-wrap: nowrap;
    gap: 20px;
}

.header-top-wrapper .contact-list {
    flex-wrap: nowrap;
    gap: clamp(28px, 4vw, 72px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-top-wrapper .contact-list li,
.header-top-wrapper .social-icon > li {
    white-space: nowrap;
}

.header-top-wrapper .contact-list li a {
    white-space: nowrap;
}

.header-top-wrapper .social-icon {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    flex-shrink: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-top-wrapper .social-icon > li.pmt-header-top__location {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(380px, 34vw);
    margin-right: clamp(20px, 3vw, 72px);
}

.header-top-wrapper .social-icon > li.pmt-header-top__socials {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-right: 0;
    flex-shrink: 0;
}

.header-top-wrapper .social-icon > li.pmt-header-top__socials::after {
    display: none;
}

.header-top-wrapper .social-icon > li.pmt-header-top__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

@media (max-width: 1599px) {
    .header-top-wrapper .contact-list {
        gap: 32px;
    }

    .header-top-wrapper .contact-list li,
    .header-top-wrapper .social-icon > li {
        font-size: 15px;
    }

    .header-top-wrapper .social-icon > li.pmt-header-top__location {
        max-width: min(300px, 28vw);
        margin-right: 28px;
    }
}

/* Offcanvas sidebar */
.pmt-offcanvas {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.offcanvas__content.pmt-offcanvas > .offcanvas__close.pmt-offcanvas__close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 12;
    transform: none;
    margin: 0;
}

.pmt-offcanvas__head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px !important;
    padding: 8px 0 8px;
    min-height: 72px;
}

.pmt-offcanvas__head .offcanvas__logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.pmt-offcanvas__head .offcanvas__logo a {
    display: inline-flex;
    justify-content: center;
    line-height: 0;
}

.pmt-offcanvas .pmt-offcanvas__head .offcanvas__logo img {
    width: auto;
    max-width: min(280px, 78vw);
    max-height: 80px;
    height: auto;
    object-fit: contain;
    object-position: center center;
}

.pmt-offcanvas__intro {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--text, #406a8c);
}

.pmt-offcanvas__nav {
    margin: 0 0 20px !important;
}

/* Mobile/tablet only — desktop uses header .main-menu */
@media (min-width: 1200px) {
    .pmt-offcanvas__nav {
        display: none !important;
        margin: 0 !important;
    }
}

.pmt-offcanvas-menu,
.pmt-offcanvas-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pmt-offcanvas-menu > li {
    position: relative;
    border-bottom: 1px solid rgba(13, 38, 108, 0.08);
}

.pmt-offcanvas-menu > li:last-child {
    border-bottom: none;
}

.pmt-offcanvas-menu li.has-dropdown {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.pmt-offcanvas-menu li.has-dropdown > a {
    flex: 1 1 0;
    min-width: 0;
}

.pmt-offcanvas-menu li a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--header, #003865);
    text-decoration: none;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.pmt-offcanvas-menu li a:hover {
    color: var(--theme, #13B5EA);
}

.pmt-offcanvas-menu li a .fa-chevron-down,
.pmt-offcanvas-menu li a .fa-angle-right {
    display: none;
}

.pmt-offcanvas-menu__expand {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: 8px;
    border: 1px solid rgba(13, 38, 108, 0.12);
    border-radius: 8px;
    background: rgba(13, 38, 108, 0.04);
    color: var(--header, #003865);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pmt-offcanvas-menu__expand:hover {
    background: rgba(19, 181, 234, 0.1);
    border-color: rgba(19, 181, 234, 0.35);
    color: var(--theme, #13B5EA);
}

.pmt-offcanvas-menu li.is-open > .pmt-offcanvas-menu__expand {
    transform: rotate(180deg);
}

.pmt-offcanvas-menu .submenu {
    flex: 0 0 100%;
    width: 100%;
    padding: 0 0 8px 14px;
}

.pmt-offcanvas-menu .submenu li {
    border-bottom: none;
}

.pmt-offcanvas-menu .submenu li a {
    padding: 10px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--text, #406a8c);
}

.pmt-offcanvas-menu .submenu .submenu {
    padding-left: 12px;
}

.pmt-offcanvas__nav .mean-container,
.pmt-offcanvas__nav .mean-bar {
    display: none !important;
}

.pmt-offcanvas__social {
    gap: 10px !important;
    margin: 0 0 24px !important;
    flex-wrap: wrap;
}

.pmt-offcanvas__social a {
    flex-shrink: 0;
}

.pmt-offcanvas__gallery {
    margin: 0 0 24px !important;
}

.pmt-offcanvas__gallery .offcanvas-gallery-items {
    gap: 12px !important;
}

.pmt-offcanvas__gallery .offcanvas-gallery-items:not(:last-child) {
    margin-bottom: 12px !important;
}

.pmt-offcanvas__gallery .header-gallery {
    flex: 1 1 0;
    min-width: 0;
    aspect-ratio: 1;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(13, 38, 108, 0.06);
}

.pmt-offcanvas__gallery .header-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pmt-offcanvas__contact {
    margin: 20px 0 40px !important;
}

.pmt-offcanvas__contact h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.pmt-offcanvas__contact .contact-list li {
    font-size: 16px;
    color: var(--header, #003865);
    line-height: 1.6;
}

.pmt-offcanvas__contact .contact-list li:not(:last-child) {
    margin-bottom: 10px;
}

.pmt-offcanvas__contact .contact-list li span {
    color: var(--header, #003865);
    font-size: 18px;
    font-weight: 600;
}

.pmt-offcanvas__contact .contact-list li a {
    color: var(--header, #003865);
}

.pmt-offcanvas__cta {
    margin-top: 0;
    padding-bottom: 10px;
}

.pmt-offcanvas__cta .theme-btn {
    width: 100%;
    padding: 18px 24px;
    font-size: 15px;
    text-align: center;
}

body.pmt-offcanvas-open .pmt-lang-switcher {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.offcanvas__wrapper {
    padding: 30px 30px 50px;
}

/* Footer text list (services lines) — match template list-items style */
.footer-section .pmt-footer-text-list li {
    color: var(--bg, #fff4f0);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.footer-section .pmt-footer-text-list li:not(:last-child) {
    margin-bottom: 13px;
}

.footer-section .single-footer-widget .contact-info:last-child {
    margin-bottom: 0;
}

/* Footer layout 2 (frontend-2) */
.footer-section-2 {
    position: relative;
    overflow: hidden;
}

.footer-section-2 .footer-widget-wrapper-2 .row {
    --bs-gutter-x: 2rem;
}

.footer-section-2 .footer-widget-wrapper-2 .row > [class*='col-'] {
    min-width: 0;
}

.footer-section-2 .footer-logo {
    max-width: 100%;
}

.footer-section-2 .footer-logo a {
    display: block;
    max-width: 100%;
}

.footer-section-2 .footer-logo img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    max-height: 110px;
    object-fit: contain;
    object-position: left center;
}

@media (max-width: 1199px) {
    .footer-section-2 .footer-logo img {
        max-height: 96px;
        object-position: left center;
    }
}

@media (max-width: 767px) {
    .footer-section-2 .footer-logo img {
        max-height: 88px;
        object-position: left center;
    }
}

.footer-section-2 .footer-widget-wrapper-2 .footer-single-widget-2 {
    margin-top: 0;
}

.footer-section-2 .footer-widget-wrapper-2 .contact-items p {
    margin-bottom: 0;
    line-height: 1.7;
    font-size: 15px;
    opacity: 0.92;
}

.footer-section-2 .footer-bottom-2 {
    position: relative;
    z-index: 2;
    padding-bottom: 30px;
}

.footer-section-2 .footer-text {
    position: relative;
    z-index: 1;
    margin-top: -40px;
    pointer-events: none;
    user-select: none;
}

/* Request Quote — truck wheels flush on the section line, back & forth */
.feature-quite-section .feature-quate-wrapper .feature-quate-content {
    padding-bottom: 140px;
}

.feature-quite-section .feature-quate-wrapper .feature-quate-content .track-image {
    position: absolute;
    bottom: 12%;
    left: max(0.75rem, calc(50% - 660px + 0.75rem));
    width: min(520px, 47%);
    margin-top: 0;
    animation: pmt-truck-bob-x 5s ease-in-out infinite alternate;
    z-index: 1;
}

.feature-quite-section .feature-quate-wrapper .feature-quate-content .track-image img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 1399.98px) {
    .feature-quite-section .feature-quate-wrapper .feature-quate-content .track-image {
        left: max(0.75rem, calc(50% - 570px + 0.75rem));
    }
}

@media (max-width: 1199px) {
    .feature-quite-section .feature-quate-wrapper .feature-quate-content {
        padding-bottom: 0;
    }

    .feature-quite-section .feature-quate-wrapper .feature-quate-content .track-image {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 50px;
        width: 100%;
        max-width: 100%;
        display: block;
    }
}

@media (max-width: 575px) {
    .feature-quite-section .feature-quate-wrapper .feature-quate-content .track-image {
        margin-top: 40px;
    }
}

@keyframes pmt-truck-bob-x {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(50px);
    }
}

/* Footer truck — full-width loop on the border line (unlike Request Quote bob) */
.footer-section .footer-bottom {
    overflow: visible;
}

.footer-section .footer-bottom .footer-wrapper {
    overflow: visible;
}

.footer-section .footer-bottom .footer-wrapper .car-image {
    position: absolute;
    bottom: -67px;
    right: -100px;
    left: auto;
    width: min(520px, 48%);
    max-width: 640px;
    margin: 0;
    animation: pmt-footer-truck-loop 16s linear infinite;
    z-index: 2;
    pointer-events: none;
    transform: none;
}

.footer-section .footer-bottom .footer-wrapper .car-image img {
    display: block;
    width: 100%;
    height: auto;
}

@keyframes pmt-footer-truck-loop {
    0% {
        right: -100px;
    }

    100% {
        right: 100%;
    }
}

@media (max-width: 767px) {
    .footer-section .footer-bottom .footer-wrapper .car-image {
        display: none;
    }
}

/* About page media (image & video) */
.breadcrumb-wrapper {
    position: relative;
    overflow: hidden;
}

.breadcrumb-wrapper__video,
.feature-cta-section__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.breadcrumb-wrapper .container,
.feature-cta-section {
    position: relative;
    z-index: 1;
}

.about-feature-items .thumb video,
.who-we-are-section .thumb video,
.choose-us-section-2 .choose-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-cta-section {
    min-height: 280px;
    overflow: hidden;
}

.feature-cta-section__video {
    position: absolute;
    inset: 0;
}

/* Font Awesome solid icons inside link-btns (template sets font-weight: 400) */
.link-btns .fa-solid,
.link-btns .fas {
    font-weight: 900;
}

/* Per-character lift on hover */
.pmt-lift-char {
    display: inline-block;
    transition: transform 0.22s cubic-bezier(0.34, 1.4, 0.64, 1), color 0.22s ease;
    cursor: default;
}

.pmt-lift-char:hover {
    transform: translateY(-5px);
    color: var(--theme);
}

a .pmt-lift-char,
button .pmt-lift-char,
.theme-btn .pmt-lift-char {
    cursor: inherit;
}

[data-no-lift] .pmt-lift-char {
    transition: none;
    cursor: inherit;
}

[data-no-lift] .pmt-lift-char:hover {
    transform: none;
    color: inherit;
}
