/********** Template CSS **********/
@import "color.css";

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 60px;
    z-index: 99;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 500 !important;
}

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

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

.text-dark-green {
    color: var(--dark-green);
}

.text-dark-chocolate {
    color: var(--dark-chocolate);
}

.text-light-pink {
    color: var(--light-pink);
}

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

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

.bg-footer {
    background-color: var(--primary-dark);
}

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

.bg-yellow {
    background-color: var(--yellow);
}

.bg-light-yellow {
    background-color: var(--light-yellow);
}

.bg-green {
    background-color: var(--light-green);
}

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

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


/*** Button ***/
@import "color.css";

.btn {
    font-weight: 500;
    transition: .5s;
}

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

.btn.btn-yellow {
    color: #FFFFFF;
    background-color: var(--yellow);
}

.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;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: black;
    font-weight: 500;
    outline: none;
}

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

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

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

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

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

.navbar .btn:hover {
    color: #FFFFFF !important;
    background: var(--primary) !important;
}


/*** Header ***/
.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--primary-second);
}


/*** Service ***/
.service-item {
    position: relative;
    overflow: hidden;
}

.service-item::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: -80px;
    right: -80px;
    border: 80px solid;
    transform: rotate(45deg);
    opacity: 1;
    transition: .5s;
}

.service-item.bg-white::after {
    border-color: transparent transparent white transparent;
}

.service-item.bg-light::after {
    border-color: transparent transparent #FFFFFF transparent;
}

.service-item:hover::after {
    opacity: 0;
}


/*** Roadmap ***/
.roadmap-carousel {
    position: relative;
}

.roadmap-carousel::before {
    position: absolute;
    content: "";
    height: 0;
    width: 100%;
    top: 20px;
    left: 0;
    border-top: 2px dashed var(--primary-second);
}

.roadmap-carousel .roadmap-item .roadmap-point {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 6px;
    left: 50%;
    margin-left: -15px;
    background: #FFFFFF;
    border: 2px solid var(--primary);
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.roadmap-carousel .roadmap-item .roadmap-point span {
    display: block;
    width: 18px;
    height: 18px;
    background: var(--primary);
}

.roadmap-carousel .roadmap-item {
    position: relative;
    padding-top: 150px;
    text-align: center;
}

.roadmap-carousel .roadmap-item::before {
    position: absolute;
    content: "";
    width: 0;
    height: 115px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-right: 2px dashed var(--primary-second);
}

.roadmap-carousel .roadmap-item::after {
    position: absolute;
    content: "";
    width: 14px;
    height: 14px;
    top: 111px;
    left: 50%;
    margin-left: -7px;
    transform: rotate(45deg);
    background: var(--primary);
}

.roadmap-carousel .owl-nav {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.roadmap-carousel .owl-nav .owl-prev,
.roadmap-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-size: 22px;
    color: white;
    background: var(--primary);
    transition: .5s;
}

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


/*** FAQs ***/
.accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
}

.accordion .accordion-button {
    background: white;
    border-radius: 2px;
}

.accordion .accordion-button:not(.collapsed) {
    color: #FFFFFF;
    background: var(--primary);
    box-shadow: none;
}

.accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion .accordion-body {
    padding: 15px 0 0 0;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light-pink);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

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

.footer .btn.btn-link:hover {
    color: white;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: var(--light-pink);
    border: 1px solid var(--light-pink);
}

.footer .btn.btn-square:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.footer .copyright {
    padding: 25px 0;
    border-top: 2px solid rgba(255, 254, 254, 0.1);
}

.footer .copyright a {
    color: white;
}

.footer .copyright a:hover {
    color: black;
}

.background-top {
    background-image: url('../img/background-batik.png');
    background-repeat: repeat;
    background-size: auto;
    /* or you can try 'contain' or a specific size */
    height: 67px;
    /* adjust as needed */
}

.maskot {
    background-image: url('../img/maskot.png');
    background-repeat: repeat;
    background-size: auto;
    /* or you can try 'contain' or a specific size */
    height: 400px;
    /* adjust as needed */
}

.hero-section {
    background-image: url('../img/banner.webp');
    /* Ganti dengan URL gambar kamu */
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
    color: white;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    top: 60%;
    transform: translateY(-50%);
}

.logo-pattern {
    width: 200px;
}

.tagline {
    font-size: 30px;
    font-weight: 700;
}

.tagline-2 {
    font-size: 23px;
    font-weight: 600;
}

/****************************************************COUNT DOWN***********************************************************/
.countdown-wrapper {
    display: flex;
    justify-content: start;
    gap: 1rem;
    margin-top: 1rem;
    font-family: sans-serif;
}

.countdown-box {
    text-align: center;
}

.countdown-wrapper .number {
    background-color: var(--primary);
    color: white;
    font-size: 3rem;
    font-weight: bold;
    padding: 1rem 1.2rem;
    border-radius: 15px;
    min-width: 60px;
}

.countdown-wrapper .label {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: white;
}

.arrow {
    font-size: 100px;
    animation: bounce 1s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.form-control {
    border-radius: 10px;
}

/*****************************************************************SWIPER*************************************************/
.swiper {
    padding: 20px 10px;
    /* Padding around the swiper */
}

.swiper-slide {
    width: 320px;
    /* adjust as needed */
    flex-shrink: 0;
    max-width: 320px;
}

.slide-img {
    width: 320px;
    height: 300px;
    border-radius: 10px;
    margin-bottom: 15px;
    object-fit: cover;
}

.slide-title {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    color: var(--green);
}

.slide-desc {
    font-size: 14px;
    color: black;
    margin-top: 10px;
}

/* Custom pagination bar */
.custom-pagination {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    position: relative;
    margin-top: 30px;
    border-radius: 2px;
    overflow: hidden;
}

.active-bar {
    height: 100%;
    width: 0%;
    background: var(--primary);
    /* Your active color */
    transition: width 0.3s ease;
}

/*****************************************************************RESPONSIVE**********************************************/

@media (max-width: 768px) {
    .logo-header-2 {
        display: none;
    }

    .tagline {
        font-size: 15px;
    }

    .tagline-2 {
        font-size: 15px;
    }

    .countdown-wrapper .number {
        font-size: 20px;
    }

    .countdown-wrapper {
        justify-content: center;
    }

    .logo-pattern {
        width: 100px;
    }
}

.gallery-item {
    overflow: hidden;
    border-radius: 0.5rem;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}