:root {
    --red-soft: #f7bab4;
    --red: #ff4838;
    --red-dark: #a50e00;
    --black: #1A1A1A;
    --dark-gray: #2D2D2D;
    --light-gray: #F5F5F5;
    --light-gray-2: #e7e7e7;
    --white: #FFFFFF;
    --text-gray: #666666;
    --dw-blue: #2a4ba0;
    --dw-orange: #f7941d;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* Gabungkan selector untuk menaikkan prioritas CSS */
html[lang],
html:root,
html {
    height: auto !important;
    min-height: 100% !important;
}

body {
    height: auto !important;
    min-height: 100% !important;
}

body {
    background-color: #ffffff;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
}

a {
    color: var(--red);
    text-decoration-line: none;
}

.text-red {
    color: var(--red);
}

.text-black {
    color: black !important;
}

.bg-black-1 {
    background-color: rgba(100, 100, 100, 0.1);
}

.bg-black-5 {
    background-color: rgba(100, 100, 100, 0.5);
}

.pl-0 {
    padding-left: 0 !important;
}

.pr-0 {
    padding-right: 0 !important;
}

.btn {
    --bs-btn-color: var(--bs-body-color);
    --bs-btn-border-color: transparent;
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
    color: var(--bs-btn-color);
    border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
}

.btn:hover {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);
}

.btn-check:checked+.btn,
:not(.btn-check)+.btn:active,
.btn:first-child:active,
.btn.active,
.btn.show {
    color: var(--red);
    background-color: var(--red);
    border-color: var(--red);
}

.btn-red {
    background-color: var(--red);
}

.btn-red:hover {
    background-color: var(--red-dark);
}

.btn-outline-red {
    --bs-btn-color: var(--red);
    --bs-btn-border-color: var(--red);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--red);
    --bs-btn-hover-border-color: var(--red);
    --bs-btn-focus-shadow-rgb: var(--red);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--red);
    --bs-btn-active-border-color: var(--red);
}

.btn-black {
    background-color: var(--dark-gray);
}

.btn-black:hover {
    background-color: var(--black);
}

/* Terapkan ke semua section yang memiliki ID */

