/* know more button */

.outlined-button {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    color: #fff;
    /* Text color */
    background-color: transparent;
    border: 1px solid white;
    /* Thin white border */
    border-radius: 4px;
    /* Optional rounded corners */
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    /* Smooth transition for hover effect */
}

.outlined-button:hover {
    background-color: rgb(0, 0, 0);
    /* Background color when hovered */
    color: #ffffff;
    /* Text color when hovered */
}


/* know more button 2 */

.outlined-button-2 {
    display: inline-block;
    padding: 7px 15px;
    text-decoration: none;
    color: #fff;
    /* Text color */
    background-color: transparent;
    border: 1px solid white;
    /* Thin white border */
    border-radius: 7px;
    /* Optional rounded corners */
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
    /* Smooth transition for hover effect */
}

.outlined-button:hover {
    background-color: rgb(0, 0, 0);
    /* Background color when hovered */
    color: #ffffff;
    /* Text color when hovered */
}








/* specs and dimensions */


/* Container for the EV specs */
.ev-specs-container {
    background: rgba(0, 0, 0, 0.85);
    /* Dark background for the container */
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Always 2 columns */
    gap: 24px;
    width: 100%;
    max-width: 900px;
    max-height: 600px;
    overflow-y: auto;
    /* Allows scrolling when content overflows */
    backdrop-filter: blur(10px);
    /* Glassmorphism effect */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    /* Soft shadow for depth */
}

/* Each spec item */
.ev-spec-item {
    background: rgb(0, 0, 0);
    /* Semi-transparent background for glass effect */
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(10px);
    /* Glassmorphism effect on each item */
    transition: background 0.3s ease-in-out;
    /* Smooth background transition */
}

/* Title text (spec name) */
.ev-spec-title {
    font-weight: 600;
    font-size: 14px;
    color: #B0B0B0;
    /* Soft light color for titles */
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.3);
    /* Mild shiny text effect */
}

/* Value text (spec value) */
.ev-spec-value {
    font-weight: 700;
    font-size: 18px;
    color: #FFFFFF;
    /* Bright white for values */
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5), 0 0 16px rgba(255, 255, 255, 0.4);
    /* Elegant shine effect */
    transition: text-shadow 0.3s ease-in-out;
    /* Smooth transition for the shine effect */
}

/* Shine effect on hover (for both title and value) */
.ev-spec-item:hover .ev-spec-title,
.ev-spec-item:hover .ev-spec-value {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6), 0 0 16px rgba(255, 255, 255, 0.5);
}

/* Smooth text animation when page loads */
.ev-spec-title,
.ev-spec-value {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInText 1s ease-in-out forwards;
}

/* Fade-in animation for text */
@keyframes fadeInText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsiveness: Always two columns */
@media (max-width: 768px) {
    .ev-specs-container {
        grid-template-columns: 1fr 1fr;
        /* Always 2 columns, no stacking */
    }
}



/* performance modal */

/* 
image slider */
/* Slider Container */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    background-color: black;
    /* Black background */
    overflow: hidden;
    /* Hide images that overflow */
}

/* Slider Images */
.slider-images {
    display: flex;
    transition: transform 0.5s ease;
}

/* Individual Slider Image */
.slider-image {
    flex: 0 0 100%;
    max-width: 100%;
}

.slider-image img {
    width: 100%;
    display: block;
}

/* Slider Navigation Buttons */
.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

.slider-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Optional: Make sure buttons are visible on all screen sizes */
@media (max-width: 768px) {
    .slider-button {
        padding: 8px;
        font-size: 20px;
    }
}


/* General reset */


/* Container for the vehicle info */
.spec-card-holder {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 30px;
    padding: 30px;
    max-width: 1200px;
    width: 100%;
}

/* Each vehicle info block */
.vehicle-info {
    background: rgba(255, 255, 255, 0.1);
    /* Semi-transparent background for glass effect */
    border-radius: 12px;
    padding: 20px 30px;
    width: 300px;
    backdrop-filter: blur(15px);
    /* Glassmorphism effect */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    /* Soft shadow for depth */
    transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Section titles (main headings) */
.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
    /* Bright color for titles */
    margin-bottom: 16px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.4);
    /* Slight glowing effect */
}

/* Info list styles */
.info-list {
    list-style: none;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    color: #EAEAEA;
}

