/* ============================================================
   Welcome Page — Ellaithy Auto
   ============================================================ */

/* ════════════════════════════════════════
   INTRO MODAL
   ════════════════════════════════════════ */
#site-intro-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #060606;
    transition: opacity 0.9s ease;
    overflow: hidden;
}

.intro-stripes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at center, rgba(219, 45, 46, 0.07) 0%, transparent 65%),
        linear-gradient(0deg, transparent 0%, rgba(219, 45, 46, 0.03) 50%, transparent 100%);
}

.intro-stripes::before,
.intro-stripes::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent 0%, rgba(219, 45, 46, 0.45) 50%, transparent 100%);
    animation: stripePulse 3s ease-in-out infinite;
}

.intro-stripes::before {
    left: 22%;
    animation-delay: 0s;
}

.intro-stripes::after {
    right: 22%;
    animation-delay: 1.5s;
}

@keyframes stripePulse {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.8;
    }
}

.intro-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 60px;
}

.intro-logo {
    margin-bottom: 22px;
}

.intro-logo img {
    height: 60px;
}

.intro-brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: 58px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 14px;
    text-transform: uppercase;
    display: block;
    line-height: 1;
    text-shadow: 0 0 40px rgba(219, 45, 46, 0.3);
}

.intro-brand-sub {
    display: block;
    margin-top: 6px;
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    letter-spacing: 6px;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
}

.intro-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 30px 0 42px;
}

.intro-divider-line {
    width: 90px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(219, 45, 46, 0.55));
}

.intro-divider-line:last-child {
    background: linear-gradient(to left, transparent, rgba(219, 45, 46, 0.55));
}

.intro-divider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #db2d2e;
    box-shadow: 0 0 12px rgba(219, 45, 46, 0.9), 0 0 24px rgba(219, 45, 46, 0.4);
}

/* Engine button */
#start-engine-btn {
    position: relative;
    width: 148px;
    height: 148px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: radial-gradient(circle at 38% 32%, #e84444, #db2d2e 45%, #921b1b);
    box-shadow:
        0 0 0 8px rgba(219, 45, 46, 0.12),
        0 0 0 18px rgba(219, 45, 46, 0.07),
        0 0 0 30px rgba(219, 45, 46, 0.03),
        inset 0 -5px 10px rgba(0, 0, 0, 0.45),
        inset 0 5px 10px rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    animation: enginePulse 2.2s ease-in-out infinite;
    transition: transform 0.15s;
    touch-action: manipulation;
}

#start-engine-btn:hover {
    transform: scale(1.04);
}

#start-engine-btn:active {
    transform: scale(0.97);
}

#start-engine-btn.revving {
    animation: engineRev 0.08s linear infinite;
}

#start-engine-btn .btn-icon {
    font-size: 38px;
    color: #fff;
    display: block;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.6));
}

#start-engine-btn .btn-label {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-top: 5px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

@keyframes enginePulse {

    0%,
    100% {
        box-shadow:
            0 0 0 8px rgba(219, 45, 46, 0.12),
            0 0 0 18px rgba(219, 45, 46, 0.07),
            0 0 0 30px rgba(219, 45, 46, 0.03),
            inset 0 -5px 10px rgba(0, 0, 0, 0.45),
            inset 0 5px 10px rgba(255, 255, 255, 0.12);
    }

    50% {
        box-shadow:
            0 0 0 14px rgba(219, 45, 46, 0.18),
            0 0 0 26px rgba(219, 45, 46, 0.10),
            0 0 0 42px rgba(219, 45, 46, 0.05),
            inset 0 -5px 10px rgba(0, 0, 0, 0.45),
            inset 0 5px 10px rgba(255, 255, 255, 0.12);
    }
}

@keyframes engineRev {

    0%,
    100% {
        transform: scale(0.985) translateY(1px);
    }

    50% {
        transform: scale(1.01) translateY(-1px);
    }
}

.intro-hint {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.28);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
    margin: 0;
}

.intro-hint::after {
    content: '_';
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ════════════════════════════════════════
   SLIDER — OVERFLOW CONTAINMENT
   ════════════════════════════════════════ */
.section.slider,
.rev_slider_wrapper,
.fullwidthbanner-container,
.rev_slider_wrapper .rev_slider {
    overflow: hidden !important;
    max-width: 100vw !important;
}

/* ════════════════════════════════════════
   SLIDER HERO BRANDING
   ════════════════════════════════════════ */
#slide-6-layer-7,
#slide-6-layer-7.tp-caption {
    z-index: 180 !important;
}

