@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --bs-primary-rgb: 0, 66, 255;
    --bs-success-rgb: 6, 137, 40;
    --bs-light-rgb: 236, 240, 245;
}

body {
    font-family: "Inter", sans-serif;
    font-style: normal;
}

section {
    /* max-width: 1200px; */
    margin: 5rem auto;
}

a {
    text-decoration: none;
    color: #201f1f;
}

a:hover {
    color: #0040f1;
}

.text-justify {
    text-align: justify !important;
}

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

/* Button Styles */
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #0042ff;
    --bs-btn-border-color: #0042ff;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0040f1;
    --bs-btn-hover-border-color: #0040f1;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0040f1;
    --bs-btn-active-border-color: #0040f1;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0042ff;
    --bs-btn-disabled-border-color: #0042ff;
}

.btn-soft-primary {
    --bs-btn-color: #0042ff;
    --bs-btn-bg: rgb(0, 66, 255, .25);
    --bs-btn-border-color: rgb(0, 66, 255, .12);
    --bs-btn-hover-color: #0042ff;
    --bs-btn-hover-bg: rgb(0, 64, 241, .25);
    --bs-btn-hover-border-color: rgb(0, 64, 241, .25);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #0042ff;
    --bs-btn-active-bg: rgb(0, 64, 241, .25);
    --bs-btn-active-border-color: rgb(0, 64, 241, .25);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #1a57fe;
    --bs-btn-disabled-bg: rgb(0, 66, 255, .25);
    --bs-btn-disabled-border-color: rgb(0, 66, 255, .25);
}

/* Background Style */
.bg-primary {
    background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity, 1)) !important;
}

.bg-success {
    background-color: rgba(var(--bs-success-rgb), var(--bs-bg-opacity, 1)) !important;
}

.bg-light {
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity, 1)) !important;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin-top: 0 !important;
}

.hero.hero-2 {
    height: 400px;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 900px;
    max-width: 100%;
}

.hero .breadcrumb-item+.breadcrumb-item::before {
    color: rgb(255 255 255 / 75%);
}

/* --- Navbar --- */
.navbar {
    transition: all 0.3s ease;
}

.navbar a.nav-link {
    font-weight: 500;
}

.navbar a.nav-link.active {
    color: #0d6efd !important;
    font-weight: 600;
}

.navbar .d-flex.align-items-center {
    position: relative;
    z-index: 5;
}

.navbar-toggler:focus {
    box-shadow: none;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: transparent;
        z-index: 4;
    }

    .navbar-collapse.show::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 10px;
        right: 10px;
        bottom: 0;
        background: #ecf0f5;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
        /* box-shadow: 0 4px 10px rgba(0,0,0,0.1); */
        z-index: -1;
    }

    .navbar-nav {
        padding: 1rem 2rem;
    }
}


/* Mitra Style */
.img-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.img-profil {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.img-loker {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.icons {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

/* Select2 Style */
.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #c5c5c5;
    border-radius: .5rem;
}

.select2-container .select2-selection--single {
    height: 40px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 37px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 6px;
    right: 7px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #c5c5c5 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
    border-width: 7px 7px 0 7px;
    border-radius: 15px;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #c5c5c5 rgba(0, 0, 0, 0);
    border-width: 0 7px 7px 7px;
    border-radius: 15px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border-radius: .3rem;
}

.select2-search--dropdown .select2-search__field {
    padding: 4px 10px;
}

.select2-search--dropdown .select2-search__field:focus {
    border-color: #c5c5c5 !important;
    box-shadow: none !important;
    outline: none !important;
}

.select2-dropdown {
    border-radius: 10px;
}

/* Timeline Style */

.timeline {
    position: relative;
    margin-left: 30px;
    padding-left: 25px;
    border-left: 3px solid #dee2e6;
}

.timeline-step {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -37px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0d6efd;
    box-shadow: 0 0 0 4px #fff;
    border: 3px solid #dee2e6;
}

.timeline-content {
    background: #fff;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all .2s ease-in-out;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* Nav & Tabs */
.nav-tabs {
    border: 0;
}

.nav-tabs .nav-link {
    font-weight: 600;
    color: #0042ff;
    border-bottom: 1px solid #dee2e6;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    color: #fff;
    background: #0042ff;
    border: 1px solid #0042ff;
}

/* Card */
.card-img-top {
    height: 300px;
    object-fit: cover;
    object-position: center;
}

.card-img-overlay {
    pointer-events: none;
}


/* Owl Carousel */
.owl-prev-custom,
.owl-next-custom {
    width: 40px;
    height: 40px;
    opacity: 0;
    pointer-events: none;
    border: none;
    transition: all 0.4s ease;
    z-index: 20;
    background: rgba(55, 60, 74, 0.5);
    color: #fff;
    font-weight: bolder;
}

.slider-wrapper:hover .owl-prev-custom,
.slider-wrapper:hover .owl-next-custom {
    opacity: 1;
    pointer-events: auto;
}

.owl-prev-custom {
    left: 0;
    transform: translate(-30px, -50%);
}

.owl-next-custom {
    right: 0;
    transform: translate(30px, -50%);
}

.slider-wrapper:hover .owl-prev-custom {
    transform: translate(10px, -50%);
}

.slider-wrapper:hover .owl-next-custom {
    transform: translate(-10px, -50%);
}

.owl-prev-custom:hover,
.owl-next-custom:hover {
    background-color: rgba(55, 60, 74);
    color: #fff;
}

.mitra-slider .overflow-hidden {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    background: #fff;
}

.mitra-slider img {
    max-height: 80%;
    width: auto;
    object-fit: contain;
}


/* Form */
.form-control:focus {
    box-shadow: none !important;
}

.floating-label {
    position: absolute;
    top: -11px;
    left: 30px;
    background: #fff;
    padding: 0 3px;
    font-size: 0.9rem;
    color: #6c757d;
    z-index: 2;
}

/* Table Style */
.table-centered th,
.table-centered td {
  vertical-align: middle;
  text-align: center;
}
