/********** Template CSS **********/
:root {
    --primary: #FF3E41;
    --secondary: #51CFED;
    --light: #F8F2F0;
    --dark: #060315;
}

.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** 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 ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.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 .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        top: -6px;
        left: 50%;
        background: #FFFFFF;
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .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;
    }
}


/*** Header ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service, Price & Team ***/
.service-item,
.price-item,
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item img,
.team-item img {
    transition: .5s;
}

.service-item:hover img,
.team-item:hover img {
    transform: scale(1.1);
}

.service-item a.btn-slide,

.team-item div.btn-slide {
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-size: 0;
}

.service-item a.btn-slide i,
.service-item a.btn-slide span,
.team-item div.btn-slide i,
.team-item div.btn-slide span {
    position: relative;
    height: 40px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 0 35px 35px 0;
    transition: .5s;
    z-index: 2;
}

.team-item div.btn-slide span a i {
    padding: 0 10px;
}

.team-item div.btn-slide span a:hover i {
    background: var(--secondary);
}

.service-item a.btn-slide span,
.team-item div.btn-slide span {
    padding-left: 0;
    left: -100%;
    z-index: 1;
}

.service-item:hover a.btn-slide i,
.team-item:hover div.btn-slide i {
    border-radius: 0;
}

.service-item:hover a.btn-slide span,
.team-item:hover div.btn-slide span {
    left: 0;
}

.service-item a.btn-slide:hover i,
.service-item a.btn-slide:hover span {
    background: var(--secondary);
}

.price_section .price_container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
}

.price_section .price_container .box {
    margin: 45px 15px 0 15px;
    transition: transform 0.3s ease;
    /* Tambahan efek transisi */
}

.price_section .price_container .box .detail-box {
    width: 300px;
    height: 300px;
    padding: 40px 20px 15px 20px;
    background-color: #fff;
    border-radius: 25px;
    -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
}

.price_section .price_container .box .detail-box h2 {
    font-weight: bold;
}

.price_section .price_container .box .detail-box h2 span {
    font-size: 3rem;
}

.price_section .price_container .box .detail-box h6 {
    text-transform: uppercase;
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 10px;
}

.price_section .price_container .box .price_features {
    padding: 0;
    list-style-type: none;
}

.price_section .price_container .box .price_features li {
    margin: 10px 0;
}

.price_section .price_container .box .btn-box {
    margin-top: 25px;
}

.price_section .price_container .box .btn-box a {
    display: inline-block;
    padding: 10px 35px;
    background-color: #ff4646;
    color: #ffffff;
    border-radius: 5px;
    border: 1px solid #ff4646;
    -webkit-transition: all .3s;
    transition: all .3s;
    border: none;
}

.price_section .price_container .box .btn-box a:hover {
    background-color: transparent;
    color: #ff4646;
}

.price_section .price_container .box .btn-box a:hover {
    background-color: #03a7d3;
    color: #ffffff;
}

.price_section .price_container .box:hover {
    transform: scale(1.05);
    /* Tambahan efek zoom */
    color: #ffffff;
}

.price_section .price_container .box:hover .detail-box {
    background-color: #03a7d3;
}

.price_section .price_container .box:hover h6 {
    color: #ffffff;
}

.price_section .price_container .box:hover a {
    background-color: #03a7d3;
    color: #ffffff;
}

