:root {
    --third: #c78356;
    --primary: #08679f;
    --accent: #eeb423;
    font-size: 18px !important;
}

::-webkit-scrollbar {
    background-color: #e6e6e6;
    width: 12px;
    padding: 5px;
}

* {
    font-family: "Rubik", sans-serif !important;
}

.bg-soft-primary {
    background-color: #a3d3f3 !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-accent {
    background-color: var(--accent) !important;
}

.btn.btn-primary {
    background-color: var(--primary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-accent {
    color: var(--accent);
}

.divider {
    height: .75px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
    border: none;
    margin: 40px 0;

    &::after {
        display: none !important;
    }
}

::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background-color: #bdbdbd;
    border: 10px solid transparent;
}

.btn.btn-primary {
    color: white !important;
}

.icon-animate .uil-arrow-right,
.icon-animate .uil-arrow-right {
    animation: slideRight 4s infinite;
}

.icon-animate .icon-svg .logo-kemkumham,
.icon-animate .icon-svg .logo-kemkumham {
    /* transform: translateY(0);
  opacity: 1; */
    animation: opacity 4s infinite;
}

.icon-animate .icon-svg .logo-kemendikbud,
.icon-animate .icon-svg .logo-kemendikbud {
    animation: opacity 4s infinite;
}

.icon-svg.icon-svg-xl {
    width: 5rem;
    height: 5rem;
}

.container-line {
    display: flex;
    align-items: center;
    padding: 20px 0 20px 0;
}

.title-line {
    font-size: 20px;
    font-weight: bold;
    color: #3f78e0;
    margin-right: 20px;
}

.line-title {
    flex-grow: 1;
    height: 2px;
    background-color: #3f78e0;
    margin-right: 20px;
}

.swiper-container {
    overflow: unset;
    width: 100%;
    margin-left: auto;
    margin-right: auto;

    &-wrapper {
        height: 100vh;
        width: 100vw;
    }
}

.swiper-container.overflow-unset {
    overflow: unset !important;
}

.swiper-button-next,
.swiper-button-prev {
    top: 40% !important;
}

.swiper-button-next,
.swiper-button-prev {
    background: rgba(255, 255, 255, .7);
    color: #343f52;
    border: 0;
    box-shadow: 0 .25rem .75rem rgba(30, 34, 40, .02);
    width: 2.2rem;
    height: 2.2rem;
    line-height: inherit;
    border-radius: 100%;
    text-shadow: none;
    transition: all .2s ease-in-out;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-family: Unicons;
    font-size: 1.2rem;
}

.swiper-button-prev:after {
    content: "\e949";
}

.swiper-button-next:after {
    content: "\e94c";
}

.swiper-slide {
    height: 400px;
    text-align: center;
    background-size: cover;
    background-position: center;

    /* Center slide text vertically */
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}

.swiper-container img.img-size-cstm {
    height: auto !important;
}

.gallery-top {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;

    .img-fluid {
        height: 400px;
        width: 100%;
        object-fit: cover;
    }

    figure img {
        height: 378px !important;
    }

    .h-fix {
        height: 378px !important;
    }


    .overlay {
        position: absolute;
        z-index: 3;
        height: 80%;
        width: 100%;
        bottom: 0;
        left: 0;
        background: linear-gradient(180deg, #0000, #000);
    }

    .title {
        position: absolute;
        z-index: 4;
        /* left: 36px; */
        bottom: 36px;

        line-height: 24px;

        font-size: 22px;
        font-weight: 600;
        color: white;
    }

    /* .swiper-controls {
    display: none;
  } */
}

.gallery-thumbs {
    width: 100%;
    height: fit-content;
    padding-top: 10px;

    .swiper-slide {
        width: 25%;
        flex-flow: row nowrap;

        @media (min-width: 480px) {
            flex-flow: column nowrap;
            width: 100%;
        }

        height: 100%;
        opacity: 0.75;
        cursor: pointer;
    }

    .thumb {
        display: flex;
        gap: 16px;

        img {
            height: 48px;
            width: 48px;
            border-radius: 8px;
            object-fit: cover;
        }

        p {
            color: #343f52;
            text-align: start;
        }
    }

    .swiper-controls {
        display: none;
    }

    .swiper-slide-thumb-active {
        opacity: 1;
    }
}

@keyframes opacity {
    0% {
        opacity: 0;
        transform: translateY(-25px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideRight {
    0% {
        opacity: 0;
        transform: translateX(-15px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scroll-animate {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.swiper-alur .swiper-wrapper {
    animation-timing-function: linear;
}

.card.card-hover-desc {
    box-shadow: none;
    border: none;
    transition: 0.4s;
    overflow: hidden;
    min-height: 360px;
    height: 100%;
}

.card.card-hover-desc:hover {
    box-shadow: 3px 3px 10px #3f77e0bd;
    background-color: #3f78e0;
}

.card.card-hover-desc .card-body {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.card.card-hover-desc .card-img {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: white;
    transition: 0.3s;
    padding: 8px;
}

.card.card-hover-desc:hover .card-img {
    width: 60px;
    height: 60px;
}

.card.card-hover-desc:hover .card-body :where(.text-muted) {
    color: white !important;
}

.card.card-hover-desc .card-body .card-desc {
    position: absolute;
    inset: 0;
    transform: translateY(110%);
    transition: 0.4s;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3f78e0;
    padding: 20px;
}

.card.card-hover-desc:hover .card-body .card-desc {
    transform: translateY(0);
}

.card.number .nav-tabs.nav-tabs-bg .nav-link.active,
.nav-tabs.nav-tabs-bg .nav-link:hover {
    border-color: #3f78e0;
}

.text-line-both:not(.text-gradient) {
    display: inline-block;
    width: fit-content;
    position: relative;
    vertical-align: top;
    padding: 0 1.4rem;
}

.text-line-both.text-primary::before {
    background-color: #3f78e0;
}

.text-line-both.text-primary::after {
    background-color: #3f78e0;
}

.text-line-both::before {
    content: "";
    position: absolute;
    display: inline-block;
    top: 50%;
    transform: translateY(-60%);
    left: 0;
    width: 0.75rem;
    height: 0.05rem;
    background: #3f78e0;
}

.text-line-both::after {
    content: "";
    position: absolute;
    display: inline-block;
    top: 50%;
    transform: translateY(-60%);
    right: 0;
    width: 0.75rem;
    height: 0.05rem;
    background: #3f78e0;
}

.swiper-rounded .swiper .swiper-wrapper .swiper-slide img {
    border-radius: 12px;
}

.list-none {
    list-style: none !important;
    padding-left: 18px;
    text-indent: -18px;
}

li:not(.nav-item) {
    margin-bottom: 12px;
}

.badge-lg {
    font-size: 18px;
}

table.table-centered :where(thead tr th, tbody tr td) {
    text-align: center;
    vertical-align: middle;
}

.btn.btn-yellow,
.btn.btn-yellow * {
    color: #fef3e4 !important;
}

.tooltip-yellow {
    --bs-tooltip-bg: #fef3e4 !important;
    --bs-tooltip-color: #fab758 !important;
}

.nav-tabs.nav-pills .nav-link {
    border-radius: 40px !important;
    padding: 8px 16px;
    transition: 0.4s;
}

.nav-tabs.nav-pills .nav-link:hover {
    box-shadow: 3px 3px 20px #5f5f5f1a;
}

.nav-tabs.primary-custom .nav-link.active {
    background-color: #3f78e0 !important;
    color: white !important;
}

.nav-tabs.primary-custom .nav-link:not(.active) {
    background-color: #ffffff !important;
    color: #3f78e0 !important;
}

.accordion-wrapper .card-header button {
    font-size: 16px !important;
}

#faq .tab-content .accordion-wrapper .card:first-child {
    margin-top: 8px;
}

#faq .tab-content {
    max-height: 600px;
    overflow-y: auto;
    padding: 0 8px !important;
}

#faq .tab-content::-webkit-scrollbar {
    border-radius: 20px;
}

.d-flex .card.lift {
    flex-grow: 1;
    width: 100% !important;
    min-width: 100px;
}

.card-hovered-show {
    position: relative;
}

.card-hovered-show .description-hidden {
    overflow: hidden;
    max-height: 0;
    transform: translateY(1em);
    transition: all 0.6s;
}

.card-hovered-show:hover .description-hidden {
    max-height: 20rem;
}
