/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Scroll reveal base */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: transform, opacity;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* Slight stagger feel */
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* Fix: Make Arrows Visible and Styled */
.custom-nav {
  color: #ec4899 !important; /* Pink color */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  width: 45px !important;
  height: 45px !important;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 50 !important; /* Ensure they are above everything */
  transition: all 0.3s ease;
}

.custom-nav:after {
  font-size: 18px !important; /* Proper arrow size */
  font-weight: bold;
}

.custom-nav:hover {
  background: #ec4899;
  color: white !important;
}

/* Position arrows for Mobile */
@media (max-width: 768px) {
  .custom-nav {
    width: 35px !important;
    height: 35px !important;
    top: 50% !important;
  }
  .swiper-button-prev { left: 0px !important; }
  .swiper-button-next { right: 0px !important; }
  
  /* Make sure slides don't touch edges on mobile so arrows are clickable */
  .testimonialSwiper { padding: 0 10px; }
}

/* --- FIXED & CENTERED DOTS --- */
.swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  background: #ffffff !important;
  opacity: 0.3 !important;
  margin: 0 8px !important;
  border-radius: 50% !important;
  transition: opacity 0.5s ease, background-color 0.5s ease !important;
}

.swiper-pagination-bullet-active {
  background: #ec4899 !important; /* Brand Pink */
  opacity: 1 !important;
  /* Width is locked at 12px to keep dots from moving/jumping */
}

/* --- ACTIVE CARD POP-UP EFFECT --- */
.testimonialSwiper .swiper-slide {
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease;
  opacity: 0.3;
  transform: scale(0.85); /* Non-active cards are smaller */
}

.testimonialSwiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1.05) !important; /* Center card Pops Up */
  z-index: 10;
}

/* --- NAVIGATION ARROWS --- */
.custom-nav {
  color: #ec4899 !important;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 50 !important;
}

@media (max-width: 768px) {
  .custom-nav {
    width: 40px !important;
    height: 40px !important;
  }
  .swiper-button-prev { left: 0px !important; }
  .swiper-button-next { right: 0px !important; }
}