:root,
[data-bs-theme=light] {
    --base-color: #104a97;
    --very-light-base-color: #f7f7f7;
    --second-color: #104a97;
    --third-color: #104a97;
    --four-color: #3f78e0;
}

.bg-base-color {
    background-color: var(--base-color);
}

.bg-very-light-base-color {
    background-color: var(--very-light-base-color);
}

.bg-second-color {
    background-color: var(--second-color);
}

.bg-utama {
    background-color: var(--base-color);
}

.bg-hitam {
    background-color: black;
}

.bg-putih {
    background-color: white;
}

.text-utama {
    color: var(--base-color);
}

.text-putih {
    color: white;
}

.text-hitam {
    color: black;
}

.text-base-color {
    color: var(--base-color);
}

.text-second-color {
    color: var(--second-color);
}

.background-soft-blue {
  background-color: #104a970f;
}

.background-welcome {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.background-welcome::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.8) 10%,
      rgba(255,255,255,0.4) 50%,
      rgba(255,255,255,0.8) 75%,
      rgba(255,255,255,1) 100%
    ),
    url("../Aset Desain/bg/10.webp");

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  opacity: 0.09;

  z-index: -1;   /* UBAH dari -1 ke 0 */
}


.background-brands {
  position: relative;
  background-image: url("../Aset Desain/bg/3.webp");
  background-size: cover;
  background-position: top;
  z-index: 1;
  /*overflow: hidden;*/
  /* background-attachment: fixed; */
}

.background-brands::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 0;
}

.background-faq {
  position: relative;
  background-image: url("../Aset Desain/bg/4.webp");
  background-size: cover;
  background-position: top;
  z-index: 1;
  /*overflow: hidden;*/
  /* background-attachment: fixed; */
}

.background-faq::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 0;
}

/* Navbar */
@media (max-width: 991.98px) {
    .navbar-expand-lg .navbar-brand {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

/* Welcome Text */
.bg-dot.primary {
    background-image: radial-gradient(var(--base-color) 2px, transparent 2.5px);
}

/*CTA */
.cta-modern {
    position: relative;
    color: #fff;
}

.cta-subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    margin: 15px 0;
}

.cta-desc {
    font-size: 16px;
    line-height: 1.7;
    max-width: 600px;
}

/* Right Box */
.cta-box {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: 0.3s ease;
}

.cta-box:hover {
    transform: translateY(-5px);
}

/* Button */
.btn-whatsapp {
    background: #25D366;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
    color: #fff;
}


/*CTA */

/* Floating WA */
.contact-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 99999;
    display: flex;
    gap: 10px;
}

.button-33 {
    background-color: #39B54A;
    border-radius: 30px;
    color: white;
    cursor: pointer;
    display: inline-block;
    padding: 5px 25px;
    text-align: center;
    text-decoration: none;
    transition: all 250ms;
    border: 0;
    font-size: 14px;
    font-weight: 500;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button-33:hover {
    box-shadow: rgba(57, 181, 74, 0.35) 0 -25px 18px -14px inset,
        rgba(57, 181, 74, 0.25) 0 1px 2px, rgba(57, 181, 74, 0.25) 0 2px 4px,
        rgba(57, 181, 74, 0.25) 0 4px 8px, rgba(57, 181, 74, 0.25) 0 8px 16px,
        rgba(57, 181, 74, 0.25) 0 16px 32px;
    transform: scale(1.05) rotate(-1deg);
    color: white;
}

/* Produk */
/* @media (max-width: 1399px) {
    .project.item .card .post-header .post-title a {
        font-size: 16px !important;
    }
} */

.text-line.text-primary:before {
    background-color: var(--base-color);
}

.text-line-2 {
    position: relative;
    vertical-align: top;
    padding-left: 1.4rem
}

.text-line-2:not(.text-gradient) {
    display: inline-flex
}

.text-line-2:before {
    content: "";
    position: absolute;
    display: inline-block;
    top: 50%;
    transform: translateY(-60%);
    left: 0;
    width: .75rem;
    height: .05rem;
    background: var(--bs-primary)
}

.text-line-2:after {
    content: "";
    position: absolute;
    display: inline-block;
    top: 50%;
    transform: translateY(-60%);
    right: -27px;
    width: .75rem;
    height: .05rem;
    background: var(--bs-primary)
}

.text-line-2.text-primary:before {
    background-color: var(--base-color);
}

.text-line-2.text-white:before,
.text-line-2.text-white:after {
    background-color: #fff;
}

.contact-btn {
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
}

.contact-card-wrap .contact-card {
  margin-bottom: 25px;
  background-color: #F0F0F0;
  padding: 30px 30px;
  border-radius: 10px;
  background-image: url('../../../images/bg-wisata.jpg');
  background-position-y: bottom;
  background-position-x: right;
  background-repeat: no-repeat;
  background-size: cover;
}
.contact-card-wrap .contact-card:last-child {
  margin-bottom: 0;
}
.contact-card-wrap .contact-card .contact-icon {
  width: 75px;
  height: 75px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.07);
  transition: all ease .5s;
}
.contact-card-wrap .contact-card .contact-icon i {
  color: var(--bs-primary);
  font-size: 50px;
  line-height: 1;
  font-weight: 300;
  transition: all ease .5s;
}
.contact-card-wrap .contact-card .contact-info {
  width: calc(100% - 100px);
  margin-left: auto;
  position: relative;
  top: -3px;
}
.contact-card-wrap .contact-card:hover {
  transform: translateY(-5px);
  transition: all ease .5s;
}
.contact-card-wrap .contact-card:hover .contact-icon {
  background-color: var(--bs-primary) !important;
}
.contact-card-wrap .contact-card:hover .contact-icon img {
  filter: brightness(0) invert(1);
}
.contact-card-wrap .contact-card:hover .contact-icon i {
  color: white;
}

