/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: 0.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;
    border-radius: 50%;
}

.btn.btn-primary {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
    font-family: "Roboto", sans-serif;
    border: none;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-primary:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-light) !important;
}

.btn.btn-dark {
    background: var(--bs-dark) !important;
    color: var(--bs-white) !important;
    font-family: "Roboto", sans-serif;
    border: none;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-dark:hover {
    background: var(--bs-white) !important;
    color: var(--bs-dark) !important;
}

.btn.btn-light {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
    font-family: "Roboto", sans-serif;
    border: none;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-light:hover {
    background: var(--bs-white) !important;
    color: var(--bs-dark) !important;
}
/*** Topbar Start ***/
.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-dark) !important;
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }
}
/*** Topbar End ***/

/*** Navbar ***/
.sticky-top,
.sticky-top .container {
    transition: 0.5s !important;
}

.navbar .navbar-nav .nav-item.nav-link,
.navbar .navbar-nav .nav-link {
    color: var(--bs-dark) !important;
}

.navbar .navbar-nav .nav-item {
    position: relative;
    margin: 0 5px !important;
}

.navbar .navbar-nav .nav-item::before,
.navbar .navbar-nav .nav-item::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border: 0px solid var(--bs-primary);
    transition: 0.5s;
}

.navbar .navbar-nav .nav-item::before {
    top: 0;
    left: 0;
}
.navbar .navbar-nav .nav-item::after {
    bottom: 0;
    right: 0;
}

.navbar .navbar-nav .nav-item:hover::after,
.navbar .navbar-nav .nav-item:hover::before,
.navbar .navbar-nav .nav-item.active::after,
.navbar .navbar-nav .nav-item.active::before {
    width: 100%;
    border-width: 1px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top .navbar .navbar-nav .nav-link:hover,
.sticky-top .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107" !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        margin-top: 20px !important;
        transition: 0.5s;
        opacity: 0;
        z-index: 9;
    }
}

@media (max-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        margin-top: 15px !important;
        transition: 0.5s;
    }
}

@media (max-width: 991px) {
    .navbar .navbar-nav .nav-item.nav-link {
        margin: 15px 0 !important;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    margin-top: 20px !important;
    transition: 0.5s;
    opacity: 1;
}

.navbar .navbar-toggler {
    padding: 8px 15px;
    color: var(--bs-dark);
    background: var(--bs-primary);
}

#searchModal .modal-content {
    background: rgba(250, 250, 250, 0.6);
}
/*** Navbar End ***/

/*** Carousel Header Start ***/
.header-carousel .header-carousel-item {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.owl-prev,
.owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px 20px;
    border-radius: 40px;
    background: var(--bs-primary);
    color: var(--bs-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.owl-prev {
    left: 30px;
}

.owl-next {
    right: 30px;
}

.owl-prev:hover,
.owl-next:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-white) !important;
}

.header-carousel .header-carousel-item-img-1,
.header-carousel .header-carousel-item-img-2,
.header-carousel .header-carousel-item-img-3 {
    position: relative;
    overflow: hidden;
}

.header-carousel .header-carousel-item-img-1::before,
.header-carousel .header-carousel-item-img-2::before,
.header-carousel .header-carousel-item-img-3::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    top: -300px;
    right: -300px;
    border-radius: 300px;
    border: 100px solid rgba(68, 210, 246, 0.2);
    animation: RotateMoveCircle 10s linear infinite;
    background: transparent;
    z-index: 2 !important;
}

@keyframes RotateMoveCircle {
    0% {
        top: -400px;
    }
    50% {
        right: -200px;
    }
    75% {
        top: -200px;
    }
    100% {
        top: -400px;
    }
}

.header-carousel .header-carousel-item-img-1::after,
.header-carousel .header-carousel-item-img-2::after,
.header-carousel .header-carousel-item-img-3::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 1200px;
    top: -150px;
    left: 70px;
    transform: rotate(-30deg);
    background: rgba(68, 210, 246, 0.2);
    animation: RotateMoveRight 5s linear infinite;
    z-index: 2 !important;
}

