body {
    scroll-behavior: smooth;
  margin: 0;
}


section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#seccion1 {
    background-color: white; /* Fondo blanco */
}

#seccion2 {
    background-color: #6EC6FF; /* Azul claro */
    padding: 100px 0;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
}

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.service-box {
    padding: 20px;
    transition: transform 0.3s ease-in-out;
}

.service-box:hover {
    transform: scale(1.05);
}

.service-icon {
    width: 80px;
    margin-bottom: 15px;
}

.service-box {
    padding: 20px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease-in-out;
}

.service-box:hover {
    transform: scale(1.05);
}

#seccion2 .service-box:nth-child(1) { animation: fadeInUp 1s forwards 0.3s; }
#seccion2 .service-box:nth-child(2) { animation: fadeInUp 1s forwards 0.6s; }
#seccion2 .service-box:nth-child(3) { animation: fadeInUp 1s forwards 0.9s; }

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


/*SECCION 3 */
  .reveal-text-container {
        position: relative;
        overflow: hidden;
    }

    #inspirational-quote {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        perspective: 1000px; /* Perspectiva 3D */
    }

    #inspirational-quote .word {
        opacity: 0; /* Inicialmente ocultas */
        transform: translateZ(800px) scale(3); /* Posición inicial: "en la cara del usuario" */
    }

    /* Animación de entrada */
    .animate-word {
        animation: flyIntoPhone 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    }

    @keyframes flyIntoPhone {
        0% {
            opacity: 1;
            transform: translateZ(800px) scale(3); /* Comienza grande y cerca */
        }
        100% {
            opacity: 1;
            transform: translateZ(0) scale(1); /* Termina en posición normal */
        }
    }

    /* Estilos para móviles */
    @media (max-width: 768px) {
        #inspirational-quote {
            font-size: 1.8rem;
            flex-direction: column;
        }
        #inspirational-quote .word {
            display: block;
            width: 100%;
        }
    }

    /***************************************************************/

/*CLIENTES*/

 .client-card {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 15px;
        padding: 20px;
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        overflow: hidden;
        position: relative;
    }

    .client-card:hover {
        transform: translateY(-10px) rotateX(10deg) rotateY(10deg);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

   .client-logo img {
        max-width: 150px; /* Aumenta el tamaño de la imagen */
        margin-bottom: 20px;
        width: 100%; /* Asegura que la imagen sea responsive */
    }

    .client-info h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .client-info p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .client-info .btn {
        background: #fff;
        color: #28a745;
        border: none;
        border-radius: 25px;
        padding: 8px 20px;
        font-size: 0.9rem;
        transition: background 0.3s ease, color 0.3s ease;
    }

    .client-info .btn:hover {
        background: #28a745;
        color: #fff;
    }

    /* Estilos para móviles */
    @media (max-width: 768px) {
        #seccion4 {
            min-height: 150vh; /* Altura mínima para la sección */
            padding-top: 60px; /* Aumenta el padding superior */
            padding-bottom: 60px; /* Aumenta el padding inferior */
        }

        .client-card {
            margin-bottom: 30px; /* Aumenta el margen inferior entre tarjetas */
            height: auto; /* Altura automática para adaptarse al contenido */
        }

           .client-logo img {
            max-width: 120px; /* Tamaño de imagen más grande en móviles */
        }

        .client-info h3 {
            font-size: 1.3rem; /* Reduce el tamaño del título en móviles */
        }

        .client-info p {
            font-size: 0.85rem; /* Reduce el tamaño del texto en móviles */
        }

        .client-info .btn {
            font-size: 0.85rem; /* Reduce el tamaño del botón en móviles */
            padding: 6px 15px;
        }
    }

/********************************************/


/*SECCION CONTACTO */


  .whatsapp-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: #25d366; /* Color de WhatsApp */
        width: 80px; /* Tamaño fijo para el botón */
        height: 80px;
        border-radius: 50%;
        text-decoration: none;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        animation: float 2s ease-in-out infinite; /* Animación de flotar */
        position: relative;
    }

    .whatsapp-btn:hover {
        transform: translateY(-5px); /* Efecto de levantar al hacer hover */
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }

    .whatsapp-icon {
        width: 40px;
        height: 40px;
    }


    /* Animación de flotar */
    @keyframes float {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-10px);
        }
    }



    /* Estilos para móviles */
    @media (max-width: 768px) {

          .whatsapp-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: #25d366; /* Color de WhatsApp */
        width: 80px; /* Tamaño fijo para el botón */
        height: 80px;
        border-radius: 50%;
        text-decoration: none;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        animation: float 2s ease-in-out infinite; /* Animación de flotar */
        position: relative;
    }

        @keyframes float {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-10px);
        }
    }


        .whatsapp-btn {
            width: 70px;
            height: 70px;
        }

        .whatsapp-icon {
            width: 35px;
            height: 35px;
        }

        .wave-hand {
            font-size: 20px;
            bottom: -15px;
            right: -8px;
        }
    }