section {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

section[id] {
    scroll-margin-top: 80px;
    /* Sesuaikan dengan tinggi navbar Anda */
    scroll-behavior: smooth;
    /* Opsional: untuk efek scroll halus */
}

div[id] {
    scroll-margin-top: 90px;
    /* Sesuaikan dengan tinggi navbar Anda */
    scroll-behavior: smooth;
    /* Opsional: untuk efek scroll halus */
}

.top-fixed {
    height: 80px;
}

.bgbg {
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bg-img {
    height: 200px;
    border-radius: 8px 8px 0 0;
}

.form-check-input:checked {
    background-color: var(--red) !important;
    border-color: var(--red) !important;
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
    padding: 0;
    margin: 0 auto 20px auto;
    list-style: none;
    text-align: center;
}

.portfolio .portfolio-filters li {
    cursor: pointer;
    display: inline-block;
    padding: 8px 20px 10px 20px;
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 5px;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    font-family: var(--heading-font);
    color: var(--red-dark);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
    color: var(--red-dark);
    background: color-mix(in srgb, var(--red-soft), transparent 70%);
}

.portfolio .portfolio-filters li:first-child {
    margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
    margin-right: 0;
}

@media (max-width: 575px) {
    .portfolio .portfolio-filters li {
        font-size: 14px;
        margin: 0 0 10px 0;
    }
}

.portfolio .portfolio-item {
    position: relative;
    overflow: hidden;
}

.portfolio .portfolio-item .portfolio-info {
    opacity: 0;
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -100%;
    z-index: 3;
    transition: all ease-in-out 0.5s;
    background: color-mix(in srgb, var(--red-soft), transparent 20%);
    color: white;
    padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
    font-size: 18px;
    font-weight: 600;
    padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    font-size: 14px;
    margin-bottom: 0;
    padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
    position: absolute;
    right: 50px;
    font-size: 24px;
    top: calc(50% - 14px);
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    transition: 0.3s;
    line-height: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
    color: var(--accent-color);
}

.portfolio .portfolio-item .portfolio-info .details-link {
    right: 14px;
    font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
    opacity: 1;
    bottom: 0;
}

.bi-arrow-clockwise {
    display: inline-block;
    /* Memastikan elemen bisa dianimasikan dengan baik */
    animation: putarIcon 2s linear infinite;
    /* Nama animasi, durasi, pergerakan, dan putar selamanya */
}

/* Mengatur pergerakan animasi dari 0 derajat sampai 360 derajat */
@keyframes putarIcon {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.media-hide {
    display: block;
}

.media-show {
    display: none;
}

.border-left {
    border-left: 2px solid #e0e0e0;
}

@media (max-width: 768px) {
    .border-left {
        border-left: none;
    }

    .media-hide {
        display: none;
    }

    .media-show {
        display: block;
    }
}

/* Pastikan navbar memiliki transisi halus */
.navbar-custom {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.navbar-translate {
    top: 0px;
}

.navbar-brand span {
    color: #2a2a2a;
}

.navbar-brand {
    font-weight: 700;
    color: var(--red) !important;
    font-size: 1.5rem;
}

.nav-link {
    color: #2a2a2a;
    margin-left: 15px;
    transition: all 0.3s;
}

/* Kelas untuk menyembunyikan navbar */
.navbar-custom.navbar-hide {
    transform: translateY(-100%);
}

.nav-link:hover,
.nav-link.active,
ul.sub-menu li a {
    color: var(--red) !important;
    border-radius: 5px;
    padding-left: 10px;
}

/* Custom Hamburger Animation (.menu-trigger) */
.menu-trigger {
    cursor: pointer;
    display: block;
    position: relative;
    top: 5px;
    width: 32px;
    height: 40px;
    text-indent: -9999em;
    z-index: 99;
    display: none;
}

.menu-trigger span,
.menu-trigger span:before,
.menu-trigger span:after {
    transition: all 0.4s;
    background-color: var(--red);
    display: block;
    position: absolute;
    height: 2px;
    left: 0;
}

.menu-trigger span {
    top: 16px;
    width: 30px;
}

.menu-trigger span:before,
.menu-trigger span:after {
    content: "";
    width: 75%;
    transition: all 0.4s;
}

.menu-trigger span:before {
    transform-origin: 33% 100%;
    top: -10px;
}

.menu-trigger span:after {
    transform-origin: 33% 0;
    top: 10px;
}

/* Animasi Active (X) */
.menu-trigger.active span {
    background-color: transparent;
}

.menu-trigger.active span:before {
    transform: translateY(6px) translateX(1px) rotate(45deg);
    background-color: var(--red);
    width: 100%;
}

.menu-trigger.active span:after {
    transform: translateY(-6px) translateX(1px) rotate(-45deg);
    background-color: var(--red);
    width: 100%;
}

li.has-sub {
    position: relative;
    /* WAJIB: anchor untuk absolute child */
    display: inline-block;
    /* atau block, sesuaikan layout */
}

/* === SUB MENU CONTAINER (FIXED) === */
li.has-sub ul.sub-menu {
    position: absolute;
    width: 200px;
    box-shadow: 0 2px 28px 0 rgba(0, 0, 0, 0.06);

    /* HAPUS overflow: hidden jika submenu bisa lebih tinggi */
    overflow: visible;
    /* atau hapus property ini */

    top: 100%;
    left: 0;

    /* State awal: tersembunyi */
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    /* Naikkan, jangan -1 */
    transform: translateY(10px);
    /* Kurangi jarak awal */
    transition: all 0.3s ease;

    background: #fff;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Indikator Panah (Fixed: Tambahkan content & hapus duplikasi warna) */
li.has-sub:after {
    /* Gunakan nama yang sesuai dengan versi CDN Anda */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    /* WAJIB untuk ikon solid */
    content: "\f0da";
    font-size: 12px;
    color: var(--red) !important;
    position: absolute;
    right: 0px;
    top: 12px;
    transition: all 0.3s ease;
}

/* Item di dalam Sub Menu */
li.has-sub ul.sub-menu li {
    margin-left: 0px;
    padding-left: 0px;
    padding-right: 0px;
}

/* Link di dalam Sub Menu */
li.has-sub ul.sub-menu li a {
    opacity: 1;
    display: block;
    background: #ffffff;
    color: #2a2a2a !important;
    padding-left: 20px;
    height: 40px;
    line-height: 40px;
    transition: all 0.3s ease 0s;
    position: relative;
    font-size: 13px;
    font-weight: 400;
    border-bottom: 1px solid #eee;
    text-decoration: none;
}

/* Putar panah saat hover */
li.has-sub:hover:after {
    transform: rotate(90deg);
    color: #2a2a2a;
}

/* Hover Effect (Fixed: Selector diperjelas) */
li.has-sub ul.sub-menu li a:hover {
    color: var(--red) !important;
    padding-left: 25px;
    transition: 0.3s ease;
}

/* Statistics Section */
.statistics {
    background: var(--black);
    color: var(--white);
    padding: 5rem 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--red);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

.hero-slide {
    height: 400px;
}

@media (min-width: 769px) {
    .hero-slide {
        height: 500px;
    }
}

/* Services Section */

.owl-home.owl-carousel {
    position: relative;
}

.owl-home.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    padding: 0 1rem;
    z-index: 10;
}

.owl-home.owl-carousel .owl-nav button {
    pointer-events: all;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background-color: rgba(26, 26, 26, 0.7);
    color: #ffffff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.owl-home.owl-carousel .owl-nav button:hover {
    background-color: var(--red);
    border-color: var(--red);
    transform: scale(1.05);
}

.owl-home.owl-carousel .owl-nav button.owl-prev {
    margin-left: 0px;
}

.owl-home.owl-carousel .owl-nav button.owl-next {
    margin-right: 0px;
}

.owl-home.owl-carousel .owl-dots {
    text-align: center;
    margin-top: -100px;
}

.owl-home.owl-carousel .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    margin: 0 6px;
    border-radius: 50%;
    border: 1px solid white;
    background-color: rgba(0, 0, 0, 0.65);
    display: inline-block;
    transition: background-color 0.2s ease, transform 0.2s ease;
    z-index: 10;
    position: relative;
}

.owl-home.owl-carousel .owl-dots .owl-dot.active {
    background-color: var(--red);
    transform: scale(1.15);
}

/*------------------- Batas -------------------------------------*/
.owl-benua.owl-carousel {
    position: relative;
}

.owl-benua.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    padding: 0 1rem;
    z-index: 10;
}

.owl-benua.owl-carousel .owl-nav button {
    pointer-events: all;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background-color: rgba(26, 26, 26, 0.7);
    color: #ffffff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.owl-benua.owl-carousel .owl-nav button:hover {
    background-color: var(--red);
    border-color: var(--red);
    transform: scale(1.05);
}

.owl-benua.owl-carousel .owl-nav button.owl-prev {
    margin-left: -15px;
}

.owl-benua.owl-carousel .owl-nav button.owl-next {
    margin-right: -15px;
}

.owl-benua.owl-carousel .owl-dots {
    text-align: center;
}

.owl-benua.owl-carousel .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    margin: 0 6px;
    border-radius: 50%;
    border: 1px solid white;
    background-color: rgba(0, 0, 0, 0.65);
    display: inline-block;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.owl-benua.owl-carousel .owl-dots .owl-dot.active {
    background-color: var(--red);
    transform: scale(1.15);
}

/*------------------- Batas -------------------------------------*/
.owl-galeri.owl-carousel {
    position: relative;
}

.owl-galeri.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    padding: 0 1rem;
    z-index: 10;
}

.owl-galeri.owl-carousel .owl-nav button {
    pointer-events: all;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background-color: rgba(26, 26, 26, 0.7);
    color: #ffffff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.owl-galeri.owl-carousel .owl-nav button:hover {
    background-color: var(--red);
    border-color: var(--red);
    transform: scale(1.05);
}

.owl-galeri.owl-carousel .owl-nav button.owl-prev {
    margin-left: -15px;
}

.owl-galeri.owl-carousel .owl-nav button.owl-next {
    margin-right: -15px;
}

.owl-galeri.owl-carousel .owl-dots {
    text-align: center;
}

.owl-galeri.owl-carousel .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    margin: 0 6px;
    border-radius: 50%;
    border: 1px solid white;
    background-color: rgba(0, 0, 0, 0.65);
    display: inline-block;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.owl-galeri.owl-carousel .owl-dots .owl-dot.active {
    background-color: var(--red);
    transform: scale(1.15);
}

/*------------------- Batas -------------------------------------*/
.owl-detail.owl-carousel {
    position: relative;
}

.owl-detail.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    padding: 0 1rem;
    z-index: 10;
}

