/* 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;
}

.brochure-card {
    background-color: #1d1d1d;
    /* Dark background */
    color: white;
    border-radius: 10px;
    box-shadow: 0px 8px 15px rgba(120, 117, 117, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid #858383;
}

.brochure-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

.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;
    }

  
}