/* Estilos generales */
body {
    font-family: 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333;
}

/* Estilos para el encabezado */
header {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease;
}

header.nav-scroll {
    background-color: rgba(44, 62, 80, 0.8);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #ecf0f1;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #3498db;
}

/* Estilos para el encabezado normal en pantallas más grandes */
.navbar {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-right: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #ecf0f1;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3498db;
}

/* Estilos para el menú hamburguesa en dispositivos móviles */
.menu-icon {
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 30px;
}

.bar {
    background-color: #ecf0f1;
    height: 4px;
    width: 100%;
    transition: transform 0.3s ease;
}

.menu-icon.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-icon.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-icon.active .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Estilos para dispositivos móviles (menú hamburguesa) */
@media (max-width: 768px) {

    /* Estilos para el menú hamburguesa en dispositivos móviles */
    .menu-icon {
        cursor: pointer;
        display: flex;
        /* Muestra el icono del menú en dispositivos móviles */
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 30px;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .bar {
        background-color: #ecf0f1;
        height: 4px;
        width: 100%;
        transition: transform 0.3s ease;
    }

    .menu-icon.active .bar:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .menu-icon.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-icon.active .bar:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    /* Ajusta el estilo de los elementos de navegación */
    nav ul {
        flex-direction: column;
        /* Muestra los elementos de navegación en una columna */
        align-items: center;
        /* Centra los elementos horizontalmente */
        padding: 10px 0;
        background-color: #2c3e50;
        position: absolute;
        top: 70px;
        right: 0;
        left: 0;
        display: none;
        z-index: 99;
    }

    nav ul.active {
        display: flex;
        /* Muestra los elementos de navegación cuando el menú está activo */
    }

    nav ul li {
        margin: 10px 0;
        /* Añade espacio entre los elementos de navegación */
    }

    nav ul li:last-child {
        margin-bottom: 0;
        /* Elimina el espacio inferior del último elemento */
    }

    /* Ajusta el estilo de los enlaces en dispositivos móviles */
    nav ul li a {
        font-size: 16px;
        /* Reduce el tamaño de fuente */
        margin-right: 0;
        /* Elimina el margen derecho */
    }

    .menu-icon {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background-color: #2c3e50;
        position: absolute;
        top: 60px;
        left: 0;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links a {
        font-size: 16px;
    }

    header {
        padding: 10px 0;
        /* Reduce el espaciado vertical */
    }

    nav {
        flex-direction: column;
        /* Muestra los elementos de navegación en una columna */
        align-items: center;
        /* Centra los elementos horizontalmente */
        padding: 10px 0;
        position: relative;
        /* Añade posición relativa para que funcione el menú hamburguesa */
    }

    nav ul {
        position: absolute;
        /* Coloca la lista de navegación en la parte superior en dispositivos móviles */
        top: 60px;
        /* Ajusta la posición superior según sea necesario */
        left: -100%;
        /* Inicialmente oculta la lista de navegación */
        width: 100%;
        background-color: #2c3e50;
        transition: left 0.3s ease;
    }

    nav.active ul {
        left: 0;
        /* Muestra la lista de navegación cuando está activa */
    }

    nav ul li {
        margin: 10px 0;
        /* Añade espacio entre los elementos de navegación */
    }

    nav ul li:last-child {
        margin-bottom: 0;
        /* Elimina el espacio inferior del último elemento */
    }

    .menu-icon {
        cursor: pointer;
        color: #ecf0f1;
        font-size: 24px;
        position: absolute;
        top: 20px;
        right: 20px;
        display: block;
    }

    

    /* Estilos para el footer */
    footer {
        padding: 20px 0;
    }

    .footer-logo {
        font-size: 24px;
    }

    .footer-text {
        font-size: 16px;
    }

    .footer-social {
        margin-top: 10px;
    }

    .footer-social a {
        font-size: 20px;
        margin: 0 10px;
    }
 
   
    
    .service-list li {
        max-width: 100%;
        margin: 10px;
        padding: 15px;
    }

    .service-icon {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .service-title {
        font-size: 20px;
    }

    .service-description {
        font-size: 16px;
    }
     .success-card {
        width: calc(50% - 20px);
    }
}

.service-intro .container {
position: relative;
z-index: 1;
}

.service-intro .section-title {
font-size: 48px;
margin-bottom: 20px;
font-weight: 700;
}

.service-intro .section-text {
font-size: 20px;
line-height: 1.6;
margin-bottom: 40px;
}

.service-intro .service-list {
list-style: none;
padding: 0;
margin: 0;
}

.service-intro .service-list li {
font-size: 20px;
margin-bottom: 20px;
display: flex;
align-items: center;
justify-content: center;
}

.service-intro .service-list i {
margin-right: 10px;
font-size: 24px;
}

.service-intro img {
border: 5px solid #fff;
border-radius: 50%;
max-width: 100%;
height: auto;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Efecto de superposición de color */
.service-intro::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6); /* Ajusta la opacidad y el color de superposición según tus preferencias */
z-index: -1;
}

/* Efecto de texto en movimiento */
.service-intro .animated-text {
font-size: 28px;
font-weight: 700;
overflow: hidden;
white-space: nowrap;
color: #3498db; /* Cambia el color del texto si es necesario */
transform: translateY(50px);
opacity: 0;
transition: transform 0.5s ease, opacity 0.5s ease;
}

.service-intro .animated-text.show {
transform: translateY(0);
opacity: 1;
}





/* Estilos para el footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
}

.footer-logo a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.footer-logo a:hover {
    color: #3498db;
}

.footer-text {
    font-size: 18px;
    max-width: 800px;
    text-align: center;
}

.footer-social {
    margin-top: 20px;
}

.footer-social a {
    font-size: 24px;
    margin: 0 15px;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #3498db;
}

/* Estilo para la sección de presentación de servicios */
.service-intro {
    color: #fff;
    padding: 100px 0;
    text-align: center;
}



/* Estilo para la imagen de servicios */
.service-image-container {
    max-width: 100%;
    display: flex;
    justify-content: center;
}

.service-image {
    max-width: 100%;
    max-height: 500px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}


/* Estilos para la lista de servicios */
.services {
    text-align: center;
    padding: 40px 0;
}

.service-list {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.service-list li {
    margin: 20px;
    max-width: 300px;
    text-align: center;
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.service-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.service-description {
    font-size: 18px;
}

/* Estilo de iconos (FontAwesome) */
.service-icon i {
    color: #3498db;
}

/* Estilos para la sección de servicios */
.services-section {
    background-image: url('ruta-de-tu-imagen.jpg'); /* Reemplaza 'ruta-de-tu-imagen.jpg' con la URL de tu imagen de fondo */
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
    padding: 100px 0;
}

.services-content {
    background-color: rgba(0, 0, 0, 0.7); /* Fondo semitransparente */
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin: 0 auto;
}

.services-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.services-text {
    font-size: 18px;
    margin-bottom: 40px;
}

/* Estilo avanzado para el botón */
.services-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.services-button:hover {
    background-color: #2980b9;
    transform: scale(1.05);
}

/* Estilos para la sección de Preguntas Frecuentes */
.faq-section {
    background-color: #f8f8f8;
    padding: 60px 0;
    text-align: center;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-title {
    font-size: 36px;
    color: #333;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    text-align: left;
    cursor: pointer;
    background-color: #fff;
    border: none;
    width: 100%;
    text-transform: uppercase;
}

.faq-toggle {
    font-size: 24px;
    color: #333;
    transition: transform 0.3s ease;
}

.faq-answer {
    font-size: 18px;
    color: #666;
    padding: 20px;
    text-align: left;
    display: none;
    background-color: #fff;
}
/* Estilos para la sección de Casos de Éxito */
.success-stories {
    background-color: #f7f7f7;
    padding: 60px 0;
    text-align: center;
}

.section-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-text {
    font-size: 18px;
    margin-bottom: 40px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.success-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.success-card {
    width: calc(33.33% - 20px);
    margin-bottom: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.success-card:hover {
    transform: translateY(-10px);
}

.success-image img {
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
    transition: transform 0.3s ease;
}

.success-card:hover .success-image img {
    transform: scale(1.05);
}

.success-details {
    padding: 20px;
}

.success-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
    text-transform: uppercase;
}

.success-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.success-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.success-link:hover {
    background-color: #2980b9;
}

