/* Main Container */
.sic-container {
    display: flex;
    width: 100%;
    position: relative;
    min-height: 500px;
    gap: 20px;
}

/* Image Container - Fixed Position */
.sic-image-container {
    position: sticky;
    top: 100px;
    height: 500px;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Content Container - Scrollable */
.sic-content-container {
    width: 50%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Content Wrapper */
.sic-content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Image Styling */
.sic-image-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
}

.sic-image-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sic-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sic-image-item.active {
    opacity: 1;
}

/* Content Section Styling */
.sic-content-item {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 40px;
    box-sizing: border-box;
    scroll-snap-align: start;
}

/* Content Elements */
.sic-content-title,
.sic-content-description {
    width: 100%;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Utility class for mobile image inside each section */
.mobile-only {
    display: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .sic-container {
        flex-direction: column;
    }

    .sic-image-container {
        display: none; /* Hide sticky image on mobile/tablet */
    }

    .sic-content-container {
        width: 100% !important;
    }

    .sic-content-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        padding: 20px;
        height: 100% !important;
        min-height: auto;
    }

    .sic-content-item .sic-image-item {
        position: relative !important;
        opacity: 1 !important;
        height: auto !important;
        width: 100%;
        margin-bottom: 20px;
        display: block !important;
    }

    .sic-content-item .sic-image-item img {
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: center;
    }

    .mobile-only {
        display: block;
    }
}