/* Labels for each specification */
.label {
    font-size: 16px;
    font-weight: 600;
    color: #B0B0B0;
    /* Light gray for labels */
}

/* Values for each specification */
.value {
    font-weight: 700;
    color: #FFFFFF;
    /* Bright white for values */
    transition: text-shadow 0.3s ease-in-out;
    /* Smooth shine effect on hover */
}

/* Hover effect: Increase text shine */
.vehicle-info:hover .value {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6), 0 0 12px rgba(255, 255, 255, 0.4);
    /* Shine effect */
}

/* Hover effect: Background and shadow */
.vehicle-info:hover {
    background: rgba(255, 255, 255, 0.15);
    /* Slight background change */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    /* Deeper shadow for focus effect */
}

/* Animation for fade-in effect */
.vehicle-info {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInText 1s ease-in-out forwards;
}

/* Fade-in animation */
@keyframes fadeInText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsiveness: Ensure content stays readable */
@media (max-width: 768px) {
    .spec-card-holder {
        flex-direction: column;
        align-items: center;
    }

    .vehicle-info {
        width: 90%;
        max-width: 400px;
        /* Adjust size for smaller screens */
    }
}




/* Modal styles */
.modal-2 {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1000;
    /* On top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Disable scrolling */
    background-color: rgba(0, 0, 0, 0.8);
    /* Black with transparency */
    justify-content: center;
    align-items: center;
    padding: 50px;
}

.modal-content-2 {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    margin: auto;
    display: block;
    border-radius: 10px;
}

/* Close button styles */
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.close:hover {
    color: #ffffff;
}


/* Close button styles */
.close-2 {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #ffffff;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.close-2:hover {
    color: #ffffff;
}


/* Sticky Button Container */
.sticky-btn-container {
    position: fixed;
    right: 0;
    /* Always stick to the right edge */
    top: 38%;
    /* Vertically center */
    transform: translateY(-50%);
    /* Corrects for the button's height */
    z-index: 1000;
}

/* Sticky Button Container-2 */
.sticky-btn-container-2 {
    position: fixed;
    right: 0;
    /* Always stick to the right edge */
    top: 44%;
    /* Vertically center */
    transform: translateY(-50%);
    /* Corrects for the button's height */
    z-index: 1000;
}


/* Sticky Button Container-3 */
.sticky-btn-container-3 {
    position: fixed;
    right: 0;
    /* Always stick to the right edge */
    top: 50%;
    /* Vertically center */
    transform: translateY(-50%);
    /* Corrects for the button's height */
    z-index: 1000;
}


/* Sticky Button Container-2 */
.sticky-btn-container-4 {
    position: fixed;
    right: 0;
    /* Always stick to the right edge */
    top: 56%;
    /* Vertically center */
    transform: translateY(-50%);
    /* Corrects for the button's height */
    z-index: 1000;
}


@media (max-height: 808px) {


    /* Sticky Button Container */
    .sticky-btn-container {
        position: fixed;
        right: 0;
        /* Always stick to the right edge */
        top: 20%;
        /* Vertically center */
        transform: translateY(-50%);
        /* Corrects for the button's height */
        z-index: 1000;
    }

    /* Sticky Button Container-2 */
    .sticky-btn-container-2 {
        position: fixed;
        right: 0;
        /* Always stick to the right edge */
        top: 28%;
        /* Vertically center */
        transform: translateY(-50%);
        /* Corrects for the button's height */
        z-index: 1000;
    }


    /* Sticky Button Container-3 */
    .sticky-btn-container-3 {
        position: fixed;
        right: 0;
        /* Always stick to the right edge */
        top: 36%;
        /* Vertically center */
        transform: translateY(-50%);
        /* Corrects for the button's height */
        z-index: 1000;
    }


    /* Sticky Button Container-2 */
    .sticky-btn-container-4 {
        position: fixed;
        right: 0;
        /* Always stick to the right edge */
        top: 44%;
        /* Vertically center */
        transform: translateY(-50%);
        /* Corrects for the button's height */
        z-index: 1000;
    }


}

