.car-section {
    display: flex;
    flex-direction: column;
    padding: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.price-section {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.price-section h2 {
    font-size: 24px;
    color: #28a745;
}

.price-section span {
    font-size: 14px;
    color: #555;
}

.reviews {
    display: flex;
    align-items: center;
}

.reviews span {
    font-size: 18px;
}

.reviews p {
    margin-left: 10px;
}

.price-buttons {
    margin-top: 10px;
}

.price-buttons button {
    padding: 10px 20px;
    margin-right: 10px;
    background-color: red;
    border: 1px solid #ccc;
    cursor: pointer;
    font-size: 14px;
}

.price-buttons button:hover {
    background-color: #9e3b3b;
}

.car-images {
    /* display: flex; */
    justify-content: space-between;
    margin-bottom: 20px;
}

.car-images img {
    width: 18%;
    border-radius: 5px;

}

.car-specs {
    display: flex;
    justify-content: space-between;
    background-color: #f1f1f1;
    padding: 15px;
    border-radius: 5px;
}

.spec-item {
    text-align: center;
}

.spec-item p {
    font-size: 12px;
    color: #888;
}

.spec-item h3 {
    font-size: 18px;
    color: #000;
}

.car-specs {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: #f8f8f8;
    /* Light background for the entire section */
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Light shadow for depth */
}

.spec-item {
    background-color: #fff;
    /* White background for each box */
    border: 1px solid #e1e1e1;
    /* Light gray border */
    border-radius: 10px;
    padding: 20px;
    width: 22%;
    /* Ensures equal width for each box */
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    /* Slight shadow for each box */
}

.spec-item p {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.spec-item h3 {
    font-size: 18px;
    color: #333;
}

.car-section {
    padding: 20px;
}

.large-car-image img {
    width: 550px;
    height: 400px;
    border-radius: 10px;
    margin-top: -120px; /* Default margin for larger screens */
}

@media (max-width: 768px) {
    .large-car-image img {
        margin-top: -165; /* Remove margin-top for screens smaller than 768px */
        width: 100%; /* Make the image responsive */
        height: auto; /* Maintain aspect ratio */
    }
}


.small-images img {
    margin-right: 10px;
    /* Space between small images */
}


h2 {
    color: #d11b1b;
}

.pricing-table {
    background-color: #222;
    border: 1px solid #555;
    border-radius: 10px;
    margin-bottom: 30px;
    padding: 20px;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
    padding: 15px;
    border-bottom: 1px solid #555;
}

.pricing-table th {
    text-align: left;
    font-weight: bold;
}

.pricing-table a {
    color: #ffffff;
    text-decoration: none;
}

.pricing-table a:hover {
    text-decoration: underline;
}

.pros-cons {
    display: flex;
    justify-content: space-between;
    background-color: #222;
    border: 1px solid #555;
    border-radius: 10px;
    padding: 20px;

}

.pros-cons ul li {
    margin-bottom: 15px;
    /* Adds space between each list item */
    line-height: 2.5;
    /* Optional: Adjusts line spacing within each item */
}

.pros-cons div {
    width: 48%;

}

.pros-cons h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.pros-cons .pros ul,
.pros-cons .cons ul {
    list-style: none;
    padding-left: 0;
}

.pros-cons .pros ul li::before {
    content: "\2714";
    /* Unicode for the checkmark */
    color: #28a745;
    /* Green color */
    margin-right: 10px;
}

.pros-cons .cons ul li::before {
    content: "❌";
    color: #dc3545;
    margin-right: 10px;
}

.pros-cons ul li {
    margin-bottom: 10px;
}

.pros-cons .pros h3::before {
    content: "👍";
    margin-right: 10px;
    color: #28a745;
}

.pros-cons .cons h3::before {
    content: "👎";
    margin-right: 10px;
    color: #dc3545;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
    /* Ensures borders collapse into a single line */
}

.pricing-table th,
.pricing-table td {
    border: 1px solid #555;
    /* Adds a solid border to table cells */
    padding: 15px;
    text-align: left;
}

.pricing-table th {
    background-color: #333;
    /* Darker background for header */
    color: #fff;
    /* White text for the header */
    font-weight: bold;
}

.pricing-table td {
    background-color: #222;
    /* Background for table content */
    color: #fff;
}

.pricing-table a {
    color: #ffffff;
    /* Link color */
    text-decoration: none;
}

.pricing-table a:hover {
    text-decoration: underline;
}

.h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
}

/* New IDs for feature and specification section */
.new-container {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
}

/* Features section styling */
.new-features,
.new-specifications {
    width: 48%;
}

.new-features h3,
.new-specifications h3 {
    text-align: left;
    margin-bottom: 20px;
}

.new-features-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.new-features-list div {
    width: 45%;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.new-features-list div span {
    color: #d11b1b;
    margin-right: 10px;
}

/* Specifications table styling */
.new-specifications-table {
    width: 100%;
    border-collapse: collapse;
}

.new-specifications-table td {
    padding: 10px 0;
    border-bottom: 1px solid #555;
}

.new-specifications-table td:first-child {
    width: 40%;
    color: #ccc;
}

.new-specifications-table td:last-child {
    width: 60%;
    color: #fff;
}

.new-specifications-table td:last-child strong {
    color: #fff;
}

@media (max-width: 768px) {
    .new-container {
        flex-direction: column;
        padding: 20px;
    }

    .new-features,
    .new-specifications {
        width: 100%;
        margin-bottom: 20px;
    }

    .new-features-list div {
        width: 100%;
    }
}

.heading-container {
    display: flex;
    justify-content: space-between;
    /* Ensures even spacing between the headings */
    align-items: center;
    /* Vertically centers the headings if their height differs */
    margin-bottom: 20px;
    /* Adds space below the headings */
}

.heading-container .h2 {
    flex: 1;
    /* Ensures each heading takes up equal space */
    text-align: center;
    /* Centers the text in each heading */
    font-size: 24px;
    /* Adjust the font size if needed */
    color: #fff;
    /* Color for the headings */
}


/* Section styling */
.color-section {
    text-align: center;
    padding: 40px 20px;
}

.color-section h2 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 24px;
}

.color-section p {
    color: #ccc;
    font-size: 16px;
    margin-bottom: 30px;
}

/* Color list container */
.color-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    border: 1px solid #555;
    padding: 20px;
    border-radius: 10px;
}

/* Individual color circles */
.color-item {
    text-align: center;
    margin: 10px;
}

.color-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #fff;
    display: inline-block;
    margin-bottom: 10px;
}

