/* Phase-2 performance: extracted inline page styles for better browser caching */

.clients-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    margin: auto;
}

@media (max-width: 768px) {
    .clients-logo img {
        width: 100%;
        height: 100%;
    }
}

.testimonial-section {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
    text-align: center;
    position: relative;
}

.testimonial-section h2 {
    font-size: 28px;
    margin-bottom: 40px;
    color: #fff;
}

.testimonial-card {
    background: #2a2a2a;
    border-radius: 16px;
    padding: 20px;
    color: #ccc;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #555;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
}

.date {
    font-size: 12px;
    color: #888;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.stars {
    color: #ffc107;
    font-size: 16px;
}

.stars i {
    color: #ffc107;
    margin-right: 2px;
}

.g-icon {
    width: 100px !important;
    height: 30px !important;
    position: absolute;
    right: 0;
}

.swiper-button-prev,
.swiper-button-next {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid #888;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.swiper-button-prev {
    left: -25px;
}

.swiper-button-next {
    right: -25px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

@media (max-width: 767px) {
    .testimonial-section h2 {
        font-size: 22px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 32px;
        height: 32px;
    }

    .swiper-button-prev {
        left: -5px;
    }

    .swiper-button-next {
        right: -5px;
    }
}

.leon-popular-tags-sec {
    --leon-gold: #fd0;
    --leon-text: #111;
    --leon-muted: #666;
    --leon-chip-bg: #fafafa;
    --leon-chip-bd: #e9e9e9;
    --leon-chip-hover: #000;
    --leon-shadow: 0 2px 6px rgba(0, 0, 0, .06);
    --leon-radius: 999px;
}

.leon-heading {
    font-weight: 800;
    font-size: clamp(20px, 2.4vw, 28px);
    color: #fff;
    padding: 14px 0 12px;
    margin: 0 0 14px;
    border-bottom: 1px dashed #d9d9d9;
    letter-spacing: .2px;
}

.leon-tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    margin-top: 14px;
}