/* tp-parallax-wrap position overrides — desktop only.
   On mobile RevSlider calculates positions from its own responsive
   gridwidth / gridheight arrays so we must NOT override them. */
@media (min-width: 768px) {

    .tp-parallax-wrap:has(#slide-6-layer-4),
    .tp-parallax-wrap:has(#slide-6-layer-5) {
        top: 350px !important;
    }

    .tp-parallax-wrap:has(#slide-6-layer-3),
    .tp-parallax-wrap:has(#slide-6-layer-2),
    .tp-parallax-wrap:has(#slide-6-layer-1) {
        top: 265px !important;
    }

    .tp-parallax-wrap:has(#slide-6-layer-7) {
        top: 100px !important;
    }

    .tp-parallax-wrap:has(#slide-6-layer-8) {
        top: 700px !important;
    }
}

.slider-hero-brand {
    text-align: center;
    white-space: normal;
}

.slider-hero-brand .hero-accent {
    display: inline-block;
    width: 60px;
    height: 3px;
    background: #db2d2e;
    margin-bottom: 18px;
    border-radius: 2px;
}

.slider-hero-brand .hero-name {
    font-family: 'Roboto', sans-serif;
    font-size: 7rem !important;
    font-weight: 900;
    letter-spacing: 10px;
    text-transform: uppercase;
    color: #111;
    line-height: 1;
    margin: 0;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
}

.slider-hero-brand .hero-sub {
    font-family: 'Roboto', sans-serif;
    font-size: 27px;
    font-weight: 300;
    letter-spacing: 14px;
    text-transform: uppercase;
    color: #db2d2e;
    margin: 6px 0 0;
    line-height: 1.4;
}

.slider-hero-brand .hero-tagline {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #666;
    margin-top: 22px;
}

/* ════════════════════════════════════════
   SLIDER INSTALLMENT PROMO — CTA Box
   ════════════════════════════════════════ */
.slider-installment {
    text-align: center;
    white-space: normal;
    max-width: 90vw;
}

.installment-cta-box {
    background: #fff;
    border-radius: 20px;
    padding: 0px 72px;
    text-align: center;
    /* box-shadow: 0 24px 64px rgba(0, 0, 0, 0.13); */
}

.installment-cta-box h2 {
    font-size: 64px;
    font-weight: 900;
    color: #071026;
    line-height: 1.1;
    margin: 0 0 14px;
    font-family: 'Roboto', sans-serif;
}

.installment-cta-box p {
    font-size: 17px;
    color: #666;
    margin: 0 0 28px;
    line-height: 1.6;
}

.installment-cta-box .installment-btn {
    display: inline-block;
    background: #071026;
    color: #fff;
    padding: 15px 175px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.2s;
}

.installment-cta-box .installment-btn:hover {
    background: #db2d2e;
    color: #fff;
}

/* ════════════════════════════════════════
   WHY ELLAITHY — 6 Feature Items
   ════════════════════════════════════════ */
.why-cards-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #db2d2e;
    border: 1px solid rgba(219, 45, 46, 0.4);
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 14px;
}

#why-ellaithy .why-features-row {
    margin-top: 32px;
}

#why-ellaithy .why-feature-col {
    display: flex;
    margin-bottom: 40px;
}

#why-ellaithy .why-feature-card {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 16px;
    text-align: center;
    width: 100%;
}

#why-ellaithy .why-feature-card .wf-icon {
    width: 148px;
    height: 148px;
    border-radius: 50%;
    background: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    transition: background 0.3s;
}

#why-ellaithy .why-feature-card:hover .wf-icon {
    background: #ebebeb;
}

#why-ellaithy .why-feature-card .wf-icon i {
    font-size: 58px;
    color: #b5b5b5;
    line-height: 1;
    transition: color 0.3s;
}

#why-ellaithy .why-feature-card:hover .wf-icon i {
    color: #999;
}

#why-ellaithy .why-feature-card h6 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 0;
    line-height: 1.4;
}

/* red underline accent */
#why-ellaithy .why-feature-card h6::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background: #db2d2e;
    margin: 10px auto 0;
}

#why-ellaithy .why-feature-card p {
    font-size: 13.5px;
    color: #888;
    line-height: 1.75;
    margin: 12px 0 0;
    padding: 0px;
}