.owl-detail.owl-carousel .owl-nav button {
    pointer-events: all;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background-color: rgba(26, 26, 26, 0.7);
    color: #ffffff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.owl-detail.owl-carousel .owl-nav button:hover {
    background-color: var(--red);
    border-color: var(--red);
    transform: scale(1.05);
}

.owl-detail.owl-carousel .owl-nav button.owl-prev {
    margin-left: -15px;
}

.owl-detail.owl-carousel .owl-nav button.owl-next {
    margin-right: -15px;
}

.owl-detail.owl-carousel .owl-dots {
    text-align: center;
    margin-top: -85px;
    position: relative;
}

.owl-detail.owl-carousel .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    margin: 0 6px;
    border-radius: 50%;
    border: 1px solid white;
    background-color: rgba(0, 0, 0, 0.65);
    display: inline-block;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.owl-detail.owl-carousel .owl-dots .owl-dot.active {
    background-color: var(--red);
    transform: scale(1.15);
}

/* Tambahan custom style untuk tema merah-hitam yang lebih menyatu */
.custom-card {
    border: 2px solid #ff4838;
    /* Border luar warna merah */
    box-shadow: 0 4px 15px rgba(53, 106, 220, 0.2);
    /* Efek shadow merah tipis */
}

.form-control:focus {
    border-color: #f8d0cd;
    box-shadow: 0 0 0 0.25rem rgba(255, 181, 168, 0.25);
}

