/* Estilos para las reviews */
.fade-in {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.testimonial.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.testimonial.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
#service-item.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

#service-item.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}




#testimonials {
    background-color: #f9f9f9;
    background-image: url('../files/backgrounds/wave-haikei.svg'); /* Ruta al SVG */
    background-size: cover; /* Para que cubra todo el contenedor */
    background-position: center; /* Centrar el SVG */
    padding: 50px 20px;
    text-align: center;
}


#testimonials h2 {
    
    text-align: left;
    margin-left: 5%;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: rgb(255, 255, 255);
    font-family: 'Poppins', sans-serif;
}

.testimonial {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 600px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.testimonial p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial cite {
    font-size: 1rem;
    color: #555;
    font-weight: bold;
    display: flex;
    flex-direction: column; /* Coloca el texto y las estrellas en columna */
    align-items: center; /* Centra el contenido */
    gap: 10px; /* Espacio entre las estrellas y el nombre */
}

.testimonial cite .stars {
    display: flex; /* Estrellas en fila */
    gap: 5px; /* Espacio entre las estrellas */
}

.testimonial cite .fa-star {
    color: #FFD700; /* Estrellas doradas */
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

#respuesta {
    background-color: #2bc4e3; /* Color de fondo */
    color: #1d2b2d; /* Texto blanco */
    padding: 20px; /* Espaciado interno */
    margin-top: 20px; /* Separación superior */
    border-radius: 8px; /* Bordes redondeados */
    text-align: center; /* Centrar el texto */
    font-size: 16px; /* Tamaño de fuente */
    font-weight: bold; /* Fuente en negrita */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave */
    display: none; /* Inicialmente oculto */
    transition: all 0.3s ease; /* Transición suave */
}

#respuesta.show {
    display: block; /* Mostrar cuando se agregue la clase "show" */
}



/* *****************estilos para el Estimado */
#quote {
    background-color: #c0d7f1;
    padding: 50px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 50px auto;
    max-width: 800px;
}

#quote h2 {
    font-size: 2.5rem;
    color: #1d2b2d;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

#quote p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

#quote form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#quote label {
    font-size: 1rem;
    color: #333;
    margin-bottom: 5px;
    text-align: left;
    width: 100%;
    max-width: 500px;
    text-align: center;
}

#quote textarea, 
#quote select {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    color: #333;
}

#quote button {
    padding: 12px 25px;
    background-color: #2bc4e3;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#quote button:hover {
    background-color: #1d2b2d;
}

/* estilos para el FAQ */
#faq {
    position: relative;
    background: url('../files/backgrounds/faqback.svg') no-repeat center center/cover;
    height: auto;
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
    overflow: hidden;
}


#faq h2, 
#faq .faq-item {
    position: relative;
    z-index: 2;
}

#faq h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.faq-item {
    padding: 20px;
    margin: 10px auto;
    border-radius: 8px;
    max-width: 800px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.faq-item p {
    font-size: 1rem;
    color: #333;
}


#faq h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #2bc4e3; /* Celeste para destacar */
    font-family: 'Poppins', sans-serif;
}

.faq-item {
    background: #243a3e; /* Un tono más claro del azul para contraste */
    padding: 20px;
    border-radius: 8px;
    margin: 15px auto;
    max-width: 700px;
    text-align: left;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
}

.faq-item h3 {
    font-size: 1.4rem;
    color: #f1c40f; /* Amarillo dorado para resaltar preguntas */
    font-weight: bold;
    margin-bottom: 10px;
}

.faq-item p {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
    padding: 0;
    color: white;
}

.faq-item.activeee p {
    max-height: 500px; /* Ajusta según el contenido */
    padding: 10px 0;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
}


/* estilos para el form de contact */

/* estilos para el form de contact */
/* Estilos generales para la sección de contacto */
#contact {

    background: #1d2b2d;
    color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: auto;
    text-align: center;
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 20px;
    
    position: relative;
}