.leon-tag {
    display: inline-block;
    height: auto;
    padding: 8px 20px;
    border: 1px solid #f5b754;
    border-radius: 30px;
    background-color: #f5b754;
    color: #1b1b1b;
    font-weight: 300;
    text-align: center;
    font-size: 14px;
    transition: border-color 300ms ease, transform 300ms ease, background-color 300ms ease, color 300ms ease;
    transform-style: preserve-3d;
    max-width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.leon-tag::after {
    content: "\203A";
    font-size: 20px;
    color: #000;
    margin-left: 6px;
    transition: color .18s ease, transform .18s ease;
}

.leon-tag:hover {
    border: 1px solid #fff;
    background-color: #fff;
    color: #1b1b1b;
    transform: translate3d(0px, -6px, 0.01px);
}

@media (max-width: 992px) {
    .leon-tag-container {
        gap: 10px;
    }

    .leon-tag {
        font-size: 13px;
        padding: 9px 14px;
    }
}

@media (max-width: 576px) {
    .leon-heading {
        font-size: 20px;
    }

    .leon-tag {
        padding: 10px 14px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .leon-tag,
    .leon-tag::after {
        transition: none;
    }
}

/* Layout stability: hero + category carousel + nav chips (avoid aspect-ratio on hero — fights background + JS) */
.header.slider-fade .item.bg-img {
    min-height: 560px;
}

/* Home hero: place .hero-leonrent bottom-center (default theme flex-centers the slide and hides text) */
.header.slider-fade.desktop-only .item.bg-img {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    position: relative;
}

.header.slider-fade.desktop-only .item.bg-img > .v-middle.caption {
    position: relative;
    top: auto !important;
    transform: none !important;
    width: 100%;
    z-index: 9;
    padding: 0 0 clamp(1.25rem, 4.5vh, 3.25rem);
    box-sizing: border-box;
}

.header.mobile-only .item.bg-img {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    position: relative;
}

.header.mobile-only .item.bg-img > .v-middle-leonrent.caption,
.header.mobile-only .item.bg-img > .caption {
    position: relative;
    top: auto !important;
    transform: none !important;
    width: 100%;
    z-index: 9;
    padding: 0 0 clamp(1rem, 3.5vh, 2.5rem);
    box-sizing: border-box;
}

.header.mobile-only .hero-leonrent.mobile-hero {
    padding-top: 0;
}

h1.hero-title {
    line-height: 1.15;
}

/* Home "Categories" carousel — fluid tiles, no fixed 220px crop issues on narrow phones */
.car-types1.section-padding {
    padding-top: clamp(2.5rem, 6vw, 5rem);
    padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

.car-types1 .container > .row:first-child .col-md-12 > p {
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(0.5rem, 3vw, 1rem);
    padding-right: clamp(0.5rem, 3vw, 1rem);
    font-size: clamp(0.9375rem, 2.8vw, 1rem);
    line-height: 1.65;
}

.car-types1 .item {
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: min(280px, 58vw);
}

.car-types1 .item > a {
    position: absolute;
    inset: 0;
    display: block;
    z-index: 1;
}

.car-types1 .item img.img-fluid {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
}

.car-types1 .item .title {
    padding: clamp(1rem, 4vw, 1.875rem);
    z-index: 2;
}

.car-types1 .item .title h4 {
    font-size: clamp(1.125rem, 3.5vw, 1.35rem);
}

.car-types1 .item .curv-butn {
    z-index: 3;
}

/* Owl: readable gutters on small screens */
.car-types1 .owl-carousel .owl-stage-outer {
    padding-bottom: 4px;
}

@media (max-width: 575px) {
    .car-types1 .owl-carousel .owl-dots {
        margin-top: 0.75rem;
    }
}

/* Mobile navbar: logo | toggler | lang | currency — generous gaps so controls never overlap */
@media (max-width: 991.98px) {

    .gt_float_switcher .gt-selected .gt-current-lang {
        padding: 6px 6px!important;
        color: #333;
        font-weight: bold;
    }

    .navbar > .container {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(48px, 48px) auto;
        grid-template-rows: auto auto;
        align-items: center;
        column-gap: clamp(0.65rem, 2.5vw, 1rem);
    }

    .navbar .logo-wrapper {
        float: none !important;
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
        display: flex;
        align-items: center;
        align-self: center;
    }

    .navbar .navbar-toggler {
        float: none !important;
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        align-self: center;
        box-sizing: border-box;
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        padding: 0 !important;
        margin: 0 !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 1046;
        transform: none !important;
        -webkit-tap-highlight-color: transparent;
        transition: background-color 0.2s ease, color 0.2s ease;
        border-radius: 10px;
    }

    .navbar .navbar-toggler:active,
    .navbar .navbar-toggler:focus {
        transform: none !important;
        outline: none;
        box-shadow: none !important;
    }

    .navbar .navbar-toggler .navbar-toggler-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1.5rem;
        height: 1.5rem;
        margin: 0;
        line-height: 1;
        pointer-events: none;
    }

    .navbar > .container > .header-utils {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        align-self: center;
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        justify-content: flex-end;
        gap: clamp(12px, 3.5vw, 18px);
        padding-right: 8px;
        padding-left: 6px;
        margin-left: 0;
        justify-content: flex-end !important;
    }

    /* Language left of currency (DOM order is currency then gtranslate) */
    .navbar > .container > .header-utils .gtranslate_wrapper {
        order: 2;
        flex-shrink: 0;
        display: flex !important;
        align-items: center !important;
        justify-content: center;
        min-width: 48px;
        min-height: 48px;
    }

    .navbar > .container > .header-utils .currency-wrapper {
        order: 2;
        flex-shrink: 0;
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        z-index: 1045;
    }

    .navbar .header-utils .gtranslate_wrapper .gt_float_switcher,
    .navbar .header-utils .gtranslate_wrapper > span {
        margin: 0 !important;
    }

    .navbar #navbar.navbar-collapse {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        margin-top: 0 !important;
        margin-left: 0 !important;
    }
}

.navbar .dropdown-menu .inline-img {
    width: 48px;
    height: 48px;
    max-width: 100%;
    object-fit: contain;
}

/* Fleet cards: fill fixed frame from style.css (460px / 300px mobile).
   Overrides later .item .img a img { height: auto } so photos cover the full .img box. */
.cars1 .item .img img,
.cars1 .item .img a img,
.item.awj-fleet-card .img img,
.item.awj-fleet-card .img a img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Car list thumbs: no placeholder band; image drives height */
.carthumb .ctimgcont {
    overflow: hidden;
}

.carthumb .mainimg {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.banner-header.bg-img {
    background-color: #2a2a2a;
    background-size: cover;
    background-position: center;
}
