/*** 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: var(--bs-white);
    border: none;
    background: #5A2F2F; /* Coklat utama */
}

.btn.btn-primary:hover {
    background: #3a1f1f; /* Coklat tua */
    color: var(--bs-white);
}

.btn.btn-light {
    color: #5A2F2F; /* Coklat utama */
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: #3a1f1f; /* Coklat tua */
}

.btn.btn-dark {
    color: var(--bs-white);
    border: none;
}

.btn.btn-dark:hover {
    color: #5A2F2F; /* Coklat utama */
    background: #e0d0c0; /* Coklat muda */
}


/*** Topbar Start ***/

.topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: #5A2F2F; /* Coklat utama */
}

.topbar .dropdown .dropdown-menu a:hover {
    background: #5A2F2F; /* Coklat utama */
    color: var(--bs-white);
}

.topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 10px;
    border: 0;
    transition: .5s;
    opacity: 1;
}


/*** Topbar End ***/


/*** Navbar Start ***/

.nav-bar {
    background: var(--bs-white);
    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;
}

.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: #5A2F2F; /* Coklat utama */
}

@media (max-width: 991px) {
    .navbar {
        padding: 20px 0;
    }
    .navbar .navbar-nav .nav-link {
        padding: 0;
    }
    .navbar .navbar-nav .nav-item {
        display: flex;
        padding: 20px;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }
    .navbar .navbar-nav .nav-btn {
        display: flex;
        justify-content: start;
    }
    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        margin-top: 20px;
        padding-bottom: 20px;
        background: #f5f0eb; /* Coklat sangat muda */
        border-radius: 10px;
    }
    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 8px 15px;
        border: 1px solid #5A2F2F; /* Coklat utama */
        color: #5A2F2F; /* Coklat utama */
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu .dropdown-item:hover {
    background: #5A2F2F; /* Coklat utama */
    color: var(--bs-white);
}

@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: #f5f0eb; /* Coklat sangat muda */
        border-radius: 10px;
    }
    .navbar .navbar-nav .nav-btn {
        width: 100%;
        display: flex;
        margin-left: auto;
    }
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }
    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        margin-top: 20px;
        background: #f5f0eb; /* Coklat sangat muda */
        transition: .5s;
        opacity: 1;
    }
}


/*** Navbar End ***/


/*** Carousel Hero Header Start ***/

.header-carousel .header-carousel-item {
    height: 700px;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background: #f5f0eb; /* Coklat sangat muda */
    color: #5A2F2F; /* Coklat utama */
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 30px;
}

.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    right: 50%;
    transform: translateX(-50%);
    margin-right: 30px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 100px 0 #3a1f1f; /* Coklat tua */
    color: var(--bs-white);
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
    }
    .header-carousel .header-carousel-item {
        height: 1300px;
    }
}

@media (max-width: 767px) {
    .header-carousel .header-carousel-item {
        height: 950px;
    }
    .header-carousel .owl-nav .owl-prev {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: -45px;
    }
    .header-carousel .owl-nav .owl-next {
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 45px;
    }
}


/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/

.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(90, 47, 47, 0.9), rgba(0, 0, 0, 0.2)), url(../img/bg-breadcrumb.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 60px 0 60px 0;
    transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}


/*** Single Page Hero Header End ***/


/*** Feature Start ***/

.feature .feature-item {
    border-radius: 10px;
    background: var(--bs-white);
    transition: 0.5s;
}

.feature .feature-item:hover {
    background: #5A2F2F; /* Coklat utama */
}

.feature .feature-item .feature-icon {
    position: relative;
    width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: #f5f0eb; /* Coklat sangat muda */
}

.feature .feature-item:hover .feature-icon i {
    z-index: 9;
}

.feature .feature-item .feature-icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: #3a1f1f; /* Coklat tua */
    transition: 0.5s;
    z-index: 1;
}

.feature .feature-item:hover .feature-icon::after {
    height: 100%;
}

