@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

.hero-bg {
  position: relative;
  background-image: url('../assets/images/classroom.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(248, 250, 252, 0.92) 60%,
    rgba(248, 250, 252, 1) 100%
  );
  z-index: 0;
}

.hero-bg > * {
  position: relative;
  z-index: 1;
}

.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0.75rem 0.75rem 0 0;
}

.methodology-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 1rem;
}

@media (min-width: 768px) {
  .methodology-img {
    height: 400px;
  }
}

html {
  scroll-padding-top: 5rem;
}

.whatsapp-float {
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(34, 197, 94, 0);
  }
}

#reviewsCarousel::-webkit-scrollbar {
  display: none;
}

#reviewsCarousel {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.review-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: #cbd5e1;
  transition: all 0.3s;
  cursor: pointer;
}

.review-dot.active {
  background-color: #4338ca;
  width: 24px;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
