/* =============================================
   HERO FORM CARD — Animated border/glow frame
   ============================================= */
@keyframes borderGlow {
    0% {
        box-shadow: 0 0 0 2px rgba(37, 35, 84, 0.25), 0 10px 40px rgba(0, 0, 0, 0.1);
    }

    33% {
        box-shadow: 0 0 0 3px rgba(39, 141, 205, 0.55), 0 14px 48px rgba(39, 141, 205, 0.18);
    }

    66% {
        box-shadow: 0 0 0 3px rgba(37, 35, 84, 0.45), 0 14px 48px rgba(37, 35, 84, 0.15);
    }

    100% {
        box-shadow: 0 0 0 2px rgba(37, 35, 84, 0.25), 0 10px 40px rgba(0, 0, 0, 0.1);
    }
}

@keyframes borderGlowWrap {
    0% {
        border-color: rgba(37, 35, 84, 0.18);
    }

    50% {
        border-color: rgba(39, 141, 205, 0.55);
    }

    100% {
        border-color: rgba(37, 35, 84, 0.18);
    }
}

.banner-hero-block .car-filter-area {
    /* animation: borderGlow 3.5s ease-in-out infinite; */
    /* border-radius: 0 20px 20px 20px; */
}

/* Animated gradient top line on the card */
.banner-hero-block .filter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #252354, #278DCD, #252354);
    background-size: 200% 100%;
    border-radius: 3px 3px 0 0;
    animation: gradientSlide 3s ease-in-out infinite;
}

@keyframes gradientSlide {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* =============================================
   ACCORDION TEXT — Force dark on light bg
   (all specificity levels covered)
   ============================================= */
.wm-accordion-item .wm-accordion-title,
.wm-accordion .wm-accordion-title,
span.wm-accordion-title {
    color: #252354 !important;
}

.wm-accordion-item .wm-accordion-button,
.wm-accordion .wm-accordion-button,
button.wm-accordion-button {
    color: #252354 !important;
    background: transparent !important;
}

.wm-accordion-item .wm-accordion-body,
.wm-accordion .wm-accordion-body,
.wm-accordion-body {
    color: #444 !important;
    background-color: transparent !important;
}

.wm-accordion-body p,
.wm-accordion-body span,
.wm-accordion-body li,
.wm-accordion-body div,
.wm-accordion-body a {
    color: #444 !important;
}

.wm-accordion-icon,
.wm-accordion-icon i {
    color: #252354 !important;
}



/* Banner: style.css'deki flex-end korunuyor, burada sadece gerekli override'lar */


/* =============================================
   ACCORDION FIX - Force dark text on light bg
   ============================================= */
.wm-accordion-title {
    color: #252354 !important;
}

.wm-accordion-button {
    color: #252354 !important;
}

.wm-accordion-body {
    color: #444 !important;
}

.wm-accordion-body * {
    color: #444 !important;
}

.wm-accordion-icon i {
    color: #252354 !important;
}


/* =============================================
   KEYFRAME ANIMATIONS
   ============================================= */
@keyframes bannerSatPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(37, 35, 84, 0.35), 0 -5px 15px rgba(0, 0, 0, 0.05);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(37, 35, 84, 0), 0 -5px 15px rgba(0, 0, 0, 0.05);
    }
}

@keyframes arrowBounce {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

@keyframes ctaPulseGlow {

    0%,
    100% {
        box-shadow: 0 6px 24px rgba(37, 35, 84, 0.22);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 12px 36px rgba(37, 35, 84, 0.4);
        transform: scale(1.025);
    }
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

@keyframes liveBlip {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(127, 255, 178, 0.6);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(127, 255, 178, 0);
    }
}


/* =============================================
   BANNER TABS - Active tab glows
   ============================================= */
.banner-buttons button.btn-sat.active,
.banner-buttons button.active {
    animation: bannerSatPulse 2.4s ease-in-out infinite;
}


/* =============================================
   CTA EVALUATE BUTTON ANIMATIONS
   ============================================= */
.btn-evaluate {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease !important;
}

.btn-evaluate::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: skewX(-20deg);
    animation: shimmer 2.8s ease-in-out infinite;
}

.btn-evaluate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 35, 84, 0.3) !important;
}

.btn-evaluate .ri-arrow-right-line {
    animation: arrowBounce 1.2s ease-in-out infinite;
    display: inline-block;
}


/* =============================================
   GENERAL BUTTON HOVER ANIMATIONS
   ============================================= */
.btn-navy {
    transition: all 0.3s cubic-bezier(.4, 0, .2, 1) !important;
    position: relative;
    overflow: hidden;
}

.btn-navy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 35, 84, 0.3) !important;
}

.btn-outline-dark {
    transition: all 0.3s ease !important;
}

.btn-outline-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
}