.feature .feature-item .feature-icon {
    color: #5A2F2F; /* Coklat utama */
}

.feature .feature-item .feature-icon,
.feature .feature-item h4,
.feature .feature-item p {
    transition: 0.5s;
}

.feature .feature-item:hover .feature-icon {
    color: var(--bs-white);
}

.feature .feature-item:hover h4,
.feature .feature-item:hover p {
    color: var(--bs-white);
}

.feature .feature-item:hover a.btn {
    background: var(--bs-white);
    color: #5A2F2F; /* Coklat utama */
}

.feature .feature-item:hover a.btn:hover {
    background: #3a1f1f; /* Coklat tua */
    color: var(--bs-white);
}


/*** Feature End ***/


/*** Service Start ***/

.service .service-item {
    border-radius: 10px;
}

.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.1);
}

.service .service-item .service-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(90, 47, 47, .2); /* Coklat transparan */
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-img::after {
    height: 100%;
}

.service .service-item .service-img .service-icon {
    position: absolute;
    width: 70px;
    bottom: 0;
    right: 25px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: #f5f0eb; /* Coklat sangat muda */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 9;
}

.service .service-item .service-img .service-icon i {
    color: #5A2F2F; /* Coklat utama */
    transition: 0.5s;
}

.service .service-item:hover .service-img .service-icon i {
    transform: rotateX(360deg);
    color: var(--bs-white);
}

.service .service-item:hover .service-img .service-icon {
    bottom: 0;
    color: var(--bs-white);
    background: #5A2F2F; /* Coklat utama */
}

.service .service-content {
    position: relative;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: #f5f0eb; /* Coklat sangat muda */
}

.service .service-item .service-content .service-content-inner {
    position: relative;
    z-index: 9;
}

.service .service-item .service-content .service-content-inner .h4,
.service .service-item .service-content .service-content-inner p {
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner .h4,
.service .service-item:hover .service-content .service-content-inner p {
    color: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary {
    color: #5A2F2F; /* Coklat utama */
    background: var(--bs-white);
}

.service .service-item:hover .service-content .service-content-inner .btn.btn-primary:hover {
    color: var(--bs-white);
    background: #3a1f1f; /* Coklat tua */
}

.service .service-item:hover .service-content .service-content-inner .h4:hover {
    color: #3a1f1f; /* Coklat tua */
}

.service .service-item .service-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: #5A2F2F; /* Coklat utama */
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-content::after {
    height: 100%;
}


/*** Service End ***/


/*** FAQs Start ***/

.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--bs-white);
    background: rgba(90, 47, 47, .8); /* Coklat transparan */
    font-size: 18px;
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: #5A2F2F; /* Coklat utama */
    background: #f5f0eb; /* Coklat sangat muda */
}


/*** FAQs End ***/


/*** Blog Start ***/

.blog .blog-item {
    border-radius: 10px;
    transition: 0.5s;
}

.blog .blog-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
}

.blog .blog-item:hover .blog-content {
    background: var(--bs-white);
}

.blog .blog-item .blog-img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
    overflow: hidden;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(90, 47, 47, .2); /* Coklat transparan */
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
}

.blog .blog-item .blog-img .blog-categiry {
    position: absolute;
    bottom: 0;
    right: 0;
    border-top-left-radius: 10px;
    display: inline-flex;
    color: var(--bs-white);
    background: #5A2F2F; /* Coklat utama */
    z-index: 9;
}

.blog .blog-item .blog-content {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: #f5f0eb; /* Coklat sangat muda */
}

.blog .blog-item .blog-content a.btn {
    color: #3a1f1f; /* Coklat tua */
}

.blog .blog-item:hover .blog-content a.btn:hover {
    color: #5A2F2F; /* Coklat utama */
}


/*** Blog End ***/


/*** Team Start ***/

.team .team-item .team-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.team .team-item .team-img img {
    transition: 0.5s;
}

