/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Arial", sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Logo */
.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ff385c;
}

/* Search Bar */
.search-bar input {
    padding: 10px;
    width: 50%;
    border-radius: 25px;
    border: 1px solid #ddd;
    font-size: 16px;
    transition: border-color 0.3s;
}

.search-bar input:focus {
    outline: none;
    border-color: #ff385c;
}

/* Navbar */
.top-nav {
    display: flex;
    gap: 20px;
}

.top-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 16px;
    transition: color 0.3s;
}

.top-nav a:hover {
    color: #ff385c;
}

/* Toggle Button for Mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
}

/* MAIN CONTENT */
main {
    padding: 40px 32px;
}

.car-listings {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* car Cards */
.car-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.car-card img {
    width: 100%;
    border-radius: 8px;
    height: 180px;
    object-fit: cover;
    margin-bottom: 16px;
}

.car-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

.car-card .location {
    color: #777;
    font-size: 14px;
    margin-bottom: 8px;
}

.car-card .description {
    font-size: 14px;
    color: #555;
}

/* Hover effect on cards */
.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Navbar active state (for toggle) */
.top-nav.active {
    display: block;
}

.top-nav a {
    display: block;
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-bar input {
        width: 70%;
    }

    .car-card {
        padding: 12px;
    }

    .car-card img {
        height: 160px;
    }

    .menu-toggle {
        display: block;
    }

    .top-nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #fff;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 480px) {
    .search-bar input {
        width: 80%;
    }

    .car-listings {
        grid-template-columns: 1fr;
    }
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Arial", sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Logo */
.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ff385c;
}

/* Search Bar */
.search-bar input {
    padding: 10px;
    width: 100%;
    border-radius: 2px;
    border: 1px solid #ddd;
    font-size: 16px;
    transition: border-color 0.3s;
}

.search-bar input:focus {
    outline: none;
    border-color: #ff385c;
}

/* Navbar */
.top-nav {
    display: flex;
    gap: 20px;
}

.top-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 16px;
    transition: color 0.3s;
}

.top-nav a:hover {
    color: #ff385c;
}

/* Toggle Button for Mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
}

/* CONTACT FORM */
.contact-form {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    font-size: 28px;
    margin-bottom: 16px;
    text-align: center;
}

.contact-form p {
    font-size: 16px;
    color: #777;
    margin-bottom: 20px;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 16px;
}

.contact-form label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-top: 8px;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .send-button {
    background-color: #ff385c;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form .send-button:hover {
    background-color: #e33952;
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-bar input {
        width: 70%;
    }

    .menu-toggle {
        display: block;
    }

    .top-nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #fff;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 480px) {
    .search-bar input {
        width: 80%;
    }

    .contact-form {
        padding: 20px;
    }
}
.footer{
    display: flex;
    width: 100%;
    height: 200px;
    justify-content: center;
    background-color: white; 
    border-radius: 8px;

    
}
.one{
    display: flex;
    width: 30%;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.two{
    padding:5px;
    display: flex;
    width: 30%;
    height: 100%;
     justify-content: center;
    align-items: center;
    flex-direction: column;
}
.three{
    display: flex;
    width: 30%;
    height: 100%;
     justify-content: center;
    align-items: center;
    flex-direction: column;
}
