/* Custom Styles */
:root {
  --primary-color: #29338a;
  --secondary-color: #1a206b;
  --transition-speed: 0.3s;
}

body {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

  /* Gaya Instagram untuk semua gambar */
  .instagram-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .instagram-image:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }

  /* Gambar bulat (profil guru) */
  .rounded-circle.instagram-image {
    height: 200px;
    width: 200px;
    object-fit: contain;
    border-radius: 50% !important;
  }

  /* Responsif */
  @media (max-width: 768px) {
    .instagram-image {
      height: 250px;
    }
    .rounded-circle.instagram-image {
      height: 150px;
      width: 150px;
    }
  }

  /* Hero Carousel (jika ada img) */
  .hero-carousel img {
    object-fit: contain;
    height: 500px;
    border-radius: 12px;
  }

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: #fff;
  z-index: 1040;
  min-height: 58px;
  border-top: 1px solid #eee;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: #fff;
  z-index: 1040;
  min-height: 58px;
  border-top: 1px solid #eee;
}

#mainCarousel .carousel-inner {
  aspect-ratio: 21 / 7;
  max-height: 440px;
}
@media (max-width: 768px) {
  #mainCarousel .carousel-inner {
    aspect-ratio: 16 / 9;
    max-height: 320px;
  }
}
@media (max-width: 575.98px) {
  #mainCarousel .carousel-inner {
    aspect-ratio: 1.8 / 1;
    max-height: 220px;
  }
}
#mainCarousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
/* Carousel Controls - Make more visible */
.carousel-control-prev,
.carousel-control-next {
  width: 64px;
  height: 64px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1 !important;
  z-index: 2;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(44,62,80,0.95); /* dark visible bg */
  border-radius: 50%;
  width: 48px;
  height: 48px;
  background-size: 60% 60%;
  box-shadow: 0 4px 18px rgba(44,62,80,0.21);
  transition: background .25s, box-shadow .25s;
  filter: none;
  border: 2px solid #fff;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: #29338a;
  box-shadow: 0 6px 20px #175fff33;
}

.carousel-control-prev,
.carousel-control-next {
  background: none;
  border: none;
}

