/* Content Section Styles */
.content-section {
    padding: 40px 20px; /* Adjust padding as needed */
    background-color: #f9f9f9; /* Light background color for contrast */
}

.content-wrapper {
    max-width: 1200px; /* Max width for content */
    margin: 0 auto; /* Center the section */
}

.content-item {
    display: flex; /* Use flexbox for layout */
    align-items: center; /* Center items vertically */
    margin-bottom: 20px; /* Space between items */
}

.content-text {
    flex: 1; /* Allow this div to take space */
    padding: 20px; /* Padding around text */
}

.content-image {
    width: 400px; /* Fixed width for consistency */
    height: 250px; /* Fixed height to ensure uniform size */
    object-fit: cover; /* Ensures images maintain aspect ratio and fill the box */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds depth */
    margin: 0 20px; /* Space around images */
}

.content-text h2 {
    font-size: 24px; /* Adjust title font size */
    margin-bottom: 10px; /* Space below the title */
}

.content-text p {
    font-size: 16px; /* Adjust paragraph font size */
    line-height: 1.5; /* Improve readability */
    color: #555; /* Text color */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .content-item {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .content-item:nth-child(odd) {
        flex-direction: column-reverse; /* Alternate photo then text */
    }

    .content-image {
        width: 90%; /* Adjust width for better fit */
        height: auto; /* Maintain aspect ratio */
        margin: 10px 0; /* Add space between text and image */
    }

    .content-text {
        padding: 15px; /* Adjust padding for better spacing */
    }
}