@keyframes RotateMoveRight {
    0% {
        left: 0px;
    }
    50% {
        left: 70px;
    }
    100% {
        left: 0px;
    }
}

.header-carousel .header-carousel-item::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 1200px;
    top: -150px;
    left: -265px;
    transform: rotate(-30deg);
    background: var(--bs-dark);
    animation: RotateMoveLeft 5s linear infinite;
    opacity: 0.7;
    z-index: 2 !important;
}

@keyframes RotateMoveLeft {
    0% {
        left: -240px;
    }
    50% {
        left: -300px;
    }
    100% {
        left: -240px;
    }
}

.header-carousel .header-carousel-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2 !important;
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 80%;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 9;
}

@media (max-width: 992px) {
    .header-carousel .header-carousel-item .carousel-caption {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 0 10px;
    }
    .header-carousel-item img {
        height: 700px;
        object-fit: cover;
    }

    .owl-prev,
    .owl-next {
        top: 40px !important;
    }

    .owl-prev {
        left: 65%;
    }
}
/*** Header Carousel End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url(../img/carousels2.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 10px 0 10px 0;
}

.bg-breadcrumb .breadcrumb-item a {
    color: var(--bs-white) !important;
}

.bg-breadcrumb .bg-breadcrumb-single {
    position: absolute;
    width: 500px;
    height: 1200px;
    top: 0px;
    left: 0;
    margin-left: 30px;
    transform: rotate(-30deg);
    background: var(--bs-dark);
    animation: RotateMoveLeft 5s linear infinite;
    opacity: 0.7;
    z-index: 2 !important;
}

.bg-breadcrumb::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    top: -150px;
    right: -150px;
    border-radius: 200px;
    border: 80px solid rgba(68, 210, 246, 0.2);
    animation: RotateMoveCircle 10s linear infinite;
    background: transparent;
    z-index: 2 !important;
}

@keyframes RotateMoveCircle {
    0% {
        top: -200px;
    }
    50% {
        right: -100px;
    }
    75% {
        top: -100px;
    }
    100% {
        top: -200px;
    }
}

.bg-breadcrumb::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 1200px;
    top: -150px;
    left: 0;
    margin-left: 160px;
    transform: rotate(-30deg);
    background: rgba(68, 210, 246, 0.2);
    animation: RotateMoveRight 5s linear infinite;
    z-index: 2 !important;
}
/*** Single Page Hero Header End ***/

/*** About Start ***/
.about .text {
    position: relative;
}

.about .text::after {
    content: "";
    width: 4px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--bs-primary);
}
/*** About End ***/

/*** Service Start ***/
.service .service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.3);
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.2);
}

.service .service-item .service-img::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    right: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(68, 210, 246, 0.4);
    transition: 0.5s;
}

.service .service-item:hover .service-img::after {
    width: 100% !important;
    height: 100% !important;
}

.service .service-item .service-content {
    position: relative;
}

.service .service-item .service-content::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-dark);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-content::after {
    width: 100% !important;
    height: 100% !important;
}

