body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

/* Header Styling */
.header {
    background-color: transparent;
    color: #0b3954;
    padding: 20px;
    text-align: center;
}

    .header h1 {
        font-size: 3.0em;
        margin: 0;
        font-weight: 700;
    }

    .header p {
        font-size: 1.2em;
        margin: 0;
    }

/* Container Styling */
.container {
    width: 85%
}

/* Product Section Layout */
.product-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Product Styling */
.product {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

    .product:hover {
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
        transform: scale(1.02);
    }

.product-text {
    flex: 0 0 48%;
}

.product h2 {
    font-size: 2em;
    color: #0b3954;
    font-weight: bold;
    margin-bottom: 15px;
}

.product p {
    font-size: 1.1em;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Make entire product clickable */
.product-link {
    text-decoration: none;
    color: inherit;
}

    .product-link .product:hover {
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
        transform: scale(1.02);
    }

/* Learn More Button Styling */
.learn-more-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.2em;
    color: #fff;
    background-color: #0b3954;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

    .learn-more-btn:hover {
        background-color: #32549a;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

/* Product Photo Placeholder */
.product-photo {
    flex: 0 0 48%;
}

    .product-photo img {
        width: 100%;
        height: 250px; /* Maintain uniform height */
        max-width: 100%; /* Prevent overflow */
        object-fit: cover; /* Ensure image fits nicely within its container */
        border-radius: 10px;
    }

        .product-photo img.photo-image {
            width: 100%;
            height: 250px; /* Maintain uniform height */
            max-width: 100%;
            object-fit: cover; /* Crop while maintaining aspect ratio */
            object-position: top center; /* Focus on the top area of the image */
            border-radius: 10px;
        }

.photo-placeholder {
    width: 100%;
    height: 250px;
    background-color: #cccccc;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    font-size: 1.5em;
    border-radius: 10px;
    font-family: 'Arial', sans-serif;
    letter-spacing: 1px;
}

/*mobile*/
@media (max-width: 767px) {
    .container {
        width: 95%;
        padding: 10px;
    }

    .product {
        flex-direction: column;
        padding: 15px;
    }

    .product-text {
        flex: 1 1 100%;
        order: 1;
        text-align: center;
    }

    .product h2 {
        font-size: 1.6em;
        margin-bottom: 12px;
    }

    .product p {
        font-size: 1em;
        margin-bottom: 12px;
    }

    .product-photo {
        flex: 1 1 100%;
        order: 2;
        margin-top: 15px;
    }

        .product-photo img {
            height: 200px;
            width: 100%;
            object-fit: cover;
        }

    .learn-more-btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 15px;
        padding: 12px;
    }

    .header h1 {
        font-size: 2em;
    }

    .header p {
        font-size: 1em;
    }
}
