/* Product Section */
.product-section{
    background-color: #f9f9f9;
    padding: 40px 0px;
}

.product-header {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
}

.product-header h3{
    margin: 0px;
    font-size: 32px;
    font-weight: 600;
    text-transform: uppercase;
}

.product-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 10px;
    padding: 40px 100px;
}

.product-card {
    /* flex: 1; */
    /* min-width: 45%; Adjusts to 2 cards per row */
    /* max-width: 600px; */
    width: 520px;
    padding: 15px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: row; /* Ensures product image and description are side by side */
    justify-content: space-between;
}

.product-image-container {
    /* flex: 1; */
    /* padding-right: 20px; Space between image and description */
    margin-bottom: 10px;
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.product-description-container {
    /* flex: 1; */
    /* padding-left: 20px; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px 5px;
}

.product-title {
    font-size: 1.2em;
    font-weight: 600;
    color: rgb(0, 95, 133);
    margin-bottom: 5px;
    text-decoration: none;
    cursor: pointer;
}

.product-description {
    font-size: 1em;
    color: #333;
    margin-bottom: 10px;
}

.book-button {
    text-decoration: none;
    color: white;
    background-color: rgb(0, 95, 133);
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.book-button:hover {
    background-color: #a4bdd6;
}


@media screen and (max-width: 1480px) {
    .product-wrapper {
        padding: 40px 120px;
    }
}

@media screen and (max-width: 1024px) {
    .product-wrapper {
        padding: 40px 45px;
    }
    .product-card {
        width: 430px;
    }
}

@media screen and (max-width: 975px) {
    .product-wrapper {
        padding: 40px 100px;
    }
    .product-card {
        width: 300px;
        flex-direction: column;
    }
    .product-description-container {
        padding: 5px;
    }
}

@media screen and (max-width: 768px) {
    .product-wrapper {
        padding: 40px 45px;
    }
}

@media screen and (max-width: 575px) {
    .product-card {
        width: 320px;
    }
}