.service .service-item .service-content .service-content-inner {
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner {
    position: relative;
    color: var(--bs-white) !important;
    transition: 0.5s;
    z-index: 2;
}

.service .service-item:hover .service-content .service-content-inner a.h4 {
    color: var(--bs-white) !important;
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner a.h6 {
    color: var(--bs-white) !important;
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner p.h6 {
    color: var(--bs-white) !important;
    transition: 0.5s;
}

.service
    .service-item:hover
    .service-content
    .service-content-inner
    a.h4:hover {
    color: var(--bs-primary) !important;
}
/*** Service End ***/

/*** Project Start ***/
.project .project-carousel.owl-carousel {
    height: 100%;
}

.project .project-carousel .project-item {
    position: relative;
    overflow: hidden;
}

.project .project-carousel .project-item .project-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.project .project-carousel .project-item .project-img::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(68, 210, 246, 0.4);
    transition: 0.5s;
}

.project .project-carousel .project-item:hover .project-img::after {
    height: 100%;
}

.project .project-carousel .project-item .project-img img {
    transition: 0.5s;
}

.project .project-carousel .project-item:hover .project-img img {
    transform: scale(1.2);
}

.project .project-carousel .project-item .project-content {
    position: relative;
    width: 75%;
    height: 100%;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.project .project-carousel .project-item .project-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px !important;
    background: var(--bs-dark);
    transition: 0.5s;
}

.project
    .project-carousel
    .project-item
    .project-content
    .project-content-inner {
    position: relative;
    z-index: 2;
}

.project
    .project-carousel
    .project-item:hover
    .project-content
    .project-content-inner
    p,
.project
    .project-carousel
    .project-item:hover
    .project-content
    .project-content-inner
    a.h4,
.project
    .project-carousel
    .project-item:hover
    .project-content
    .project-content-inner
    .project-icon
    i {
    color: var(--bs-white) !important;
    transition: 0.5s;
}

.project
    .project-carousel
    .project-item:hover
    .project-content
    .project-content-inner
    a.h4:hover {
    color: var(--bs-primary) !important;
}

.project .project-carousel .project-item:hover .project-content::after {
    height: 100%;
}

.project-carousel .owl-dots {
    position: absolute;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -120px;
    transition: 0.5s;
}

.project-carousel .owl-dots .owl-dot {
    width: 20px;
    height: 20px;
    border-radius: 20px;
    margin-right: 15px;
    background: var(--bs-dark);
    transition: 0.5s;
}

.project-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 30px;
    border-radius: 40px;
    border: 8px solid var(--bs-primary);
}
/*** Project End ***/

/*** Blog Start ***/
.blog .blog-item .project-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: 0.5s;
}

.blog .blog-item .project-img .blog-plus-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(68, 210, 246, 0.2);
    transition: 0.5s;
    opacity: 0;
}

.blog .blog-item:hover .project-img .blog-plus-icon {
    opacity: 1;
}

.blog .blog-item .project-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .project-img img {
    transform: scale(1.3);
}

/*** Blog End ***/

/*** Team Start ***/
.team .team-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--bs-dark);
    transition: 0.5s;
}

.team .team-item:hover {
    border: none !important;
}

.team .team-item::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
    border: 1px solid;
    border-color: var(--bs-primary) transparent transparent var(--bs-primary) !important;
    z-index: 5;
    transition: 1s;
    opacity: 0;
}

.team .team-item::before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0;
    right: 0;
    border-radius: 10px;
    border: 1px solid;
    border-color: transparent var(--bs-primary) var(--bs-primary) transparent !important;
    z-index: 5;
    transition: 1s;
    opacity: 0;
}

.team .team-item:hover:after,
.team .team-item:hover::before {
    width: 100% !important;
    height: 100% !important;
    opacity: 1;
}

.team .team-item .team-img {
    position: relative;
    overflow: hidden;
}

.team .team-item .team-img::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(68, 210, 246, 0.2);
    transition: 0.5s;
}

.team .team-item:hover .team-img::after {
    height: 100%;
}

.team .team-item .team-img .team-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 8;
    transition: 0.5s;
}

.team .team-item .team-img .team-icon .team-icon-share {
    position: relative;
    margin-top: -200px;
    transition: 0.5s;
    z-index: 9;
}

.team .team-item:hover .team-img .team-icon .team-icon-share {
    margin-top: 0 !important;
}

.team .team-item .team-content {
    position: relative;
}

.team .team-item .team-content::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--bs-primary) !important;
    transition: 0.5s;
}

.team .team-item .team-content::before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0;
    right: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-primary) !important;
    transition: 0.5s;
}

