       /* Estilos generales */
       :root {
        --primary-color: #3498db;
        --secondary-color: #2980b9;
        --accent-color: #e74c3c;
        --text-color: #333;
        --light-text: #f8f9fa;
        --dark-blue: #1a5276;
        --light-blue: #d6eaf8;
        --background: #f5f5f5;
        --section-bg: #ffffff;
        --border-radius: 8px;
        --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        --transition: all 0.3s ease;
    }
    
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    body {
        font-family: 'Poppins', sans-serif;
        color: var(--text-color);
        background-image: url('./img/fondo.png');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        position: relative;
        line-height: 1.6;
    }
    
    .wrapper {
        position: relative;
        min-height: 100vh;
        overflow: hidden;
    }
    
    /* Header con logo y navegación centradas */
header {
    padding: 25px;
    color: white;
    position: relative;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 30px;
    font-weight: bold;
    line-height: 1.2;
}

/* Navegación centrada */
.desktop-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
}

/* Efecto hover para los enlaces */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: white;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* BOTÓN DE INICIAR SESIÓN - RESET COMPLETO */
.session-button {
    display: inline-block;
    background-color: #ffffff;
    color: #000000;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    margin-left: 10px;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    box-shadow: none;
}

.session-button:hover {
    background-color: #000000;
    color: #ffffff;
}

.session-button i {
    color: #000000;
    margin-right: 4px;
}

.session-button:hover i {
    color: #ffffff;
}


