
/* ===============================
   SECTION & CAR CARD STYLES
================================ */


.headingH {
    color: #004080;
    margin-bottom: 15px;
    font-size: 1.9em;
    text-align: center;
    padding-top: 20px;
    
}

.cars {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.car-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 250px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.car-card h3 {
    margin-bottom: 10px;
    color: #0066cc;
}

.car-card p {
    margin-bottom: 10px;
}

.car-card .price {
    font-weight: bold;
    color: #004080;
}

/* ===============================
   FORM STYLES
================================ */
form {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    margin-top: 15px;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="date"],
form select,
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

form textarea {
    resize: vertical;
}

form button {
    background-color: #004080;
    color: white;
    border: none;
    padding: 12px 20px;
    margin-top: 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s;
}

form button:hover {
    background-color: #0066cc;
}

form input[type="checkbox"] {
    margin-right: 8px;
}



/* ===============================
   RESPONSIVE DESIGN
================================ */
@media (max-width: 768px) {
    .cars {
        flex-direction: column;
        align-items: center;
    }

   
}
