
/* Contenedor del bloque de texto y video */
.text-video-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1100px;
    margin: auto;
    padding: 50px;
    background: linear-gradient(135deg, #ffffff, #f3f3f3);
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

/* Estilo del texto */
.text-content {
    width: 45%;
    text-align: left;
}

.text-content h2 {
    font-size: 2.2em;
    color: #333;
    margin-bottom: 15px;
}

.text-content p {
    font-size: 1.2em;
    color: #666;
    line-height: 1.6;
}

/* Estilo del video (ahora más grande) */
.video-container {
    width: 55%;
    max-width: 550px; /* Antes era 400px, ahora lo hacemos más grande */
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.video-container:hover {
    transform: scale(1.3);
    transition: transform 0.3s ease-in-out;
}

/* Responsividad: en pantallas pequeñas, el video y el texto se apilan */
@media screen and (max-width: 768px) {
    .text-video-container {
        flex-direction: column;
        text-align: center;
    }

    .text-content, .video-container {
        width: 100%;
    }

    .video-container {
        max-width: 100%;
    }
}


/* Estilo del título principal */
.card-title {
    text-align: center;
    font-size: 2.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

/* Contenedor de las tarjetas */
.card-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    text-align: center;
    padding: 20px 0;
    max-width: 1100px;
    margin: auto;
}

/* Estilo de cada tarjeta */
.card {
    background: linear-gradient(135deg, #ffffff, #f3f3f3);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    flex: 1 1 30%;
    transition: transform 0.3s ease-in-out;
}

/* Efecto hover */
.card:hover {
    transform: scale(1.08);
}

/* Estilo del ícono */
.card i {
    font-size: 2.5em;
    color: #007bff;
    margin-bottom: 10px;
}

/* Estilo del título dentro de cada tarjeta */
.card h3 {
    color: #333;
    font-size: 1.4em;
    margin-bottom: 10px;
}

/* Estilo del párrafo dentro de cada tarjeta */
.card p {
    color: #666;
    font-size: 1.1em;
}

/* Responsividad: en pantallas pequeñas, las tarjetas ocupan todo el ancho */
@media screen and (max-width: 768px) {
    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        max-width: 90%;
    }
}


/* Contenedor del bloque de imagen y texto */
.image-text-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1000px;
    margin: auto;
    padding: 40px;
    background: linear-gradient(135deg, #ffffff, #f3f3f3);
    border-radius: 12px;
    color: white;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

/* Estilo de la imagen */
.image-text-container img {
    width: 50%;
    max-width: 400px;
    border-radius: 12px;
}

.image-text-container {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

/* Activar la animación cuando el bloque es visible */
.image-text-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.image-left {
    flex-direction: row;
}

/* Imagen a la derecha */
.image-right {
    flex-direction: row-reverse;
}

/* Estilo del texto */
.text-content {
    width: 50%;
    text-align: left;
}

.text-content h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
}

.text-content p {
    font-size: 1.1em;
    color: #666;
}

/* Responsive: En pantallas pequeñas, la imagen y el texto se apilan */
@media screen and (max-width: 768px) {
    .image-text-container {
        flex-direction: column;
        text-align: center;
    }

    .image-text-container img {
        width: 100%;
    }

    .text-content {
        width: 100%;
    }
}


/* Contenedor del bloque de imagen y texto */
.image-text-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1000px;
    margin: auto;
    padding: 40px;
    background: linear-gradient(135deg, #ffffff, #f3f3f3);
    border-radius: 12px;
    color: white;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    flex-direction: row-reverse;
}

/* Estilo de la imagen */
.image-text-container img {
    width: 50%;
    max-width: 400px;
    border-radius: 12px;
}

.image-text-container {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.image-left {
    flex-direction: row;
}

/* Imagen a la derecha */
.image-right {
    flex-direction: row-reverse;
}

/* Activar la animación cuando el bloque es visible */
.image-text-container.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Estilo del texto */
.text-content {
    width: 50%;
    text-align: left;
}

.text-content h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
}

.text-content p {
    font-size: 1.1em;
    color: #666;
}

/* Responsive: En pantallas pequeñas, la imagen y el texto se apilan */
@media screen and (max-width: 768px) {
    .image-text-container {
        flex-direction: column;
        text-align: center;
    }

    .image-text-container img {
        width: 100%;
    }

    .text-content {
        width: 100%;
    }
}


/* Estilo del título principal */
.steps-title {
    text-align: center;
    font-size: 2.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
}

.step-gif:hover {
    transform: scale(1.7);
    transition: transform 0.3s ease-in-out;
}

/* Contenedor de los pasos */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 30px; /* Más espacio entre los pasos */
    max-width: 900px;
    margin: auto;
}

/* Cada paso */
.step {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #ffffff, #f3f3f3);
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, opacity 0.5s ease-in-out;
    opacity: 0;
    transform: translateY(30px);
}

/* Activar la animación cuando el paso es visible */
.step.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Alternar dirección para cada paso */
.step:nth-child(even) {
    flex-direction: row-reverse;
}

/* Estilo del GIF */
.step-gif {
    width: 45%;
    max-width: 350px;
    border-radius: 12px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
}

/* Contenedor del contenido */
.step-content {
    flex: 1;
}

/* Estilo del título del paso */
.step-content h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

/* Estilo del párrafo del paso */
.step-content p {
    font-size: 1.1em;
    color: #666;
    line-height: 1.6;
}

/* Responsividad: en pantallas pequeñas, los pasos se apilan */
@media screen and (max-width: 768px) {
    .step {
        flex-direction: column !important;
        text-align: center;
    }

    .step-gif {
        width: 100%;
        max-width: 100%;
    }
}


/* Contenedor principal */
.contact-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #007bff, #00b36f); /* 🔹 Azul y Verde */
    color: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    max-width: 1000px;
    margin: auto;
    opacity: 0; /* 🔹 Animación: inicia invisible */
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    gap: 40px;
}

/* Cuando el elemento se vuelve visible */
.contact-container.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Contenedor del logo */
.logo-container {
    flex: 1;
    text-align: center;
}

/* Estilo del logo (ahora más grande y centrado) */
.logo-container img {
    max-width: 250px; /* 🔹 Aumentado a 250px para mayor visibilidad */
    width: 100%;
    height: auto;
    display: block;
    margin: auto;
}

/* Contenedor del texto y botón */
.contact-content {
    flex: 2;
    text-align: left;
}

/* Título */
.contact-content h2 {
    font-size: 2.4em;
    margin-bottom: 15px;
}

/* Descripción */
.contact-content p {
    font-size: 1.3em;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Estilo del botón */
.contact-button {
    background: #ffcc00;
    color: #333;
    font-size: 1.3em;
    padding: 15px 35px;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease-in-out;
}

/* Efecto hover del botón */
.contact-button:hover {
    background: #ffdd44;
    transform: scale(1.07);
}

/* Responsive: Apilar en pantallas pequeñas y ajustar el tamaño del logo */
@media screen and (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }

    .logo-container img {
        max-width: 180px; /* 🔹 Ajustado para móviles */
        margin-bottom: 15px;
    }

    .contact-content {
        text-align: center;
    }
}
