/*** Spinner Start ***/
#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;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: #800000;
    border: none;
    background: #fff;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn.btn-primary:hover {
    background: #f0f0f0;
    box-shadow: 0 6px 20px rgba(128, 0, 0, 0.4);
    transform: translateY(-2px);
    color: #800000;
}

.btn.btn-light {
    color: #800000;
    border: none;
    background: #fff;
}

.btn.btn-light:hover {
    color: #fff;
    background: #800000;
}

.btn.btn-dark {
    color: #800000;
    border: none;
    background: #fff;
}

.btn.btn-dark:hover {
    color: #fff;
    background: #800000;
}
/*** Button End ***/

/*** Topbar Start ***/ 
.topbar {
    background: #fff;
}

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

.topbar .dropdown .dropdown-menu a:hover {
    background: #f0f0f0;
    color: #800000;
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: #fff;
    padding-top: 10px;
    border: 0;
    transition: .5s;
    opacity: 1;
}
/*** Topbar End ***/

/*** Navbar Start ***/
.nav-bar {
    background: #fff; /* navbar putih */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: 1s;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.nav-bar .navbar-light .navbar-brand img {
    max-height: 50px;
}

.navbar .navbar-nav .nav-item .nav-link {
    padding: 0;
    color: #800000; /* teks maroon */
}

.navbar .navbar-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 15px;
}

.navbar-light .navbar-nav .nav-item:hover,
.navbar-light .navbar-nav .nav-item.active,
.navbar-light .navbar-nav .nav-item:hover .nav-link,
.navbar-light .navbar-nav .nav-item.active .nav-link {
    color: #660B05; /* hover teks */
}

@media (max-width: 991px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .navbar-nav .nav-item {
        display: flex;
        padding: 20px;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        margin-top: 20px;
        padding-bottom: 20px;
        background: #fff;
        border-radius: 10px;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 8px 15px;
        border: 1px solid #800000;
        color: #800000;
    }
}

@media (min-width: 992px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .nav-btn {
        display: flex;
        align-items: center;
        justify-content: end;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #fff;
        border-radius: 10px;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 1px solid #800000;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 2px 8px rgba(128, 0, 0, 0.15);
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        margin-top: 20px;
        background: #fff;
        transition: .5s;
        opacity: 1;
    }

    .topbar .dropdown-toggle::after {
        color: #800000;
    }
}
/*** Navbar End ***/

/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item {
    height: 700px;
    background: #800000; /* hero tetap maroon */
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background: #fff;
    color: #800000;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: #f0f0f0;
    box-shadow: 0 6px 20px rgba(128, 0, 0, 0.4);
    color: #800000;
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: #800000; /* hero section maroon */
    display: flex;
    align-items: center;
}
/*** Carousel Hero Header End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: #800000; /* tetap maroon */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0;
}
/*** Single Page Hero Header End ***/

/*** Service Start ***/
.service .service-item .service-content {
    background: #800000; /* tetap maroon */
    color: #fff;
}

.service .service-item:hover .service-content::after {
    background: #800000;
}
.service-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-content-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-content-inner .btn {
  margin-top: auto; /* tombol turun ke bawah */
}
/*** Service End ***/

/*** Blog Start ***/
.blog .blog-item .blog-content {
    background: #800000; /* tetap maroon */
    color: #fff;
}
/*** Blog End ***/

/*** Team Start ***/
.team .team-item .team-title {
    background: #800000; /* tetap maroon */
    color: #fff;
    margin: 20px 0;
}
/*** Team End ***/

/*** Footer Start ***/
.footer {
    background: #800000; /* footer putih */
    color: #fff;
}

.footer .footer-item a {
    color: #fff;
}

.footer .footer-item a:hover {
    color: #cc0000;
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    background: #800000; /* putih */
    border-top: 1px solid rgba(128, 0, 0, 0.15);
    color: #800000;
}
/*** copyright End ***/
