.present {
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;

    p {
        text-align: center;
        font-size: 1.2em;
        margin-bottom: 8rem;
        line-height: 1.6;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
        color: var(--primary-color);
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;

        @media (max-width: 768px) {
            max-width: 95%;
            font-size: 1em;
            margin-bottom: 4rem;
        }
    }

    .row {
        margin-bottom: 3rem;
        align-items: center;
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 1s ease, transform 1s ease;

        img {
            width: 80%;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
            margin: 0 auto;
            display: block;

            &:hover {
                transform: scale(1.02);
            }

            @media (max-width: 768px) {
                width: 90%;
            }
        }

        h3 {
            margin-bottom: 1rem;
            font-weight: 300;

            @media (max-width: 768px) {
                font-size: 1.5em;
                margin-top: 0.5rem;
                margin-bottom: 0.5rem;
            }
        }

        small {
            font-size: 1em;
            line-height: 1.6;
            display: block;

            @media (max-width: 768px) {
                font-size: 0.9em;
            }
        }

        .left {
            padding-left: 2rem;

            @media (max-width: 768px) {
                padding-left: 0;
                text-align: center;
                margin-bottom: 1rem;
            }
        }

        .right {
            padding-right: 2rem;
            text-align: right;

            @media (max-width: 768px) {
                padding-right: 0;
                text-align: center;
                margin-bottom: 1rem;
            }
        }

        @media (max-width: 768px) {
            margin-bottom: 1.5rem;

            /* Reverse order for rows containing .right class */
            &:has(.right) {
                flex-direction: column-reverse;
            }
        }
    }

    /* Animation classes */
    .fade-in {
        opacity: 1;
        transform: translateY(0);
    }

    /* Parallax effect for rows */
    .row:nth-child(odd) {
        transition-delay: 0.2s;
    }

    .row:nth-child(even) {
        transition-delay: 0.3s;
    }

    @media (max-width: 768px) {
        margin-top: 1rem;
        margin-bottom: 1rem;
        padding: 1rem 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}
