#about-screen {
    z-index: 4;
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* padding-top will be set dynamically by JavaScript to account for header height */
    padding-top: 11vh;
    /* fallback for browsers without JS */
}

.about-content {
    padding-top: 20vh;
    text-align: start;
    padding: 2rem;
}

.about-text {
    position: relative;
    font-family: 'Roboto', sans-serif;
    width: 100%;
    padding-top: 6.5vh;
    padding-bottom: 10rem;
    margin-bottom: 5rem;
}

.about-text p {
    font-size: clamp(15px, 2.5vw + 0.5rem, 20px);
    text-align: justify;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    line-height: 1.6;
    /* Initial state - hidden */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Animation when visible class is added */
.about-text p.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger effect is handled by JavaScript timing */

/* Reduce spacing between paragraph and list */
.about-text p+.white-circle-list {
    margin-top: 0.5rem;
}

/* Reduce bottom margin for paragraphs followed by lists */
.about-text p:has(+ .white-circle-list) {
    margin-bottom: 0.3rem;
    margin-top: 0;
}

/* Reduce spacing between list and following paragraph */
.white-circle-list+p {
    margin-top: 0;
}

.white-circle-list {
    margin-bottom: 0.3rem;
    padding-bottom: 0;
}

/* White circle list styling */
.white-circle-list {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(15px, 2.5vw + 0.5rem, 20px);
    line-height: 1.6;
    margin: 0;
    /* Margin handled by specific selectors above */
    padding-left: 2rem;
    list-style: none;
    /* Initial state - visible immediately, animation will override */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.white-circle-list.visible {
    opacity: 1;
    transform: translateY(0);
}

.white-circle-list li {
    position: relative;
    margin-bottom: 0.5rem;
    text-align: justify;
}

.white-circle-list li::before {
    content: '';
    background-image: url('../assets/icons/symbol.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 0.5em;
    height: 0.5em;
    position: absolute;
    left: -1.5rem;
    top: 0.4em;
}

.white-circle-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

@media (max-width: 768px) {
    #about-screen {
        /* padding-top will be set dynamically by JavaScript to account for header height */
        padding-top: 25vw;
        /* fallback for browsers without JS */
        padding-bottom: 90px;
    }

    .about-text {
        margin-top: 20px;
        margin-bottom: 4rem;
        /* padding-left: 4vw;
        padding-right: 4vw; */
    }

    .about-text p {
        font-size: 4vw;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .white-circle-list {
        font-size: 4vw;
        line-height: 1.5;
        margin: 1rem 0;
        padding-left: 1.6rem;
    }

    .white-circle-list li {
        margin-bottom: 0.4rem;
    }

    .white-circle-list li::before {
        left: -1.2rem;
    }

    /* Mobile: Reduce spacing between paragraph and list */
    .about-text p+.white-circle-list {
        margin-top: 0.3rem;

    }

    .about-text p:has(+ .white-circle-list) {
        margin-bottom: 0;
    }

    /* Mobile: Reduce spacing between list and following paragraph */
    .white-circle-list+p {
        margin-top: 0;
    }

    .white-circle-list {
        margin-bottom: 0.01rem;
    }

    .white-circle-list li:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
    }
}

/* 
@media (max-width: 480px) {
    .about-text {
        margin-top: 0;
    }

} */