/* ════════════════════════════════════════
   SELL YOUR CAR — Compact Banner Ad
   ════════════════════════════════════════ */
.sell-promo-section {
    background: linear-gradient(135deg, #071026 0%, #2a0b12 55%, #db2d2e 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

/* decorative glow blob */
.sell-promo-section::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

[dir="rtl"] .sell-promo-section::before {
    right: auto;
    left: -60px;
}

/* the banner card */
.spc-card {
    display: flex;
    align-items: center;
    gap: 32px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 18px;
    padding: 28px 36px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(6px);
}

/* left: icon */
.spc-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.spc-icon i {
    font-size: 26px;
    color: #fff;
    line-height: 1;
}

/* centre: text */
.spc-body {
    flex: 1;
    min-width: 0;
}

.spc-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 4px;
    line-height: 1.3;
}

.spc-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.5;
}

/* right: meta + CTA */
.spc-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    flex-shrink: 0;
}

[dir="rtl"] .spc-right {
    align-items: flex-start;
}

.spc-meta {
    display: flex;
    gap: 24px;
}

.spc-meta-item {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    text-align: end;
}

[dir="rtl"] .spc-meta-item {
    text-align: start;
}

.spc-meta-label {
    color: rgba(255, 255, 255, 0.42);
    font-weight: 400;
    margin-bottom: 2px;
}

.spc-meta-value {
    color: #fff;
    font-weight: 700;
}

/* CTA button */
.spc-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff !important;
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.2s, border-color 0.2s;
}

.spc-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff !important;
}

.spc-btn-arrow {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.spc-btn:hover .spc-btn-arrow {
    background: rgba(255, 255, 255, 0.3);
}

.spc-btn-arrow i {
    font-size: 11px;
    color: #fff;
}

[dir="rtl"] .spc-btn-arrow i {
    transform: scaleX(-1);
}

/* Tablet */
@media (max-width: 767px) {
    .spc-card {
        flex-wrap: wrap;
        gap: 20px;
        padding: 24px 28px;
    }

    .spc-right {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    [dir="rtl"] .spc-right {
        flex-direction: row-reverse;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .sell-promo-section {
        padding: 28px 0;
    }

    .spc-card {
        padding: 20px;
        border-radius: 14px;
        gap: 16px;
    }

    .spc-meta {
        gap: 16px;
    }

    .spc-icon {
        width: 44px;
        height: 44px;
    }

    .spc-icon i {
        font-size: 22px;
    }
}

/* ════════════════════════════════════════
   FEATURED CAR CARDS
   ════════════════════════════════════════ */
.fc-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fc-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.38);
}

.fc-image {
    position: relative;
    overflow: hidden;
}

.fc-image img {
    width: 100%;
    height: 205px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.fc-card:hover .fc-image img {
    transform: scale(1.06);
}

/* condition badge */
.fc-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.fc-badge--new {
    background: #27ae60;
    color: #fff;
}

.fc-badge--used {
    background: #e67e22;
    color: #fff;
}

.fc-badge--certified {
    background: #2980b9;
    color: #fff;
}

/* hover overlay */
.fc-overlay {
    position: absolute;
    inset: 0;
    background: rgba(219, 45, 46, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fc-card:hover .fc-overlay {
    opacity: 1;
}

.fc-overlay-btn {
    color: #fff;
    border: 2px solid #fff;
    padding: 9px 22px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.2s, color 0.2s;
}

.fc-overlay-btn:hover {
    background: #fff;
    color: #db2d2e;
    text-decoration: none;
}

/* spec strip */
.fc-meta {
    display: flex;
    justify-content: space-around;
    background: #1c1c1c;
    padding: 9px 8px;
}

.fc-meta span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
}

.fc-meta span i {
    color: #db2d2e;
    margin-right: 4px;
}

/* content */
.fc-content {
    padding: 16px 16px 18px;
    text-align: center;
}

.fc-title {
    margin-bottom: 10px;
}

.fc-title a {
    font-size: 14px;
    font-weight: 700;
    color: #323232;
    text-decoration: none;
    line-height: 1.35;
    display: block;
}

.fc-title a:hover {
    color: #db2d2e;
}

.fc-old-price {
    color: #aaa;
    font-size: 12px;
    text-decoration: line-through;
    display: block;
    margin-bottom: 2px;
}

.fc-new-price {
    color: #db2d2e;
    font-size: 17px;
    font-weight: 700;
    display: block;
}

/* ════════════════════════════════════════
   BRAND / MANUFACTURER CARDS
   ════════════════════════════════════════ */
.brand-card {
    display: block;
    text-decoration: none !important;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 28px 16px 22px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.brand-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #db2d2e;
    transition: width 0.35s ease;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 28px rgba(219, 45, 46, 0.12);
    border-color: rgba(219, 45, 46, 0.2);
}

.brand-card:hover::after {
    width: 100%;
}

.brand-logo {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.brand-logo img {
    max-height: auto;
    max-width: 100px;
    object-fit: contain;
    filter: grayscale(55%);
    transition: filter 0.3s ease;
}

.brand-card:hover .brand-logo img {
    filter: grayscale(0%);
}

.brand-logo-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-placeholder i {
    font-size: 26px;
    color: #ccc;
}

.brand-name {
    display: block;
    font-weight: 700;
    color: #323232;
    font-size: 14px;
    margin-bottom: 5px;
}

.brand-count {
    display: block;
    font-size: 12px;
    color: #db2d2e;
    font-weight: 600;
}

/* ════════════════════════════════════════
   TESTIMONIAL CARDS
   ════════════════════════════════════════ */
.tc-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 28px 26px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.07);
    border-bottom: 3px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.11);
    border-color: #db2d2e;
}

.tc-quote-mark {
    position: absolute;
    top: 14px;
    right: 22px;
    font-size: 86px;
    line-height: 1;
    font-family: Georgia, serif;
    font-weight: 900;
    color: rgba(219, 45, 46, 0.07);
    user-select: none;
}

.tc-stars {
    color: #f39c12;
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 14px;
}

.tc-text {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 22px;
    font-style: italic;
}

.tc-author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid #f0f0f0;
    padding-top: 18px;
}

