/* Media Query for Tablets and Smaller Screens */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .navbar a {
        font-size: 0.9rem;
        margin: 5px 0;
    }

    .logo {
        max-width: 80px;
    }

    .product-grid {
        flex-direction: column;
        align-items: center;
    }

    .product {
        max-width: 90%;
    }

    .product-details {
        flex-direction: column;
        text-align: center;
    }

    .product-image img {
        margin: 0 auto 20px;
    }

    .product-info {
        max-width: 100%;
    }

    .testimonials {
        padding: 30px 10px;
    }

    .testimonial {
        max-width: 100%;
    }
}

/* Media Query for Mobile Devices */
@media (max-width: 480px) {
    .navbar {
        padding: 10px;
    }

    .navbar a {
        font-size: 0.8rem;
    }

    .welcome-box {
        padding: 15px;
    }

    .product-grid {
        gap: 15px;
    }

    .product {
        padding: 10px;
    }

    .product h2 {
        font-size: 1rem;
    }

    .product p {
        font-size: 0.9rem;
    }

    .product-info h1 {
        font-size: 1.5rem;
    }

    .product-info .price {
        font-size: 1.2rem;
    }

    .product-info .description {
        font-size: 0.9rem;
    }

    .testimonials h2 {
        font-size: 1.5rem;
    }

    .testimonial .message {
        font-size: 0.9rem;
    }

    footer {
        font-size: 0.8rem;
    }
}

#welcome-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Greyed-out background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.welcome-box {
    background: white;
    padding: 20px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 300px;
}

.welcome-box p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #333;
}

#welcome-button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

#welcome-button:hover {
    background-color: #0056b3;
}
body {
    font-family: 'Arial', sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
}

header {
    background-color: #007bff;
    color: white;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 2rem;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px auto;
    padding: 0 10px;
    max-width: 1200px;
}

.product {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    max-width: 200px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.product img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}

.product h2 {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #007bff;
}

.product p {
    font-size: 1rem;
    color: #555;
    margin: 5px 0;
}

button {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #0056b3;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #007bff;
    padding: 10px 20px;
    gap: 20px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.2s;
}

.navbar a:hover {
    color: #ffdd57; /* Highlight color on hover */
}

.logo {
    max-width: 100px;
    height: auto;
}


.logo {
    width: 20%; /* Set a fixed width */
    height: 20%; /* Maintain aspect ratio */
}
.testimonials {
    text-align: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
    margin-top: 30px;
    border-top: 1px solid #ddd;
}

.testimonials h2 {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 20px;
}

.testimonial {
    margin: 20px auto;
    max-width: 600px;
    text-align: left;
}

.testimonial .message {
    background-color: #007bff;
    color: white;
    padding: 15px;
    border-radius: 15px;
    position: relative;
    margin-bottom: 10px;
    font-style: italic;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonial .message:before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 20px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 0 0;
    border-color: #007bff transparent transparent transparent;
}

.testimonial h3 {
    margin-top: 5px;
    font-size: 1rem;
    color: #333;
    font-weight: bold;
    text-align: right;
}
.product-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.product-image img {
    max-width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
}

.product-info {
    max-width: 500px;
    text-align: left;
}

.product-info h1 {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 10px;
}

.product-info .price {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
}

.product-info .description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

.product-info .button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
}

.product-info .button:hover {
    background-color: #0056b3;
}