/* Smooth fade effect for Bootstrap carousel */
.carousel .carousel-item {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(.4,2,.4,1);
  position: absolute;
  left: 0; top: 0; width: 100%; height: 100%;
  z-index: 0;
  display: block;
}
.carousel .carousel-item.active,
.carousel .carousel-item-next.carousel-item-left,
.carousel .carousel-item-prev.carousel-item-right {
  opacity: 1;
  z-index: 1;
  position: relative;
}
.carousel .carousel-inner {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.highlight-bg {
  background: linear-gradient(to right, #f15a24, #fbc707) !important;
  color: black !important;
}

.highlight-bg.highlight-hover:hover {
  background: linear-gradient(to right, #fbc707, #f15a24) !important;
  color: #000 !important;
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 42px;
  z-index: 1050;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

/* Scroll To Top Button */
.scroll-top {
  position: fixed;
  right: 16px;
  bottom: 106px;
  z-index: 1051;
  width: 48px;
  height: 48px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.09);
  font-size: 1.5rem;
  border: 1px solid #e7eaf6;  
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}
.scroll-top:hover {
  background: #f2f7ff;
  color: #175FFF;
}

.bottom-nav {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;  /* NOT 100vw! */
  z-index: 1040;
  /* ... */
}

@media (max-width: 575.98px) {
  .bottom-nav { min-height: 54px; }
  .whatsapp-float {
    right: 10px;
    bottom: 70px;
    width: 48px;
    height: 48px;
  }
  .scroll-top {
    right: 10px;
    bottom: 120px;
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
  }
}

/* Navbar Styling */
.custom-navbar {
  background-color: var(--primary-color, #29338a) !important;
  transition: background 0.4s cubic-bezier(.4,1.4,.6,1), box-shadow 0.4s, backdrop-filter 0.4s;
  box-shadow: 0 2px 12px 0 rgba(41,51,138,0.07);
  backdrop-filter: blur(0px);
}

/* Smooth background & shadow on scroll */
.custom-navbar.scrolled {
  background: rgba(41,51,138,0.95) !important;
  box-shadow: 0 4px 24px 0 rgba(41,51,138,0.13);
  backdrop-filter: blur(10px);
}

.navbar-brand, .navbar-nav .nav-link {
  color: #fff !important;
  transition: color 0.28s, transform 0.28s;
}

.navbar-nav .nav-link:hover, .navbar-nav .dropdown-item:hover {
  color: #b9d2ff !important;
  transform: translateY(-2px);
}
.navbar-toggler {
  border-color: rgba(255,255,255,0.5);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown styling */
.dropdown-menu {
  border-radius: 12px;
  box-shadow: 0 6px 18px 0 rgba(41,51,138,0.11);
  padding: 0.5rem 0;
  animation: dropdownFade .3s cubic-bezier(.4,1.4,.6,1);
}
@keyframes dropdownFade {
  0% { opacity: 0; transform: translateY(12px);}
  100% { opacity: 1; transform: translateY(0);}
}
.dropdown-item {
  transition: background 0.18s, color 0.18s;
  border-radius: 6px;
  padding: 0.5rem 1.2rem;
}

/* Responsive: improve tap targets */
@media (max-width: 991.98px) {
  .custom-navbar .dropdown-menu {
    position: static;
    float: none;
    box-shadow: none;
    background: #232d6a;
  }
  .custom-navbar .dropdown-item {
    color: #fff !important;
  }
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  background-color: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  transition: transform var(--transition-speed) ease;
}

.bottom-nav .nav-link {
  text-align: center;
  font-size: 12px;
  padding: 6px 0;
  color: var(--primary-color) !important;
  transition: all var(--transition-speed) ease;
}

.bottom-nav .nav-link:active {
  transform: scale(0.95);
}

.bottom-nav .nav-link i {
  font-size: 20px;
  margin-bottom: 4px;
}

/* Carousel Enhancements */
.carousel-item {
  height: 70vh;
  min-height: 350px;
  /* background-color: #f8f9fa; */ /* boleh aktifkan jika ingin dasar abu */
  /* background-color: #fff; */    /* atau putih */
}

.carousel-item img {
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: transform 8s ease;
}

.carousel-item.active img {
  transform: scale(1.1);
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.4);
  padding: 20px;
  border-radius: 10px;
  backdrop-filter: blur(5px);
  transform: translateY(20px);
  opacity: 0;
  transition: all 1s ease;
}

.carousel-item.active .carousel-caption {
  transform: translateY(0);
  opacity: 1;
}

.carousel-caption {
  bottom: 5%;
  left: 10%;
  right: 10%;
  text-align: left;
  background: rgba(41,51,138,0.18);
  padding: 24px 32px;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(41,51,138,0.16);
}

.carousel-caption h2, .carousel-caption p {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s cubic-bezier(.4,2,.4,1);
}

.carousel-item.active .carousel-caption h2 {
  opacity: 1;
  transform: none;
  transition-delay: .3s;
}
.carousel-item.active .carousel-caption p {
  opacity: 1;
  transform: none;
  transition-delay: .55s;
}

/* Card Animations */
.card {
  transition: all var(--transition-speed) ease;
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Gallery Enhancements */
.gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: all var(--transition-speed) ease;
}

.gallery a:hover img {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Partner Logo Styling */
#partner img {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all var(--transition-speed) ease;
}

#partner img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Highlight Box Enhancement */
.highlight-box {
  transition: all var(--transition-speed) ease;
  border-radius: 15px;
  overflow: hidden;
}

.highlight-box:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

highlight-hover {
  transition: transform .32s cubic-bezier(.4,2,.4,1), box-shadow .3s;
  cursor: pointer;
}
.highlight-hover:hover {
  transform: translateY(-7px) scale(1.03) rotate(-1.5deg);
  box-shadow: 0 10px 32px 0 rgba(41,51,138,0.15);
  z-index: 2;
}
.countup {
  font-variant-numeric: tabular-nums;
  font-weight: bold;
  font-size: 2.1rem;
  letter-spacing: 1px;
}

.kepsek-photo-wrap {
  border: 4px solid #29338a;
  border-radius: 18px;
  overflow: hidden;
  transition: box-shadow .35s cubic-bezier(.4,2,.4,1), border-color .3s;
  box-shadow: 0 6px 28px 0 rgba(41,51,138,0.13);
}
.kepsek-photo-wrap:hover {
  box-shadow: 0 14px 44px 0 rgba(41,51,138,0.17);
  border-color: #f15a24;
}
.kepsek-photo {
  width: 200px;
  height: 250px;
  object-fit: cover;
  object-position: top;
  transition: transform .32s cubic-bezier(.4,2,.4,1);
}
.kepsek-photo-wrap:hover .kepsek-photo {
  transform: scale(1.045) rotate(-1deg);
}
.selengkapnya-btn {
  background-color: #29338a !important;
  border-color: #29338a !important;
  color: #fff !important;
  transition: background .25s, border .25s, color .25s;
}
.selengkapnya-btn:hover, .selengkapnya-btn:focus {
  background-color: #1f2760 !important;
  border-color: #1f2760 !important;
  color: #fff !important;
}

.selengkapnya-link {
  color: #f15a24;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.22s, text-decoration-color 0.22s;
  position: relative;
  font-size: 1.07rem;
}
.selengkapnya-link::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #f15a24, #fbc707);
  transition: width 0.22s;
  position: absolute;
  left: 0;
  bottom: -2px;
}
.selengkapnya-link:hover, .selengkapnya-link:focus {
  color: #f15a24;
  text-decoration: underline;
}
.selengkapnya-link:hover::after, .selengkapnya-link:focus::after {
  width: 100%;
}

.jadwal-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px 0 rgba(41,51,138,0.11);
  overflow: hidden;
  animation: fadeInUpJadwal .9s cubic-bezier(.4,2,.4,1);
}
@keyframes fadeInUpJadwal {
  0% {opacity:0; transform:translateY(32px);}
  100% {opacity:1; transform:translateY(0);}
}
.jadwal-row {
  transition: background .30s, box-shadow .28s;
}
.jadwal-row:hover {
  background: #f4f7ff;
  box-shadow: 0 2px 12px rgba(41,51,138,0.08);
}
.jadwal-link {
  color: #29338a;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 4px 16px 4px 0;
  border-radius: 6px;
  transition: color 0.19s, background 0.19s;
  display: inline-block;
  position: relative;
}
.jadwal-link::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #29338a;
  transition: width 0.18s;
  position: absolute;
  left: 0;
  bottom: -3px;
}
.jadwal-link:hover, .jadwal-link:focus {
  color: #000;
  background: linear-gradient(to right, #f15a24, #fbc707);
}
.jadwal-link:hover::after, .jadwal-link:focus::after {
  width: 100%;
  background: linear-gradient(to right, #f15a24, #fbc707);
}

.kalender-img-wrapper {
  aspect-ratio: 16 / 10;
  width: 100%;
  max-width: 600px;
  background: #f4f6fc;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 26px rgba(41,51,138,0.13);
  transition: box-shadow .28s, transform .28s;
}
.kalender-img-wrapper:hover {
  box-shadow: 0 16px 42px rgba(41,51,138,0.15);
  transform: scale(1.025) rotate(-1deg);
}
.kalender-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .22s;
}

.fasilitas-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px 0 rgba(41,51,138,0.11);
  transition: box-shadow .35s cubic-bezier(.4,2,.4,1), transform .32s cubic-bezier(.4,2,.4,1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.fasilitas-card:hover {
  transform: translateY(-8px) scale(1.035) rotate(-1.4deg);
  box-shadow: 0 18px 52px 0 rgba(41,51,138,0.16);
  z-index: 2;
  background: linear-gradient(120deg, #e7eaf6 70%, #f4f8ff 100%);
}
.fasilitas-icon {
  font-size: 2.7rem;
  display: inline-block;
  transition: transform .28s cubic-bezier(.4,2,.4,1);
}
.fasilitas-card:hover .fasilitas-icon {
  transform: scale(1.14) rotate(-6deg);
  filter: drop-shadow(0 4px 12px #c9d6ff66);
}
.fasilitas-card h5 {
  font-weight: 700;
  color: #1f2760;
}
.fasilitas-card p {
  color: #444;
  font-size: 1.05rem;
}

/* Testimoni Card */
.testimoni-slider-multi-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.testimoni-slider-multi {
  display: flex;
  transition: transform .7s cubic-bezier(.4,2,.4,1);
  gap: 36px; /* lebih lebar dari sebelumnya */
  will-change: transform;
}
.testimoni-multi-card {
  flex: 0 0 38%;      /* sebelumnya 33.3333% */
  max-width: 38%;     /* sebelumnya 33.3333% */
  min-width: 0;
  box-sizing: border-box;
  padding: 0;
}
.testimoni-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px 0 rgba(41,51,138,0.11);
  overflow: hidden;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}
.testi-avatar {
  width: 76px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 8px #29338a32;
  background: #f4f6fc;
  border: 4px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testi-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  display: block;
}
.testimoni-multi-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
.testimoni-multi-dot {
  width: 12px;
  height: 12px;
  background: #bfc8e6;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background .23s;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px #29338a0f;
}
.testimoni-multi-dot.active, .testimoni-multi-dot:hover {
  background: #29338a;
}

/* Tablet: tampil 2 */
@media (max-width: 991.98px) {
  .testimoni-multi-card {
    flex: 0 0 48%;    /* sebelumnya 50% */
    max-width: 50%;
  }
}
/* Mobile: tampil 1 */
@media (max-width: 575.98px) {
  .testimoni-multi-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .testimoni-slider-multi {gap: 12px;}
  .testi-avatar { width: 62px;}
}


  /* Custom Styles for Partner Section */
  .partner-logo-wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .grayscale {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
  }
  
  .hover-grayscale-0:hover {
    filter: grayscale(0%);
    opacity: 1;
  }
  
  .hover-shadow:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    transform: translateY(-5px);
  }
  
  .transition-all {
    transition: all 0.3s ease;
  }
  
  .bg-primary-soft {
    background-color: rgba(13, 110, 253, 0.1);
  }
  
  .display-5 {
    font-size: 2.5rem;
  }
  
  @media (max-width: 768px) {
    .display-5 {
      font-size: 2rem;
    }
  }


/* Section Headers */
section h2.title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
  color: #29338a !important;
}

section h2.title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #f15a24, #fbc707);
}

/* Testimonial Enhancement */
.testimonial-card {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  margin: 15px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-speed) ease;
}

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