/* Contenedor del formulario */
#marco {
    background-color: #283a3d ;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    max-width: 450px;
    max-height: 700px;
    z-index: 55;
    position: relative;
}

#imglateralR, #imglateralL{
    width: 500px;
    height: 450px;
    border: solid white 1px;
    z-index: 1;
    position: relative;
    background-color: #c0392b;
    background-size: cover;
    background-position: center;
    }
#imglateralR{
    border-top-right-radius: 275px;
    border-bottom-right-radius: 35px;
    transform: translateX(-50px);
    background-image: url('../files/img/U-Haul/12.jpg');
}
#imglateralL{
    border-top-left-radius: 275px;
    border-bottom-left-radius: 35px;
    transform: translateX(50px);
    background-image: url('../files/img/Amazon/7.jpg');
}

/* Estilos para las imágenes laterales */
.contact-img {
    width: px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Estilos para el formulario */
#contactForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

/* Estilos para las etiquetas */
#contactForm label {
    font-weight: bold;
    color: #2bc4e3;
    font-size: 14px;
}

/* Estilos para los campos de entrada */
#contactForm input,
#contactForm textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid transparent;
    border-radius: 5px;
    font-size: 16px;
    transition: 0.3s;
    background: #ffffff;
    color: #1d2b2d;
}

/* Efecto al enfocar los campos */
#contactForm input:focus,
#contactForm textarea:focus {
    border-color: #2bc4e3;
    outline: none;
    box-shadow: 0 0 5px rgba(43, 196, 227, 0.8);
}

/* Ajuste para el textarea */
#contactForm textarea {
    resize: vertical;
    min-height: 100px;
}

/* Estilos para el botón */
#contactForm button {
    background: #e74c3c;
    color: white;
    padding: 12px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

/* Efecto hover en el botón */
#contactForm button:hover {
    background: #c0392b;
}

/* Ajustes responsivos */
@media (max-width: 968px) {
    #contact {
        flex-direction: column;
    }
    .contact-img {
        width: 100px;
    }


    #imglateralR, #imglateralL{
        width: 500px;
        height: 450px;
        }
    #imglateralR{
        border-top-right-radius: 35px;
        border-bottom-right-radius: 275px;
        border-top-left-radius: 35px;
        border-bottom-left-radius: 275px;
        transform: translateX(0px) translateY(-50px);

        
    }
    #imglateralL{
        border-top-left-radius: 275px;
        border-bottom-left-radius: 35px;
        border-top-right-radius: 275px;
        border-bottom-right-radius: 35px;
        transform: translateX(0px) translateY(50px);
        
    }
}

@media (max-width: 550px) {


    #imglateralR, #imglateralL{
        width: 300px;
        height: 250px;
        }



}

@media (max-width: 350px) {


    #imglateralR, #imglateralL{
        width: 200px;
        height: 250px;
        }
}
@media (max-width: 250px) {


    #imglateralR, #imglateralL{
        width: 100px;
        height: 100px;
        }
}






/* estilos para el proceso de reparacion */
#repair-process {
    background-color: #ffffff; /* Fondo blanco para una sección limpia */
    padding: 60px 20px;
    text-align: center;
    color: #333; /* Color oscuro para buena legibilidad */
    border-top: 5px solid #2bc4e3; /* Línea superior en color destacado */
}

#repair-process h2 {
    font-size: 2.5rem;
    color: #1d2b2d; /* Color serio y profesional */
    margin-bottom: 20px;
}

#repair-process p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

#repair-process ol {
    list-style-type: decimal;
    padding-left: 0;
    margin: 0 auto;
    display: inline-block;
    max-width: 500px;
    text-align: left;
}

#repair-process li {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
    padding-left: 25px; /* Alineación de las listas */
    position: relative;
}

