/********** Template CSS **********/
:root {
    --primary: #00B98E;
    --light: #F3F6F8;
    --dark: #0E2E50;
}


/*** 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;
}

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

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}


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

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    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;
    border-radius: 50px;
}


/*** Navbar ***/
.navbar .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: #FFFFFF;
    font-weight: 500;
    outline: none;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #FFFFFF;
}

.sticky-top.navbar .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark);
}

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

.navbar .navbar-brand h1 {
    color: #FFFFFF;
}

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

.sticky-top.navbar .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar {
        position: relative;
        background: #FFFFFF;
    }

    .navbar .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar .navbar-nav .nav-link,
    .sticky-top.navbar .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark);
    }

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

    .navbar .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .2);
        z-index: 999;
    }
    
    .sticky-top.navbar {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 100%;
        height: 2px;
        bottom: 10px;
        left: 0;
        background: #FFFFFF;
        opacity: 0;
        transition: .5s;
    }

    .sticky-top.navbar .navbar-nav .nav-link::before {
        background: var(--primary);
    }

    .navbar .navbar-nav .nav-link:hover::before,
    .navbar .navbar-nav .nav-link.active::before {
        bottom: -1px;
        left: 0;
        opacity: 1;
    }

    .navbar .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Hero Header ***/
.hero-header {
    margin-bottom: 6rem;
    padding: 12rem 0 9rem 0;
    background: url(../img/shape-bottom.png) center bottom no-repeat;
}

.page-header {
    margin-bottom: 6rem;
    padding: 12rem 0 6rem 0;
}

@media (max-width: 991.98px) {
    .hero-header {
        padding: 6rem 0 9rem 0;
    }

    .page-header {
        padding: 6rem 0;
    }
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(256, 256, 256, .5);
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border: 1px solid transparent;
    transition: .5s;
}

.service-item:hover {
    box-shadow: none;
    border-color: var(--primary);
}

.service-item .service-icon,
.service-item .service-btn {
    margin: -1px 0 0 -1px;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 5px 0;
    transition: .5s;
}

.service-item .service-btn {
    margin: -1px -1px 0 0;
    border-radius: 0 5px;
    opacity: 0;
}

.service-item:hover .service-btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border: 1px solid transparent;
    transform: scale(.85);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    box-shadow: none;
    border-color: var(--primary);
    transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-item img {
    width: 50px;
    height: 50px;
}

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

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Team ***/
.team-item {
    position: relative;
    padding: 30px;
    text-align: center;
    transition: .5s;
    z-index: 1;
}

.team-item::before,
.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 40%;
    top: 0;
    left: 0;
    border-radius: 5px;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: .5s;
    z-index: -1;
}

.team-item::after {
    top: auto;
    bottom: 0;
}

.team-item:hover::before,
.team-item:hover::after {
    background: var(--primary);
}

.team-item h5,
.team-item p {
    transition: .5s;
}

.team-item:hover h5,
.team-item:hover p {
    color: #FFFFFF;
}

.team-item img {
    padding: 15px;
    border: 1px solid var(--primary);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    transition: .3s;
}

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

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

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/*** Google Maps Footer ***/
.footer-map {
    width: 100%;
    height: 200px;
    overflow: hidden;
    /* border-radius: 10px; */
}

.footer-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 991.98px) {
    .footer-map {
        height: 300px;
    }
}

.footer-logos {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.footer-logos img {
    height: 25px;
    width: auto;
    object-fit: contain;
    border-radius: 5px;
    /* naikkan posisi logo */
    transform: translateY(-10px);
}

.footer-logos a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

@media (max-width: 767px) {
    .footer-logos {
        justify-content: center;
    }
}

.profil-image {
    display: block;
    width: 100%;
    max-width: 650px;
    height: auto;
    margin: 0 auto;
    object-fit: cover;
}

.profil-content {
    width: 100%;
    font-size: 17px;
    line-height: 1.8;
    color: #555;
}

.profil-content p {
    margin-bottom: 20px;
    text-align: justify !important;
    text-align-last: left;
}

.profil-content div,
.profil-content span {
    text-align: justify !important;
}

.profil-content ul,
.profil-content ol {
    padding-left: 25px;
    margin-bottom: 20px;
}

.profil-content li {
    margin-bottom: 8px;
    text-align: justify !important;
}

@media (max-width: 768px) {
    .profil-content {
        font-size: 16px;
        line-height: 1.7;
    }

    .profil-image {
        max-width: 100%;
    }
}

/*** Galeri Portal ***/
.gallery-card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .08);
    transition: .3s;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

