/* Suavizar el scroll */
html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'Nexa';
    src: url('fonts/nexa-book.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Nexa', sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    background-color: #E4E4E4;
}

h2 {
    color: #2F52A0;
    font-size: 2rem;
}

h3 {
    color: #2F52A0;
}

/* Barra de navegación fija */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background:#2F52A0;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #E4E4E4;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
    transform: translateY(-100%);
    opacity: 0;
    z-index: 100;
}

.navbar.visible {
    transform: translateY(0);
    opacity: 1;
}

.logo {
    font-size: 20px;
    font-weight: bold;
}

.logo img{
    width: 200px;
}

.btn-cta {
    background: #2F52A0;
    padding: 10px;
    border-radius: 5px;
    color: #E4E4E4;
    text-decoration: none;
    margin-right: 30px;
    font-weight: bold;
}

/* Hero Section */

.hero-logo {
    position: absolute;
    top: 0px;
    left: 10vw;
    width: 120px; /* Ajusta el tamaño del logo */
    height: auto;
    z-index: 10; /* Asegura que esté por encima de otros elementos */
}

.hero {
    background: url('hero.jpg') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E4E4E4;
    text-align: center;
}

.slogan {
    max-width: 100vw;
}


.quote-section {
    background-color: #E4E4E4; /* Color de fondo suave */
    padding: 60px 10vw 60px 0px;
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: flex-end; /* Alinea el contenido a la derecha */
    text-align: right; /* Alinea el texto a la derecha */
}

.quote-content {
    max-width: 1000px;
    width: 100%;
    text-align: right; /* Alinea todo el texto a la derecha */
}

.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    color:#2F52A0;
    padding: 20px 0px;
    line-height: 1.6;
    border-left: 4px solid #2F52A0; /* Línea de cita */
    padding-left: 20px; /* Espacio para la línea */
}

.quote-author {
    font-size: 1.2rem;
    font-weight: bold;
    color: #000;
    margin-top: 10px;
    margin-right: 40px;
}


.description-section {
    background-color:#2F52A0; /* Fondo blanco */
    padding: 60px 20px;
    text-align: center;
}

.description-section h2 {
    font-size: 2rem;
    color:#E4E4E4;
    margin-bottom: 20px;
}

.description-section p {
    font-size: 1.2rem;
    color:#E4E4E4;
    line-height: 1.6;
    max-width: 1000px;
    margin: 10px auto;
}



/* Sección de galería */
.galeria {
    padding: 50px;
    text-align: center;
}


.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.galeria-grid img {
    width: 100%;
    height: 400px;  /* Todas las imágenes tendrán la misma altura */
    object-fit: cover;  /* Recorta la imagen para llenar el espacio */
    border-radius: 10px;
    transition: transform 0.3s;
}

.galeria-grid img:hover {
    transform: scale(1.05);
}


/* Beneficios */
.benefits {
    padding: 50px;
    text-align: center;
}
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr; /* Predeterminado: 1 columna (celular) */
    gap: 20px;
    justify-content: center;
    max-width: 900px;
    margin: auto;
}

.benefit-item {
    background: transparent;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

/* Contador de clientes */
.clientes {
    background: #2F52A0;
    padding: 30px;
    text-align: center;
    font-size: 24px;
    color: #E4E4E4;
}

.clientes h2 {
    color: #E4E4E4;
}

/* Redes sociales */
.social {
    padding: 30px;
    text-align: center;
}

.social-links a {
    margin: 10px;
    text-decoration: none;
    font-size: 18px;
}

/* Formulario de contacto */
.contact {
    padding: 50px;
    text-align: center;
}

.contact form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: auto;
}

.contact input, .contact textarea {
    margin-bottom: 10px;
    padding: 10px;
    width: 100%;
}

.btn {
    background: #2F52A0;
    padding: 20px;
    border: none;
    color: #E4E4E4;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    border-radius: 10px;
}

.btn:hover {
    background-color: #444; /* Efecto hover en el botón */
}

/* Animaciones de aparición */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Clases activadas por JavaScript */
.visible {
    opacity: 1 !important;
    transform: translateX(0) !important;
    transform: translateY(0) !important;
}

.parallax-section {
    position: relative;
    width: 100%;
    height: 500px;
    background: url('parallax.jpg') center/cover no-repeat fixed;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.parallax-section h2 {
    font-size: 3rem;
    color: #E4E4E4;
    margin-bottom: 20px;
}

.parallax-section .download-btn {
    padding: 10px 20px;
    font-size: 1.2rem;
    color:#E4E4E4;
    background-color:#2F52A0; /* Cambia el color del botón si es necesario */
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.parallax-section .download-btn:hover {
    background-color: #444; /* Efecto hover en el botón */
}



.faq {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
  }
  
  .faq .section-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  
  .accordion {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
  }
  
  .accordion-item {
    border-bottom: 1px solid #ddd;
  }
  
  .accordion-header {
    background: none;
    border: none;
    outline: none;
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    text-align: left;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
  }
  
  .accordion-header:hover {
    background-color: #f2f2f2;
  }
  
  .accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 15px;
  }
  
  .accordion-body.open {
    padding: 15px;
  }

  

  
  .testimonial blockquote {
    font-size: 1.1rem;
    font-style: italic;
    margin: 0 auto 30px;
    max-width: 800px;
    position: relative;
    padding: 20px;
    background-color: #ffffff;
    border-left: 5px solid #333;
    color: #333;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  }
  
  .testimonial cite {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: #777;
  }
  



.footer {
    background-color: #111;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
  }
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  
  .footer-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-label {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 8px;
  }
  
  .footer-logos img {
    max-height: 50px;
    vertical-align: middle;
  }
  
  .footer-social {
    margin-top: 20px;
  }
  
  .footer-social a {
    color: #fff;
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s ease;
  }
  
  .footer-social a:hover {
    color: #2F52A0;
  }
  
  .footer-copy {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #ccc;
  }
  
  



/* Diseño responsivo */
@media (min-width: 768px) {
    .benefits-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr); /* Tres columnas */
        grid-template-rows: auto auto; /* Dos filas */
        gap: 20px;
        justify-content: center;
    }

    /* Primera fila: 3 elementos en 3 columnas */
    .benefit-item:nth-child(1),
    .benefit-item:nth-child(2),
    .benefit-item:nth-child(3) {
        grid-column: span 2;
    }

    /* Segunda fila: 2 elementos centrados */
    .benefit-item:nth-child(4),
    .benefit-item:nth-child(5) {
        grid-column: span 3;
        justify-self: center;
    }
}

@media (max-width: 768px) {
    .galeria-grid img {
        height: 200px;  /* Todas las imágenes tendrán la misma altura */
    }
    .contact {
        padding: 10px;
    }
    .quote-text {
        font-size: 1rem;
    }
    .description-section p {
        font-size: 1rem;
    }
}

