*{
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0080ff;
    color: #343a40;
    background-image: url('Anagha Images/11.jpg'); /* Replace 'background.jpg' with the path to your image */
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
#hero {
    text-align: center;
    padding: 2em 0;
    background-color: rgba(0, 123, 255, 0.8); /* Semi-transparent background for better readability */
    color: white;
    background-image: url('hero-background.jpg'); /* Replace 'hero-background.jpg' with the path to your image */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

header {
    background-color: rgba(0, 123, 255, 0.8); /* Semi-transparent background for better readability */
    color: white;
    padding: 1em 0;
    text-align: center;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
    margin: 0 1em;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
    background-color: purple;
}

main {
    padding: 2em;
    /* image back color */
     /* Semi-transparent background for better readability */
    border-radius: 8px;
}

#hero {
    text-align: center;
    padding: 2em 0;
    background-color: rgba(0, 123, 255, 0.8); /* Semi-transparent background for better readability */
    color: white;
}

#benefits-promotions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 2em;
}

.benefit, .promotion {
    border: 1px solid #ddd;
    padding: 1em;
    margin: 1em;
    text-align: center;
    background-color: rgb(198, 16, 16);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 200px;
    border-radius: 8px;
    transition: transform 0.2s;
}

.benefit:hover, .promotion:hover {
    transform: scale(1.05);
}

.benefit img, .promotion img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
h1, h2, p {
    color: white;
}
#products {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.product {
    border: 1px solid #ddd;
    padding: 1em;
    margin: 1em;
    text-align: center;
    background-color: white;
    box-shadow: 0 0 10px 
}

.promotion-item img {
    width: 100%; /* Ensure all images are responsive */
    height: 300px; /* Set a fixed height for all images */
    object-fit: cover; /* Ensures the image fits within the height without distortion */
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.3s;
}

@media (max-width : 800px){
    #hero{
        width: 100%;
        font-size: 10px;
    }
    h1{
        font-size: 2em;
    }
    li{
        font-size: 10px;
    }
    ul li a{
        font-size: 1em ;
        flex-direction: row;
    }

    #hero h2{
        font-size: 1em;
    }
    .promotion-container{
        width: 100%;
        display:flex;
        flex-direction: column;
    }
    .promotion-item{
        width: 80%;
        display: flex;
        flex-direction: row;
    }

    .promotion-item > img{
        width: 10%;
        height: 30%;
    }
    .promotion-item > p{
        width: 30%;

    }
}