/* Mengunci posisi awal tombol panah di kanan tengah layar */
.btn-sticky-toggle {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1055;
    /* Di atas offcanvas backdrop */
    border-radius: var(--bs-border-radius-lg) 0 0 var(--bs-border-radius-lg) !important;
    padding: 15px 12px;
    font-size: 20px;
    line-height: 1;
    transition: right 0.3s ease-in-out;
    /* Animasi geser halus */
}

/* Mengatur lebar menu pop-up */
.offcanvas-custom-width {
    width: 280px !important;
    transition: transform 0.3s ease-in-out !important;
    /* Menyamakan speed animasi */
}

/* TRIK: Ketika offcanvas memiliki class .show (terbuka), 
   geser posisi tombol ke kiri sesuai lebar menu (80px) */
.offcanvas.show~.btn-sticky-toggle {
    right: 280px;
}

/* ------------------------- Batas -----------------------------*/

.services {
    background: var(--white);
}

.grid {
    display: grid;
    gap: 2rem;
}

.services .cardx {
    background: var(--white);
    padding-right: 0rem;
    padding-left: 0rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 20%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.cardx ul li {
    list-style: none;
    margin-left: 10px;
    margin-bottom: 5px;
}

.cardx ul li::before {
    /* Gunakan nama yang sesuai dengan versi CDN Anda */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    /* WAJIB untuk ikon solid */
    content: "\f00c";
    font-size: 12px;
    color: var(--red) !important;
    position: relative;
    right: 10px;
}

.services .cardx i {
    font-size: xx-large;
}

.services .cardx span {
    font-size: 17px;
}

.services .cardx p {
    font-size: 12px;
}

.services .cardx img {
    height: 60px;
}

@media (min-width: 768px) {
    .services .cardx {
        padding-right: 2.5rem;
        padding-left: 2.5rem;
    }

    .services .cardx img {
        height: 100px;
    }

    .services .cardx p {
        font-size: 22px;
    }

    .services .cardx span {
        font-size: 22px;
    }
}

.article .cardx {
    background: var(--white);
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 20%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.article .cardx ul li {
    list-style: none;
    margin-left: 10px;
    margin-bottom: 5px;
}

.article .cardx ul li::before {
    /* Gunakan nama yang sesuai dengan versi CDN Anda */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    /* WAJIB untuk ikon solid */
    content: "\f00c";
    font-size: 12px;
    color: var(--red) !important;
    position: relative;
    right: 10px;
}

.article .cardx i {
    font-size: xx-large;
}

.article .cardx span {
    font-size: 17px;
}

.article .cardx .bgbg {
    height: 200px;
}

.article .cardx {
    padding: 2rem;
}

@media (min-width: 768px) {
    .article .cardx span {
        font-size: 22px;
    }
}

.btn-filter.active {
    background-color: var(--red) !important;
    color: white !important;
    border-color: var(--red) !important;
}

.btn-filter {
    border-color: var(--red) !important;
    color: var(--red) !important;
    transition: all 0.3s ease;
}

.btn-filter:hover {
    background-color: rgba(220, 27, 27, 0.1);
}

/* Animasi fade in lembut saat kartu muncul */
.card-filter {
    transition: all 0.3s ease-in-out;
    /* Durasi saat class .active dilepas */
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.service-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    text-align: center;
    padding: 5rem 2rem;
}

.cta h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta p {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Styling tambahan agar mirip gambar */
.card-tour {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(220, 53, 27, 0.15);
    transition: all 0.3s ease;
    border-top: 4px solid var(--red);
}

.card-tour:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(220, 53, 27, 0.25);
}

.card-lokal {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(27, 62, 220, 0.15);
    transition: all 0.3s ease;
    border-top: 4px solid var(--red);
}

.card-lokal:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(27, 62, 220, 0.15);
}

.card-img-container {
    position: relative;
}

.badge-favorite {
    position: absolute;
    top: 15px;
    left: 0;
    background: linear-gradient(139deg, #fff700 0%, #f99600 100%);
    color: white;
    padding: 4px 18px;
    font-size: 15px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    box-shadow: 0 2px 8px rgba(220, 53, 27, 0.3);
    text-shadow: 2px 1px 3px black;
}

.card-overlay-text a {
    color: white !important;
}

.card-overlay-text a:hover {
    color: yellow !important;
}

.card-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-weight: bold;
    font-size: 15px;
    text-align: justify;
}

.card-footer-custom {
    background: var(--red);
    color: white;
    padding: 18px 20px;
}

.card-footer-lokal {
    background: var(--red);
    color: white;
    padding: 18px 20px;
}

#paket_tour .card-tour {
    border-radius: 16px;
}