.team .team-item:hover .team-content::after,
.team .team-item:hover .team-content::before {
    width: 100% !important;
    height: 50% !important;
}

.team .team-item:hover .team-content .team-content-inner {
    position: relative;
    color: var(--bs-white);
    z-index: 2;
}

.team .team-item .team-content .team-content-inner h4,
.team .team-item .team-content .team-content-inner p {
    transition: 0.5s;
}

.team .team-item:hover .team-content .team-content-inner p {
    color: var(--bs-white) !important;
}

.team .team-item:hover .team-content .team-content-inner h4 {
    color: var(--bs-dark) !important;
}
/*** Team End ***/

/*** Testimonial Start ***/
.testimonial .testimonial-carousel {
    position: relative;
}

.testimonial .testimonial-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--bs-light);
    border: 1px solid var(--bs-primary);
    border-radius: 10px;
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-dot.active {
    width: 40px;
    background: var(--bs-primary);
}
/*** Testimonial End ***/

/*** FAQ'S Start ***/
.faq {
    position: relative;
    overflow: hidden;
}

.faq::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background-image: url(../img/bg.png);
    object-fit: cover;
    z-index: -1;
}

.faq .faq-img {
    position: relative;
}

.faq .faq-img .faq-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

/*** FAQ'S End ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}
.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: var(--bs-primary);
}

.footer .footer-item-post a {
    transition: 0.5s;
}

.footer .footer-item-post a:hover {
    color: var(--bs-primary) !important;
}

.footer .footer-item-post .footer-btn a {
    transition: 0.5s;
}

.footer .footer-item-post .footer-btn a:hover {
    color: var(--bs-dark);
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark) !important;
}
/*** copyright end ***/

.carousel-caption {
    margin-top: -10%;
}

/* Default untuk layar besar (desktop) */
.search-box {
    bottom: 48%;
}

/* Laptop & tablet besar (max-width: 1200px) */
@media (max-width: 1200px) {
    .search-box {
        bottom: 42%;
    }
}

/* Tablet sedang (max-width: 992px) */
@media (max-width: 992px) {
    .search-box {
        bottom: 43%;
    }
}

/* Tablet kecil / HP besar (max-width: 768px) */
@media (max-width: 768px) {
    .search-box {
        bottom: 37%;
    }
}

/* HP sedang (max-width: 576px) */
@media (max-width: 576px) {
    .search-box {
        bottom: 33%;
    }
}

/* HP kecil (max-width: 400px) */
@media (max-width: 400px) {
    .search-box {
        bottom: 32%;
    }
}

