/* Raih Gelar - Bootstrap 5 Styling */
:root {
  --rg-primary: #0d47a1;
  --rg-primary-hover: #083478;
  --rg-accent: #f59e0b;
  --rg-success: #198754;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #f8f9fa;
  color: #212529;
}

/* Card and interactive hover enhancements */
.pricing-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.12) !important;
}

.feature-check-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mentor-section {
  padding-top: 2.25rem !important;
  padding-bottom: 2.25rem !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
}

.mentor-section h2 {
  font-size: clamp(2rem, 2.2vw, 3rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
  letter-spacing: -0.04em;
}

.mentor-section .text-muted {
  font-size: 1.02rem;
  color: #4b5563 !important;
}

#mentors .row {
  max-width: 860px;
  margin: 0 auto;
}

.mentor-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  aspect-ratio: 0.82;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(13, 71, 161, 0.14);
  border-radius: 1.6rem;
  background: linear-gradient(145deg, #ffffff 0%, #f3f7ff 100%);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mentor-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.6rem;
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.04), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.mentor-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 26px 50px rgba(13, 71, 161, 0.18);
}

.mentor-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 1.4rem;
  filter: saturate(1.08) contrast(1.02);
}

@media (max-width: 991.98px) {
  .mentor-card {
    max-width: 220px;
  }
}

@media (max-width: 768px) {
  .mentor-section {
    padding-top: 1.75rem !important;
    padding-bottom: 1.75rem !important;
  }

  #mentors .row {
    max-width: 100%;
  }

  .mentor-card {
    max-width: 180px;
    border-radius: 1.2rem;
  }

  .mentor-poster {
    border-radius: 1rem;
  }
}

/* Testimonial Slideshow Styling with Real Screenshot (Pure Photo Display) */
.testimonial-photo-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(280px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.45rem;
  box-sizing: border-box;
  background-color: #ffffff;
  border: 1px solid rgba(13, 71, 161, 0.12);
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1.25rem rgba(13, 71, 161, 0.1);
}

.testimonial-carousel {
  max-width: 360px;
  margin: 0 auto;
  padding-top: 0.5rem;
}

.testimonial-real-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 0.7rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-real-photo:hover {
  transform: scale(1.015);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

@media (max-width: 768px) {
  .testimonial-photo-slide {
    width: min(280px, calc(100% - 1rem));
    max-width: calc(100% - 1rem);
    padding: 0.35rem;
  }

  .testimonial-real-photo {
    width: auto;
    max-width: 100%;
    max-height: calc(100svh - 230px);
    border-radius: 0.65rem;
  }

  #testimonials {
    padding-bottom: 6rem !important;
  }
}

.carousel-indicators-custom [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #cbd5e1;
  border: none;
  margin: 0 4px;
  transition: all 0.25s ease;
}

.carousel-indicators-custom .active {
  width: 32px;
  border-radius: 8px;
  background-color: #0d47a1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 52px;
  opacity: 0.85;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-control-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #0d47a1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.carousel-control-icon-box:hover {
  background-color: #0d47a1;
  color: #ffffff;
  transform: scale(1.08);
}
