/********** Template CSS **********/
:root {
  --primary: #5b9bd5;
  --light: #fcc203;
  --dark: #8b7355;
  --text-color: #8b7355;
  --accent: #fcc203;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
  width: 45px;
  height: 45px;
  background-color: #5b9bd5;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(91, 155, 213, 0.3);
}

.back-to-top:hover {
  background-color: #4a8ac4;
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(91, 155, 213, 0.5);
}

.back-to-top:active,
.back-to-top:focus,
.back-to-top:focus-visible {
  background-color: #5b9bd5 !important;
  color: #ffffff !important;
  outline: none !important;
  box-shadow: 0 2px 10px rgba(91, 155, 213, 0.3) !important;
}

.back-to-top i {
  color: #ffffff;
}

/*** Global Text Color ***/
body {
  color: #8b7355;
  background-color: #fcc203 !important;
}

.container-xxl.bg-white {
  background-color: #ffffff !important;
}

p,
.about-Kasih,
b,
.facility-text,
.facility-text * {
  color: #8b7355 !important;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-weight: 500;
  transition: 0.5s;
}

.btn.btn-primary {
  color: #ffffff;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 50px;
}

/*** Heading ***/
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-family: "Lobster Two", cursive;
  font-weight: 700;
  color: #8b7355;
}

h5,
h6,
.h5,
.h6 {
  font-weight: 600;
  color: #8b7355;
}

.font-secondary {
  font-family: "Lobster Two", cursive;
}

/*** Navbar ***/
.navbar .navbar-nav .nav-link {
  padding: 30px 15px;
  color: var(--dark);
  font-weight: 500;
  outline: none;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .navbar .navbar-nav .nav-link {
    padding-left: 10px;
    padding-right: 10px;
  }
  .navbar.px-lg-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar.sticky-top {
  top: -100px;
  transition: 0.5s;
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 5px;
  transition: 0.5s;
}

.navbar .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(-180deg);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand .logo-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-brand .logo-container img {
  height: 35px;
  width: auto;
}

.navbar-brand h1 {
  font-size: 2rem !important;
  margin: 0;
}

@media (max-width: 768px) {
  .navbar-brand .logo-container img {
    height: 30px;
  }

  .navbar-brand h1 {
    font-size: 2rem !important;
  }
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar .navbar-nav {
    margin-top: 15px;
    border-top: 1px solid #eeeeee;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    top: calc(100% - 15px);
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

.dropdown-item:hover {
  background-color: #5b9bd5 !important;
  color: #ffffff !important;
}

/*** Header ***/
.header-carousel::before,
.header-carousel::after,
.page-header::before,
.page-header::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 10px;
  top: 0;
  left: 0;
  background: url(../img/bg-header-top.png) center center repeat-x;
  z-index: 1;
}

.header-carousel::after,
.page-header::after {
  height: 19px;
  top: auto;
  bottom: 0;
  background: url(../img/bg-header-bottom.png) center center repeat-x;
}

.header-carousel .owl-carousel-item {
  position: relative;
  min-height: 520px;
  max-height: 520px;
  overflow: hidden;
}

.header-carousel .owl-carousel-item img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
}

.header-carousel .display-2 {
  font-size: 2.8rem !important;
}

.header-carousel .fs-5 {
  font-size: 1rem !important;
}

.header-carousel .mb-4 {
  margin-bottom: 1.2rem !important;
}

@media (max-width: 992px) {
  .header-carousel .owl-carousel-item {
    min-height: 450px;
    max-height: 450px;
  }

  .header-carousel .owl-carousel-item img {
    height: 450px;
  }

  .header-carousel .display-2 {
    font-size: 2.2rem !important;
  }
}

@media (max-width: 768px) {
  .header-carousel .owl-carousel-item {
    position: relative;
    min-height: 500px;
  }

  .header-carousel .owl-carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .header-carousel .owl-carousel-item p {
    font-size: 16px !important;
    font-weight: 400 !important;
  }

  .header-carousel .owl-carousel-item h1 {
    font-size: 30px;
    font-weight: 600;
  }
}

.header-carousel .owl-nav {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  margin: 7px 0;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 45px;
  font-size: 22px;
  transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.page-header {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url(../assetkps/Home/JAV_0096.jpg) center center no-repeat;
  background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-item a {
  color: #fcc203 !important;
}

.breadcrumb-item a:hover {
  color: #fcc203 !important;
}

/*** Facility ***/
.facility-item .facility-icon {
  position: relative;
  margin: 0 auto;
  width: 100px;
  height: 100px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.facility-item .facility-icon::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.9);
  transition: 0.5s;
  z-index: 1;
}

.facility-item .facility-icon span {
  position: absolute;
  content: "";
  width: 15px;
  height: 30px;
  top: 0;
  left: 0;
  border-radius: 50%;
}

.facility-item .facility-icon span:last-child {
  left: auto;
  right: 0;
}

.facility-item .facility-icon i {
  position: relative;
  z-index: 2;
}

.facility-item .facility-text {
  position: relative;
  min-height: 250px;
  padding: 30px;
  border-radius: 100%;
  display: flex;
  text-align: center;
  justify-content: center;
  flex-direction: column;
}

.facility-item .facility-text::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.9);
  transition: 0.5s;
  z-index: 1;
}

