.body-wrapper>.container-fluid,
.body-wrapper>.container-lg,
.body-wrapper>.container-md,
.body-wrapper>.container-sm,
.body-wrapper>.container-xl,
.body-wrapper>.container-xxl {
    max-width: 100% !important;
}

body {
    background: #f8f9fa !important;
}


.form-select {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem 0.5rem 0.75rem;
    -moz-padding-start: calc(0.75rem - 3px);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.4rem;
    color: #495057;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 10px 10px;
    border: 1px solid #d2d6da;
    border-radius: 0.5rem;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-select {
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.form-select-sm {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-left: 0.75rem;
    font-size: 0.75rem;
    border-radius: 0.5rem;
    margin-right: 0.25rem;
    margin-left: 0.25rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 2.5rem;
    position: absolute;
    top: 0px;
    right: 9px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    display: block;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.select2-selection__rendered {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-clip: padding-box;
    background-color: #fff;
    border: 1px solid #d2d6da;
    border-radius: 0.5rem;
    color: #495057;
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.4rem !important;
    padding: 0.5rem 0.75rem;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
    width: 100%;
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 0;
    border-radius: 4px;
}

.select2-container--open .select2-dropdown--below {
    border-top: none;
    margin-top: 7px;
    padding: 0.5rem 0.75rem;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    font-size: 0.875rem;
    font-weight: 400;
}

.select2-dropdown {
    background-color: white;
    border: 1px solid #d2d6da;
    border-radius: 9px;
    box-sizing: border-box;
    display: block;
    position: absolute;
    left: -100000px;
    width: 100%;
    z-index: 1051;
}

.select2-container--default .select2-selection--multiple {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-clip: padding-box;
    background-color: #fff;
    border: 1px solid #d2d6da;
    border-radius: 0.5rem;
    color: #495057;
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.4rem !important;
    padding: 0.5rem 0.75rem;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
    width: 100%;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: white;
    border: 1px solid #075e54 !important;
    border-radius: 4px;
    display: inline-block;
    margin-left: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 0;
    padding-left: 20px;
    position: relative;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    display: contents;
    list-style: none;
    padding: 0;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    background-color: #fff;
    border-color: #075e54 !important;
    box-shadow: 0 3px 9px transparent, 3px 4px 8px rgb(94 114 228 / 10%);
    color: #495057;
    outline: 0;
}

.select2-container--default.select2-container--focus .select2-selection__rendered {
    background-color: #fff;
    border-color: #aec3ff !important;
    box-shadow: 0 3px 9px transparent, 3px 4px 8px rgb(94 114 228 / 10%);
    color: #495057;
    outline: 0;
}

.select2-container--open .select2-dropdown--below {
    border-top: none;
    margin-top: 0px;
    padding: 0.5rem 0.75rem;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    font-size: 0.875rem;
    font-weight: 400;
    border-color: #cfdddb !important;
}

.select2-container--open .select2-dropdown--above {
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-color: #075e54 !important;
    padding: 0.5rem 0.75rem;
}

.mb-3-select {
    margin-bottom: 1.9rem;
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 0px solid #aaa !important;
    border-radius: 4px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 8px !important;
    right: 10px !important;
}

.select2-dropdown {
    border-radius: 8px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #5A6A85 !important;
    padding: 8px 16px !important;
}

.select2-container {
    width: 100% !important;
}

.h-80 {
    height: 84%;
}

.nav-tabs,
.nav-tabs .nav-link {
    border-radius: 7px;
}

.badge {
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

#slider .viewport {
    overflow: hidden;
    width: 68%;
    padding-top: 1rem;
    padding-bottom: 5rem;
    max-width: 7xl;
    margin: 0 auto;
}

#slideTrack {
    display: flex;
    gap: 40px;
    /* gap-10 */
    will-change: transform;
}

.card {
    width: 212px;
    flex-shrink: 0;
}

.scroll {
    /* Kecepatan bisa disesuaikan, misal 25s */
    animation: scroll-left 25s linear infinite;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    /* Pastikan nilainya tepat -50% */
    to {
        transform: translateX(-50%);
    }
}

.mt-5-rem {
    margin-top: 5rem;
}

/* Slide tengah otomatis membesar */
.swiper-slide-active {
    transform: scale(1.08);
}

/* Testimonial hanya muncul di slide aktif */
.swiper-slide-active .testimonial-box {
    opacity: 1;
    height: auto;
}

.right-215 {
    right: 27.5rem;
}

.fade-slide-enter {
    opacity: 0;
    transform: translateY(20px);
}

.fade-slide-active {
    transition: all 0.4s ease;
    opacity: 1;
    transform: translateY(0);
}


/* Jika perlu penyesuaian lebih detail */
footer {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Hover effect yang smooth */
.hover\:pl-2:hover {
    padding-left: 0.5rem;
}

.swiper-wrapper {
    height: fit-content !important;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.custom-justify {
    text-align: justify !important;
    text-justify: inter-word !important;
}

@media (max-width: 768px) {

  /* Prevent overflow */
  html, body {
    overflow-x: hidden;
  }

  /* Pastikan navbar fixed tetap bekerja */
  nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    width: 100% !important;
  }

  /* Container safe padding */
  .container,
  .max-w-screen-xl {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Fix section yang pakai padding custom besar */
  [class*="pl-["],
  [class*="pr-["],
  [class*="ps-["],
  [class*="pe-["] {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Slider width fix (contoh w-[1800px]) */
  #slider {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Workflow decorative line hide only */
  .workflow-line,
  .workflow-decoration {
    display: none !important;
  }

  /* Image safe */
  img {
    max-width: 100%;
    height: auto;
  }

}
