:root {
    --dark-blue: #12354a;
    --light-yellow: #ffc400;
    --nav-text-color: #ffffff;
    --very-dark-blue: #0a2033;
    --text-dark-custom: #0a2033;
    --detail-product-bg-white: #ffffff;
    --detail-product-border-color: #e0e0e0;
    --light-gray-bg: #f5f5f5;
    --testimonial-card-bg: #cfd4d8;
    --testimonial-arrow-bg: #1f3d53;
    --quote-start-color: #6c7b83;
    --quote-end-color: #6c7b83;
    --testimonial-text-color: #444;
    --contact-info-bg: var(--dark-blue);
    --contact-info-text: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
}

.section-title {
    font-size: 2.5em;
    font-weight: 700;
    display: inline-block !important;
    position: relative;
    padding-bottom: 8px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-dark-custom);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--light-yellow);
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
}

.kembang-kelapa-header {
    background-image: linear-gradient(to right, #0a2033, #12354a);
    z-index: 1000;
    padding: 0;
    height: 90px;
    box-shadow: 0 4px 6px -6px #222;
}

.kembang-kelapa-navbar-container {
    margin: 0 auto;
    padding: 0 30px;
    height: 100%;
}

.logo-custom img {
    height: 60px;
    width: auto;
    align-items: center;
}

.kembang-kelapa-nav-link {
    font-size: 0.9em;
    padding: 0.5rem 1.2rem !important;
    text-transform: uppercase;
    color: var(--nav-text-color) !important;
    position: relative;
    display: inline-block;
    transition: color 0.3s;
    border-bottom: none !important;
    padding-bottom: 0.7rem !important;
    -webkit-transition: color 0.3s;
    -moz-transition: color 0.3s;
    -ms-transition: color 0.3s;
    -o-transition: color 0.3s;
}

.kembang-kelapa-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    background-color: var(--light-yellow);
    width: 0;
    transition: width 0.3s;
}

.kembang-kelapa-nav-link.active::after,
.kembang-kelapa-nav-link:hover::after {
    width: 60%;
}

.hero-section {
    background-image: none;
    background-color: transparent;
    background-size: cover;
    background-position: center;
    height: 100svh;
    position: relative;
    padding-top: 90px;
}

.carousel-item {
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease-in-out;
}

.carousel-item[data-bg-img] {
    background-image: var(--bg-img);
}

.carousel-item:nth-child(1) {
    background-image: url('/img/hero_bg.jpg');
}

.carousel-item:nth-child(2) {
    background-image: url('/img/hero_bg1.jpg');
}

.carousel-item:nth-child(3) {
    background-image: url('/img/hero_bg3.jpg');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 22, 27, 0.715);
}

.hero-content {
    z-index: 10;
    padding: 0 15px;
}

.hero-content h1 {
    font-size: 3.4em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    font-size: 23px;
}

.about-btn {
    background-color: #FFB800;
    border-color: #FFB800;
    transition: background-color 0.3s;
    font-weight: 700 !important;
    font-size: 1.1em !important;
    padding: 0.6rem 3rem !important;
    border-radius: 25px;
    color: #FFFFFF !important;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    -ms-border-radius: 25px;
    -o-border-radius: 25px;
}

.about-btn:hover {
    background-color: #D49500;
    border-color: #D49500;
}

.quote-section {
    background-color: #e6e6e6;
    padding-bottom: 0 !important;
}

.quote-section .container {
    max-width: 900px;
    padding: 0;
}

.quote-section p.lead {
    color: var(--text-dark-custom);
    font-weight: 500;
    font-size: 1.1em;
    padding-top: 1rem;
}