.color-name {
    font-size: 14px;
    color: #ccc;
}

/* Specific colors */
.color-attitude-black {
    background-color: #000;
}

.color-super-white {
    background-color: #fff;
}

.color-dark-grey {
    background-color: #7b7d7d;
}

.color-avant-garde-bronze {
    background-color: #555;
}

.color-white {
    background-color: #fff;
}

.color-black {
    background-color: #000;
}

.color-avant-garde-bronze-metallic {
    background-color: #c0bfb7;
}

.color-smoky-blue {
    background-color: #657d87;
}

#h2 {
    color: #fff;
    text-align: left;
    margin-bottom: 30px;
    padding-left: 20px;
    font-size: 24px;
}

/* Container for the cards */
.card-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

/* Individual card styling */
.car-card {
    background-color: #fff;
    color: #000;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 250px;
    position: relative;
    text-align: left;
}

.car-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Featured label */
.featured-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #d11b1b;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
}

/* Car details */
.car-details {
    padding: 15px;
}

.car-details h3 {
    font-size: 18px;
    margin: 0;
    color: #0056b3;
}

.car-details p.price {
    color: #28a745;
    font-weight: bold;
    margin: 5px 0;
}

.car-details p.location {
    font-size: 14px;
    color: #777;
}

@media (max-width: 768px) {
    .car-card {
        width: 100%;
    }
}

h2 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 24px;
}

/* Container for the forum discussions */
.forum-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Individual forum post styling */
.forum-post {
    background-color: #111;
    padding: 20px;
    border: 1px solid #333;
    border-radius: 8px;
    width: 48%; /* 2-column layout */
    position: relative;
}

.forum-post:nth-child(odd) {
    background-color: #1a1a1a;
}

.forum-post h3 {
    color: #d11b1b;
    font-size: 18px;
    margin-bottom: 10px;
}

.forum-post p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Replies and timestamp container */
.forum-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #aaa;
}

.forum-meta .replies {
    display: flex;
    align-items: center;
}

.forum-meta .replies img {
    width: 16px;
    margin-right: 5px;
}

.forum-meta .timestamp {
    font-size: 11px;
    color: #bbb;
}

/* Responsive design */
@media (max-width: 768px) {
    .forum-post {
        width: 100%;
    }
}

 /* Remove default Bootstrap border (blue outline) on focus */
 button:focus,
 button:active,
 .btn:focus,
 .btn:active {
     outline: none;
     /* Remove the default outline */
     box-shadow: none;
     /* Remove Bootstrap box-shadow (blue border) */
     border: none;
     /* Ensure there is no border from Bootstrap */
 }

 /* Remove the blue link underline and change to black text */
 .btn-link {
     color: black;
     /* Change text color to black */
     text-decoration: none;
     /* Remove underline */
     border: none;
     /* Ensure there is no border from Bootstrap */

 }

 /* Optional: Add red border when hovered or focused */
 .faq-header:hover,
 .faq-header:focus,
 .faq-header:active {
     border: none;
     /* Ensure there is no border from Bootstrap */
     transition: border-color 0.3s ease-in-out;
     /* Smooth transition */
     text-decoration: none;
     color: red;
 }