@charset "utf-8";
#scroll-container {
    position: relative;
    height: 400vh;
}

#scroll-container .sticky-wrapper {
    position: sticky;
    top: 50px;
    height: calc(100vh - 50px);
    width: 100vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#scroll-container .sections-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#scroll-container .section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translateY(50px);
    pointer-events: none;

}

#scroll-container .section.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    z-index: 10;
}

#scroll-container .section.past {
    opacity: 0;
    transform: translateY(-50px);
    z-index: 5;
}

#scroll-container .content-card {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    #scroll-container .content-card {
        flex-direction: row;
        align-items: stretch;
    }
}

#scroll-container .image-container {
    width: 100%;
    height:40%;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    #scroll-container .image-container {
        width: 60vw;
        height: 100vh;
    }
}

#scroll-container .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease;

}

#scroll-container .section.active .image-container img {
    transform: scale(1.05);
}

#scroll-container .text-content {
    width: 100%;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem;
    background-color: #ffffff;
}

@media (min-width: 768px) {
    #scroll-container .text-content {
        width: 40vw;
        height: 100vh;
        padding: 4rem;
    }
}

#scroll-container #section-1 .image-container {
    width: 100vw;
    height: 100vh;
}

#scroll-container h2 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #276982;
}

@media (min-width: 768px) {
    #scroll-container h2 {
        font-size: 40px;
    }
}

#scroll-container p {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.6;
}

#scroll-container .progress-dots {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 30;
}

#scroll-container .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(15, 23, 42, 0.15);
    transition: all 0.3s ease;
}

#scroll-container .dot.active {
    background-color: #0f172a;
    transform: scale(1.5);
    box-shadow: 0 0 10px rgba(15, 23, 42, 0.2);
}