#paket_tour .card-footer-custom {
    border-radius: 0 0 16px 16px;
}

.price-label {
    font-size: 10px;
    margin-bottom: 0;
    opacity: 0.95;
    letter-spacing: 0.5px;
}

.price-value {
    font-size: 18px;
    color: #ffffff;
}

.tour-tag {
    font-size: 10px;
    text-align: right;
    text-transform: uppercase;
    opacity: 0.9;
    letter-spacing: 1px;
}

.departure-text {
    font-size: 13px;
    text-align: right;
    opacity: 0.95;
}

/* Footer */
.custom-footer {
    background-color: #333333;
    /* Warna gelap footer */
    color: #ffffff;
    font-family: Arial, sans-serif;
    padding: 30px 0;
}

.footer-heading {
    color: #FFC107;
    /* Warna kuning emas sesuai gambar */
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-link-list {
    list-style: none;
    padding: 0;
}

.footer-link-list li {
    margin-bottom: 10px;
}

.footer-link-list a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-link-list a:hover {
    color: #FFC107;
}

/* Garis vertikal di sebelah kanan */
.vertical-divider {
    border-left: 1px solid #666;
    height: 100%;
    padding-left: 30px;
}

/* Style icon sosial media */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    margin: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.social-icon:hover {
    background-color: #ffffff;
    color: #333333;
}

.copyright-text {
    font-size: 0.8rem;
    color: #ffffff;
    margin-top: 30px;
}

.copyright-text a {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid #5c5c5c;
    color: var(--light-gray);
}

.scroll-top {
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background-color: #00e969;
    width: 64px;
    height: 64px;
    border-radius: 50px;
    transition: all 0.4s;
}

.scroll-top a {
    text-decoration: none;
}

.scroll-top:hover {
    background-color: color-mix(in srgb, #00e969, transparent 20%);
}

.timeline {
    position: relative;
    margin: 0 auto;
    padding-left: 30px;
}

/* Garis Vertikal - Height akan diatur oleh JavaScript */
.timeline::before {
    content: '';
    position: absolute;
    left: 58px;
    width: 3px;
    background-color: var(--red);
    top: 20px;
}

.timeline-item {
    display: block;
    position: relative;
    margin-bottom: 5rem;
}

.timeline-content {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    padding-left: 70px;
    text-align: left;
}

.timeline-content p {
    padding-left: 15px;
    padding-right: 15px;
}

.timeline-content p span {
    font-weight: bold;
}

.timeline-content.left {
    text-align: left;
}

.label-title {
    display: block;
}

.box-detail a {
    color: #47b2e4 !important;
}

.box-detail span {
    background-color: #0065a8;
    color: white;
    border-radius: 4px;
    padding: 4px;
    font-weight: 100;
    font-size: 17px;
}

.box-detail {
    display: inline-block;
    padding: 8px 8px;
    border: 3px solid var(--red-dark);
    color: #000000;
    border-radius: 10px;
    margin-bottom: 10px;
    /* Jarak jika ada kotak baru di bawahnya */
    background: white;
    font-size: 0.95rem;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 17px;
    font-weight: bold;
}

.timeline-dot {
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: var(--red);
    border-radius: 50%;
    z-index: 5;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.area-card {
    text-align: center;
    padding: 1.8rem;
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s;
    position: relative;
}

.area-card.priority {
    border-color: var(--red);
    background: linear-gradient(135deg, #fff9f5 0%, #fff 100%);
}

.area-card.priority::after {
    content: '★';
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--red);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.area-card:hover {
    border-color: var(--red);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(255, 107, 0, 0.15);
}

.area-card i {
    font-size: 2rem;
    color: var(--red);
    margin-bottom: 0.8rem;
}

.area-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.area-card p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* Testimonials Section - NEW */
.testimonials {
    background: var(--white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--red);
}

.testimonial-card .quote {
    font-size: 3rem;
    color: var(--red);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: -1rem;
}

.testimonial-card p {
    color: var(--text-gray);
    font-style: italic;
    margin-bottom: 1.2rem;
    line-height: 1.7;
    font-size: 0.85rem;
}

.testimonial-card .client {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-card .client-info strong {
    display: block;
    color: var(--black);
    font-size: 1rem;
    margin-top: 10px;
}

.testimonial-card .client-info span {
    color: var(--red);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Modal Styles */
.modalx {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-contentx {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
}

.close {
    margin-right: auto;
    margin-left: auto;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    display: contents;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Desktop */
@media (min-width: 769px) {
    .timeline-content.right .timeline-dot {
        display: none;
    }

    .timeline-content.left .timeline-dot {
        left: 18px;
        top: 15px;
        transform: none;
    }

}

/* Mobile */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px !important;
        transform: none;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-content {
        width: 100%;
        text-align: left !important;
        padding-left: 30px;
        margin-bottom: 40px;
    }

    .timeline-dot {
        left: -10px;
        top: 15px;
    }

    .timeline-content.left {
        text-align: left;
    }


}

/* Logika Hover Desktop (Munculkan Menu) */
@media (min-width: 992px) {

    /* Saat hover di LI, munculkan submenu */
    li.has-sub:hover>ul.sub-menu {
        opacity: 1;
        visibility: visible;
        z-index: 999;
        transform: translateY(0);
        pointer-events: auto;
        /* Aktifkan interaksi saat visible */
    }

    /* Optional: Tambahkan delay kecil agar tidak flicker */
    li.has-sub ul.sub-menu {
        transition-delay: 0.1s;
    }

    .col-20 {
        flex: 0 0 auto;
        width: 20%;
    }

}

/* Tampilan Mobile */
@media (max-width: 991px) {
    .menu-trigger {
        display: block !important;
    }

    /* Reset posisi sub-menu agar flow-nya turun ke bawah */
    li.has-sub ul.sub-menu {
        position: relative;
        visibility: visible;
        opacity: 1;
        z-index: 1;
        transform: translateY(0);
        top: 0;
        width: 100%;
        box-shadow: none;
        height: auto;
        max-height: 0;
        /* Untuk animasi slide */
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    /* Saat hover/active di mobile, buka menu */
    li.has-sub:hover ul.sub-menu,
    li.has-sub.active ul.sub-menu {
        max-height: 500px;
        /* Nilai cukup besar untuk menampung isi */
    }

    /* Penyesuaian Panah Mobile */
    li.has-sub:after {
        color: #3B566E;
        right: 30px;
        font-size: 14px;
        top: 15px;
    }

    li.has-sub ul.sub-menu li a {
        height: auto;
        line-height: 1.5;
        padding: 10px 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-content {
        max-width: unset;
        width: 100%;
    }
}

.judul {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    position: relative;
    z-index: 10;
    background-color: white;
    padding: 35px;
}

/* About Section */
.about {
    background: white;
    padding-top: 50px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-highlight {
    background: rgba(255, 107, 0, 0.1);
    border-left: 3px solid var(--red);
    padding: 1.2rem;
    margin: 1.5rem 0;
    border-radius: 0 5px 5px 0;
}

/* Styling untuk section-edge */
.section-edge {
    padding: 6rem 2rem;
}

#paket_tour>.container>div:first-child {
    margin-bottom: 2.5rem;
}

#paket_tour h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 1rem;
}

#paket_tour h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--red) 0%, var(--red) 50%, transparent 100%);
    border-radius: 2px;
}

#paket_tour>.container>div:first-child>p {
    font-size: 1.05rem;
    color: var(--text-gray);
    margin-top: 0.8rem;
}

.edge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.edge-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--red);
    box-shadow: 0px 0px 15px rgb(0 0 0 / 25%);
    transition: transform 0.3s;
}

.edge-card:hover {
    transform: translateY(-5px);
}

.edge-card i {
    font-size: 2.5rem;
    color: var(--red);
    margin-bottom: 1.2rem;
}

.edge-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--black);
}

.edge-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 991px) {

    .about-content {
        grid-template-columns: 1fr;
    }

    .stat-item h3 {
        font-size: 2.5rem;
        font-weight: 800;
        color: var(--red);
        margin-bottom: 0.5rem;
    }

    .stat-item p {
        font-size: 15px;
        font-weight: 500;
        opacity: 1;
    }

}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    text-align: center;
    padding-bottom: 20px;
    position: relative;
}

