/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Background */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(to bottom, #f5f7fa, #633b59);
    min-height: 100vh;
}

/* Header */
header {
    padding: 20px 0;
}

.header-container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo img {
    height: 60px;
}
.nav
{
    position: center;

}

/* Navigation */
nav ul {
    list-style: none;
    background: rgb(202, 189, 189);
    padding: 10px 25px;
    border-radius: 4px;
    display: flex;
    gap: 25px;
    position: center;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 15px;
    transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: #00c853;
}

/* Title */
.title {
    text-align: center;
    margin: 20px 0 40px 0;
}

.title h2 {
    font-weight: 500;
    letter-spacing: 1px;
}

/* Models Grid */
.models {
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 50px 40px;
    justify-items: center;
}

/* Model Card */
.model-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.model-card img {
    width: 180px;
    height: auto;
}

.model-card p {
    margin-top: 12px;
    font-size: 14px;
}

.model-card:hover {
    transform: translateY(-5px);
}

/* Footer */
footer {
    text-align: center;
    margin-top: 60px;
    padding: 20px;
    font-size: 13px;
    color: #333;
}

/* Responsive */
@media (max-width: 1200px) {
    .models {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .models {
        grid-template-columns: repeat(2, 1fr);
    }

    nav ul {
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .models {
        grid-template-columns: 1fr;
    }
}