/********** Template CSS **********/
:root {
    --primary: #1f35fc;
    --secondary: #354F8E;
    --light: #EFF5F9;
    --dark: #1D2A4D;
}

.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 50% 50% 0 0;
    z-index: 99;
}

/* LOGO */
.nav-logo {
    height: 48px;
    transition: 0.3s ease;
}
.nav-logo:hover {
    transform: scale(1.05);
}

/* Jarak antar logo */
.navbar-logos {
  display: flex;
  align-items: center;
  gap: 10px;
}


/* NAVBAR */
.elegant-navbar {
    background: #ffffff;
    border-bottom: 1px solid #f2f2f2;
}

.elegant-navbar .nav-link {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 17px;
    color: #333;
    padding: 14px 18px !important;
    position: relative;
    transition: all 0.3s ease;
}

/* Hover & Active underline */
.elegant-navbar .nav-link:hover,
.elegant-navbar .nav-link.active {
    color: var(--primary);
}

.elegant-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: 0.35s ease;
    border-radius: 10px;
}

.elegant-navbar .nav-link:hover::after,
.elegant-navbar .nav-link.active::after {
    width: 80%;
    left: 10%;
}

/* DROPDOWN */
.elegant-dropdown {
    border-radius: 12px !important;
    padding: 10px 0;
    border: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.elegant-dropdown .dropdown-item {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    transition: 0.2s;
}

.elegant-dropdown .dropdown-item:hover {
    background: rgba(0, 123, 255, 0.08);
    color: var(--primary);
}

/* MOBILE */
@media (max-width: 991.98px) {
    .elegant-navbar .nav-link {
        padding: 10px 0 !important;
        margin-left: 0;
    }
    .nav-logo {
        height: 40px;
    }
}

.service-item {
    position: relative;
    height: 350px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.service-item .service-icon i {
    transform: rotate(15deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

.price-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: var(--primary);
    border-radius: 8px 8px 50% 50%;
    z-index: -1;
}

.price-carousel .owl-nav {
    margin-top: 35px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

@media (min-width: 576px) {
    .team-item .row {
        height: 350px;
    }
}

.team-carousel .owl-nav {
    position: absolute;
    padding: 0 45px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 0;
    display: flex;
    justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}
