/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* Universal font setting */
body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  line-height: 1.6;
}



.carousel-wrapper {
    position: relative;
}

/* Style umum tombol panah */
.owl-prev-btn,
.owl-next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(63, 101, 225, 0.7) !important;
  color: #fff;
  border: none;
  width: 30px;
  height: 30px;
  font-size: 15px;
  border-radius: 50%;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

/* Hover effect */
.owl-prev-btn:hover,
.owl-next-btn:hover {
  background: rgba(190, 87, 87, 0.7);
}

/* Posisi default untuk layar lebar (di luar) */
.owl-prev-btn {
  left: -40px;
}

.owl-next-btn {
  right: -40px;
}

/* Responsif: layar kecil tombol masuk ke dalam */
@media (max-width: 768px) {
  .owl-prev-btn {
    left: -10px;
  }
  .owl-next-btn {
    right: -10px;
  }
}



.owl-prev-btn:hover,
.owl-next-btn:hover {
  background: rgba(190, 87, 87, 0.7);
}


html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden !important; 
}

body.modal-open {
    padding-right: 0 !important;
    overflow: hidden !important;
}

#main-wrapper,
.content-body {
    overflow: visible !important;
}



body.modal-open .modal {
overflow-y: auto;
}

.modal-backdrop {
overflow: hidden !important;
}

html {
scroll-behavior: smooth;
overflow-x: hidden;
}

.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  z-index: 1050 !important;
}

.navbar .nav-link {
  position: static; 
  display: block;
  padding: .5rem 1rem;
  font-size: 16px;
  font-weight: 500;
  color: #5576a8;
  transition: color 0.3s ease; 
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: navy !important; 
}

.navbar .nav-link::after {
  color: #182954 !important;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 100%;
  color: navy !important;
}


.navbar .nav-pills .nav-link {
  position: static; 
  display: block;
  padding: .5rem 1rem;
  font-size: 1rem;
  color: #5576a8;
}

body.modal-open .navbar {
  padding-right: 0 !important;
}

body {
  margin: 0;
  padding-top: 70px;
  background-color: #EEFCFF;
}

.btn-success {
  border-color: #182954 !important; /* Samakan dengan background */
}

.btn-success:focus,
.btn-success:active {
  outline: none !important;
  box-shadow: none !important;
  border-color: #182954 !important;
}



.btn {
  box-shadow: none !important;
  background-image: none !important;
}

.accordion-header {
  min-height: 60px;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.accordion-body-text {
  min-height: 150px;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
}

.modal {
  z-index: 1100 !important;
}

.modal-backdrop {
  z-index: 1090 !important; 
}


.otp-input {
  width: 55px;
  height: 55px;
  text-align: center;
  font-size: 1.5rem;
}

@media (max-width: 576px) {
  .otp-input {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
}


.detail-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  row-gap: 10px;
}

.detail-grid div {
  word-break: break-word; /* supaya teks panjang turun ke bawah */
}

@media (max-width: 480px) {
  .detail-grid {
    grid-template-columns: 40% 60%; /* lebih ramping di HP */
    column-gap: 5px; /* jarak antar kolom */
  }
}



.produk-card {
  width: 250px;
  height: 350px;
  position: relative;
}

@media (max-width: 768px) {
  .produk-card {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4; 
  }
}


img {
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
img:hover {
  transform: scale(1.02) !important; 
}
img:active {
  transform: scale(1.02) !important;
}


.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #00c853;
  transform: translateX(-50%);
}

.timeline-number {
  background: #00c853;
  color: white;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  border-radius: 50%;
  font-weight: bold;
  z-index: 1;
}

@media (max-width: 767px) {
  .timeline::before {
    display: none;
  }
  .timeline-number {
    display: none;
  }
  .col-xl-4.order-xl-2 {
    margin-top: 0 !important;
  }

   .floating-top,
  .floating-bottom,.floating-atas {
    max-width: 100% !important;
    margin: 0 !important; 
  }
}

.floating-top {
  max-width: 130%;
  height: auto;
  margin-top: -250px;
  margin-left: -40px;
}

.floating-bottom {
  max-width: 110%;
  height: auto;
  margin-bottom: -80px;
}

.floating-atas {
  max-width: 80%;
  height: auto;
  margin-top: -100px;
  margin-left: -40px;
}

  @media (max-width: 576px) {
    section.py-5.position-relative {
      margin-top: 0 !important;
    }

     .responsive-text {
        color: black !important;
    }
  }