/* Menú hamburguesa mejorado */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1000;
    position: relative; /* Añadido para posicionar mejor */
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Overlay para el menú móvil */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* Menú móvil mejorado */
.mobile-nav {
    display: block; /* Cambiado de none a block */
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 100vh;
    background-color: #111314;
    padding-top: 70px; /* Aumentado para dar más espacio al botón */
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto; /* Para permitir scroll si hay muchos elementos */
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.mobile-nav a:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.mobile-nav .session-button-mobile {
    background-color: #ffffff;
    color: #000000;
    margin: 15px 20px;
    text-align: center;
    border-radius: 10px;
    font-size: 14px;
    padding: 10px; /* Aumentado para mejor área táctil */
    border: none;
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
}

.mobile-nav .session-button-mobile:hover {
    background-color: #000000;
    color: #ffffff;
}

.mobile-nav .session-button-mobile i {
    color: #000000;
    margin-right: 4px;
}

.mobile-nav .session-button-mobile:hover i {
    color: #ffffff;
}

.mobile-nav a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Media query para mostrar el menú hamburguesa */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
}
    
    /* Contenido principal */
    .main-content {
        max-width: 1400px;
        margin: 0 auto;
        padding: 2rem 5%;
        position: relative;
        z-index: 1;
    }
    
    /* Banner del about us */
    .about-banner {
        background: linear-gradient(rgba(52, 152, 219, 0.8), rgba(41, 128, 185, 0.9)), url('/api/placeholder/1400/400');
        background-size: cover;
        background-position: center;
        color: white;
        text-align: center;
        padding: 5rem 2rem;
        margin-bottom: 4rem;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        position: relative;
        overflow: hidden;
    }
    
    .about-banner::before {
        content: '';
        position: absolute;
        bottom: -50px;
        left: 0;
        width: 100%;
        height: 100px;
        background: linear-gradient(to bottom right, transparent 49%, white 50%);
    }
    
    .about-banner h1 {
        font-size: 3.5rem;
        margin-bottom: 1rem;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }
    
    .tagline {
        font-size: 1.5rem;
        font-style: italic;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }
    
    /* Sección de misión */
    .mission-section {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        margin-bottom: 5rem;
        align-items: center;
        background-color: var(--section-bg);
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        padding: 3rem;
        position: relative;
        overflow: hidden;
    }
    
    .mission-section::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: var(--primary-color);
    }
    
    .mission-content {
        flex: 1 1 500px;
    }
    
    .mission-content h2 {
        color: var(--primary-color);
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        position: relative;
        padding-bottom: 0.8rem;
    }
    
    .mission-content h2::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 80px;
        height: 3px;
        background-color: var(--accent-color);
    }
    
    .mission-text {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        line-height: 1.8;
    }
    
    .verse-container {
        background-color: var(--light-blue);
        padding: 1.5rem;
        border-left: 4px solid var(--primary-color);
        border-radius: 0 var(--border-radius) var(--border-radius) 0;
        margin-top: 2rem;
    }
    
    .verse-text {
        font-size: 1.2rem;
        font-style: italic;
        margin-bottom: 0.5rem;
    }
    
    .verse-reference {
        text-align: right;
        font-weight: 600;
        color: var(--dark-blue);
    }
    
    .mission-image {
        flex: 1 1 400px;
        border-radius: var(--border-radius);
        overflow: hidden;
        box-shadow: var(--box-shadow);
        transform: rotate(3deg);
        transition: var(--transition);
    }
    
    .mission-image:hover {
        transform: rotate(0);
    }
    
    .mission-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }
    
    .mission-image:hover img {
        transform: scale(1.05);
    }
    
    /* Sección del fundador */
    .founder-section {
        margin-bottom: 5rem;
    }
    
    .section-title {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
        color: var(--primary-color);
        position: relative;
        display: inline-block;
        padding: 0 1rem;
    }
    
    .section-title h2::before,
    .section-title h2::after {
        content: '';
        position: absolute;
        top: 50%;
        width: 50px;
        height: 2px;
        background-color: var(--accent-color);
    }
    
    .section-title h2::before {
        left: -60px;
    }
    
    .section-title h2::after {
        right: -60px;
    }
    
    .founder-container {
        display: flex;
        flex-wrap: wrap;
        gap: 3rem;
        background-color: var(--section-bg);
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        padding: 3rem;
        position: relative;
    }
    
    .founder-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('/api/placeholder/100/100') repeat;
        opacity: 0.03;
        z-index: 0;
    }
    
    .founder-image {
        flex: 0 1 300px;
        position: relative;
        z-index: 1;
    }
    
    .founder-image img {
        width: 100%;
        border-radius: 50%;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border: 5px solid white;
        transition: var(--transition);
    }
    
    .founder-image:hover img {
        transform: scale(1.03);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }
    
    .founder-social {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: var(--primary-color);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }
    
    .social-link:hover {
        background-color: var(--secondary-color);
        transform: translateY(-3px);
    }
    
    .founder-info {
        flex: 1 1 500px;
        position: relative;
        z-index: 1;
    }
    
    .founder-info h3 {
        font-size: 2rem;
        color: var(--primary-color);
        margin-bottom: 0.5rem;
    }
    
    .founder-role {
        font-size: 1.1rem;
        color: var(--accent-color);
        margin-bottom: 2rem;
        font-weight: 500;
    }
    
    .founder-bio {
        margin-bottom: 2rem;
    }
    
    .founder-bio p {
        margin-bottom: 1rem;
        line-height: 1.8;
    }
    
    .founder-quote {
        background-color: var(--light-blue);
        padding: 1.5rem;
        border-radius: var(--border-radius);
        position: relative;
        margin-top: 2rem;
    }
    
    .founder-quote i {
        color: var(--primary-color);
        font-size: 1.5rem;
        margin-right: 0.5rem;
        opacity: 0.7;
    }
    
    .founder-quote p {
        font-style: italic;
        font-size: 1.1rem;
    }
    
    /* Sección de valores */
    .values-section {
        text-align: center;
        margin-bottom: 5rem;
        padding: 4rem 2rem;
        background-color: var(--light-blue);
        border-radius: var(--border-radius);
        position: relative;
        overflow: hidden;
    }
    
    .values-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('/api/placeholder/100/100') repeat;
        opacity: 0.05;
        z-index: 0;
    }
    
    .values-section h2 {
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 3rem;
        position: relative;
        z-index: 1;
    }
    
    .values-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
        position: relative;
        z-index: 1;
    }
    
    .value-card {
        flex: 1 1 250px;
        max-width: 300px;
        background-color: white;
        padding: 2rem;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        transition: var(--transition);
    }
    
    .value-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }
    
    .value-icon {
        width: 80px;
        height: 80px;
        background-color: var(--light-blue);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
    }
    
    .value-icon i {
        font-size: 2rem;
        color: var(--primary-color);
    }
    
    .value-card h3 {
        font-size: 1.3rem;
        color: var(--primary-color);
        margin-bottom: 1rem;
    }
    
    .value-card p {
        font-size: 0.95rem;
        color: var(--text-color);
    }
    
    /* Sección de visión */
    .vision-section {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        margin-bottom: 5rem;
        align-items: center;
        background-color: var(--section-bg);
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        padding: 3rem;
    }
    
    .vision-content {
        flex: 1 1 500px;
    }
    
    .vision-content h2 {
        color: var(--primary-color);
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        position: relative;
        padding-bottom: 0.8rem;
    }
    
    .vision-content h2::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 80px;
        height: 3px;
        background-color: var(--accent-color);
    }
    
    .vision-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .vision-list {
        list-style: none;
    }
    
    .vision-list li {
        margin-bottom: 1rem;
        padding-left: 1.5rem;
        position: relative;
        font-size: 1rem;
    }
    
    .vision-list li i {
        color: var(--accent-color);
        position: absolute;
        left: 0;
        top: 5px;
    }
    
    .vision-image {
        flex: 1 1 400px;
        border-radius: var(--border-radius);
        overflow: hidden;
        box-shadow: var(--box-shadow);
        position: relative;
    }
    
    .vision-image::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--primary-color);
        opacity: 0.2;
        transition: var(--transition);
    }
    
    .vision-image:hover::before {
        opacity: 0;
    }
    
    .vision-image img {
        width: 100%;
        display: block;
        transition: var(--transition);
    }
    
    .vision-image:hover img {
        transform: scale(1.05);
    }
    
    /* Sección del equipo */
    .team-section {
        text-align: center;
        margin-bottom: 5rem;
    }
    
    .team-section h2 {
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 1rem;
    }
    
    .team-intro {
        font-size: 1.1rem;
        max-width: 700px;
        margin: 0 auto 3rem;
    }
    
    .team-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }
    
    .team-member {
        flex: 1 1 220px;
        max-width: 250px;
        background-color: white;
        padding: 2rem;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        transition: var(--transition);
    }
    
    .team-member:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }
    
    .member-image {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        overflow: hidden;
        margin: 0 auto 1.5rem;
        border: 5px solid var(--light-blue);
    }
    
    .member-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }
    
    .team-member:hover .member-image img {
        transform: scale(1.1);
    }
    
    .team-member h3 {
        font-size: 1.2rem;
        color: var(--primary-color);
        margin-bottom: 0.5rem;
    }
    
    .member-role {
        font-size: 0.9rem;
        color: var(--accent-color);
    }
    
    /* Sección de contacto */
    .contact-section {
        margin-bottom: 5rem;
    }
    
    .contact-heading {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .contact-heading h2 {
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 1rem;
    }
    
    .contact-heading p {
        font-size: 1.1rem;
        max-width: 700px;
        margin: 0 auto;
    }
    
    .contact-container {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        background-color: var(--section-bg);
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        padding: 3rem;
    }
    
    .contact-info {
        flex: 1 1 300px;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-item {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .contact-item i {
        font-size: 1.5rem;
        color: var(--primary-color);
        width: 40px;
        height: 40px;
        background-color: var(--light-blue);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .contact-item h3 {
        font-size: 1.2rem;
        color: var(--primary-color);
        margin-bottom: 0.3rem;
    }
    
    .social-media {
        margin-top: 1rem;
    }
    
    .social-media h3 {
        font-size: 1.2rem;
        color: var(--primary-color);
        margin-bottom: 1rem;
    }
    
    .social-links {
        display: flex;
        gap: 0.8rem;
    }
    
    .contact-form-container {
        flex: 1 1 500px;
    }
    
    .contact-form {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .form-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        font-weight: 500;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        border: 1px solid #ddd;
        border-radius: var(--border-radius);
        background-color: #f9f9f9;
        transition: var(--transition);
    }
    
    .form-group input:focus,
    .form-group textarea:focus {
        border-color: var(--primary-color);
        outline: none;
        box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    }
    
    .submit-btn {
        background-color: var(--primary-color);
        color: white;
        padding: 1rem;
        border: none;
        border-radius: 30px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: var(--transition);
        box-shadow: 0 3px 6px rgba(52, 152, 219, 0.3);
    }
    
    .submit-btn:hover {
        background-color: var(--secondary-color);
        transform: translateY(-3px);
        box-shadow: 0 5px 10px rgba(52, 152, 219, 0.4);
    }
    
    /* Nubes decorativas */
    .clouds {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        opacity: 0.4;
        pointer-events: none;
    }
    
    .clouds::before,
    .clouds::after {
        content: '';
        position: absolute;
        background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 40C30 18 48 10 70 10C92 10 100 28 100 50C100 72 92 90 70 90C48 90 30 82 30 60C30 38 12 30 -10 30C-32 30 -40 12 -40 -10C-40 -32 -32 -50 -10 -50C12 -50 30 -42 30 -20C30 2 48 10 70 10' stroke='%23d6eaf8' stroke-opacity='0.4' stroke-width='3'/%3E%3C/svg%3E");
        background-size: 1000px 1000px;
        animation: clouds 120s linear infinite;
        width: 200%;
        height: 200%;
    }
    
    .clouds::after {
        top: -50%;
        left: -100%;
        opacity: 0.7;
        animation-duration: 100s;
        animation-delay: -10s;
    }
    
    @keyframes clouds {
        0% {
            transform: translate(0, 0);
        }
        100% {
            transform: translate(500px, 500px);
        }
    }
    
    /* Pie de página */
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 20px 0;
    width: 100%;
    margin-top: auto;
}

.cross {
    font-size: 50px;
    margin: 10px 0;
}

.copyright {
    margin: 10px 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.social-icon i {
    color: #222;
    font-size: 18px;
}

.social-icon:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
    
    /* Responsive */
    @media (max-width: 992px) {
        .desktop-nav .nav-links {
            gap: 1rem;
        }
        
        .mission-section,
        .vision-section,
        .contact-container {
            padding: 2rem;
        }
        
        .about-banner h1 {
            font-size: 3rem;
        }
        
        .section-title h2::before,
        .section-title h2::after {
            width: 30px;
        }
        
        .section-title h2::before {
            left: -40px;
        }
        
        .section-title h2::after {
            right: -40px;
        }
    }
    
    @media (max-width: 768px) {
        .desktop-nav {
            display: none;
        }
        
        .hamburger {
            display: flex;
        }
        
        .about-banner h1 {
            font-size: 2.5rem;
        }
        
        .tagline {
            font-size: 1.2rem;
        }
        
        .mission-content h2,
        .vision-content h2,
        .values-section h2,
        .contact-heading h2,
        .section-title h2 {
            font-size: 2rem;
        }
        
        .mission-section,
        .vision-section,
        .founder-container,
        .contact-container {
            padding: 1.5rem;
        }
        
        .values-section {
            padding: 3rem 1.5rem;
        }
        
        .founder-info h3 {
            font-size: 1.8rem;
        }
        
        .mission-image,
        .vision-image {
            margin: 0 auto;
        }
        
        .section-title h2::before,
        .section-title h2::after {
            display: none;
        }
    }
    
    @media (max-width: 576px) {
        .header-container {
            padding: 1rem 3%;
        }
        
        .main-content {
            padding: 1rem 3%;
        }
        
        .about-banner {
            padding: 3rem 1rem;
        }
        
        .about-banner h1 {
            font-size: 2rem;
        }
        
        .tagline {
            font-size: 1.1rem;
        }
        
        .mission-content h2,
        .vision-content h2,
        .values-section h2,
        .contact-heading h2,
        .section-title h2 {
            font-size: 1.8rem;
        }
        
        .mission-section,
        .vision-section,
        .founder-container,
        .contact-container {
            padding: 1.2rem;
        }
        
        .founder-info h3 {
            font-size: 1.5rem;
        }
        
        .team-member {
            max-width: 100%;
        }
    }
    /* Clase base para elementos que se animarán */
.animate {
    opacity: 0;
    transition: all 0.8s ease;
}

/* Animaciones específicas */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(-50px);
}

.slide-right.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(50px);
}

.slide-left.active {
    opacity: 1;
    transform: translateX(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.8);
}

.zoom-in.active {
    opacity: 1;
    transform: scale(1);
}

.bounce-in {
    opacity: 0;
    transform: scale(0.3);
}

.bounce-in.active {
    opacity: 1;
    transform: scale(1);
    transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.rotate-in {
    opacity: 0;
    transform: rotate(-15deg) scale(0.8);
}

.rotate-in.active {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Diferentes retrasos para crear efecto escalonado */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }
.delay-600 { transition-delay: 0.6s; }
.delay-700 { transition-delay: 0.7s; }
.delay-800 { transition-delay: 0.8s; }

/* Animación para el preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 80px;
    height: 80px;
    position: relative;
}

.loader:before {
    content: '✝';
    font-size: 50px;
    color: var(--primary-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
}

/* Animación para nubes más dinámicas */
.clouds::before,
.clouds::after {
    animation: clouds 120s linear infinite;
}

.clouds::after {
    animation-duration: 100s;
    animation-delay: -10s;
}

@keyframes clouds {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(250px, 250px);
    }
    100% {
        transform: translate(500px, 500px);
    }
}

/* Animación para el header al hacer scroll */
header {
    transition: background-color 0.3s ease, padding 0.3s ease;
}

header.scrolled {
    background-color: rgba(17, 19, 20, 0.95);
    padding: 15px 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Animación para botones y enlaces */
.nav-links a, .social-link, .submit-btn, .session-button {
    position: relative;
    overflow: hidden;
}

.nav-links a:after, .social-link:after, .submit-btn:after, .session-button:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
    z-index: -1;
}

.nav-links a:hover:after, .social-link:hover:after, .submit-btn:hover:after, .session-button:hover:after {
    width: 300px;
    height: 300px;
}

/* Animación hover para value cards */
.value-card {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.value-card:hover {
    transform: translateY(-10px) scale(1.03);
}

.value-card .value-icon {
    transition: transform 0.5s ease;
}

.value-card:hover .value-icon {
    transform: rotate(360deg);
}

/* Animación para formularios */
.form-group input, .form-group textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    transform: translateY(-2px);
}