/* AOS Custom Animation */
[data-aos] {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');

body.modal-open {
  padding-right: 0 !important; /* Hilangkan padding tambahan */
  overflow-y: scroll !important; /* Paksa scrollbar tetap ada */
}
/* Modal PPDB (smooth, keren) */
#modalPPDB .modal-content {
  box-shadow: 0 8px 40px 0 rgba(41,51,138,0.18), 0 1.5px 8px 0 rgba(41,51,138,0.10);
  border-radius: 20px;
  overflow: hidden;
  animation: modalPop .5s cubic-bezier(.5,1.5,.5,1) both;
}
@keyframes modalPop {
  0% {
    transform: scale(.8) translateY(80px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}
#modalPPDB .modal-header, #modalPPDB .modal-footer {
  background: #29338a;
  color: #fff;
}
#modalPPDB .modal-footer {
  background: #f8f9fa;
  color: #29338a;
}
#modalPPDB .btn-success {
  box-shadow: 0 2px 12px 0 rgba(41,51,138,0.08);
  font-weight: 600;
  letter-spacing: .5px;
  transition: all .2s;
}
#modalPPDB .btn-success:hover {
  background: #24b05a;
  box-shadow: 0 4px 18px 0 rgba(41,51,138,0.16);
  transform: scale(1.06);
}