.team .team-item:hover .team-img img {
    transform: scale(1.1);
}

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: 0.5s;
}

.team .team-item:hover .team-img::after {
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

.team .team-item .team-img .team-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    margin-bottom: -100%;
    transition: 0.5s;
    z-index: 9;
}

.team .team-item:hover .team-img .team-icon {
    margin-bottom: 0;
}

.team .team-item .team-title {
    color: var(--bs-white);
    background: #5A2F2F; /* Coklat utama */
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition: 0.5s;
}

.team .team-item .team-title h4 {
    color: var(--bs-white);
}

.team .team-item:hover .team-title {
    background: #3a1f1f; /* Coklat tua */
}


/*** Team End ***/


/*** Testimonial Start ***/

.testimonial-carousel .owl-stage-outer {
    margin-top: 58px;
    margin-right: -1px;
}

.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    left: 0;
    background: #5A2F2F; /* Coklat utama */
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: #3a1f1f; /* Coklat tua */
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 0;
    background: #5A2F2F; /* Coklat utama */
    color: var(--bs-white);
    padding: 5px 30px;
    border-radius: 30px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: #3a1f1f; /* Coklat tua */
    color: var(--bs-white);
}


/*** Testimonial End ***/


/*** Contact Start ***/

.contact .contact-img {
    position: relative;
}

.contact .contact-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
    animation-name: image-efects;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    transition: 0.5s
}

@keyframes image-efects {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 35% 65% 27% 73% / 71% 25% 75% 29%;
    }
    50% {
        border-radius: 41% 59% 45% 55% / 32% 21% 79% 68%;
    }
    75% {
        border-radius: 69% 31% 39% 61% / 70% 83% 17% 30%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

.contact .contact-img .contact-img-inner {
    position: relative;
    z-index: 9;
}


/*** Contact End ***/


/*** Footer Start ***/

.footer {
    background: #3a1f1f; /* Coklat tua */
}

.footer .footer-item {
    display: flex;
    flex-direction: column;
}

.footer .footer-item a {
    line-height: 35px;
    color: #e0d0c0; /* Coklat muda */
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
    color: #e0d0c0; /* Coklat muda */
}

.footer .footer-item a:hover {
    color: var(--bs-white);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: #5A2F2F; /* Coklat utama */
}

.footer .footer-item .footer-instagram {
    position: relative;
    overflow: hidden;
}

.footer .footer-item .footer-instagram img {
    transition: 0.5s;
}

.footer .footer-item .footer-instagram:hover img {
    transform: scale(1.2);
}

.footer .footer-item .footer-instagram .footer-search-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    opacity: 0;
}

.footer .footer-item .footer-instagram:hover .footer-search-icon {
    opacity: 1;
    background: rgba(0, 0, 0, .6);
}

