body {
    background-color: rgb(250, 248, 248) !important;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #222;
}



header {
    background-color: #000000;
    color: white;
    padding: 15px 5%;
    display: flex;
    align-items: center;
    gap: 20px;
}

header h1 {
    font-size: 28px;
}

header input {
    flex: 1;
    max-width: 600px;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
}

header button {
    padding: 10px 18px;
    border: none;
    border-radius: 4px;
    background-color: white;
    color: #000000;
    font-weight: bold;
    cursor: pointer;
}

header button:hover {
    background-color: #e8e8e8;
}



nav {
    background-color: white;
    padding: 15px 5%;
    display: flex;
    justify-content: center;
    gap: 40px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

nav a:hover {
    color: #000000;
}



.hero {
    margin: 25px 5%;
    padding: 70px 40px;
    background: linear-gradient(120deg, #000000, #000000);
    color: white;
    text-align: center;
    border-radius: 10px;
}

.hero h2 {
    font-size: 40px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 25px;
}

.hero button {
    padding: 13px 30px;
    border: none;
    border-radius: 5px;
    background-color: white;
    color: #000000;
    font-weight: bold;
    cursor: pointer;
}



.products {
    padding: 20px 5%;
}

.products h2 {
    margin-bottom: 20px;
}

.product-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    background-color: white;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 10px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card h3 {
    margin: 10px 0;
}

.product-card p {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.product-card button {
    background-color: #000000;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.product-card button:hover {
    background-color: #000000;
}



footer {
    margin-top: 40px;
    padding: 25px;
    background-color: #172337;
    color: white;
    text-align: center;
}



@media (max-width: 800px) {

    header {
        flex-wrap: wrap;
    }

    header input {
        order: 3;
        width: 100%;
        max-width: none;
    }

    nav {
        gap: 15px;
        flex-wrap: wrap;
    }

    .product-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {

    .product-container {
        grid-template-columns: 1fr;
    }

    .hero h2 {
        font-size: 28px;
    }
}
.product-image {
    width: 100%;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.login-page {
    min-height: 65vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background-color: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.login-card h2 {
    text-align: center;
    margin-bottom: 10px;
}

.login-card > p {
    text-align: center;
    margin-bottom: 25px;
    color: #666;
}

.login-card form {
    display: flex;
    flex-direction: column;
}

.login-card label {
    margin-bottom: 7px;
    font-weight: bold;
}

.login-card input {
    padding: 12px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 15px;
}

.login-card input:focus {
    outline: none;
    border-color: #000000;
}

.login-card button {
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #000000;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.login-card button:hover {
    opacity: 0.85;
}

.login-note {
    margin-top: 20px;
    font-size: 14px;
}