@media (max-height: 640px) {


    /* Sticky Button Container */
    .sticky-btn-container {
        position: fixed;
        right: 0;
        /* Always stick to the right edge */
        top: 20%;
        /* Vertically center */
        transform: translateY(-50%);
        /* Corrects for the button's height */
        z-index: 1000;
    }

    /* Sticky Button Container-2 */
    .sticky-btn-container-2 {
        position: fixed;
        right: 0;
        /* Always stick to the right edge */
        top: 30%;
        /* Vertically center */
        transform: translateY(-50%);
        /* Corrects for the button's height */
        z-index: 1000;
    }


    /* Sticky Button Container-3 */
    .sticky-btn-container-3 {
        position: fixed;
        right: 0;
        /* Always stick to the right edge */
        top: 40%;
        /* Vertically center */
        transform: translateY(-50%);
        /* Corrects for the button's height */
        z-index: 1000;
    }


    /* Sticky Button Container-2 */
    .sticky-btn-container-4 {
        position: fixed;
        right: 0;
        /* Always stick to the right edge */
        top: 50%;
        /* Vertically center */
        transform: translateY(-50%);
        /* Corrects for the button's height */
        z-index: 1000;
    }


}

@media (max-height: 400px) {


    /* Sticky Button Container */
    .sticky-btn-container {
        position: fixed;
        right: 0;
        /* Always stick to the right edge */
        top: 20%;
        /* Vertically center */
        transform: translateY(-50%);
        /* Corrects for the button's height */
        z-index: 1000;
    }

    /* Sticky Button Container-2 */
    .sticky-btn-container-2 {
        position: fixed;
        right: 0;
        /* Always stick to the right edge */
        top: 35%;
        /* Vertically center */
        transform: translateY(-50%);
        /* Corrects for the button's height */
        z-index: 1000;
    }


    /* Sticky Button Container-3 */
    .sticky-btn-container-3 {
        position: fixed;
        right: 0;
        /* Always stick to the right edge */
        top: 50%;
        /* Vertically center */
        transform: translateY(-50%);
        /* Corrects for the button's height */
        z-index: 1000;
    }


    /* Sticky Button Container-2 */
    .sticky-btn-container-4 {
        position: fixed;
        right: 0;
        /* Always stick to the right edge */
        top: 65%;
        /* Vertically center */
        transform: translateY(-50%);
        /* Corrects for the button's height */
        z-index: 1000;
    }


}



/* The button itself */
.sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.527);
    color: white;
    border: none;
    padding: 10px 20px;
    border: 1px white solid;
    border-radius: 7px 0 0 7px;
    /* Smooth border-radius for aesthetics */
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease-in-out;
    /* Smooth transition for all properties */
    white-space: nowrap;
    min-width: 50px;
    /* Default size */
    width: 50px;
    /* Start with a narrow width (just the icon) */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    /* Prevents text from spilling out when collapsed */
}

/* The icon style */
.btn-icon {
    margin-right: -180px;
    font-size: 20px;
    transition: transform 0.4s ease-in-out;
    /* Smooth transform for rotation */
}

/* The icon style */
.btn-icon-2 {
    margin-right: -80px;
    font-size: 20px;
    transition: transform 0.4s ease-in-out;
    /* Smooth transform for rotation */
}

/* The icon style */
.btn-icon-3 {
    margin-right: -180px;
    font-size: 20px;
    transition: transform 0.4s ease-in-out;
    /* Smooth transform for rotation */
}

/* The icon style */
.btn-icon-4 {
    margin-right: -180px;
    font-size: 20px;
    transition: transform 0.4s ease-in-out;
    /* Smooth transform for rotation */
}



/* The label text hidden by default */
.btn-text {
    opacity: 0;
    visibility: hidden;
    width: 250px;
    /* transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out; */
}

/* On hover: Expand the button */
.sticky-btn:hover {
    width: 250px;
    /* Expanded width when hovered */
    padding: 10px 25px;
    /* Extra padding for smooth transition */
    background-color: rgb(0, 0, 0);
}

/* Show the text on hover */
.sticky-btn:hover .btn-text {
    opacity: 1;
    visibility: visible;
    margin-left: 10px;
    width: 250px;
}

/* Icon movement on hover: smoothly shift the icon to the left */
.sticky-btn:hover .btn-icon {
    margin-right: 12px;
    transform: translateX(12px) rotate(360deg);
    /* Rotate the icon 360 degrees */
    opacity: 1;
    /* Ensure the icon is fully visible */
}

