/* Brand Colors */
:root {
    --brand-orange: #ff8500;
    --brand-black: #000000;
}

/* Override existing classes or add new ones */
.text-brand-orange {
    color: var(--brand-orange) !important;
}

.bg-brand-orange {
    background-color: var(--brand-orange) !important;
}

.text-brand-black {
    color: var(--brand-black) !important;
}

.bg-brand-black {
    background-color: var(--brand-black) !important;
}

/* Overriding specific theme yellow colors if they are the primary interaction color */
.bg-fast-yellow {
    background-color: var(--brand-orange) !important;
}

.text-fast-yellow {
    color: var(--brand-orange) !important;
}

/* Slider Pagination/Nav Colors */
.swiper-pagination-bullet-active {
    background-color: var(--brand-orange) !important;
}

/* Vehicle Logo Strip Styles */
.vehicle-logo-strip {
    background-color: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.vehicle-logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.vehicle-logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.vehicle-logo-img {
    max-height: 50px;
    max-width: 100%;
}

/* Q&A Section Styles */
.qa-section {
    padding: 80px 0;
    background-color: #fff;
}

.qa-profile-img-container {
    text-align: center;
}

.qa-profile-img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.qa-content-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 0 40px;
}

.qa-question {
    font-size: 24px;
    font-weight: 600;
    color: var(--brand-black);
    margin-bottom: 20px;
}

.qa-answer {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.qa-slider-nav {
    margin-top: 30px;
}

.qa-slider-button-next,
.qa-slider-button-prev {
    color: var(--brand-black);
    cursor: pointer;
    font-size: 20px;
    margin-right: 15px;
    display: inline-block;
    transition: color 0.3s;
}

.qa-slider-button-next:hover,
.qa-slider-button-prev:hover {
    color: var(--brand-orange);
}

/* --- Visual Enhancements & Animations --- */

/* Premium Card Hover Effect */
.box-shadow-large,
.card-hover-effect {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.box-shadow-large:hover,
.card-hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Vehicle Logo Interactions */
.vehicle-logo-item img {
    transform: scale(1);
    transition: all 0.4s ease;
}

.vehicle-logo-item:hover img {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
    transform: scale(1.1);
}

/* Subtle Gradient Backgrounds */
.bg-light-gray {
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%) !important;
}

.vehicle-logo-strip {
    background: linear-gradient(to right, #ffffff, #fdfdfd);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Button & Interactable Elements Polish */
.btn,
button,
.qa-slider-button-next,
.qa-slider-button-prev {
    transition: all 0.3s ease;
}

.qa-slider-button-next:active,
.qa-slider-button-prev:active {
    transform: scale(0.95);
}

/* Typography Enhancements */
h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: -0.5px;
}

.text-brand-orange {
    text-shadow: 0 0 1px rgba(255, 133, 0, 0.1);
}

/* Q&A Section Polish */
.qa-section .swiper-slide {
    padding: 20px 0;
}

.qa-profile-img-container img {
    border: 4px solid #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* --- New Premium Q&A & Form Styles --- */

/* Dark Form Input Styles */
.ask-question-form input,
.ask-question-form textarea {
    color: #fff !important;
    transition: border-color 0.3s ease;
}

.ask-question-form input:focus,
.ask-question-form textarea:focus {
    border-bottom-color: var(--brand-orange) !important;
}

.ask-question-form ::placeholder {
    color: #939393 !important;
    opacity: 1;
}

/* Hover Dark Orange Button */
.hover-dark-orange {
    transition: all 0.3s ease;
}

.hover-dark-orange:hover {
    background-color: #e67e22 !important;
    /* Slightly darker orange */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 133, 0, 0.3);
}

/* Q&A Typography */
.qa-item i.fa-quote-left {
    font-size: 30px;
}

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

.qa-pagination .swiper-pagination-bullet-active {
    background: var(--brand-orange) !important;
    opacity: 1;
}

/* Section Background Gradient Animation (Subtle) */
.qa-section {
    position: relative;
    overflow: hidden;
}

.qa-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 10% 10%, rgba(255, 133, 0, 0.05), transparent 60%);
    pointer-events: none;
}

/* --- Transparent Header (Desktop Only) --- */
@media (min-width: 992px) {

    /* 
       Force the header wrapper to float over the content (slider).
       This ensures the slider is BEHIND the menu, not below it.
    */
    header {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        background: transparent !important;
        z-index: 1030 !important;
        /* Standard Bootstrap fixed z-index */
        box-shadow: none !important;
    }

    /* Make the navbar container transparent */
    header nav.navbar {
        background-color: transparent !important;
        background: transparent !important;
        box-shadow: none !important;
        border-bottom: none !important;
    }

    /* Prevent body padding if JS tries to add it */
    body {
        padding-top: 0 !important;
    }

    /* Force menu links to be white */
    header .nav-link,
    header .navbar-nav .nav-item .nav-link {
        color: #ffffff !important;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
        /* Improves readability over video */
    }

    /* Hover state for menu links */
    header .nav-link:hover,
    header .navbar-nav .nav-item .nav-link:hover {
        color: var(--brand-orange) !important;
    }

    /* Ensure dropdown menus still have a white background */
    header .dropdown-menu {
        background-color: #fff !important;
        border-top: 3px solid var(--brand-orange) !important;
    }

    header .dropdown-menu .nav-link {
        color: #333 !important;
        /* Dark text inside white dropdowns */
        text-shadow: none !important;
    }
}

/* --- Premium Vehicle Logo Strip ("Wow" Factor) --- */
.premium-logo-strip {
    background: rgba(255, 255, 255, 0.85);
    /* Semi-transparent */
    backdrop-filter: blur(15px);
    /* Glassmorphism */
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    padding: 40px 0;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
}

/* Ensure smooth linear scrolling for the ticker effect */
.vehicle-logo-slider .swiper-wrapper {
    transition-timing-function: linear !important;
}

.vehicle-logo-item {
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    /* Ultra smooth ease */
    opacity: 0.4;
    filter: grayscale(100%);
    transform: scale(0.95);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vehicle-logo-img {
    max-height: 55px;
    width: auto;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 0 transparent);
}

/* Hover Effect - The "Pop" */
.vehicle-logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.15) translateY(-5px);
}

.vehicle-logo-item:hover .vehicle-logo-img {
    filter: drop-shadow(0 8px 15px rgba(255, 133, 0, 0.35));
    /* Brand Orange Glow */
}

/* Mobile: Always show logos fully visible (no hover needed) */
@media (max-width: 991px) {
    .vehicle-logo-item {
        opacity: 1;
        filter: grayscale(0%);
        transform: scale(1);
    }

    .vehicle-logo-img {
        max-height: 45px;
        /* Slightly smaller on mobile to fit nicely */
    }
}

/* --- Side-by-Side Video Feature --- */
.feature-side-video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    min-height: 100%;
    border-radius: 6px;
}

/* Container for the video to control its aspect/height */
.video-feature-container {
    height: 100%;
    min-height: 500px;
    /* Minimum guaranteed height */
    max-height: 600px;
    /* Prevent it from being too tall (vertical video issue) */
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    /* Premium shadow */
    border: 1px solid rgba(0, 0, 0, 0.05);
}