.why-choose-us-container {
    background-color: #6c7b83;
    padding: 2.5rem 1.5rem;
    margin-top: -80px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.info-title {
    color: var(--dark-blue);
    font-weight: 700;
    font-size: 4em;
    margin-bottom: 1.5rem;
    text-shadow:
        -2px -2px 0 white,
        2px -2px 0 white,
        -2px 2px 0 white,
        2px 2px 0 white;
    margin-top: -1.5rem;
}

.info-box {
    height: 80px;
    background-color: #ffffff;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark-custom);
    font-size: 1.3em;
    font-weight: 650;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-section {
    background-color: white;
    overflow: hidden;
}

.product-section {
    background-image: linear-gradient(to bottom, #0a2033, #04304d);
    overflow: hidden;
}

.product-carousel-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    margin-bottom: 30px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-carousel {
    overflow-x: scroll;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 15px;
    gap: 30px;
    display: flex;
    flex-grow: 1;
    padding: 0 15px;
}

.product-carousel::-webkit-scrollbar {
    display: none;
}

.product-card {
    cursor: pointer;
    flex-shrink: 0;
    width: calc(33.33% - 20px);
    height: 370px;
    overflow: hidden;
    border-radius: 5px;
    position: relative;
}

.product-box {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    transition: transform 0.3s ease-in-out;
    background-size: cover;
    background-position: center;
    z-index: 5;
    background-color: var(--dark-blue);
}

.product-card:hover .product-box {
    transform: scale(1.1);
}

.product-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%;
    color: white;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    z-index: 10;
    transition: all 0.3s ease-in-out;
}

.product-title-overlay p {
    margin: 0;
    font-size: 1.1em;
    padding: 0 10px;
    padding-bottom: 8px;
}

.product-card:hover .product-title-overlay {
    background: linear-gradient(to top,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.7) 50%,
            rgba(0, 0, 0, 0) 100%);
}

.product-carousel .product-card:nth-child(1) .product-box {
    background-image: url('/img/cover_product/cover_palang_pintu.png');
}

.product-carousel .product-card:nth-child(2) .product-box {
    background-image: url('/img/cover_product/cover_tari.png');
}

.product-carousel .product-card:nth-child(3) .product-box {
    background-image: url('/img/cover_product/cover_gambang.png');
}

.product-carousel .product-card:nth-child(4) .product-box {
    background-image: url('/img/cover_product/cover_tanjidor.png');
}

.product-carousel .product-card:nth-child(5) .product-box {
    background-image: url('/img/cover_product/cover_ondel_ondel.png');
}

.carousel-arrow {
    font-size: 3em;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 0 10px;
    font-family: Arial, sans-serif;
    font-weight: 900;
    flex-shrink: 0;
    display: block;
}

.detail-product-section-white .row {
    min-height: 250px;
    display: flex;
    align-items: center;
    flex-direction: row !important;
}

.detail-product-section-white:nth-of-type(even) .row {
    flex-direction: row-reverse !important;
}

.detail-product-section-white:nth-of-type(odd) .row {
    flex-direction: row !important;
}

.detail-product-section-white:nth-of-type(odd) {
    background-color: var(--detail-product-bg-white);
}

.detail-product-section-white:nth-of-type(even) {
    background-color: var(--light-gray-bg);
}

.detail-image-grid-white {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 5px;
    width: 100%;
    max-width: 300px;
    height: 300px;
}

.small-image-box {
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 1.5em;
}

.small-image-box.color-1 {
    background-color: #ff5722;
}

.small-image-box.color-2 {
    background-color: #3f51b5;
}

.small-image-box.color-3 {
    background-color: var(--light-yellow);
}

.small-image-box.color-4 {
    background-color: var(--dark-blue);
    color: white;
    font-size: 1em;
}

section[id] {
    scroll-margin-top: 78px;
}

.kembang-kelapa-offcanvas {
    background-image: linear-gradient(to bottom, var(--very-dark-blue), var(--dark-blue));
    color: white;
    z-index: 9999 !important;
    visibility: hidden;
}

.kembang-kelapa-offcanvas .offcanvas-logo {
    height: 40px;
    width: auto;
}

.kembang-kelapa-offcanvas .offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.kembang-kelapa-offcanvas .offcanvas-title {
    display: flex;
    align-items: center;
}

.kembang-kelapa-offcanvas .kembang-kelapa-nav-link {
    padding: 0.8rem 0 !important;
    text-align: center !important;
    font-size: 1.1em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    display: block !important;
    position: relative;
    z-index: 1;
}

.kembang-kelapa-offcanvas .kembang-kelapa-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    background-color: var(--light-yellow);
    width: 0;
    transition: width 0.3s;
}

.kembang-kelapa-offcanvas .kembang-kelapa-nav-link.active::after {
    width: 0 !important;
}