.tc-author img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #db2d2e;
    flex-shrink: 0;
}

.tc-author-name {
    font-weight: 700;
    color: #323232;
    font-size: 15px;
    display: block;
    line-height: 1.2;
    margin-bottom: 3px;
}

.tc-author-role {
    font-size: 12px;
    color: #999;
    letter-spacing: 0.3px;
}

/* ── Button override ── */
.button::before,
.button {
    border-radius: 10px;
}

/* ════════════════════════════════════════
   RESPONSIVE — Mobile First
   ════════════════════════════════════════ */

/* ── Why Ellaithy — slide-in from sides ── */
#why-ellaithy .objects-left .objects-1 {
    transform: translateX(-320px);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.8s ease;
    will-change: transform, opacity;
}

#why-ellaithy .objects-right .objects-2 {
    transform: translateX(320px);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.8s ease;
    will-change: transform, opacity;
}

#why-ellaithy.in-view .objects-left .objects-1 {
    transform: translateX(0);
    opacity: 1;
}

#why-ellaithy.in-view .objects-right .objects-2 {
    transform: translateX(0);
    opacity: 1;
}

#rev_slider_2_1_wrapper {
    top: -100px !important;
}

/* ════════════════════════════════════════
   MOBILE HERO — phones only (< 768px)
   ════════════════════════════════════════ */
.mobile-hero {
    background: #fff;
    padding: 56px 24px 48px;
    text-align: center;
}

.mobile-hero-box {
    max-width: 480px;
    margin: 0 auto;
}

.mobile-hero-box h3 {
    font-size: 38px;
    font-weight: 900;
    color: #071026;
    line-height: 1.15;
    margin: 0 0 16px;
}

.mobile-hero-box p {
    font-size: 15px;
    color: #666;
    line-height: 1.65;
    margin: 0 0 32px;
}

.mobile-hero-btn {
    display: block;
    background: #071026;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    padding: 16px 24px;
    border-radius: 14px;
    text-decoration: none !important;
    transition: background 0.2s;
}

.mobile-hero-btn:hover {
    background: #db2d2e;
    color: #fff !important;
}

.tp-fullwidth-forcer {
    height: 580px !important;
}


@media (max-width: 1250px){
    .tp-fullwidth-forcer {
        height: 450px !important;
    }
}

/* ── Decorative objects — tablet and below ── */
@media (max-width: 991px) {

    .objects-left,
    .objects-right {
        display: none !important;
    }

    .custom-block-1 {
        padding: 40px 24px;
    }

    #rev_slider_2_1_wrapper {
        top: -16px !important;
    }

    .mobile-hero {
        padding: 0px 24px 48px;
    }

    .tp-fullwidth-forcer {
        height: 550px !important;
    }

}

