* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #fff;
    color: #333;
    line-height: 1.6;
}

a {
    color: #333;
    text-decoration: none;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background: #fff;
    border-bottom: 1px solid #ddd;
}

.header-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.logo {
    width: 150px;
    object-fit: contain;
}

.header-offer {
    color: red;
    font-size: 18px;
    font-weight: bold;
}

/* Hero Section */
.hero {
    text-align: center;
        margin-bottom: 50px;
}

.hero-image {
    width: 100%;
}

/* Quote Form */
.quote {
    text-align: center;
    padding: 20px;
        border: .1px solid #d7d7d788;
border-radius: 6px;
padding-bottom: 60px;

}

.quote h2 {
    color: red;
    margin-bottom: 20px;
    font-size: 28px;
}

.form-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-direction: column;
}

form input,
form select {
    width: 45%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.btn-red {
    background-color: red;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

/* Cars Section */
.cars {
    padding: 20px;
    text-align: center;
}

.cars h2 {
    color: red;
    margin: 52px 0px;
    font-size: 28px;
    border-bottom: 1px solid;
}

.cars-container {
    display: flex;
    justify-content: start !important;
    flex-wrap: wrap;
    gap: 15px;

}

.car-box {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 10px;
    padding: 10px;
    width: 22%;
    text-align: center;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}
.car-box:hover img{
    transform: scale(1.1);
    transition: all.3s;
}
.car-box img {
    width: 100%;
    height: 105px;
    object-fit: contain;
    transition: all.3s;

}

.car-box h3 {
    margin: 10px 0;
}

.car-box p {
    margin: 5px 0;
}

/* Footer */
footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

footer a {
    color: #fff;
    margin: 0 5px;
    font-size: 14px;
}

/* Popup Form Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 81%);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    position: relative;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.popup-content h2 {
    color: red;
    margin-bottom: 20px;
    text-align: center;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #998e8e;
    border-radius: 5px;
    margin-bottom: 6px;
}

.btn-red {
    background-color: red;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    transition: all .3s;
}
.btn-red:hover{
    background-color: black;
    transition: all .3s;
}
.btn-red2:hover {
    background-color: black;
    transition: all .3s;
}

.btn-red2 {
    background-color: red;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all .3s;
    float: left;
}

.container {
    width: 80%;
    margin: auto;
}



.ndcar {

    visibility: hidden;

}

/* Hide the popup by default */
.offers-container .offer-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
}

/* Show the popup when the parent container is active */
.offers-container.active .offer-popup {
    display: flex;
}

/* Popup content styles */
.offers-container .popup {
    background: white;
    width: 90%;
    max-width: 500px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}

/* Popup heading styles */
.offers-container .popup h2 {
    color: #e60000;
    margin-bottom: 10px;
    font-size: 20px;

}

/* List styles inside the popup */
.offers-container .popup ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.offers-container .popup ul li {
    margin-bottom: 10px;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.offers-container .popup ul li::before {
    content: "●";
    color: red;
    margin-right: 10px;
}

/* Close button styles */
.offers-container .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e72e2e45;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0px 6px;
    border-radius: 6px;
    border: 1px solid red;
    color: red;
}

/* Button styles */
.offers-container .button {
    display: inline-block;
    padding: 10px 20px;
    color: white;
    background-color: #e60000;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

.offers-container .button:hover {
    background-color: #d50000;
}

.offer-box {
    text-align: start;
    margin-bottom: 10px;
}

.offer-box button {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid red;
    background: #ff000014;
    color: red;
    cursor: pointer;
    width: fit-content;
}

.all-new-elevate-hide {
    visibility: hidden;
}

b {
    margin: 0px 5px;
}

.offer-box-1 {
    display: flex;
    justify-content: space-between;
}

.offer-box-1 p {
    font-family: system-ui;
    font-weight: 500;
    color: #a52626;
    background-color: #efd6d5;
    padding: 2px 5px;
    font-size: 13px;
}

.offer-heading-title {
    background-color: #e7f8ec;
    padding: 1px;
    color: #26a541;
    margin: 0px !important;
    font-size: 14px;
    font-family: system-ui;
    font-weight: 500;
}

.offers-container h1 {
    font-size: 30px;
    color: #d0021b;
        text-align: start;
    margin-bottom: 20px;
}

.offers-container h1 span {
    font-size: 18px;
}

.offers-container ul {
    list-style: none;
    padding: 0;
}

.offers-container ul li {
    font-size: 19px;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.offers-container ul li::before {
    content: "●";
    color: #d0021b;
    font-size: 18px;
    position: absolute;
    left: 0;
    top: 0;
}

.offers-container ul li strong {
    font-weight: bold;
    margin: 0px 5px;

}


.form-main-sec {
    display: flex;
    align-items: start;
    justify-content: space-around;
}

.trt {
    width: 45%;
}

.trt form label {
    text-align: start;
    margin-bottom: -8px;
    font-weight: 600;
}

.trt form label span {
    color: red;
}

@media only screen and (max-width: 1065px) {
    .car-box {

        width: 40%;
    }
}

@media only screen and (max-width: 800px) {

    .form-main-sec{
        display: flex;
    flex-direction: column-reverse;
    }
    .trt {
        width: 100%;
    }
    .offers-container h1 {
        font-size: 5vw;
    }
    .offers-container ul li {
        font-size: 3.5vw;

    }
    .btn-red2 {
        width: 40%;
    }

    header {
        padding: 20px 0px;
    }

    header .container {
        width: 94%;
        margin: auto;
    }

    .header-offer {
        font-size: 3vw;
    }

    .logo {
        width: 30%;

    }



    .car-box {
        width: 100%;
    }

    .cars {
        padding: 0px;
    }

    .ndcar {
        display: none;
    }

    footer p,
    footer p a {
        font-size: 12px;
    }

    .container {
        width: 95%;
    }

    .offers-container .popup ul li {
        margin-bottom: 10px;
        font-size: 3.5vw;
    }

    .offers-container .popup h2 {
        font-size: 13px;
    }
    .offers-container{
            
    width: 100%;
    margin-top: 30px;
    padding: 0px 10px;

    }

    
}