/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Header & Navigation */
header {
    background-color: #222;
    padding: 15px 0;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

nav ul li a:hover {
    color: #00bcd4;
}

/* Hero Section */
.hero {
    background: url('cars-hero.jpg') no-repeat center center/cover;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 28px;
    text-align: center;
}

/* Car List Section */
.car-list {
    max-width: 900px;
    margin: 50px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.car {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.car:hover {
    transform: scale(1.05);
}

.car h2 {
    color: #00bcd4;
    margin-bottom: 10px;
}

.car ul {
    list-style: none;
    padding: 0;
}

.car ul li {
    margin: 5px 0;
}

/* Discover More Button */
.discover-more {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: #00bcd4;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.discover-more:hover {
    background: #008ba3;
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 50px;
}

footer a {
    color: #00bcd4;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        font-size: 22px;
        height: 250px;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }
}
.car-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
}

.car {
    width: 300px;
    text-align: center;
    border: 2px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.car img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.car h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.car ul {
    list-style-type: none;
    padding: 0;
}

.car ul li {
    margin-bottom: 5px;
}

.discover-more {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
}

.discover-more:hover {
    background-color: #45a049;
}
.ima1{
    filter:drop-shadow(2px 2px 20px cyan) 
}
.ima{
    box-shadow:2px 2px 20px cyan;
}