.guru-photo {
  width: 160px !important;
  height: 160px !important;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(41,51,138,.12);
  background: #fff;
  border: 2px solid #e3e6f0;
  transition: transform .28s cubic-bezier(.4,2,.4,1), box-shadow .32s;
}
.guru-photo:hover {
  transform: scale(1.09);
  box-shadow: 0 12px 28px 0 rgba(41,51,138,0.18);
  border-color: #29338a;
}
.carousel-item {
  background: transparent !important;
}

.carousel-item .row {
  padding-top: 1rem;
}

#guruCarousel .carousel-control-prev,
#guruCarousel .carousel-control-next {
  width: 48px;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

#guruCarousel .carousel-control-prev-icon,
#guruCarousel .carousel-control-next-icon {
  background-color: #29338a;
  background-size: 65% 65%;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  box-shadow: 0 2px 16px rgba(41,51,138,0.14);
  border: 2px solid #fff;
  transition: background-color .25s, box-shadow .25s;
}

#guruCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#guruCarousel .carousel-control-next:hover .carousel-control-next-icon {
  background-color: #2d43c6;
  box-shadow: 0 6px 24px rgba(41,51,138,0.22);
}

#guruCarousel .carousel-control-prev,
#guruCarousel .carousel-control-next {
  filter: none;
}

