/* Banner Section */
.car-banner .banner-content {
    position: relative;
    color: white;
}

.car-banner .banner-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Black Overlay */
.car-banner .banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.car-banner .banner-text {
    position: absolute;
    bottom: 50px;
    left: 50px;
    z-index: 2;
}

.car-banner h1,
.car-banner h2,
.car-banner p {
    margin-bottom: 0;
}

.car-banner h1 {
    font-size: 36px;
    font-weight: bold;
}

.car-banner h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.car-banner p {
    font-size: 18px;
}

.car-banner .btn-primary {
    background-color: #FD3E5F;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 25px;
}

.car-banner .btn-primary:hover {
    background-color: #9333ea;
}

/* Tabs Section */
.tabs-container {
    background-color: #1e1e1e;
    padding: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    /* Adding shadow effect */

}

.tabs-container .nav-tabs {
    border-bottom: none;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    flex-wrap: nowrap;
}


.tabs-container .nav-tabs .nav-link {
    color: #9ca3af;
    font-size: 14px;
    padding: 10px 20px;
    border: none;
    border-radius: 0;
}

.nav-item {
    padding: 0;
}

.tabs-container .nav-tabs .nav-link.active {
    color: #FD3E5F;
    border-bottom: 2px solid #FD3E5F;
    background-color: transparent;
}

.tabs-container .nav-tabs .nav-link:hover {
    color: #FD3E5F;
}

.tab-content {
    color: white;

}



.tab-pane h3 {
    padding-top: 1rem;
    margin-bottom: 1rem;
}

.tab-pane p {
    color: gray;
    padding-bottom: 1rem;

}

#images {
    padding: 20px;
}



#images img {
    object-fit: cover;
    width: 100%;
    height: 200px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    /* Adds a subtle shadow around the image */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Smooth transition effect */
}

#images img:hover {
    transform: scale(1.05);
    /* Slight zoom-in effect on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    /* Darker shadow on hover */
}

#images p.text-center {
    margin-top: 10px;
    font-weight: bold;
    font-size: 16px;
    color: #fff;
}

.color-box-container {
    display: flex;
    cursor: pointer;
    gap: 10px;
    margin-top: 20px;
}

.color-box {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    /* Adds a shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Smooth transition for hover effects */
}

.color-box:hover {
    transform: scale(1.1);
    /* Slightly enlarges the box on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    /* Darker shadow on hover */
}

/* Specific styling for the white color box since it has a different contrast */
.color-box[style*="white"] {
    border: 2px solid #ddd;
    /* Add a border for white color box for better visibility */
}

.review-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.review-card {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.review-header h5 {
    margin: 0;
    color: #1e1e1e;
}

.item a {
    text-decoration: none !important;
}

.review-rating {
    color: #f4b400;
    /* Gold star color */
}

.review-content {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Modern Animated Promotional Card */
.promo-card {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 0.95));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    padding: 2.5rem 2rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.8s ease-out backwards;
    text-align: center;
    margin-bottom: 24px;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: 0.6s;
    pointer-events: none;
}

.promo-card:hover::before {
    left: 100%;
}

.promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(138, 43, 226, 0.2);
    border-color: rgba(138, 43, 226, 0.5);
}

.promo-bg-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.4), rgba(0, 0, 0, 0));
    filter: blur(50px);
    border-radius: 50%;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    opacity: 0.6;
    animation: glowPulse 4s infinite alternate;
}

.promo-content {
    position: relative;
    z-index: 1;
}

.promo-icon-container {
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
    display: inline-block;
}

.promo-icon-container img {
    width: 164px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
}

.promo-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    background: linear-gradient(to right, #ffffff, #a0a0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.promo-text {
    font-size: 1rem;
    color: #b0b0b0;
    margin-bottom: 2rem !important;
    line-height: 1.6;
    font-weight: 400;
}

.promo-btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #ff5200, #9333ea);
    border-radius: 50px;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 82, 0, 0.3);
    transition: all 0.3s ease;
    animation: pulseBtn 2s infinite;
    border: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    width: 100%;
}

.promo-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.5);
    background: linear-gradient(135deg, #ff6b26, #a855f7);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

@keyframes glowPulse {
    0% { opacity: 0.3; transform: translateX(-50%) scale(0.8); }
    100% { opacity: 0.6; transform: translateX(-50%) scale(1.1); }
}

@keyframes pulseBtn {
    0% { box-shadow: 0 0 0 0 rgba(255, 82, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 82, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 82, 0, 0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-primary {
    background-color: #6c63ff;
    /* Custom purple color */
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
}

.btn-primary:hover {
    background-color: #5753d9;
}

.dealers-card {
    background-color: #1d1d1d;
    color: white;
    border-radius: 10px;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
    padding: 20px;
}

.dealers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.dealer-location {
    background-color: #2b2b2b;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    color: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.dealer-location span {
    color: #888;
    /* Lighter text for dealer count */
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .car-banner .banner-text {
        bottom: 20px;
        left: 20px;
    }

    .car-banner h1 {
        font-size: 24px;
    }

    .car-banner h2 {
        font-size: 18px;
    }

    .car-banner p {
        font-size: 14px;
        width: 100%;
    }

    .car-banner .btn-primary {
        font-size: 14px;
        padding: 8px 16px;
    }

    .car-banner .banner-image {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .car-banner .banner-image {
        height: 300px;
    }

    .tabs-container .nav-tabs .nav-link {
        font-size: 14px;
        padding: 8px 12px;
    }
}

/* Horizontal Scroll for Tabs on Small Screens */
@media (max-width: 768px) {
    .tabs-container .nav-tabs {
        justify-content: flex-start;
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
    }

    .tabs-container .nav-tabs .nav-item {
        flex: 0 0 auto;
    }

  
}