* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f1f1f1;
    color: #333;
    line-height: 1.6;
    width: 95%;
}

.container {
    width: 100%;
    margin: auto;
    padding: 20px;
    background-color: #f1f1f1;
    border-radius: 8px;
   
}
span{
    font-weight: bold;
}

.product-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.product-image {
    flex: 1;
    max-width: 40%;
    margin-right: 20px;
}

.product-image img {
    width: 100%;
    height: 500px;
    border-radius: 8px;
}

.product-details {
    flex: 1;
    max-width: 65%;
    margin: 20px;
}

.product-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 15px;
}

.product-description {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
}

.purchase-container {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: auto;
}

.purchase {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    background-color: black;
    border: 1px solid #333;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 1em;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.quantity-btn:hover {
    background-color: black;
}

.quantity {
    width: 50px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
}

.cart-btn, .purchase-btn {
    color: black;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cart-btn {
    background-color: #fff;
    border: 1px solid #333;
}

.cart-btn:hover {
    background-color: #f0f0f0;
}

.purchase-btn {
    background-color: #1c3d33;
    color: #fff;
    border: none;
}

.purchase-btn:hover {
    background-color: #163028;
}

.banner-section {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
}

.banner-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.banner-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 2.5em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.promo-section {
    display: flex;
    flex-wrap: wrap;
    background-color: #1c3d33;
    color: #fff;
 
    border-radius: 8px;
    align-items: center;
}

.promo-image {
    flex: 1;
    max-width: 45%;
    margin-right: 20px;
}

.promo-image img {
    width: 100%;
    margin-bottom:-10px;
    
}

.promo-content {
    flex: 1;
    max-width: 45%;
}

.promo-title {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.promo-description {
    font-size: 1em;
    margin-bottom: 20px;
}

.promo-link {
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .product-section {
        flex-direction: column;
        align-items: center;
    }

    .product-image, .product-details {
        max-width: 100%;
        margin: 0;
    }

    .banner-title {
        font-size: 2em;
    }

    .promo-section {
        flex-direction: column;
    }

    .promo-image, .promo-content {
        max-width: 100%;
        margin: 10px;
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 1.3em;
    }

    .product-price {
        font-size: 1em;
    }

    .purchase-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .banner-title {
        font-size: 1.5em;
    }
    .promo-content {
        max-width: 100%;
        margin: 10px;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 1.3em;
    }

    .product-price {
        font-size: 0.9em;
    }

    .banner-title {
        font-size: 1.2em;
    }

    .promo-title {
        font-size: 1.5em;
    }
    .promo-content {
        max-width: 100%;
        margin: 10px;
    }
}