.section-title h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    text-transform: uppercase;
    position: relative;
}

@media (min-width: 768px) {
    .section-title h2 {
        font-size: 32px;
    }
}

.section-title h2:before {
    content: "";
    position: absolute;
    display: block;
    width: 160px;
    height: 1px;
    background: var(--red-soft);
    left: 0;
    right: 0;
    bottom: 1px;
    margin: auto;
}

.section-title h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 60px;
    height: 4px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background: var(--red);
}

.section-title2 {
    text-align: center;
    padding-bottom: 20px;
    position: relative;
}

.section-title2 h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    text-transform: uppercase;
    position: relative;
    letter-spacing: 3px;
}

.section-title2 h2:before {
    content: "";
    position: absolute;
    display: block;
    width: 160px;
    height: 1px;
    left: 0;
    right: 0;
    bottom: 1px;
    margin: auto;
    background: rgb(255, 255, 255);
}

.section-title2 h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 60px;
    height: 4px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background: #ffffff;
}

/* Wrapper utama */
.slider-wrapper {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1rem;
}

/* Container slider - area yang "dilihat" user */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* ⚠️ Penting: sembunyikan konten yang overflow */
    cursor: grab;

    /* Mobile optimization */
    touch-action: pan-y;
    /* Izinkan scroll vertikal, blokir horizontal */
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

.slider-container:active {
    cursor: grabbing;
}

/* Track - elemen yang digerakkan/animated */
.slider-track {
    display: flex;
    /* ⚠️ Penting: item berbaris horizontal */
    width: fit-content;
    /* ⚠️ Penting: lebar mengikuti konten */
    will-change: transform;
    /* Optimasi performa animasi */

    /* Reset default spacing */
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Item slider - setiap box/kartu */
.slider-item {
    flex: 0 0 auto;
    /* ⚠️ Penting: jangan shrink/expand */
    width: 300px;
    /* Sesuaikan lebar item */
    height: 200px;
    /* Sesuaikan tinggi item */
    margin-right: 1rem;
    /* Jarak antar item */

    border: 3px solid white;
    /* Styling visual (opsional) */
    border-radius: 10px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Label slider */
.slider-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    display: none;
    /* Sembunyi secara default */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Class Jika Sukses */
.success-box {
    display: block !important;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    padding: 6px;
}

/* Class Jika Gagal */
.error-box {
    display: block !important;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 6px;
}