/* Animation for horizontal scrolling */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.no-scroll {
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}

@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.scroll-animation-left,
.scroll-animation-right {
  display: flex;
  width: max-content;
  animation: scroll-left 30s linear infinite;
}

.scroll-animation-right {
  animation: scroll-right 30s linear infinite;
}

.scroll-container {
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .scroll-animation-left,
  .scroll-animation-right {
    animation-duration: 20s;
  }
}

/* Animation for fade-in effect */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease forwards;
}

.fade-in-item {
  opacity: 0;
}
#map {
  height: 100%;
  width: auto;
  flex: 1;
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.carousel-track {
  display: flex;
  width: calc(250px * 10);
  animation: scroll 25s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 5));
  }
}

.carousel-item {
  flex: 0 0 250px;
  width: 250px;
  padding: 0 15px;
  box-sizing: border-box;
}

.carousel-container:hover .carousel-track {
  animation-play-state: paused;
}

/* Instructor styling */
.instructor-image-container {
  transition: transform 0.3s ease;
}

.carousel-item:hover .instructor-image-container {
  transform: scale(1.05);
}

/* For smaller screens */
@media (max-width: 768px) {
  .carousel-item {
    flex: 0 0 200px;
    width: 200px;
  }

  .carousel-track {
    width: calc(200px * 10);
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-200px * 5));
    }
  }
}

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

.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 300%;
}

.slide {
  width: 33.333%;
  flex-shrink: 0;
}

.dot {
  cursor: pointer;

  transition: background-color 0.3s ease;
}

.arrow-btn {
  position: absolute;
  top: 52%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.arrow-btn:hover {
  background-color: #413fc2;
  color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.arrow-btn.prev {
  left: 20px;
}

.arrow-btn.next {
  right: 20px;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.slide-active .slide-content {
  animation: fadeIn 0.7s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-wrapper {
  position: relative;
  overflow: hidden;
}

.testimonial-slide {
  transition: all 0.6s cubic-bezier(0.45, 0, 0.55, 1);
  position: relative;
  width: 100%;
}

/* Slide entrance animations */
.slide-from-right {
  transform: translateX(100%);
  opacity: 0;
}

.slide-from-left {
  transform: translateX(-100%);
  opacity: 0;
}

/* Slide exit animations */
.slide-to-left {
  transform: translateX(-100%);
  opacity: 0;
}

.slide-to-right {
  transform: translateX(100%);
  opacity: 0;
}

/* Individual card animations */
.testimonial-card {
  animation: fadeIn 0.5s ease-out 0.3s both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .testimonial-wrapper {
    display: flex;
  }
}

/*  styles for testimonial slides */
.testimonial-wrapper {
  position: relative;
  overflow: hidden;

  touch-action: pan-y;
}

.testimonial-slide {
  transition: all 0.6s cubic-bezier(0.45, 0, 0.55, 1);
  width: 100%;
}

/* Mobile specific styles */
.mobile-testimonial-wrapper {
  cursor: grab;
}

.mobile-testimonial-wrapper:active {
  cursor: grabbing;
}

@media (min-width: 768px) {
  .testimonial-wrapper {
    display: flex;
    min-height: 352px;
  }
}

.testimonial-card {
  animation: fadeIn 0.5s ease-out 0.3s both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Make mobile indicators clickable */
.flex.justify-center.mt-4 span {
  cursor: pointer;
  transition: all 0.3s ease;
}

.flex.justify-center.mt-4 span:hover {
  transform: scale(1.2);
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

@keyframes text-gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.animate-text-gradient {
  background-size: 200% 200%;
  animation: text-gradient 5s ease infinite;
}

.hover\:card-pop:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hover\:card-pop:hover .card-glow {
  opacity: 0.5;
}
@keyframes text-gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.animate-text-gradient {
  background-size: 200% 200%;
  animation: text-gradient 5s ease infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse-slow {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse-slow {
  animation: pulse-slow 3s infinite;
}

.animate-fadeIn {
  animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.card-hover {
  transition: all 0.5s ease;
}

.card-hover:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-hover img {
  transition: all 0.5s ease;
}

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


.icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}