:root {
    --primary: #5a6cae;
    --secondary: #ffd200;
    --accent: #ffd200;
    --dark: #1E293B;
    --glass: rgba(255, 255, 255, 0.2);
    --glass-border: rgba(255, 255, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.hero-title {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  text-align: center;
  font-weight: 700;
  margin-bottom: 2rem;
  color: rgb(219, 39, 119); /* pink-600 de Tailwind */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Testimonials */

  /* Features Section */
  .section2 {
    padding: 6rem 2rem;
    position: relative;
    margin-top: -90px;
}


.testimonials {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -1.5rem;
    left: -1rem;
    color: var(--primary);
    opacity: 0.2;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--primary);
}




.section-title {
    text-align: center;
    font-family:  font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color:rgb(219, 39, 119);
}

.programs-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background-image: url('/wp-content/themes/colegio-abugaber/img/fondo-home.webp'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.programs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    opacity: 0.5;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}



.section-title span {
    color: var(--primary);
    position: relative;
    margin-top: -40px;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent));
    border-radius: 3px;
}

.section-subtitle {
    text-align: justify;
    color: #5a6cae;
    opacity: 0.8;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.program-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.program-card {
    perspective: 1000px;
    height: 350px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.program-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
}

.card-front {
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.card-front h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.program-card:hover .card-front h3 {
    transform: translateY(0);
}

.age-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.hover-indicator {
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.hover-indicator span {
    margin-right: 10px;
    font-size: 0.9rem;
}

.program-card:hover .hover-indicator {
    opacity: 1;
    transform: translateY(0);
}

.card-back {
    background: white;
    transform: rotateY(180deg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-content p {
    color: var(--dark);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.program-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.program-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    color: var(--dark);
}

.program-features i {
    margin-right: 10px;
    color: var(--accent);
    font-size: 1.2rem;
}

.cta-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.cta-button:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 101, 132, 0.4);
}

/* Animaciones */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .program-cards {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .program-card {
        height: 400px;
    }
}


.services-compact {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 20px;
}

.compact-header {
    text-align: center;
    margin-bottom: 40px;
}

.compact-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1B396A;
    position: relative;
    display: inline-block;
}

.compact-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #F1BE18;
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    background: #fff;
}

.service-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #fff;
    font-size: 28px;
    background: linear-gradient(135deg, #1B396A, #5A6CAE);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: none;
    transition: transform 0.3s ease;
}

.service-item:hover .service-icon {
    transform: rotate(8deg) scale(1.1);
}

.service-content {
    flex: 1 1 auto;
    min-width: 0;
}

.service-content h3 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    color: #1B396A;
    font-weight: 700;
}

.service-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #4B5563;
    line-height: 1.5;
}

.service-badge {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 12px;
    background: #F1BE18;
    color: #fff;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .compact-title {
        font-size: 2rem;
    }

    .services-list {
        grid-template-columns: 1fr;
    }
}


 


.service-icon {
  font-size: 3rem; /* Tamaño grande para los emojis */
  
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.overlay {
  position: absolute;
  bottom: 10%;
  left: 5%;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  padding: 1rem 2rem;
  border-radius: 8px;
}

button.prev,
button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 2;
  transition: background 0.3s ease;
}

button.prev:hover,
button.next:hover {
  background: rgba(0,0,0,0.6);
}

button.prev {
  left: 1rem;
}

button.next {
  right: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-slider {
    height: 70vh;
  }

  .overlay {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
}

.video-slide video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
}


 .faq-section {
    max-width: 1000px;
    margin: 0 auto;
   margin-bottom: 60px;
    font-family: 'Poppins', 'Inter', sans-serif;
  }

  .faq-header {
    margin-bottom: 2rem;
  }

  .faq-title {
    color: #1B396A;
  }

  .faq-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  @media (min-width: 768px) {
    .faq-container {
      grid-template-columns: 1fr 1fr;
    }
  }

  .faq-item {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 25px rgba(90, 108, 174, 0.1);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease-in-out;
  }

  .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #1e293b;
    cursor: pointer;
    transition: background 0.3s;
  }

  .faq-question:hover {
    background: rgba(90, 108, 174, 0.06);
  }

  .faq-icon {
    font-size: 1.5rem;
    color: #5a6cae;
    font-weight: bold;
    transition: transform 0.3s ease;
  }

  .faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    color: #64748B;
    font-size: 1rem;
    line-height: 1.6;
    transition: all 0.4s ease;
  }

  .faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 25px;
  }

  .faq-item.active .faq-icon {
    transform: rotate(45deg); /* Cambia el + a X */
  }

  @media (max-width: 768px) {
    .faq-title {
      font-size: 2.2rem;
    }

    .faq-question {
      font-size: 1rem;
      padding: 18px 20px;
    }

    .faq-answer {
      padding: 0 20px;
    }

    .faq-item.active .faq-answer {
      padding: 0 20px 20px;
    }
  }