.footer .footer-item .footer-btn a {
    background: #5A2F2F; /* Coklat utama */
    color: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover {
    background: #e0d0c0; /* Coklat muda */
}

.footer .footer-item .footer-btn a:hover i {
    color: #5A2F2F; /* Coklat utama */
}


/*** Footer End ***/


/*** copyright Start ***/

.copyright {
    background: #2d1919; /* Coklat sangat tua */
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: #e0d0c0; /* Coklat muda */
}

.text-brown {
    color: #5A2F2F !important; /* Warna coklat utama */
}

.border-brown {
    border-color: #5A2F2F !important; /* Untuk border */
}

.text-brown {
    color: #773506; /* SaddleBrown */
}

/*** LOGBERITA Start ***/
.LOGBERITA {
    background: #f9f5f0;
}

.LOGBERITA-item {
    background: var(--bs-white);
    border-radius: 10px;
    overflow: hidden;
    transition: 0.5s;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.LOGBERITA-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.LOGBERITA-item .LOGBERITA-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.LOGBERITA-item .LOGBERITA-content .h4 {
    color: #5A2F2F;
    transition: 0.3s;
}

.LOGBERITA-item .LOGBERITA-content .h4:hover {
    color: #3a1f1f;
}

.LOGBERITA-item .LOGBERITA-content p {
    margin-bottom: 10px;
}

.LOGBERITA-item .LOGBERITA-content .btn-link {
    color: #5A2F2F;
    text-decoration: none;
}

.LOGBERITA-item .LOGBERITA-content .btn-link:hover {
    color: #3a1f1f;
    text-decoration: underline;
}

/*** LOGBERITA End ***/



/*** copyright end ***/

/* LOGBERITA Section Styles */
.LOGBERITA {
    background-color: #f9f5f0; /* Warna background sesuai tema */
}

.LOGBERITA .text-brown {
    color: #8B4513; /* Warna coklat untuk judul */
}

.LOGBERITA .LOGBERITA-list {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.LOGBERITA .LOGBERITA-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.LOGBERITA .LOGBERITA-item:last-child {
    border-bottom: none;
}

.LOGBERITA .LOGBERITA-item:hover {
    background-color: #f1f1f1;
    transform: translateY(-3px);
}

.LOGBERITA .btn-outline-brown {
    color: #8B4513;
    border-color: #8B4513;
}

.LOGBERITA .btn-outline-brown:hover {
    color: white;
    background-color: #8B4513;
}

.service-item {
    margin-bottom: 30px;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
}

.service-img {
    position: relative;
}

.service-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #8B4513;
    color: white;
    border-radius: 10px 0 0 0;
}

.service-content {
    background: white;
}

.service-content-inner {
    padding: 20px;
}


/* Layanan Custom Styles */
.layanan-hero {
    background: linear-gradient(rgba(139, 69, 19, 0.8), rgba(139, 69, 19, 0.8)), url('../img/carousel-1.jpg') center center no-repeat;
    background-size: cover;
}

.layanan-section {
    background: linear-gradient(135deg, #f9f5f0 0%, #f1e8df 100%);
}

/* Grid system untuk 5 kolom */
.col-xl-2-4 {
    flex: 0 0 auto;
    width: 20%;
}

/* Warna maroon sebagai pengganti coklat */
.text-maroon {
    color: #8B4513 !important;
}

.btn-maroon {
    background-color: #8B4513;
    border-color: #8B4513;
    color: white;
}

.btn-maroon:hover {
    background-color: #6B3410;
    border-color: #6B3410;
    color: white;
}

.btn-outline-maroon {
    color: #8B4513;
    border-color: #8B4513;
}

.btn-outline-maroon:hover {
    background-color: #8B4513;
    color: white;
}

/* Card styles */
.layanan-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.layanan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.15);
}

.layanan-img {
    position: relative;
    overflow: hidden;
    height: 160px;
}

.layanan-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.layanan-card:hover .layanan-img img {
    transform: scale(1.05);
}

.layanan-icon {
    position: absolute;
    bottom: -20px;
    right: 15px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.layanan-icon i {
    color: #8B4513;
}

.layanan-content {
    padding: 20px;
}

.layanan-content-inner h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #333;
    min-height: 54px;
}

.layanan-content-inner p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    min-height: 88px;
}

/* CTA Section */
.layanan-cta {
    background: linear-gradient(rgba(139, 69, 19, 0.05), rgba(139, 69, 19, 0.05)), url('../img/carousel-2.png') center center no-repeat;
    background-size: cover;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .col-xl-2-4 {
        width: 25%;
    }
}

@media (max-width: 992px) {
    .col-xl-2-4 {
        width: 33.333333%;
    }
}

@media (max-width: 768px) {
    .col-xl-2-4 {
        width: 50%;
    }
}

@media (max-width: 576px) {
    .col-xl-2-4 {
        width: 100%;
    }
    
    .layanan-content-inner h4 {
        min-height: auto;
    }
    
    .layanan-content-inner p {
        min-height: auto;
    }
}