/* Icon movement on hover: smoothly shift the icon to the left */
.sticky-btn:hover .btn-icon-2 {
    margin-right: 12px;
    transform: translateX(12px) rotate(360deg);
    /* Rotate the icon 360 degrees */
    opacity: 1;
    /* Ensure the icon is fully visible */
}

/* Icon movement on hover: smoothly shift the icon to the left */
.sticky-btn:hover .btn-icon-3 {
    margin-right: 12px;
    transform: translateX(12px) rotate(360deg);
    /* Rotate the icon 360 degrees */
    opacity: 1;
    /* Ensure the icon is fully visible */
}

/* Icon movement on hover: smoothly shift the icon to the left */
.sticky-btn:hover .btn-icon-4 {
    margin-right: 12px;
    transform: translateX(12px) rotate(360deg);
    /* Rotate the icon 360 degrees */
    opacity: 1;
    /* Ensure the icon is fully visible */
}


/* interior colors section */

#car-selection {
    max-width: 1600px;
    margin: 0 auto;
    /* padding: 40px; */
    text-align: center;
}

h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

.seating-options {
    margin-bottom: 30px;
}

.seating-btn {
    background: rgb(255, 255, 255);
    /* Translucent white background */
    border: 1px solid rgb(255, 255, 255);
    /* Subtle border */
    color: #000000;
    font-size: 18px;
    font-weight: normal;
    padding: 12px 25px;
    margin: 0 10px 10px 0;
    border-radius: 9px;
    /* Rounded corners for a modern look */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* Soft shadow for depth */
    backdrop-filter: blur(10px);
    /* Glassmorphism effect */
    position: relative;
    text-transform: capitalize;
}

.seating-btn:hover {
    background: rgba(255, 255, 255, 0.8);
    /* Slightly opaque on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    /* Slightly larger shadow on hover */
    transform: translateY(-2px);
    /* Slight lift effect */
}

.seating-btn:active {
    background: rgba(255, 255, 255, 0.9);
    /* Fully opaque on active click */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Smaller shadow when clicked */
    transform: translateY(2px);
    /* Slight depression effect */
}

.seating-btn:focus {
    outline: none;
    /* Remove default focus outline */
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.4);
    /* Focus ring with a soft blue glow */
}

.car-config {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 20px;
}

#image-preview {
    flex: 4;
    padding-right: 30px;
    display: flex;
    justify-content: center;
}

#car-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.color-options {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.color-option {
    margin-bottom: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.color-option:hover {
    transform: scale(1.1);
}

.color-sample {
    width: 100%;
    max-width: 120px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}



/* Accessories Section */
/* Global Reset for Margin and Padding */

/* Image Grid Layout */
/* Image Grid Layout */
.accessories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    /* Ensure the columns are not too small */
    gap: 16px;
    padding: 20px;
}

/* Individual Accessory Item Styles */
.accessory-item {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 180px;
    /* Fixed height for landscape images */
}