.kembang-kelapa-offcanvas .kembang-kelapa-nav-link.active {
    color: var(--light-yellow) !important;
    font-weight: bold;
    border-bottom: none !important;
}

#testimonial {
    background-color: #6c7b83;
}

.testimonial-custom-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 10px;
    box-shadow: none;
    border-radius: 0;
    background-color: transparent;
}

.testimonial-display-area {
    position: relative;
    width: 100%;
    min-height: 300px;
    background-color: var(--testimonial-card-bg);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 10px;
}

.testimonial-item.active-testimonial {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.testimonial-item.slide-in-next {
    transform: translateX(100%);
}

.testimonial-item.slide-in-prev {
    transform: translateX(-100%);
}

.testimonial-item.active-testimonial.slide-in-next,
.testimonial-item.active-testimonial.slide-in-prev {
    transform: translateX(0);
    opacity: 1;
}

.testimonial-item:not(.active-testimonial) {
    visibility: hidden;
    opacity: 0;
}

.testimonial-content-box {
    position: relative;
    max-width: 80%;
    margin: 0 auto;
    z-index: 2;
    padding: 15px 0;
}

.testimonial-text {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--testimonial-text-color);
    margin: 30px 0 10px 0;
    line-height: 1.6;
    text-transform: uppercase;
    font-style: normal;
}

.testimonial-author {
    font-size: 1em;
    font-weight: 700;
    color: var(--text-dark-custom);
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quote-start,
.quote-end {
    position: absolute;
    font-family: Arial, sans-serif;
    font-weight: 90-0;
    line-height: 1;
    user-select: none;
    z-index: 10;
    opacity: 0.8;
}

.quote-start {
    font-size: 7em;
    top: 15px;
    left: 20px;
    color: var(--quote-start-color);
}

.quote-end {
    font-size: 7em;
    bottom: -30px;
    right: 20px;
    color: var(--quote-end-color);
}

.testimonial-arrow {
    background-color: var(--testimonial-arrow-bg);
    color: white;
    width: 50px;
    height: 70px;
    border-radius: 5px;
    border: none;
    font-size: 1.8em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, transform 0.2s;
    flex-shrink: 0;
    z-index: 10;
    cursor: pointer;
    margin: 0 -25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.testimonial-arrow:hover {
    background-color: var(--dark-blue);
    transform: scale(1.05);
}

#activity {
    background-color: #fff;
}

.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    aspect-ratio: 4 / 3;
}

.gallery-img-custom {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
}

.gallery-item:hover .gallery-img-custom {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

.gallery-img-custom.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}

#contact {
    background-color: #f5f5f5;
}