/* Thumbnail */
.gallery-thumbnail {
    width: 100%;
    height: 230px;
    overflow: hidden;
    background: #F3F6F8;
}

.gallery-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s;
}

.gallery-card:hover .gallery-thumbnail img {
    transform: scale(1.05);
}

/* Tidak ada gambar */
.gallery-no-image {
    width: 100%;
    height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #999999;
    background: #F3F6F8;
}

.gallery-no-image i {
    font-size: 40px;
}

/* Body */
.gallery-body {
    flex: 1;
    padding: 22px;
}

.gallery-title {
    margin-bottom: 12px;
    color: var(--dark);
    font-size: 22px;
    font-weight: 600;
}

.gallery-description {
    margin-bottom: 15px;
    color: #555555;
    line-height: 1.7;
}

.gallery-count {
    color: #777777;
    font-size: 14px;
}

/* Footer */
.gallery-footer {
    padding: 15px 22px;
    border-top: 1px solid #EEEEEE;
}

.gallery-footer .btn {
    border-radius: 3px;
    color: #FFFFFF;
}

/* Mobile */
@media (max-width: 767.98px) {

    .gallery-thumbnail,
    .gallery-no-image {
        height: 210px;
    }

    .gallery-title {
        font-size: 20px;
    }

}

.document-card {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    height: 100%;

    padding: 25px 20px;

    background: #FFFFFF;
    border: 1px solid #EEEEEE;
    border-radius: 12px;

    text-align: center;

    box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
    transition: .3s;
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .10);
}

.document-pdf-icon {
    display: block;
    width: 100px !important;
    height: auto !important;
    margin: 0 auto 15px;
}

.document-title {
    color: var(--dark);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.document-card:hover .document-title {
    color: var(--primary);
}

/* Card Tata Cara */
.tatacara-card {
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 12px;
}

/* Hover Card */
.tatacara-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Gambar */
.tatacara-card img {
    transition: transform 0.4s ease;
}

/* Zoom gambar saat card di-hover */
.tatacara-card:hover img {
    transform: scale(1.04);
}

/*** Survey Portal ***/
.survey-card {
    background: #FFFFFF;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .08);
    transition: all .3s ease;
    cursor: pointer;
}

/* Hover Card */
.survey-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

/* Icon */
.survey-icon-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    transition: transform .3s ease;
}

/* Sedikit zoom icon ketika card di-hover */
.survey-card:hover .survey-icon-img {
    transform: scale(1.05);
}

/* Judul */
.survey-title {
    color: var(--dark);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    transition: color .3s ease;
}

/* Judul berubah warna ketika hover */
.survey-card:hover .survey-title {
    color: var(--primary);
}

/*** Card Layanan ***/
.layanan-card {
    background: #FFFFFF;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .08);
    transition: all .3s ease;
    cursor: pointer;
}

/* Hover Card */
.layanan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

/* Icon */
.layanan-icon {
    color: var(--primary);
}

.layanan-icon i {
    font-size: 65px;
    transition: transform .3s ease;
}

/* Zoom Icon */
.layanan-card:hover .layanan-icon i {
    transform: scale(1.05);
}

/* Nama Layanan */
.layanan-title {
    color: var(--dark);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: capitalize;
    transition: color .3s ease;
}

/* Judul berubah saat hover */
.layanan-card:hover .layanan-title {
    color: var(--primary);
}

/* Deskripsi */
.layanan-description {
    color: #777777;
    font-size: 15px;
    line-height: 1.6;
}

.banner-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .banner-img {
        height: 200px;
    }
}