/* public/css/home.css */

/*.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}*/

/*
.hero {
    background: linear-gradient(
        135deg, 
        rgba(37, 99, 235, 0.3) 0%, 
        rgba(30, 64, 175, 0.5) 100%
    ), url('../images/index.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 6rem 0;
    text-align: center;
}
*/
.hero {
/* Fondo inicial (se sobreescribirá con JS) */
    background: linear-gradient(rgba(9, 61, 218, 0.4), rgba(156, 179, 30, 0.5)), 
                url('../images/index.jpeg');      
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    padding: 6rem 0;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ============================================
   SECCIÓN ACERCA DE NOSOTROS
   ============================================ */

.acerca-nosotros-section {
    padding: 5rem 0;
    background: white;
}

.acerca-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.acerca-imagen {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.acerca-imagen::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    border-radius: 20px;
    z-index: -1;
}

.acerca-imagen img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.acerca-imagen:hover img {
    transform: scale(1.05);
}

.acerca-contenido {
    padding: 1rem 0;
}

.acerca-subtitulo {
    display: inline-block;
    color: #2563eb;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.acerca-titulo {
    font-size: 2.2rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.acerca-descripcion {
    color: #6b7280;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.acerca-lista {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.acerca-lista li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 0;
    color: #4b5563;
    font-size: 1rem;
}

.acerca-icono {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #dbeafe;
    color: #2563eb;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: bold;
    flex-shrink: 0;
}

.acerca-contenido .btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
}
/* ============================================
   CARRUSEL ACERCA DE NOSOTROS
   ============================================ */

.acerca-imagen-carousel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 400px; /* Altura fija para uniformidad */
}

/* Efecto de sombra azul decorativa detrás */
.acerca-imagen-carousel::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  border-radius: 20px;
  z-index: -1;
}

.acerca-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.acerca-carousel-track img {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* Botones de navegación */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  color: #2563eb;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.carousel-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev { left: 15px; }
.carousel-btn.next { right: 15px; }

/* Indicadores (dots) */
.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dots .dot.active {
  background: white;
  transform: scale(1.2);
}

/* Responsive */
@media (max-width: 968px) {
    .acerca-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .acerca-imagen::before {
        top: -10px;
        left: -10px;
    }
    
    .acerca-imagen img {
        height: 300px;
    }
    
    .acerca-titulo {
        font-size: 1.8rem;
    }

     .acerca-imagen-carousel {
    height: 300px;
  }
  .acerca-imagen-carousel::before {
    top: -10px;
    left: -10px;
  }
  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
    .acerca-nosotros-section {
        padding: 3rem 0;
    }
    
    .acerca-titulo {
        font-size: 1.5rem;
    }
 .acerca-descripcion {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll; /* Desactiva parallax en móvil */
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.features {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.cta {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
/* =========================================
   ESTILOS DEL CARRUSEL DE TESTIMONIOS
   ========================================= */
.testimonios-section {
    padding: 5rem 0;
    background-color: #f9fafb;
}

.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    padding: 2rem 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonio-card {
    min-width: 100%;
    padding: 2rem;
    box-sizing: border-box;
    text-align: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonio-texto {
    font-size: 1.2rem;
    font-style: italic;
    color: #1f2937;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonio-autor img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #2563eb;
    margin-bottom: 1rem;
}

.testimonio-autor h4 {
    color: #2563eb;
    margin: 0.5rem 0 0.25rem;
}

.testimonio-autor p {
    color: #6b7280;
    margin: 0;
    font-size: 0.9rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #2563eb;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: #1e40af;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #cbd5e1;
    cursor: pointer;
}

.dot.active {
    background-color: #2563eb;
}


}