/*** Contact ***/
@media (min-width: 992px) {
    .container.contact-page {
        max-width: 100% !important;
    }

    .contact-page .contact-form {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-page .contact-form {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-page .contact-form {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url() center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}


.selengkapnya {
    display: inline-block;
    /* Biar gak kepanjangan */
    padding: 8px 100px;
    border: #FF3E41 solid;
    /* Warna border */
    border-width: 1px !important;
    /* Biar ada border */
    border-radius: 8px !important;
    /* Melengkung */
    text-decoration: none;
    transition: 0.3s ease;
    /* Tambahan efek transisi */
    /* Warna teks */
    text-align: center;

}


.selengkapnya a:hover {
    background-color: #FF3E41;
    transform: scale(1.05);
    /* Tambahan efek zoom */
    transition: 0.3s ease;
    /* Tambahan efek transisi */
    color: #ffffff;
}



.portfolio_section {
    background-color: var(--primary);
    color: #ffffff;
    padding-top: 45px;
}

.portfolio_section .heading_container {
    margin-bottom: 25px;
}

.portfolio_section .box {
    position: relative;
}

.portfolio_section .box .img-box {
    position: relative;
}

.portfolio_section .box .img-box img {
    width: 100%;
}

.portfolio_section .box .img-box .btn_overlay {
    flex-direction: column;
    /* <-- ini bikin elemen disusun ke bawah */
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    background-color: rgba(255, 255, 255, 0.8);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transform: translate(-50%, -50%) scale(0);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    -webkit-transition: all .3s;
    transition: all .3s;
}

.portfolio_section .box .img-box .btn_overlay p {
    padding: 10px 45px;
    border: 1px solid #FF3E41;
    background-color: #ff4646;
    color: #ffffff;
}

.portfolio_section .box .img-box .btn_overlay a {
    padding: 10px 45px;
    border: 1px solid #FF3E41;
    background-color: #ff4646;
    color: #ffffff;
}

.portfolio_section .box .img-box .btn_overlay a:hover {
    background-color: #ff4646;
    color: #ffffff;
}

.portfolio_section .box .img-box:hover .btn_overlay {
    -webkit-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.portfolio_section .owl-item.active.center .box .detail-box {
    opacity: 1;
    visibility: visible;
}

.portfolio_section .portfolio_carousel {
    margin-top: 35px;
}

.portfolio_section .portfolio_carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 10;
    pointer-events: none;
    /* biar nav container nggak ganggu klik */
}

.portfolio_section .portfolio_carousel .owl-nav .owl-prev,
.portfolio_section .portfolio_carousel .owl-nav .owl-next {
    width: 50px;
    height: 50px;
    background-color: #FF3E41;
    font-size: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    pointer-events: all;
    transition: background-color 0.3s, color 0.3s;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.portfolio_section .portfolio_carousel .owl-nav .owl-prev:hover,
.portfolio_section .portfolio_carousel .owl-nav .owl-next:hover {
    background-color: #03a7d3;
    color: #ffffff;
}

.portfolio_section .portfolio_carousel .owl-nav .owl-prev i,
.portfolio_section .portfolio_carousel .owl-nav .owl-next i {
    color: inherit;
    font-size: 20px;
}

.portfolio_section .portfolio_carousel .owl-nav .owl-prev {
    position: absolute;
    left: 15px;
}

.portfolio_section .portfolio_carousel .owl-nav .owl-next {
    position: absolute;
    right: 15px;
}

.lightbox {
    display: none;
    /* hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox.show {
    display: flex;
    /* show when active */
}

.lightbox-inner {
    margin-top: 2em !important;
    position: relative;
    display: flex;
    margin-left: 7em;
    justify-content: center;
    align-items: center;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
}

.lightbox-content {
    margin-top: 100px !important;
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.lightbox-close {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
}

.custom-img-bumdes {
    position: relative;
    width: 100%;
    padding-top: 66.66%;
    /* 3:2 aspect ratio (600x400) */
    overflow: hidden;
}

.custom-img-bumdes img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.custom-img-team {
    position: relative;
    width: 100%;
    padding-top: 96.66%;
    /* 3:2 aspect ratio (600x400) */
    overflow: hidden;
}

.custom-img-team img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.responsive-table {
    width: 100%;
    border-collapse: collapse;
}

.responsive-table thead {
    background-color: #f5f5f5;
}

.responsive-table th,
.responsive-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.table-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.table-actions .left-actions,
.table-actions .right-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

@media (max-width: 768px) {
    .table-actions {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .table-actions .left-actions,
    .table-actions .right-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .table-actions input,
    .table-actions select,
    .table-actions button {
        width: 70%;
        max-width: 100%;
    }

    .responsive-table thead {
        display: none;
    }

    .responsive-table tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 8px;
        background-color: #fff;
        padding: 10px;
    }

    .responsive-table td {
        display: flex;
        justify-content: space-between;
        padding: 8px 10px;
        border-bottom: 1px solid #eee;
    }

    .responsive-table td::before {
        content: attr(data-label);
        font-weight: bold;
        flex-basis: 40%;
        white-space: nowrap;
    }
}

.pagination {
    display: flex;
    justify-content: center;
    padding-left: 0;
    list-style: none;
}

.pagination li {
    margin: 0 2px;
}

.pagination li a,
.pagination li span {
    padding: 6px 12px;
    font-size: 0.875rem;
    border: 1px solid #ddd;
    color: #007bff;
    text-decoration: none;
    border-radius: 4px;
}

.pagination li.active span {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination li.disabled span {
    color: #aaa;
}