.trust-card-modern,
.wm-vehicle-card {
    transition: transform 0.35s cubic-bezier(.4, 0, .2, 1), box-shadow 0.35s ease !important;
}

.wm-view-all-cars {
    transition: all 0.3s ease !important;
}

.wm-view-all-cars:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(39, 141, 205, 0.4) !important;
}

.read-more-btn {
    transition: all 0.25s ease !important;
}

.read-more-btn:hover {
    letter-spacing: 0.5px;
}


/* =============================================
   HERO SELL BADGE (live dot floating badge)
   ============================================= */
.hero-sell-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #252354, #278DCD);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 16px 6px 10px;
    border-radius: 50px;
    margin-bottom: 12px;
    animation: floatBadge 3s ease-in-out infinite;
    box-shadow: 0 4px 16px rgba(39, 141, 205, 0.35);
}

.hero-sell-badge .dot {
    width: 8px;
    height: 8px;
    background: #7fffb2;
    border-radius: 50%;
    animation: liveBlip 1.4s ease-in-out infinite;
}


/* =============================================
   HERO BANNER CTA PILL LINK (below form)
   ============================================= */
.banner-sell-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #252354, #278DCD);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.3px;
    padding: 13px 28px;
    border-radius: 50px;
    text-decoration: none !important;
    margin-top: 22px;
    animation: ctaPulseGlow 2.5s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.banner-sell-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
    animation: shimmer 2.2s ease-in-out infinite;
}

.banner-sell-cta i {
    font-size: 1.1rem;
    animation: arrowBounce 1s ease-in-out infinite;
}

/* =============================================
   MOBILE RESPONSIVENESS AND SLIDER TWEAKS
   ============================================= */
@media (max-width: 768px) {

    /* Section Spacing */
    .trust-features-section,
    .wm-featured-cars-section,
    .faq-section,
    .wm-home-blog {
        padding: 40px 0 !important;
    }

    /* Typography */
    .trust-section-title {
        font-size: 1.8rem !important;
    }

    .trust-section-title br {
        display: none;
        /* Let text flow naturally */
    }

    /* Swiper Mobile Fixes */
    /* Hide navigation arrows to save space on small screens - keep touch slide */
    .swiper-button-prev,
    .swiper-button-next {
        display: none !important;
    }

    /* Space for pagination dots */
    .featuredCarsSwiper {
        padding-bottom: 30px !important;
    }

    /* Trust Cards Settings */
    .trust-card-modern {
        padding: 24px 20px !important;
    }

    /* Header Block Spacing */
    .wm-section-header {
        margin-bottom: 24px !important;
    }

    /* Faq Tabs Layout */
    .wm-faq-tabs .nav-tabs {
        flex-direction: column;
        gap: 10px !important;
    }

    .wm-faq-tabs .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px 15px !important;
    }

    /* Vechicle Card Image Mobile Optimization */
    .wm-vehicle-card .card-image {
        height: 180px !important;
        /* Reduce from 220px so it's not huge on small screens */
    }

    .wm-vehicle-card .card-body {
        padding: 1rem !important;
        /* Slightly tighter spacing on mobile */
    }

    /* Hero Banner Image Mobile Optimization */
    .banner-section.home-banner {
        min-height: 600px !important;
        /* Increased from 480px to make form and title more visible */
        padding-top: 80px !important;
        background-position: center center !important;
        background-size: cover !important;
    }
}

/* =============================================
   MOBILE STICKY ACTION BAR (Pill Design)
   ============================================= */
.mobile-sticky-action-bar {
    position: fixed;
    bottom: 20px;
    left: 15px;
    right: 15px;
    z-index: 1100;
    pointer-events: none;
    /* Allow clicks on children only */
}

.msba-container {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 8px;
    border-radius: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: msbaFloat 4s ease-in-out infinite;
}

@keyframes msbaFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.msba-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.msba-icon.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.msba-icon.phone {
    background: linear-gradient(135deg, #278DCD, #1e70a3);
    box-shadow: 0 4px 12px rgba(39, 141, 205, 0.3);
}

.msba-icon:active {
    transform: scale(0.9);
}

.msba-main-button {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #252354, #278DCD, #252354);
    /* Corporate Triple Gradient */
    background-size: 200% auto;
    color: #fff;
    text-decoration: none;
    padding: 0 20px;
    height: 50px;
    border-radius: 40px;
    transition: all 0.4s ease;
    overflow: hidden;
    animation: msbaGradientShift 5s ease infinite;
    box-shadow: 0 4px 15px rgba(37, 35, 84, 0.25);
}

@keyframes msbaGradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.msba-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.msba-title {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.msba-subtitle {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.9;
}

.msba-arrow {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.msba-main-button:active {
    transform: scale(0.98);
}

.msba-main-button:active .msba-arrow {
    transform: translateX(3px);
}