#repair-process li::before {
    content: "✓"; /* Icono de check para resaltar cada paso */
    position: absolute;
    left: 0;
    color: #2bc4e3; /* Color destacado para los iconos */
    font-size: 1.5rem;
    top: 0;
}

#repair-process ol li:hover {
    color: #2bc4e3; /* Resaltar el texto al pasar el ratón */
    cursor: pointer;
    transition: color 0.3s ease-in-out;
}

#repair-process ol li:last-child {
    margin-bottom: 0; /* Eliminar margen del último ítem */
}




#insurance {
    background-color: #1d2b2d; /* Fondo oscuro para generar confianza */
    color: #ffffff; /* Texto en blanco para alto contraste */
    padding: 60px 20px;
    text-align: center;
    border-top: 5px solid #2bc4e3; /* Línea superior en color destacado */
    margin-top: 40px;
}

#insurance h2 {
    font-size: 2.5rem;
    color: #2bc4e3; /* Color azul destacado para el título */
    margin-bottom: 20px;
}

#insurance p {
    font-size: 1.2rem;
    color: #ddd; /* Color claro para el texto secundario */
    margin-bottom: 30px;
}

#insurance p:last-child {
    margin-bottom: 0; /* Eliminar el margen inferior en el último párrafo */
}

#insurance a {
    font-size: 1rem;
    color: #2bc4e3; /* Color azul para los enlaces */
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #2bc4e3;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#insurance a:hover {
    background-color: #2bc4e3; /* Fondo azul al pasar el ratón */
    color: #1d2b2d; /* Cambiar el texto a oscuro para contraste */
}



#certifications {
    background-color: #f9f9f9; /* Fondo claro para transmitir confiabilidad */
    color: #333; /* Texto oscuro para buena legibilidad */
    padding: 60px 20px;
    text-align: center;
    border-top: 5px solid #2bc4e3; /* Línea superior azul para destacar */
    margin-top: 40px;
}

#certifications h2 {
    font-size: 2.5rem;
    color: #2bc4e3; /* Color azul para el título */
    margin-bottom: 20px;
    font-weight: bold;
}

#certifications p {
    font-size: 1.2rem;
    color: #555; /* Texto gris oscuro para mejorar la legibilidad */
    margin-bottom: 30px;
}

#certifications p:last-child {
    margin-bottom: 0; /* Eliminar margen inferior en el último párrafo */
}
@media (max-width: 1300px) {
    /* Certificaciones */
    #certifications h2 {
        font-size: 2rem; /* Reducir tamaño del título en pantallas más pequeñas */
    }

    #certifications p {
        font-size: 1rem; /* Reducir el tamaño del párrafo para pantallas pequeñas */
    }

    /* Aseguradoras */
    #insurance h2 {
        font-size: 2rem; /* Reducir el tamaño del título en pantallas pequeñas */
    }

    #insurance p {
        font-size: 1rem; /* Ajustar el tamaño del párrafo */
    }

    /* Proceso de reparación */
    #repair-process h2 {
        font-size: 2rem; /* Ajustar el tamaño del título en pantallas pequeñas */
    }

    #repair-process p {
        font-size: 1rem; /* Ajustar el tamaño del párrafo */
    }

    #repair-process ol {
        max-width: 100%;
        padding-left: 15px; /* Reducir margen de la lista en pantallas pequeñas */
    }

    /* Testimonios */
    #testimonials {
        padding: 40px 15px;
    }

    #testimonials h2 {
        font-size: 2rem;
        text-align: center;
    }

    .testimonial {
        padding: 20px;
        margin: 15px 0;
    }

    .testimonial p {
        font-size: 1rem;
    }

    /* Cotización */
    #quote {
        padding: 30px 15px;
    }

    #quote h2 {
        font-size: 2rem;
    }

    #quote form {
        width: 100%;
    }

    #quote textarea, 
    #quote select {
        max-width: 100%;
    }

    #quote button {
        width: 100%;
    }
}
