/* General Styles for the Section */
.section__text {
    opacity: 0;
    animation: fadeIn 2s forwards; /* Animation for fading in the whole section */
}

/* Animation keyframes for fade in */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Specific animation for each element */
.section__text__p1 {
    animation: slideInLeft 1s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0; /* Start as invisible */
}

.title {
    animation: slideInRight 1s ease-out forwards;
    animation-delay: 1s;
    opacity: 0; /* Start as invisible */
}

.section__text__p2 {
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 1.5s;
    opacity: 0; /* Start as invisible */
}

/* Keyframes for specific animations */
@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
