.alt-row {
    transition: transform 1.5s ease, opacity 1.5s ease;
    transform: translateX(0);
    opacity: 0;
    padding: 10px;
    padding-bottom: 50px;
    padding-top: 50px;
}

/* alternating section for slide in rows */
.alternating-section {
     padding: 60px 0;
}

        .colored-background-section .alt-row-colored-background-spaced {
            background-color: #3eb9f7a4;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            min-height: 100%;
        }


        .alt-row-blank-background {
            transition: transform 1.5s ease, opacity 1.5s ease;
            transform: translateX(0);
            opacity: 0;
        }

        /* card */
        .blank-background-card-section .alt-row-blank-background{
            border-radius: 8px;
            overflow: hidden;
             box-shadow: 5px 5px 15px rgba(0,0,0,0.2), -5px -5px 5px rgba(0,0,0,0.05);
            min-height: 100%;
        }

        .blank-background-section .alt-row-blank-background-full-width {
            overflow: hidden;
            min-height: 100%;
        }

        .alt-row-colored-background {
            transition: transform 1.5s ease, opacity 1.5s ease;
            transform: translateX(0);
            opacity: 0;
        }
        
        .colored-background-section .alt-row-colored-background{
            background-color: #3eb9f7a4;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            min-height: 100%;
        }

        .card-spacer {
            padding-top: 20px;
            padding-bottom: 20px;
        }

        /* stationary */
        .colored-background-section .stationary-colored-background {
            border-radius: 8px;
            background-color: #3eb9f7a4;
            overflow: hidden;
            min-height: 100%;
        }

        
        /* Text column styling */
        .text-column {
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            height: 100%;
        }
        
        /* Image column styling */
        .image-column {
            padding: 0;
            height: 400px; /* Fixed height for both sides */
            overflow: hidden;
        }
        
        .image-column img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            transition: transform 0.3s ease;
        }
        
        .image-column img:hover {
            transform: scale(1.05);
        }
        
        /* Responsive adjustments */
        @media (max-width: 991.98px) {
            .image-column {
                height: 300px;
                order: -1; /* Move image above text on mobile */
            }
            
            .text-column {
                padding: 30px;
            }
        }


        
/* Stationary / static Image overlay effect - handles both portrait and landscape */
.image-overlay-stationary-container {
    position: relative;
    width: 100%;
    margin: 30px 0;
    overflow: hidden;
}

.image-overlay-stationary-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.image-overlay-stationary-container.portrait img {
    width: 100%;
    height: 80vh;
    object-fit: cover;
}

.image-overlay-stationary {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Transparent black overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 20px;
    box-sizing: border-box;
    opacity: 1; /* Ensure the overlay is visible */
    transition: all 0.8s ease;
}

.image-overlay-stationary h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
    opacity: 1; /* Ensure text is visible */
    transform: translateX(0); /* Reset transform for visibility */
    transition: all 0.5s ease 0.2s;
}

.image-overlay-stationary p {
    color: #fff;
    font-size: 1.1rem;
    max-width: 800px;
    text-align: center;
    opacity: 1; /* Ensure text is visible */
    transform: translateX(0); /* Reset transform for visibility */
    transition: all 0.5s ease 0.3s;
}




        /* Animated Image overlay effect - handles both portrait and landscape */
        .image-overlay-container {
            position: relative;
            width: 100%;
            margin: 30px 0;
            overflow: hidden;
        }

        .image-overlay-container img {
            width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
        }

        .image-overlay-container.portrait img {
            width: 100%;
            height: 80vh;
            object-fit: cover;
        }

        .image-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: white;
            padding: 20px;
            box-sizing: border-box;
            transform: translateX(-100%);
            transition: all 0.8s ease;
        }

        .image-overlay h2 {
            color: #fff;
            font-size: 2rem;
            margin-bottom: 15px;
            text-align: center;
            opacity: 0;
            transform: translateX(-50px);
            transition: all 0.5s ease 0.2s;
        }

        .image-overlay p {
            color: #fff;
            font-size: 1.1rem;
            max-width: 800px;
            text-align: center;
            opacity: 0;
            transform: translateX(-50px);
            transition: all 0.5s ease 0.3s;
        }