/* Styles untuk section agenda */
.unique-agenda-section {
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('../img/pattern.png');
    background-size: cover;
    background-position: center;
}

.unique-agenda-nav .nav-link {
    color: #8B4513;
    border: 2px solid #8B4513;
    margin: 0 5px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.unique-agenda-nav .nav-link.active {
    background: #8B4513;
    color: white;
}

.unique-agenda-nav .nav-link:hover:not(.active) {
    background: rgba(139, 69, 19, 0.1);
}

.agenda-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.agenda-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.agenda-date {
    background: #8B4513;
    color: white;
    padding: 15px;
    text-align: center;
    position: relative;
}

.date-day {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 5px 0;
}

.date-year {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
}

.agenda-image {
    position: relative;
    overflow: hidden;
}

.agenda-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.agenda-card:hover .agenda-image img {
    transform: scale(1.05);
}

.agenda-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(139, 69, 19, 0.9);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.agenda-content {
    padding: 20px;
}

.agenda-content h4 {
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.3;
}

.agenda-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}

.agenda-meta span {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.agenda-content p {
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
}

.agenda-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.agenda-status.upcoming {
    background: #fffbeb;
    color: #d97706;
}

.agenda-status.ongoing {
    background: #ecfdf5;
    color: #059669;
}

.agenda-status.announcement {
    background: #e0f2fe;
    color: #0369a1;
}

.agenda-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #8B4513;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.agenda-btn:hover {
    background: #6b3410;
    color: white;
    transform: translateX(5px);
}

.calendar-view-toggle .btn {
    border-color: #8B4513;
    color: #8B4513;
}

.calendar-view-toggle .btn.active {
    background: #8B4513;
    color: white;
}

.calendar-view-toggle .btn:hover:not(.active) {
    background: rgba(139, 69, 19, 0.1);
}

/* Owl Carousel Custom */
.unique-agenda-carousel .owl-stage {
    display: flex;
    padding: 20px 0;
}

.unique-agenda-carousel .owl-item {
    display: flex;
    height: 100%;
}

.unique-agenda-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.unique-agenda-carousel .owl-prev,
.unique-agenda-carousel .owl-next {
    background: #8B4513 !important;
    color: white !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

.unique-agenda-carousel .owl-prev:hover,
.unique-agenda-carousel .owl-next:hover {
    background: #6b3410 !important;
}

.unique-agenda-carousel .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.unique-agenda-carousel .owl-dot span {
    background: #d1d5db !important;
}

.unique-agenda-carousel .owl-dot.active span {
    background: #8B4513 !important;
}

/* Styles untuk detail agenda */
.agenda-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.agenda-status.upcoming {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fbbf24;
}

.agenda-status.ongoing {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #10b981;
}

.agenda-status.completed {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.agenda-status.cancelled {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fca5a5;
}

.agenda-status-small {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.agenda-status-small.upcoming {
    background: #fffbeb;
    color: #d97706;
}

.agenda-status-small.ongoing {
    background: #ecfdf5;
    color: #059669;
}

.agenda-content .content-text {
    line-height: 1.8;
    color: #555;
    font-size: 1.05rem;
}

.agenda-content .content-text p {
    margin-bottom: 1.2rem;
}

.agenda-content .content-text h1,
.agenda-content .content-text h2,
.agenda-content .content-text h3,
.agenda-content .content-text h4,
.agenda-content .content-text h5,
.agenda-content .content-text h6 {
    color: #8B4513;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.agenda-content .content-text ul,
.agenda-content .content-text ol {
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
}

.agenda-content .content-text li {
    margin-bottom: 0.5rem;
}

.agenda-content .content-text blockquote {
    border-left: 4px solid #8B4513;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #666;
}

.agenda-content .content-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.btn-outline-brown {
    color: #8B4513;
    border-color: #8B4513;
}

.btn-outline-brown:hover {
    background-color: #8B4513;
    color: white;
}

/* Animation for content */
.content-text {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 200px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}