.facility-item .facility-text * {
  position: relative;
  z-index: 2;
}

.facility-item:hover .facility-icon::before,
.facility-item:hover .facility-text::before {
  background: transparent;
}

.facility-item * {
  transition: 0.5s;
}

.facility-item:hover * {
  color: #ffffff !important;
}

/*** About ***/
.about-img img {
  transition: 0.5s;
  border: 15px solid #ffe94e;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.about-img img:hover {
  border-color: #5b9bd5;
}

/*** Classes ***/
.classes-item {
  transition: 0.5s;
}

.classes-item:hover {
  margin-top: -10px;
}

.classes-item .bg-light {
  background-color: #fcc203 !important;
}

/*** Team ***/
.team-item .team-text {
  position: absolute;
  width: 180px;
  height: 180px;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #ffffff;
  border: 12px solid #fcc203 !important;
  border-radius: 180px;
  transition: all 0.5s ease;
}

.team-item .team-text h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.team-item .team-text h6 {
  font-size: 13px;
}

.team-item:hover .team-text {
  border-color: #5b9bd5 !important;
}

/*** Testimonial ***/
.testimonial-carousel {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 576px) {
  .testimonial-carousel {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

.testimonial-carousel .testimonial-item .border {
  border: 1px dashed rgba(91, 155, 213, 0.3) !important;
}

.testimonial-carousel .owl-nav {
  position: absolute;
  width: 100%;
  height: 45px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  position: relative;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--primary);
  border-radius: 45px;
  font-size: 20px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  background: var(--accent);
}

/* Testimonial Page - Card Overrides/
/* Mencegah background kuning menimpa card putih */
.testimonial-card.bg-white {
  background-color: #ffffff !important;
}

/* Subtitle tetap abu-abu */
.testimonial-card .profile-info p {
  color: #6c757d !important;
}

/* Teks testimonial tetap coklat */
.testimonial-card .testimonial-text p {
  color: #8b7355 !important;
}

/*** Footer ***/
.footer .btn.btn-social {
  margin-right: 5px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 45px;
  transition: 0.3s;
}

.footer .btn.btn-social:hover {
  border-color: var(--primary);
  background: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  font-size: 16px;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--primary) !important;
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .form-control {
  border-color: rgba(255, 255, 255, 0.5);
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .copyright a {
  color: #ffffff;
}

.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
  color: var(--primary) !important;
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

/*** Contact Us section ***/
.container-xxl .bg-light.rounded {
  background-color: #fcc203 !important;
}

.bg-light.rounded .bg-light.rounded-circle {
  background-color: #fcc203 !important;
}

.bg-light.rounded .text-primary {
  color: #fcc203 !important;
}

.bg-light.rounded i.fa-map-marker-alt,
.bg-light.rounded i.fa-envelope,
.bg-light.rounded i.fa-phone-alt,
.bg-light.rounded i.fa-instagram {
  color: #ffffff !important;
}

.kps-illustration {
  display: block;
  max-width: 400px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .kps-illustration {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .kps-illustration {
    max-width: 220px;
  }
}