.smarthealth-section {
    /* background: linear-gradient(180deg, #ffffff 60%, #eafaff 100%); */
    background: linear-gradient(180deg, #e4f7f9 60%, #b9e6f4 100%);
    border-radius: 20px;
}

.smart-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.smart-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.smart-card img {
    transition: transform 0.3s ease;
}

.smart-card:hover img {
    transform: scale(1.07);
}

a.text-decoration-none {
    color: inherit;
}

a.text-decoration-none:hover p {
    color: #0d6efd; /* Warna biru Bootstrap untuk teks saat hover */
}

body {
    font-family: "Poppins", sans-serif !important;
}

.menunya {
    font-weight: bold;
}

.news-slider img {
    height: 360px;
    object-fit: cover;
}

.carousel-caption-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(rgba(25, 7, 96, 0.868), transparent);
    padding: 20px;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.caption-content small,
.caption-content h5 {
    color: #fff;
}

.card-news {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.card-news:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* === GALERI DARK SECTION === */
.gallery-section-dark {
    background-color: #0b1a39;
    background-image: linear-gradient(to bottom right, #0b1a39, #132b52);
    overflow: hidden;
}

/* === SLIDER CAPTION === */
.gallery-caption-dark {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    transition: all 0.3s ease;
}

.gallery-caption-dark:hover {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3));
}

/* === BOX WRAPPER === */
.gallery-box-wrapper-dark {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* === CARD LINK === */
.gallery-card-dark {
    background-color: rgba(255, 193, 7, 0.12);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.gallery-card-dark:hover {
    background-color: rgba(255, 193, 7, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.25);
    border-color: rgba(255, 193, 7, 0.5);
}

/* === RESPONSIVE FIX === */
@media (max-width: 768px) {
    .gallery-card-dark {
        padding: 1.5rem !important;
    }
}

.infografis-light-section {
    background: linear-gradient(180deg, #f9f9f9 0%, #fdfdfd 100%);
}

.infografis-light-left h1 {
    line-height: 1.2;
}

/* Perbaikan utama: Menggunakan aspect ratio yang sesuai untuk gambar */
.infografis-light-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.infografis-light-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.infografis-light-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Perbaikan posisi indikator carousel */
.infografis-light-carousel {
    position: relative;
    padding-bottom: 50px; /* Memberi ruang untuk indikator */
}

.carousel-indicators {
    position: absolute;
    margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.carousel-indicators .active {
    opacity: 1;
}

/* Panah navigasi */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
    background-size: 70%;
}

/* Memastikan konten tombol tetap di bawah */
.infografis-light-card .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Perbaikan responsif untuk perangkat kecil */
@media (max-width: 768px) {
    .infografis-light-card img {
        aspect-ratio: 4/3; /* Rasio lebih lebar di perangkat kecil */
    }
}

.pagination-pill .page-link {
    border: none;
    color: #2193b0;
    margin: 0 4px;
    transition: all 0.3s;
}
.pagination-pill .page-link:hover {
    background: #6dd5ed;
    color: #fff;
}
.pagination-pill .page-item.active .page-link {
    background: linear-gradient(90deg, #6dd5ed, #2193b0);
    color: #fff;
}

.hover-shadow:hover {
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.1);
    transform: translateY(-4px);
}

.custom-tabs {
    border-bottom: 2px solid #dee2e6; /* garis bawah seluruh tab */
    gap: 0.5rem;
}

.custom-tabs .nav-link {
    border: 1px solid #dee2e6;
    background: #f8f9fa;
    color: #0d6efd;
    border-radius: 12px 12px 0 0;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(13, 110, 253, 0.05);
}

.custom-tabs .nav-link:not(.active):hover {
    background: #e9f2ff;
    border-color: #bcd0ff;
    color: #0b5ed7;
}

.custom-tabs .nav-link.active {
    background: #ffffff;
    color: #212529;
    border-bottom: 2px solid #ffffff; /* hilangkan garis bawah aktif agar menyatu dengan konten */
    border-color: #0d6efd #dee2e6 #ffffff #dee2e6;
    font-weight: 600;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.custom-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 3px;
    background-color: #0d6efd;
    border-radius: 2px;
}

/* Header table */
.jurnal-table thead {
    background-color: #005d95;
    color: #fff;
    font-weight: 600;
}

.jurnal-table thead th {
    border: none;
    padding: 16px;
}

/* Body */
.jurnal-table tbody tr {
    background-color: #f8f9fa;
    transition: all 0.2s ease;
}

.jurnal-table tbody tr:nth-child(even) {
    background-color: #f2f5f8;
}

.jurnal-table tbody tr:hover {
    background-color: #eaf3ff;
}

.jurnal-table td {
    vertical-align: middle;
    padding: 18px;
    font-size: 15px;
}

.org-card {
    border-radius: 10px;
    transition: all 0.3s ease;
    border: none;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.org-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.org-card img {
    transition: transform 0.3s ease;
}

.org-card:hover img {
    transform: scale(1.1);
}

/* Container grid untuk 4 card */
.kotak-akd-container.kotak-akd-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    justify-items: center;
    align-items: stretch;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Link pembungkus agar seluruh card bisa diklik */
.kotak-akd-link {
    text-decoration: none;
    color: inherit;
    width: 100%;
    display: block;
}

/* Card utama — tinggi seragam */
.kotak-akd {
    background-color: #ffffff;
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Efek hover */
.kotak-akd:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
}

/* Isi card */
.kotak-akd-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 15px;
    text-align: center;
}

/* Gambar di dalam card — ukuran seragam */
.kotak-akd-img {
    width: 100%;
    max-width: 100%;
    height: 180px;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px;
    transition: transform 0.3s ease;
}

/* Efek zoom lembut saat hover */
.kotak-akd:hover .kotak-akd-img {
    transform: scale(1.05);
}

/* Judul card */
.kotak-akd-title {
    font-size: 1rem;
    color: #0a2342;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 5px;
    text-align: center;
}

/* --- Responsif --- */
@media (max-width: 1200px) {
    .kotak-akd-container.kotak-akd-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .kotak-akd-container.kotak-akd-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .kotak-akd-container.kotak-akd-4 {
        grid-template-columns: repeat(2, 1fr); /* jadi 2 kolom di mobile */
    }
    .kotak-akd {
        height: 200px;
    }
    .kotak-akd-img {
        max-width: 100px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .kotak-akd-container.kotak-akd-4 {
        grid-template-columns: repeat(
            2,
            1fr
        ); /* tetap 2 kolom untuk HP kecil */
    }
}

/* === Galeri Custom Style === */
.galeri-heading {
    color: #1b3b6f;
    letter-spacing: 0.5px;
}

.galeri-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeri-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.galeri-img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.galeri-card:hover .galeri-img {
    transform: scale(1.08);
}

.galeri-body {
    background: linear-gradient(135deg, #0a3d62, #1e5799);
    color: #fff;
}

.galeri-body h6 {
    color: #fff;
}

.galeri-btn {
    border: none;
    transition: all 0.3s ease;
}

.galeri-btn:hover {
    background-color: #ffcd38 !important;
    transform: scale(1.05);
}

/* Header */
.galeri-header {
    background: linear-gradient(135deg, #0a3d62, #1e5799);
}

/* Album Grid */
.album-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.album-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.album-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Modal Navigation */
.album-prev,
.album-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.album-prev:hover,
.album-next:hover {
    opacity: 1;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .album-img {
        height: 150px;
    }
}

/* Efek khusus untuk card darurat */
.glow-alert img {
    animation: glow-alert 2s infinite ease-in-out,
        pulse-alert 2s infinite ease-in-out;
    border-radius: 10%;
}

/* Efek cahaya berdenyut */
@keyframes glow-alert {
    0% {
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.3), 0 0 60px rgba(255, 0, 0, 0.3);
    }

    50% {
        box-shadow: 0 0 70px rgba(255, 0, 0, 0.8),
            0 0 140px rgba(255, 0, 0, 0.8);
    }

    100% {
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.3), 0 0 60px rgba(255, 0, 0, 0.3);
    }
}

/* Efek membesar mengecil (bernapas) */
@keyframes pulse-alert {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

/* PERBAIKAN: CSS untuk mengatasi gambar gepeng */
.gallery-image-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* Rasio 16:9 */
    overflow: hidden;
    border-radius: 0.5rem;
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Memastikan gambar tidak terdistorsi */
    object-position: center;
    /* Memusatkan gambar */
}

/* Memastikan carousel item memiliki tinggi yang konsisten */
.gallery-carousel-dark .carousel-item {
    height: 100%;
}

/* Memastikan caption tetap di posisi yang benar */
.gallery-caption-dark {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1.5rem 1.5rem;
    border-radius: 0 0 0.5rem 0.5rem;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 10000;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.4);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
}

/* Card Hover Effect */
.infografis-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.infografis-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Image Container */
.card-img-container {
    border-bottom: 1px solid #e9ecef;
}

/* Pagination Styles */
.pagination .page-link {
    color: #0d6efd;
    border: 1px solid #dee2e6;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.pagination .page-link:hover {
    background-color: #e9ecef;
}



