* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.header {
    background: black;
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav a {
    color: white;
    text-decoration: none;
    margin-left: 18px;
    font-size: 0.9rem;
}

.nav .active {
    border-bottom: 2px solid white;
}

.main-content {
    max-width: 850px;
    margin: 50px auto;
   
    padding: 0 20px;
}

.main-content h1 {
    font-size: 2.2rem;
}

.main-content p {
    margin: 10px 0 25px;
    color: #555;
}

.testdrive-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.testdrive-form input,
.testdrive-form select {
    padding: 10px;
    border: 1px solid #888;
    border-radius: 4px;
}

.testdrive-form button {
    padding: 14px;
    background: black;
    color: white;
    border: none;
    cursor: pointer;
}

.testdrive-form button:hover {
    background: #444;
}

.footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: #555;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #fff;
    color: #222;
}

.header {
    background: #000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transform: translateY(-100%);
    animation: navSlide 1s ease forwards;
}

.logo {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav a {
    color: #fff;
    margin-left: 1.5rem;
    text-decoration: none;
    font-size: 0.95rem;
}

.nav .active {
    border-bottom: 2px solid #fff;
}

.hero {
    margin-top: 90px;
    text-align: center;
    padding: 3rem 2rem;
    background: #f5f5f5;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1.2s ease forwards;
    animation-delay: 0.4s;
}

.hero h1 {
    font-size: 2.6rem;
}

.hero p {
    max-width: 700px;
    margin: 1rem auto;
    color: #444;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3rem 2rem;
}

.card {
    background: #fafafa;
    padding: 2rem;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:nth-child(1) { animation-delay: 0.2s; }
.card:nth-child(2) { animation-delay: 0.4s; }
.card:nth-child(3) { animation-delay: 0.6s; }
.card:nth-child(4) { animation-delay: 0.8s; }

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.card h2 {
    margin-bottom: 1rem;
}

.card p {
    color: #555;
    margin-bottom: 1.2rem;
}

.card a {
    text-decoration: none;
    font-weight: bold;
    color: #000;
    border-bottom: 2px solid #000;
}

.cta {
    text-align: center;
    padding: 3rem 2rem;
    background: #e5e5e5;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1.2s ease forwards;
    animation-delay: 1s;
}

.btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 1.6rem;
    background: #000;
    color: #fff;
    text-decoration: none;
}

.footer {
    text-align: center;
    padding: 2rem;
    color: #555;
}

@keyframes navSlide {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cards {
        grid-template-columns: 1fr;
    }
    .header {
        flex-direction: column;
        text-align: center;
    }
    .nav a {
        margin: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    .card h2 {
        font-size: 1.2rem;
    }
}
