/* Scroll Text Section */
.scroll-text-section {
    height: 300vh; /* Make the section tall to allow for scrolling */
    position: relative;
    background-color: #000000;
}

.sticky-container {
    position: sticky;
    top: 0;
    height: 100vh; /* Stick to viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.scroll-text-content {
    max-width: 1400px; /* Increased width significantly */
    padding: 0 40px;
    font-size: 2.75rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.6;
    color: #333333;
}

.scroll-line {
    margin-bottom: 1.5rem; /* Space between paragraphs/lines */
    display: block; /* Force new line */
}

.scroll-word {
    transition: color 0.3s ease;
    display: inline;
    margin-right: 0.2em;
}

.scroll-word.highlighted {
    color: #ffffff;
}

/* Responsive text size */
@media (max-width: 768px) {
    .scroll-text-content {
        font-size: 2rem;
    }
}