/* ── Tablet (≤ 767px) ── */
@media (max-width: 767px) {
    #rev_slider_2_1_wrapper {
        top: 100px !important;
    }

    .tp-parallax-wrap:has(#slide-6-layer-7) {
        top: 50px !important;
    }

    /* Section titles */
    .section-title h2 {
        font-size: 26px !important;
        letter-spacing: 1px;
    }

    .section-title span {
        font-size: 12px;
    }

    .section-title {
        margin-bottom: 28px;
    }

    /* Section padding */
    .page-section-ptb {
        padding: 50px 0 !important;
    }

    /* Intro modal */
    .intro-content {
        padding: 30px 20px;
    }

    .intro-logo {
        margin-bottom: 32px;
    }

    .intro-logo img {
        transform: scale(3.5) !important;
    }

    .intro-divider {
        margin: 18px 0 28px;
    }

    .intro-divider-line {
        width: 50px;
    }

    #start-engine-btn {
        width: 120px;
        height: 120px;
    }

    #start-engine-btn .btn-icon {
        font-size: 30px;
    }

    .intro-hint {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .intro-stripes::before {
        left: 8%;
    }

    .intro-stripes::after {
        right: 8%;
    }

    /* ── Slider: dark background since the bg image is unused ── */
    .slider section,
    .slider,
    #rev_slider_2_1_wrapper,
    #rev_slider_2_1 {
        background: #ffffff !important;
    }

    /* ── Force hero brand to the top of the slider on mobile ── */
    .tp-parallax-wrap:has(#slide-6-layer-7) {
        top: 16px !important;
        width: 100% !important;
        text-align: center;
    }

    /* ── Cars: cluster in the middle ── */
    .tp-parallax-wrap:has(#slide-6-layer-1) {
        top: 75px !important;
        transform: scale(1.5);
        /* left: 118px!important; */
        left: 28% !important;


    }

    .tp-parallax-wrap:has(#slide-6-layer-2) {
        top: 65px !important;
        transform: scale(1.5);
        left: -4px !important;
    }

    .tp-parallax-wrap:has(#slide-6-layer-3) {
        top: 65px !important;
        transform: scale(1.5);
        /* left: 182px!important; */
        left: 40% !important;

    }

    /* ── CTA box: anchor to bottom ── */
    .tp-parallax-wrap:has(#slide-6-layer-8) {
        /* top: auto !important;
        bottom: 16px !important; */
    }

    .installment-cta-box .installment-btn {
        padding: 12px 48px;
        font-size: 2rem;
    }

    /* Slider hero text — small on mobile */
    #slide-6-layer-7 {
        white-space: normal !important;
        text-align: center !important;
    }

    #slide-6-layer-7 .hero-accent {
        width: 22px !important;
        height: 2px !important;
        margin-bottom: 5px !important;
        line-height: 1 !important;
    }

    #slide-6-layer-7 .hero-name {
        font-size: 37px !important;
        line-height: 1.15 !important;
        letter-spacing: 4px !important;
        margin: 0 !important;
    }

    #slide-6-layer-7 .hero-sub {
        font-size: 10px !important;
        line-height: 1.5 !important;
        letter-spacing: 5px !important;
        margin: 3px 0 0 !important;
    }

    /* ── Hide background side cars on mobile ── */
    #slide-6-layer-4,
    #slide-6-layer-5 {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    /* ── Hide installment CTA inside slider on mobile (shown as separate section below) ── */
    #slide-6-layer-8 {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    /* Slider installment CTA box */
    .installment-cta-box {
        padding: 28px 28px;
    }

    .installment-cta-box h2,
    .installment-cta-box h3 {
        font-size: 28px !important;
        margin-bottom: 8px;
    }

    .installment-cta-box p {
        font-size: 13px;
        margin-bottom: 18px;
    }

    /* Sell promo */
    .sell-promo-title {
        font-size: 30px;
    }

    .sell-promo-section {
        padding: 70px 0;
    }

    .sell-promo-desc {
        font-size: 15px;
    }

    /* Why feature items */
    #why-ellaithy .why-feature-card .wf-icon {
        width: 110px;
        height: 110px;
    }

    #why-ellaithy .why-feature-card .wf-icon i {
        font-size: 44px;
    }

    /* Featured car image */
    .fc-image img {
        height: 185px;
    }
}