.contact-box {
  background-color: #EBF0F1;
  padding: 60px 60px 64px;
}
.contact-box .form-group input {
  height: 60px;
}
.contact-box .form-group textarea {
  height: 180px;
}

.with-ts {
  width: fit-content;
}

.with-ts .text-shadow {
  position: absolute;
  right: -200px;
  color: black;
  opacity: 0.02;
  font-size: 100px;
  z-index: -1;
  top: -50px;
}

.with-ts .text-shadow2 {
  position: absolute;
  right: -200px;
  color: var(--bs-primary);
  opacity: 0.05;
  font-size: 70px;
  z-index: -1;
  top: -50px;
}

/*Card Brands*/
.card-brands {
    background: transparent;
    border-radius: 16px;
    /* padding: 20px; */
    text-align: center;
    transition: all 0.35s ease;
    /* overflow: hidden; */
    /* position: relative; */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Default shadow */
.card-brands {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Hover effect */
.card-brands:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Supaya zoom tidak keluar border */
.card-brands figure {
    overflow: hidden;
    margin: 0;
}

/* Gambar smooth zoom */
.card-brands img {
    transition: transform 0.5s ease;
}

/* Zoom saat hover */
.card-brands:hover img {
    transform: scale(1.08);
}

/*Card Brands*/

/*Navbar scrooling dropdown*/
/* Dropdown utama */
.dropdown-scroll {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Dropdown sub */
.dropdown-scroll-sub {
    max-height: 350px;
    overflow-y: auto;
}

/* Scroll styling (optional modern) */
.dropdown-scroll::-webkit-scrollbar,
.dropdown-scroll-sub::-webkit-scrollbar {
    width: 6px;
}

.dropdown-scroll::-webkit-scrollbar-thumb,
.dropdown-scroll-sub::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
}

.dropdown-scroll {
    max-height: 400px;
    overflow-y: auto;
}

.dropdown-scroll-sub {
    max-height: 350px;
    overflow-y: auto;
}


/*Navbar Scrooling Dropdown*/


/* Pastikan navbar tidak potong dropdown */
.navbar,
.navbar .container,
.navbar-collapse {
    overflow: visible !important;
}

/* Dropdown utama */
.dropdown-menu {
    min-width: 250px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border: none;
}

/* Scroll fix */
.dropdown-scroll {
    max-height: 400px;
    overflow-y: auto;
}

/* Submenu fix posisi */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0.1rem;
    display: none;
    position: absolute;
    min-width: 230px;
}

/* Hover agar submenu muncul */
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

/* Fix supaya tidak aneh width nya */
.dropdown-item {
    white-space: nowrap;
}

/*Card keunggulan */
.card-keunggulan {
    background: transparent;
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.card-keunggulan:hover {
    transform: translateY(-3px);
}

/* Wrapper icon supaya bisa pakai pseudo element */
.card-keunggulan picture {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    z-index: 1;
}

/* Background biru soft di belakang icon */
.card-keunggulan picture::before {
    content: "";
    position: absolute;
    width: 56px;
    height: 46px;
    background: #104a9721;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    z-index: -1;
    top: 15px;
}

/* Icon */
.card-keunggulan img {
    width: 28px;
    height: 28px;
}

/*Card Keunggulan */


/*Badge Namaweb */
.badge-namaweb {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #0d3b66; /* biru gelap */
    background: #e8f1ff; /* biru soft */
    border-radius: 50px; /* rounded pill */
    letter-spacing: 0.5px;
    line-height: 1.4;
}
/*badge namaweb*/




/*Page Header */
.page-header-split {
    position: relative;
    padding: 50px 0 30px;
    /*background: ;*/
    overflow: hidden;
}

.page-header-split .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.page-header-split .container {
    position: relative;
    z-index: 2;
}

.header-left {
    position: relative;
    color: #fff;
}

.header-line {
    width: 60px;
    height: 4px;
    background: #1e73be;
    margin-bottom: 20px;
}

.header-left h1 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.header-left p {
    font-size: 16px;
    color: #dcdcdc;
    max-width: 520px;
}

.header-right {
    display: flex;
    justify-content: flex-end;
}

.header-box {
    background: #1e73be;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    color: #fff;
    min-width: 240px;
}

.header-box span {
    display: block;
    font-weight: 600;
    font-size: 16px;
}

.header-box small {
    display: block;
    font-size: 13px;
    opacity: 0.8;
}

/*Page Header*/

/*gallery grid */ 
.gallery-masonry {
    column-count: 4;
    column-gap: 10px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: 0.4s ease;
}

/* Hover */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

/*.overlay span {*/
/*    width: 55px;*/
/*    height: 55px;*/
/*    background: #fff;*/
/*    border-radius: 50%;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    opacity: 0;*/
/*    transform: scale(0.8);*/
/*    transition: 0.3s ease;*/
/*}*/

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .overlay {
    background: rgba(0,0,0,0.4);
}

.gallery-item:hover .overlay span {
    /*opacity: 1;*/
    /*transform: scale(1);*/
}

/* Responsive */
@media (max-width: 992px) {
    .gallery-masonry {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .gallery-masonry {
        column-count: 1;
    }
}


.glightbox-clean .gslide-description{
    background:transparent !important;
}

/*gallery Grid */

/*FAQ */
.faq-wrapper {
    width: 100%;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 10px;
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #104a972e;
    color: #104a97;
    border-radius: 15px;
}

.faq-question:focus {
    outline: none;
}

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
    min-width:20px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: #1e73be;
    transition: 0.3s ease;
}

.faq-icon::before {
    width: 100%;
    height: 2px;
    top: 9px;
    left: 0;
}

.faq-icon::after {
    width: 2px;
    height: 100%;
    left: 9px;
    top: 0;
}

.faq-item.active .faq-icon::after {
    transform: scaleY(0);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    margin: 10px 10px 0;
    font-size: 14px;
    color: #555;
}

/* Default buka pertama */
.faq-item.active .faq-answer {
    max-height: 500px;
}
/*FAQ */




/*Card Artikel */
.card-artikel {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-artikel:hover {
    transform: translateY(-6px);
}

/* IMAGE WRAPPER */
.card-img {
    position: relative;
    overflow: visible;
}

.img-link {
    display: block;
    position: relative;
    overflow: hidden;
}

/* IMAGE */
.card-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    
}

/* Zoom smooth ketika hover card */
.card-artikel:hover .card-img img {
    transform: scale(1.08);
}

/* OVERLAY BIRU DARI BAWAH */
.img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(13, 59, 102, 0.85) 0%,
        rgba(13, 59, 102, 0.4) 40%,
        rgba(13, 59, 102, 0.05) 80%,
        rgba(13, 59, 102, 0) 100%
    );
    pointer-events: none;
}

