* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
    min-height: 100vh;
}
/* Container for the entire page */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}
/* Card container */
.cards-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
/* Individual card styles */    
.card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    min-height: 400px;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}
/* Card content sections */
.card-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.card:hover .card-image img {
    transform: scale(1.05);
}
.card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.1), rgba(155, 89, 182, 0.1));
    z-index: 1;
    pointer-events: none;
}
.card-content {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.card-content h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #013220;
    margin-bottom: 20px;
    position: relative;
}
.card-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #013220, #016b38);
    border-radius: 2px;
}
.card-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-top: 15px;
}
/* Alternating layout for desktop */
.card.reverse {
    flex-direction: row-reverse;
}
/* Placeholder styling for when no image is provided */
.card-image:empty {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-image:empty::after {
    content: 'Image';
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    font-weight: 500;
    z-index: 2;
}
/* Mobile responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 40px 15px;
    }
    .page-header h1 {
        font-size: 2.5rem;
    }
    .page-header p {
        font-size: 1.1rem;
    }
    .cards-container {
        gap: 30px;
    }
    /* Stack cards vertically on mobile */
    .card,
    .card.reverse {
        flex-direction: column;
        min-height: auto;
    }
    /* On mobile, image always goes below text */
    .card-content {
        order: 1;
        padding: 30px;
    }
    .card-image {
        order: 2;
        min-height: 250px;
    }
    .card-content h2 {
        font-size: 1.8rem;
    }
    .card-content p {
        font-size: 1rem;
    }
}
/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .card-content {
        padding: 40px;
    }
    .card-content h2 {
        font-size: 2rem;
    }
}
/* Small mobile devices */
@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }
    .card-content {
        padding: 25px;
    }
    .card-content h2 {
        font-size: 1.6rem;
    }
    .card-image {
        min-height: 200px;
    }
}