.contact-card-new {
    max-width: 1100px;
    margin: 0 auto;
    background-color: white;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.contact-info-col-new {
    background-color: white;
    border-right: 1px solid #e0e0e0;
}

.contact-info-col-new .contact-title-custom {
    color: var(--text-dark-custom);
    font-size: 20px;
}

.contact-text-new {
    color: var(--text-dark-custom);
    font-size: 1em;
}

.contact-info-col-new .contact-info li {
    color: var(--text-dark-custom);
    font-size: 1em;
}

.map-box-new iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-image: linear-gradient(to bottom right, #25d366, #128c7e);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-decoration: none !important;
}

.whatsapp-float:hover {
    color: #FFF;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.8);
    background-image: linear-gradient(to bottom right, #25d366, #128c7e);
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: var(--light-yellow) !important;
}

.social-links-custom .social-icon-custom {
    color: white !important;
    text-decoration: none;
    font-size: 1.5em !important;
    margin-right: 10px !important;
    transition: color 0.3s;
}

footer .social-links-custom .social-icon-custom:hover {
    color: var(--light-yellow) !important;
}

@media (max-width: 992px) {

    .about-section p,
    .detail-product-section-white p,
    .quote-section p.lead {
        font-size: 10.5px;
        line-height: 1.75 !important;
    }

    .kembang-kelapa-header .collapse.navbar-collapse {
        display: none !important;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .info-title {
        font-size: 2em;
        font-weight: 700;
        text-shadow:
            -1.4px -1.4px 0 white,
            1.4px -1.4px 0 white,
            -1.4px 1.4px 0 white,
            1.4px 1.4px 0 white;
    }

    .section-title {
        font-size: 1.3em;
    }

    .about-text-content p,
    .col-lg-8 .fs-5 {
        font-size: 1rem !important;
    }

    .detail-product-section-white .row {
        flex-direction: column !important;
    }

    .detail-product-section-white .row>div:first-child {
        order: 2 !important;
    }

    .detail-product-section-white .row>div:last-child {
        order: 1 !important;
        padding-bottom: 1.5rem !important;
    }

    .testimonial-arrow {
        width: 40px;
        height: 50px;
        font-size: 1.2em;
        margin: 0 -20px;
    }

    .testimonial-text {
        font-size: 11px;
        line-height: 1.5;
    }

    .testimonial-author {
        font-size: 0.9em;
    }

    .quote-start {
        font-size: 5em;
        top: 15px;
        left: 15px;
    }

    .quote-end {
        font-size: 5em;
        right: 15px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .contact-info-col-new {
        border-right: none;
    }

    .contact-card-new .map-box-new iframe {
        border-radius: 0 0 8px 8px !important;
    }

    .product-card {
        width: calc(50% - 15px);
    }
}

@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 1.9em;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    .hero-subtitle {
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
        font-size: 16px;
    }

    .about-btn {
        padding: 0.5rem 2rem !important;
        font-size: 1em !important;
    }

    .quote-section .container {
        font-size: 11px;
        max-width: 90%;
    }

    .about-section,
    .py-5:not(#contact):not(#testimonial),
    #contact,
    #testimonial {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .about-section .row>.col-lg-6:nth-child(2) {
        margin-top: 1rem !important;
    }

    .product-carousel-wrapper {
        padding: 0 10px;
        height: 315px;
    }

    .product-carousel {
        padding: 0;
        gap: 20px;
        justify-content: flex-start;
        scroll-snap-type: x mandatory;
    }

    .product-card {
        width: 88%;
        max-width: 350px;
        height: 300px;
        scroll-snap-align: center;
    }

    .carousel-arrow {
        display: block;
    }

    .detail-product-section-white .col-lg-4 {
        order: 1 !important;
        padding-bottom: 1.5rem !important;
    }

    .detail-product-section-white .col-lg-8 {
        order: 2 !important;
        margin-top: 1rem !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .contact-info-col-new .contact-title-custom {
        font-size: 18px;
    }

    .contact-card-new .map-box-new {
        order: 2;
    }

    .contact-card-new .contact-info-col-new {
        order: 1;
        border-radius: 8px 8px 0 0;
    }

    .map-box-new iframe {
        min-height: 300px !important;
    }

    .footer-skk-logo-col {
        width: 100%;
        order: 1;
        text-align: center !important;
    }

    footer .footer-skk-logo-col>div {
        justify-content: center !important;
        margin: 0 auto 10px auto;
    }

    footer .footer-skk-logo-col h5 {
        font-size: 1.2em !important;
    }

    footer .row>.col-lg-2:nth-child(2) {
        width: 50% !important;
        flex: 0 0 auto;
        padding-left: 1.5rem !important;
        order: 2;
    }

    footer .row>.col-lg-4.col-md-4.col-6:nth-child(3) {
        width: 50% !important;
        flex: 0 0 auto;
        padding-left: 1.5rem !important;
        order: 3;
    }

    footer .social-media-desktop-col {
        order: 4;
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: center !important;
        margin-bottom: 0 !important;
    }

    footer .social-media-desktop-col .social-links-custom {
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }

    footer .row>div:not(.social-media-desktop-col) {
        margin-bottom: 1.5rem !important;
    }

    footer .social-media-desktop-col {
        margin-bottom: 1.5rem !important;
    }
}

@media (min-width: 992px) {
    .detail-product-section-white .col-lg-8 {
        padding-right: 1.5rem !important;
        padding-left: 2rem !important;
    }

    .detail-product-section-white .col-lg-4 {
        padding-left: 1.5rem !important;
        padding-right: 2rem !important;
    }

    .detail-product-section-white:nth-of-type(even) .col-lg-8 {
        padding-left: 1.5rem !important;
        padding-right: 2rem !important;
    }

    .detail-product-section-white:nth-of-type(even) .col-lg-4 {
        padding-right: 1.5rem !important;
        padding-left: 2rem !important;
    }

    .detail-image-grid-white {
        max-width: 350px;
    }
}