/* ── Mobile (≤ 575px) ── */
@media (max-width: 575px) {

    /* Section padding */
    .page-section-ptb {
        padding: 40px 0 !important;
    }

    /* Featured car cards */
    .fc-image img {
        height: 165px;
    }

    .fc-content {
        padding: 12px 12px 14px;
    }

    .fc-title a {
        font-size: 13px;
    }

    .fc-new-price {
        font-size: 15px;
    }

    .fc-meta span {
        font-size: 10px;
    }

    .fc-meta {
        padding: 7px 4px;
        flex-wrap: wrap;
        gap: 4px;
        justify-content: center;
    }

    /* Brand cards */
    .brand-card {
        padding: 18px 10px 14px;
    }

    .brand-logo {
        height: 56px;
        margin-bottom: 10px;
    }

    .brand-logo img {
        max-height: 56px;
        max-width: 100px;
    }

    .brand-name {
        font-size: 12px;
    }

    .brand-count {
        font-size: 11px;
    }

    /* Testimonial cards */
    .tc-card {
        padding: 22px 16px 16px;
    }

    .tc-quote-mark {
        font-size: 58px;
    }

    .tc-text {
        font-size: 13px;
        line-height: 1.7;
    }

    .tc-author img {
        width: 44px;
        height: 44px;
    }

    .tc-author-name {
        font-size: 13px;
    }

    /* Sell your car block */
    .custom-block-1 h2 {
        font-size: 22px !important;
    }

    /* Sell promo */
    .sell-promo-title {
        font-size: 26px;
    }

    .sell-promo-section {
        padding: 56px 0;
    }

    .sell-promo-btn {
        padding: 14px 36px;
    }

    /* Why feature items */
    #why-ellaithy .why-feature-card .wf-icon {
        width: 90px;
        height: 90px;
    }

    #why-ellaithy .why-feature-card .wf-icon i {
        font-size: 36px;
    }

    #why-ellaithy .why-feature-card h6 {
        font-size: 15px;
    }

    /* Counter */
    .counter-block {
        padding: 14px 8px;
    }

    .counter-block b {
        font-size: 34px !important;
    }

    .mobile-hero {
        margin-top: 66px;
    }
    .tp-fullwidth-forcer {
        height: 360px !important;
    }
}

/* ── Small mobile (≤ 420px) ── */
@media (max-width: 420px) {

    /* Intro modal */
    .intro-content {
        padding: 22px 12px;
    }

    .intro-logo img {
        transform: scale(2.6) !important;
    }

    #start-engine-btn {
        width: 104px;
        height: 104px;
    }

    #start-engine-btn .btn-icon {
        font-size: 26px;
    }

    /* Section title */
    .section-title h2 {
        font-size: 22px !important;
    }

    /* Slider hero */
    .slider-hero-brand .hero-name {
        font-size: 30px;
        letter-spacing: 3px;
    }

    .slider-hero-brand .hero-sub {
        font-size: 13px;
        letter-spacing: 4px;
    }

    /* ── Scale up the 3 front cars on mobile ── */
    #slide-6-layer-1 img,
    #slide-6-layer-4 img,
    #slide-6-layer-5 img {
        transform: scale(1.45) !important;
        transform-origin: center bottom !important;
    }

    /* Installment CTA box */
    .installment-cta-box {
        padding: 28px 20px;
    }

    .installment-cta-box h2 {
        font-size: 30px;
    }

    .installment-cta-box p {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .installment-cta-box .installment-btn {
        display: block;
        width: 100%;
        padding: 13px 20px;
        font-size: 13px;
        text-align: center;
    }

    /* Sell promo */
    .sell-promo-title {
        font-size: 22px;
    }

    .sell-promo-section {
        padding: 48px 0;
    }

    /* fc-meta: show as grid on very small */
    .fc-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        text-align: center;
    }

    #rev_slider_2_1_wrapper {
        top: 85px !important;
    }

    .tp-parallax-wrap:has(#slide-6-layer-1) {
        top: 150px !important;
        transform: scale(1.5);
        left: 32%!important;
    }
    .tp-parallax-wrap:has(#slide-6-layer-2) {
        top: 84px !important;
    }
    .tp-parallax-wrap:has(#slide-6-layer-3) {
        top: 82px !important;
    }
    .mobile-hero {
        margin-top: 0px;
    }
    #slide-6-layer-1 img{
        width: 90px !important;
        height: auto !important;
    }
}