/* Lazy Image Style */
.lazy {
    width: 100%;
    /* The image will fill the width of the container */
    height: 100%;
    /* The image will fill the height of the container */
    object-fit: cover;
    /* The image will cover the container, cropping if necessary */
    object-position: center;
    /* The image will be centered (default), can adjust if needed */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy[data-img] {
    opacity: 1;
}

/* Hover Effect for Image */
.accessory-item:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.accessory-item:hover .lazy {
    transform: scale(1.1);
}

/* Download Button Styles */
.download-btn-container {
    text-align: center;
    margin-top: 20px;
}

.download-btn {
    background: linear-gradient(145deg, #2f2f2f, #000);
    color: white;
    padding: 14px 30px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    overflow: hidden;
}

.download-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    transform: translate(-50%, -50%) rotate(45deg);
    border-radius: 50%;
    z-index: 0;
}

.download-btn:hover::before {
    width: 0;
    height: 0;
}

.download-btn:hover {
    background: linear-gradient(145deg, #000, #2f2f2f);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.download-btn:hover span {
    color: #fff;
}

.download-btn span {
    position: relative;
    z-index: 1;
}

/* Responsiveness for smaller screens */
@media screen and (max-width: 768px) {
    .accessories-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        /* Adjust grid for smaller screens */
        gap: 12px;
    }

    .download-btn {
        padding: 12px 24px;
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .accessories-grid {
        grid-template-columns: 1fr;
        /* Single column for mobile */
        gap: 10px;
    }

    .download-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}



/* rim option selector */

/* General Rim Selection Layout */
.rim-selection {
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
    margin-top: 50px;
    padding: 0 20px;
    background-color: #ffffff00;
}

.rim-selection h2 {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 600;
    color: #333;
    letter-spacing: 2px;
}

.rim-color-options-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.rim-color-option {
    cursor: pointer;
    text-align: center;
    transition: transform 0.3s ease;
}

.rim-color-option:hover {
    transform: scale(1.1);
}

.rim-color-sample {
    width: 80px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.rim-color-option span {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

.rim-config {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

/* Updated to position angle options to the left of the image */
.rim-image-col {
    position: relative;
    flex: 1 1 60%;
    display: flex;
    justify-content: center;
    transition: transform 0.5s ease-in-out;
    /* Transition for image change */
}

.rim-image-col img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Angle Options - Positioned left of the image */
.rim-angle-options {
    position: absolute;
    top: 10px;
    left: -60px;
    /* Positioned outside the image preview */
    display: flex;
    flex-direction: column;
    /* Stack buttons vertically */
    gap: 10px;
    z-index: 10;
}

.angle-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.angle-btn:hover {
    transform: scale(1.1);
}

.angle-btn img {
    width: 50px;
    height: 50px;
}

.rim-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 200px;
}

.rim-btn {
    background: rgb(255, 255, 255);
    border: 1px solid rgb(255, 255, 255);
    border-radius: 9px;
    color: #333;
    font-size: 14px;
    text-transform: capitalize;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rim-btn img {
    max-width: 60px;
    max-height: 60px;
    margin-bottom: 10px;
}

.rim-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.rim-btn:active {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */

@media (max-width: 1763px) {
    .rim-angle-options {
        left: -10px;
    }

}


@media (max-width: 1024px) {
    .rim-config {
        flex-direction: column;
        align-items: center;
    }

    .rim-options {
        flex: 1 1 100%;
        gap: 15px;
        flex-direction: row;
    }

    .rim-btn img {
        max-width: 60px;
        max-height: 60px;
    }

    .rim-color-options-row {
        flex-direction: row;
        justify-content: center;
    }

    .rim-color-sample {
        width: 60px;
    }

    .rim-angle-options {
        flex-direction: row;
        left: 0;
        /* Reset left position for smaller screens */
    }

    .angle-btn img {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    .rim-selection h2 {
        font-size: 24px;
    }

    .rim-btn {
        font-size: 14px;
        padding: 8px 12px;
    }

    .rim-btn img {
        max-width: 50px;
        max-height: 50px;
    }

    .rim-color-sample {
        width: 50px;
    }

    .rim-angle-options {
        flex-direction: row;
    }

    .angle-btn img {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .rim-selection {
        padding: 0 15px;
    }

    .rim-selection h2 {
        font-size: 20px;
    }

    .rim-btn {
        font-size: 12px;
        padding: 6px 10px;
    }

    .rim-btn img {
        max-width: 40px;
        max-height: 40px;
    }

    .rim-color-sample {
        width: 40px;
    }

    .rim-angle-options {
        flex-direction: column;
    }

    .angle-btn img {
        width: 30px;
        height: 30px;
    }
}



/* test drive form */


/* Success Message Styles */
#success-message {
    text-align: center;
    padding: 20px;
    background-color: #000000;
    /* Light green background */
    border: 1px solid #c3e6cb;
    /* Light green border */
    border-radius: 5px;
    margin-top: 20px;
    color: #ffffff;
    /* Dark green text */
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    margin: auto;
}

.success-icon {
    font-size: 50px;
    color: #28a745;
    /* Green check icon */
    margin-top: 10px;
}

.success-text {
    font-size: 18px;
    margin-bottom: 10px;
    text-align: center;
    width: 100%;
}

.hidden {
    display: none;
    /* Ensures the success message is hidden by default */
}


/* footer responsiveness */

.o-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

#mid-device-footer {
    display: none;
}

@media (max-width: 1500px) {

    #mid-device-footer {
        display: contents;
    }

    .o-row {
        display: none;
    }

}