/* ICON BULAT */
.card-icon {
    position: absolute;
    bottom: -25px;
    left: 30px;
    width: 55px;
    height: 55px;
    background: #0d3b66;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    border: 5px solid #fff;
    z-index: 2;
}

/* BODY */
.card-body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-body h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111;
}

.card-body div {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Button selalu bawah */
.card-body .btn-custom {
    margin-top: auto;
    align-self: flex
}

/* META BADGE OVERLAP */
.card-meta {
    position: absolute;
    bottom: -18px;
    left: 20px;
    right: 20px;
    background: #ffffff;
    border-radius: 12px;
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    z-index: 3;
}

.meta-item {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #555;
    gap: 6px;
}

.meta-item i {
    color: var(--base-color);
    font-size: 14px;
}

/* Supaya body turun karena ada overlap */
.card-body {
    padding: 20px 15px 15px;
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}


/* Button */
.btn-custom {
    background: var(--base-color);
    color: white;
    padding: 4px 20px;
    border-radius: 30px;
    border: 2px solid var(--base-color);
    text-decoration: none;
    transition: 0.3s ease;
    display: inline-block;
    margin-top: 30px;
    font-size:15px;
}

.btn-custom:hover {
    background: transparent;
    color: var(--base-color);
}


.contact-section {
    background: #f8f9fb;
}

.contact-content h2 {
    font-weight: 700;
    color: #111;
}

.contact-content p {
    color: #666;
}

/* Contact Item */
.contact-list {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--base-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-item h6 {
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-item a {
    text-decoration: none;
    color: #111;
    font-weight: 500;
}

.contact-item p {
    margin: 0;
    color: #555;
}

/* IMAGE */
.contact-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: 0.6s ease;
}

.contact-image:hover img {
    transform: scale(1.05);
}


@media (max-width: 767.98px) {
    .img-mobile-brands{
        min-width:150px !important;
        max-width:150px !important;
    }
    .cta-title{
        font-size:18px;
    }
    .dropdown-item .dropdown-toggle{
        font-size:11px;
    }
    
  .with-ts .text-shadow {
    position: absolute;
    right: -75px;
    color: black;
    opacity: 0.02;
    font-size: 65px;
    z-index: -1;
    top: -25px;
  }

  .with-ts .text-shadow2 {
    position: absolute;
    right: -75px;
    color: var(--bs-primary);
    opacity: 0.02;
    font-size: 45px;
    z-index: -1;
    top: -25px;
  }
}

img.svg-inject{
    visibility:visible;
}

/* Samakan tinggi card dalam satu row */



/* Desktop submenu */
@media (min-width: 992px) {
    .dropdown-submenu {
        position: relative;
    }

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-left: 0.1rem;
        display: none;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}

/* ============================= */
/* MOBILE SUBMENU SCROLL FIX */
/* ============================= */

@media (max-width: 991px) {

    /* Produk level 1 */
    #mobileProduk {
        max-height: 55vh;
        overflow-y: auto;
        padding-right: 5px;
    }

    /* Sub kategori level 2 */
    #mobileProduk .collapse {
        max-height: 45vh;
        overflow-y: auto;
    }

    /* Smooth scrolling */
    #mobileProduk::-webkit-scrollbar,
    #mobileProduk .collapse::-webkit-scrollbar {
        width: 6px;
    }

    #mobileProduk::-webkit-scrollbar-thumb,
    #mobileProduk .collapse::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.2);
        border-radius: 10px;
    }

    #mobileProduk::-webkit-scrollbar-track,
    #mobileProduk .collapse::-webkit-scrollbar-track {
        background: transparent;
    }

    /* Panah rotate tetap jalan */
    a[aria-expanded="true"] .uil-angle-down {
        transform: rotate(180deg);
        transition: 0.3s ease;
    }
}

/* Hilangkan garis bawah pada menu mobile */
@media (max-width: 991px) {

    .offcanvas-body .nav-link,
    .offcanvas-body a {
        text-decoration: none !important;
        border: none !important;
        box-shadow: none !important;
    }

    .offcanvas-body .nav-link:focus,
    .offcanvas-body .nav-link:active {
        outline: none !important;
        box-shadow: none !important;
        border: none !important;
    }

    /* Pastikan icon panah bersih */
    .offcanvas-body .uil-angle-down {
        border: none !important;
        text-decoration: none !important;
    }

}