/*******************************************************/
/* Asegurar que toda la sección esté centrada */


#seccion3-5 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    background-color: white;
}

.container35 {
    max-width: 1800px;
    width: 100%;
    margin: 0 auto;
}

.row {
    justify-content: center;
}

.col-md-8 {
    text-align: center;
}

.fade-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    transition: opacity 3.5s ease-in-out;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.image-wrapper {
    position: absolute;
    top: -210px;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 3.5s ease-in-out;
}

.image-wrapper.active {
    opacity: 1;
}

.image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.image-caption {
    font-family: 'Montserrat', sans-serif; /* Fuente moderna y limpia */
    font-weight: 600; /* Ligeramente más gruesa */
    font-size: 1.2rem; /* Tamaño un poco más grande */
    color: #333; /* Gris oscuro elegante */
    text-transform: uppercase; /* Todo en mayúsculas */
    letter-spacing: 0.1rem; /* Espacio entre letras sutil */
    margin-bottom: 20px; /* Más espacio debajo */
    transition: all 0.3s ease; /* Transición suave para hover */
}

.image-caption .keyword { /* Estilo para las palabras clave */
    font-size: 1.2em;
    font-family: 'Roboto', sans-serif; /* Fuente diferente */
    color: blue;
}

/**********************************/

/* Contenedor principal de la sección */
.fondo-tunel {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f4f4f4;
  text-align: center;
  padding: 20px;
  position: relative;
}

/* Bloque de texto original */
.texto-inicial {
  font-size: 1.5rem;
  font-weight: bold;
  max-width: 800px;
  transition: opacity 1s ease-in-out;
}

/* Las partes que se deben desaparecer (minúsculas) */
.minus {
  transition: opacity 10.5s ease-in-out;
}

/* Las letras que se mantienen visibles */
.mayus {
  font-weight: bold;
}

/* Contenedor donde se mostrará la palabra final */
.resultado-mayus {
  position: absolute;
  top: 50%;
  left: 50%;
  /* Inicialmente se posiciona en el centro pero con un ligero desfase vertical y opacidad 0 */
  transform: translate(-50%, -70%);
  font-size: 2.5rem;
  font-weight: bold;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

/* Clase que activa la animación de entrada para el resultado */
.resultado-mayus.animate {
  transform: translate(-50%, -50%);
  opacity: 1;
}

 /* Add this to your existing <style> block or a separate CSS file */
    .highlight-blue {
        color: #007bff; /* Bootstrap's default blue color */
    }

   .gradient-contact-bg2 {
    background: linear-gradient(to right, #89cff0, #e0b0ff);
}

/* Opcional: Otro degradado, de verde suave a azul suave */
 
.gradient-contact-bg3 {
    background: linear-gradient(to right, #a8e863, #56ab2f);
}


/* Opcional: Un degradado más cálido de durazno a naranja suave */

.gradient-contact-bg {
    background: linear-gradient(to right, #ffbe99, #ff7e5f);
}

.mexican-flag-gradient-bg {
  background: linear-gradient(to right, #fce8da, #fcf4e4);
    color: #343a40; /* Esto forzará el color del texto a oscuro para mayor legibilidad */
}



/*************************************************/

/* FOOTER */
    footer {
        background-color: #343a40; /* Color de fondo oscuro */
    }

    footer h4 {
        color: #fff;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    footer p, footer a {
        color: #ccc;
        font-size: 0.9rem;
    }

    footer a:hover {
        color: #fff;
        text-decoration: underline;
    }

    .social-icons a {
        font-size: 1.2rem;
        transition: color 0.3s ease;
    }

    .social-icons a:hover {
        color: #25d366; /* Color de WhatsApp para resaltar */
    }

    .list-unstyled li {
        margin-bottom: 0.5rem;
    }


/**************************************************/

.content {
    text-align: center;
}

.logo {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

/* Efecto fade-in para el texto */
.fade-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.fade-text span:nth-child(1) { animation-delay: 0.3s; }
.fade-text span:nth-child(2) { animation-delay: 0.6s; }
.fade-text span:nth-child(3) { animation-delay: 0.9s; }
.fade-text span:nth-child(4) { animation-delay: 1.2s; }
.fade-text span:nth-child(5) { animation-delay: 1.5s; }
.fade-text span:nth-child(6) { animation-delay: 1.8s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .logo {
        max-width: 100%;
    }
}