.about-img {
  max-height: 400px;
  object-fit: cover;
}

.about-img:hover {
  transform: scale(1.04) rotate(-2deg);
  box-shadow: 0 16px 36px 0 rgba(41,51,138,0.13);
}
.visi-misi-card {
  transition: box-shadow .4s cubic-bezier(.4,2,.4,1), transform .4s cubic-bezier(.4,2,.4,1);
  border-left: 5px solid #29338a;
  background: #fff;
}
.visi-misi-card:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 32px 0 rgba(41,51,138,0.10);
  border-left: 7px solid #1f2760;
}
.visi-misi-card .card-title i {
  vertical-align: -0.12em;
  color: #29338a;
}

.selengkapnya-btn,
.selengkapnya-btn:visited {
  background-color: #29338a !important;
  border-color: #29338a !important;
  color: #fff !important;
}

.selengkapnya-btn:hover,
.selengkapnya-btn:focus,
.selengkapnya-btn:active {
  background-color: #1f2760 !important; /* warna lebih gelap saat hover */
  border-color: #1f2760 !important;
  color: #fff !important;
}

/* Media Queries */
@media (max-width: 768px) {
  .carousel-item {
    height: 50vh;
    min-height: 300px;
  }
  
  .bottom-nav {
    padding: 5px 0;
  }
  
  section h2 {
    font-size: 1.8rem;
  }
}

@media (min-width: 769px) {
  .bottom-nav {
    display: none;
  }
}

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

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

.custom-mission-list li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: start;
  line-height: 1;
}

.guru-item {
  cursor: pointer;
}

.text-gradient-primary {
  background: linear-gradient(to right, #f15a24, #fbc707);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bg-gradient-primary {
  background: linear-gradient(to right, #f15a24, #fbc707);
}
.border-primary {
  border-color: #3a7bd5 !important;
}

.agenda-card {
  transition: all 0.3s ease;
  border-radius: 12px !important;
}

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

.date-box {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hover-effect {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hover-effect:hover {
  box-shadow: 0 14px 28px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.08) !important;
}

.warna-orange {
  background: linear-gradient(to right, #f15a24, #fbc707) !important;
  color: black !important;
  padding: 1rem !important;
  transition: all 0.3s ease;
  border-radius: 0.5rem;
}

.btn-orange {
  background: linear-gradient(to right, #f15a24, #fbc707) !important;
  color: black !important;
  padding: 1rem !important;
  transition: all 0.3s ease;
  border-radius: 0.5rem;
}

.btn-orange:hover {
  background: linear-gradient(to right, #fbc707, #f15a24) !important;
  color: #000 !important;
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.text-primary {
  color: #29338a !important;
}

.bg-primary {
  --bs-bg-opacity: 1;
  background-color: #29338a !important;
}

.fc-h-event {
  border: 1px solid #3788d8;
  border: 1px solid #fbc707;
  background: linear-gradient(to right, #fbc707, #f15a24) !important;;
}

.fc-h-event .fc-event-main {
  color: black !important;
}

.btn-outline-primary {
  color: black !important;
  --bs-btn-color: #f15a24;
  --bs-btn-border-color: #f15a24;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #f15a24;
  --bs-btn-hover-border-color: #f15a24;
  --bs-btn-focus-shadow-rgb: 241, 90, 36;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #d94e1f;
  --bs-btn-active-border-color: #d94e1f;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #f15a24;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #f15a24;
  --bs-gradient: none;
}
