.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: 12px;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            margin: 0 auto;
            display: block;

            &:hover {
                transform: scale(1.02);
                box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18), 0 0 20px rgba(203, 163, 49, 0.18);
            }

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

        h3 {
            position: relative;
            margin-bottom: 1rem;
            font-weight: 400;
            padding-left: 1rem;
            color: #2c3e50;

            &::before {
                content: "";
                position: absolute;
                left: 0;
                top: 50%;
                transform: translateY(-50%);
                width: 4px;
                height: 80%;
                border-radius: 2px;
                background: var(--primary-color);
            }

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

        small {
            font-size: 1em;
            line-height: 1.7;
            display: block;
            color: var(--text-color-light);

            @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;

                h3 {
                    padding-left: 0;

                    &::before {
                        display: none;
                    }
                }
            }
        }

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

            h3 {
                padding-left: 0;
                padding-right: 1rem;

                &::before {
                    left: auto;
                    right: 0;
                }
            }

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

                h3 {
                    padding-right: 0;

                    &::before {
                        display: none;
                    }
                }
            }
        }

        @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);
    }
}
