
/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }

 .back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}
/*** Spinner End ***/

/* table */
    table {
        border-collapse: collapse; /* supaya border menyatu */
        width: 100%;
    }
    th, td {
        border: 1px solid #000;  /* garis hitam */
        padding: 8px;             /* jarak teks */
        text-align: left;
    }
    th {
        background-color: #f2f2f2; /* warna header */
    }
/* table */

/*** 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-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.border-secondary {
    transition: 0.5s;
}

.btn.border-secondary:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
}

/*** Topbar Start ***/
.fixed-top {
    transition: 0.5s;
    background: var(--bs-white);
    border: 0;
}

.topbar {
    padding: 20px;
    border-radius: 230px 100px;
    background-color: #31374C !important;
    min-height: 90px;
}

.icon-color {
  color: #E07A2E;
}

.color-main {
    color: #FDB934;
}

.topbar .top-info {
    font-size: 15px;
    line-height: 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link {
    font-size: 15px;
    line-height: 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link a {
    letter-spacing: 1px;
}

.topbar .top-link a small:hover {
    color: var(--bs-secondary) !important;
    transition: 0.5s;
}

.topbar .top-link a small:hover i {
    color: var(--bs-primary) !important;
}
/*** Topbar End ***/

/*** Navbar Start ***/
.navbar .navbar-nav .nav-link {
    padding: 10px 15px;
    font-size: 16px;
    transition: .5s;
}

.navbar {
    height: 100px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.navbar-nav {
    margin-left: 23% !important; /* geser ke kiri 20px */
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--icon-color);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

img.same-size {
    width: 400px !important;
    height: 200px !important;
    object-fit: cover !important;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    border-radius: 10px !important;
    transition: .5s;
    opacity: 1;
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, .8);
}
/*** Navbar End ***/

/*** Hero Header ***/
.hero-header {
    background: linear-gradient(rgba(248, 223, 173, 0.1), rgba(248, 223, 173, 0.1)), url(../img/hero-img.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.carousel-item {
    position: relative;
}

.carousel-item a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25px;
    background: linear-gradient(rgba(255, 181, 36, 0.7), rgba(255, 181, 36, 0.7));
}

.carousel-control-next,
.carousel-control-prev {
    width: 48px;
    height: 48px;
    border-radius: 48px;
    border: 1px solid var(--bs-white);
    background: var(--bs-primary);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-next {
    margin-right: 20px;
}

.carousel-control-prev {
    margin-left: 20px;
}

.page-header {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../img/cart-page-header-img.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .hero-header,
    .page-header {
        margin-top: 152px !important;
    }
}

@media (max-width: 992px) {
    .hero-header,
    .page-header {
        margin-top: 97px !important;
    }
}
/*** Hero Header end ***/


/*** featurs Start ***/
.featurs .featurs-item .featurs-icon {
    position: relative;
    width: 120px;
    height: 120px;
}

.featurs .featurs-item .featurs-icon::after {
    content: "";
    width: 35px;
    height: 35px;
    background: var(--bs-secondary);
    position: absolute;
    bottom: -10px;
    transform: translate(-50%);
    transform: rotate(45deg);
    background: var(--bs-secondary);
    
}
/*** featurs End ***/


/*** service Start ***/
.service .service-item .service-content {
    position: relative;
    width: 250px; 
    height: 130px; 
    top: -50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
}

/*** service End ***/


/*** Fruits Start ***/
.fruite .tab-class .nav-item a.active {
    background: var(--icon-color) !important;
}

.fruite .tab-class .nav-item a.active span {
    color: var(--bs-white) !important; 
}

.fruite .fruite-categorie .fruite-name {
    line-height: 40px;
}

.fruite .fruite-categorie .fruite-name a {
    transition: 0.5s;
}

.fruite .fruite-categorie .fruite-name a:hover {
    color: var(--bs-secondary);
}

/* Warna saat hover */
.navbar-light .navbar-nav .nav-link:hover {
  color: #FDB934 !important; /* Ganti dengan warna hover yang kamu mau */
}

/* Warna teks saat hover */
.dropdown-menu .dropdown-item:hover {
  color: #ffff !important; /* Ganti dengan warna teks saat hover */
}

.section-gap {
  margin-top: 10px; /* ganti sesuai kebutuhan */
}

/* Warna link yang sedang aktif (Home) */
.navbar-light .navbar-nav .nav-link.active {
  color: #FDB934 !important; /* Ganti dengan warna highlight aktif */
}

.fruite .fruite-item {
    height: 100%;
    transition: 0.5s;
}
.fruite .fruite-item:hover {
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
}

.fruite .fruite-item .fruite-img {
    overflow: hidden;
    transition: 0.5s;
    border-radius: 10px 10px 0 0;
}

.fruite .fruite-item .fruite-img img {
    transition: 0.5s;
}

.fruite .fruite-item .fruite-img img:hover {
    transform: scale(1.3);
}
/*** Fruits End ***/

/* Header design Start */
.header-title {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 40px;
}




.header-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
}

.header-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.header-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
}
/* Header desihn End */

/*** vesitable Start ***/
.vesitable .vesitable-item {
    height: 100%;
    transition: 0.5s;
}

.vesitable .vesitable-item:hover {
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
}

.vesitable .vesitable-item .vesitable-img {
    overflow: hidden;
    transition: 0.5s;
    border-radius: 10px 10px 0 0;
}

.vesitable .vesitable-item .vesitable-img img {
    transition: 0.5s;
}

.vesitable .vesitable-item .vesitable-img img:hover {
    transform: scale(1.2);
}

.owl-stage {
    margin: 50px 0;
    position: relative;
}


.owl-nav .owl-next {
    position: absolute;
    top: -8px;
    right: 0;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;

}

.owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.owl-nav .owl-prev {
    position: absolute;
    top: -8px;
    right: 88px;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}
/*** vesitable End ***/


/*** Banner Section Start ***/
.banner .banner-btn:hover {
    background: var(--bs-primary);
}
/*** Banner Section End ***/

.active-tab {
    background-color: #FDB934 !important;
}

.active-tab span {
    color: #f2f2f2 !important;
}
/*** Facts Start ***/
.counter {
    height: 100%;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.counter i {
    font-size: 60px;
    margin-bottom: 25px;
}

.counter h4 {
    color: var(--bs-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.counter h1 {
    margin-bottom: 0;
}
/*** Facts End ***/


/*** testimonial Start ***/
.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    right: 0;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 88px;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}
/*** testimonial End ***/


/*** Single Page Start ***/
.pagination {
    display: inline-block;
}
  
.pagination a {
    color: var(--bs-dark);
    padding: 10px 16px;
    text-decoration: none;
    transition: 0.5s;
    border: 1px solid var(--bs-secondary);
    margin: 0 4px;
}
  
.pagination a.active {
    background-color: var(--bs-primary);
    color: var(--bs-light);
    border: 1px solid var(--bs-secondary);
}
  
.pagination a:hover:not(.active) {background-color: var(--bs-primary)}

.nav.nav-tabs .nav-link.active {
    border-bottom: 2px solid var(--bs-secondary) !important;
}
/*** Single Page End ***/


/*** Footer Start ***/
.footer .footer-item .btn-link {
    line-height: 35px;
    color: rgba(255, 255, 255, .5);
    transition: 0.5s;
}

.footer .footer-item .btn-link:hover {
    color: var(--bs-secondary) !important;
}

.footer .footer-item p.mb-4 {
    line-height: 35px;
}
/*** Footer End ***/

/* ===========================
   KPI CARD LAYOUT
=========================== */

/* TITLE ATAS */
.kpi-title_1 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: auto; /* dorong konten bawah ke bawah */
}

/* AREA BAWAH */
.kpi-bottom_1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

/* KIRI */
.kpi-left_1 {
    display: flex;
    flex-direction: column;
    gap: 2px;              /* jarak RAPAT */
}

/* DONE / TOTAL */
.kpi-small_1 {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    line-height: 1.2;      /* rapat vertikal */
}

/* KANAN */
.kpi-right_1 {
    text-align: right;
    flex-shrink: 0;
}

/* BIG NUMBER (%) */
.kpi-big_1 {
    font-size: 42px;
    font-weight: 700;
    opacity: 0.25;
    line-height: 1;
}


/* === Background Normal === */
.card-bi1 { background-color: #2F7D6D; }
.card-ku1 { background-color: #E07A2E; }
.card-ku2 { background-color: #E07A2E; }
.card-bi2 { background-color: #2F7D6D; }

/* === Hover, per-card === */
.card-bi1:hover { background-color: #256A5C !important; transform: scale(0.97); }
.card-ku1:hover { background-color: #C96824 !important; transform: scale(0.97); }
.card-ku2:hover { background-color: #C96824 !important; transform: scale(0.97); }
.card-bi2:hover { background-color: #256A5C !important; transform: scale(0.97); } 

/* Hover effect ala Uiverse */
.custom-hover_1 {
  transition: transform 0.35s ease, background-color 0.35s ease;
  border-radius: 7px
}

.custom-hover_1:hover {
  transform: scale(0.97);  
  cursor: pointer;
}

.custom-hover_1:active {
  transform: scale(0.92);
}

.home-tittle{
    color: #2D3245;
    font-family: "Poppins";
    font-size: 20px;
    text-align: left;
}

.topbar {
    margin-top: 8px;
    height: 52px;
    line-height: 42px;
    font-size: 13px;
}

.topbar a {
    text-decoration: none;
}

/* Cegah wrap di seluruh navbar */
.navbar,
.navbar-nav,
.navbar-nav .nav-link {
    white-space: nowrap;
}

/* Menu benar-benar center */
.navbar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-70%);
}

/* Spacing antar menu */
.navbar-nav {
    flex-wrap: nowrap;          /* ⛔ jangan pernah wrap */
    gap: 10px;
}

/* Supaya teks tidak mengecil */
.navbar-nav .nav-link {
    padding: 0;
    font-weight: 500;
}

.navbar{
    height: 60px !important;
}

/* ===============================
   RAPATKAN JARAK ROW 1 ↔ ROW 2
================================ */
/* Wrapper khusus untuk Row 1 & 2 */
.tight-rows {
    display: flex;
    flex-direction: column;
    row-gap: 5px;          /* ← INI KUNCINYA */
}

/* Hilangkan margin bawaan row di dalam wrapper */
.tight-rows > .row {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.tight-rows .owl-stage-outer {
    margin-bottom: 0 !important;
}

.main-body{
    margin-top: 2%;
}

/* ================
       NAVBAR
==================*/

.topbar {
    min-height: 3%;        /* tinggi kuning */
    min-width: 100%;
    display: flex;
    align-items: center;     /* pusatkan isi vertikal */
}

.topbar > .d-flex {
    width: 100%;
    height: 100%;            /* penting */
    align-items: center;
}

/* LOGO */
.topbar .navbar-brand {
    margin-left: 2%;     /* geser ke kanan */
}

/* NAVLINK */
.topbar .d-flex.gap-4 a {
    font-size: 1rem;   /* perbesar font */ 
}

.active{
    color: #FDB934;
    font-weight: 600;
}

.topbar .text-end {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;                 /* MATIKAN gap */
    line-height: 2;       /* rapatkan baris */
    white-space: nowrap;
}

.topbar .text-end > div {
    display: flex;
    align-items: center;
    margin: 0;              /* pastikan tidak ada margin */
    padding: 0;
}

/* =========
   RUNNING TEXT
========== */

/* ===============================
   RUNNING FOOTER (FIXED)
================================ */

.running-bar {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 44px;                 /* FIXED & AMAN */
    background: #E0E0E0;
    overflow: hidden;
    z-index: 9999;
    display: flex;
    align-items: center;
}

/* ===============================
   TRACK
================================ */

.running-track {
    display: flex;
    align-items: center;
    gap: 32px;
    width: max-content;
    will-change: transform;
    animation: marquee 200s linear infinite;
}

/* ===============================
   ITEM
================================ */

.running-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;              /* STABIL */
    color: #000;
    white-space: nowrap;
    line-height: 1;
}

/* ===============================
   ICON
================================ */

.running-item img {
    height: 22px;                 /* STABIL */
    width: auto;
}

/* ===============================
   MARQUEE
================================ */

@keyframes marquee {
    from {
        transform: translateX(100vw);
    }
    to {
        transform: translateX(-100%);
    }
}

.summary-body {
    min-height: 150px; /* agar tidak loncat saat nanti ada slide lain */
}

.summary-icon {
    font-size: 18px;
    margin-right: 10px;
    color: #E07A2E;
}

body {
    position: relative;
}

html::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("../img/ny_bg.jpg") repeat;
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
}



#snowfall {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none; /* tidak mengganggu klik */
  z-index: 9999;        /* di atas semua konten */
}


/* ===============================
   BORDER
================================ */
/* ===============================
   CARD CONTAINER
================================ */

.carousel-box {
    background: rgba(255, 255, 255, 0.60); /* hanya background transparan */
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    height: 47%;
}


/* ===============================
   CARD HEADER (TITLE)
================================ */

.card-header-custom {
    padding: 10px 16px;
    font-size: 24px;
    font-weight: 600;
    color: #6b7280;                 /* abu-abu */
    background: #f9fafb;            /* abu-abu sangat muda */
    border-bottom: 1px solid #e5e7eb;
}

/* ===============================
   CARD BODY
================================ */

.card-body-custom {
    padding: 16px;    
}

/* ===============================
   CHART AREA
================================ */

.b2s-chart-wrap {
    min-height: 260px;
}

/* ===============================
   OPTIONAL HOVER EFFECT
================================ */

.carousel-box:hover {
    border-color: #d1d5db;
}

.summary-item {
    font-size: 14px;
    color: #4e4e4e !important;
}



.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.01em;        /* jarak gambar–teks */
  padding-left: 1px;  /* jarak kiri logo */
}

/* Ukuran gambar */
.logo-bg {
  height: 6em;      /* SANGAT DISARANKAN, 6em terlalu besar */
  width: 5em;
  opacity: 0.85;
}

/* Geser gambar kiri saja */
.logo-bg.left {
  margin-right: -1em;
}

/* Geser gambar kiri saja */
.logo-bg.right {
  margin-left: -1em;
}

/* Teks */
.logo-text {
  margin: 0;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  ma
  text-shadow: 0 2px 6px rgba(0,0,0,.35);
}




#nyOverlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

/* FIREWORKS */
#nyFireworks {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* MESSAGE */
.nyMessage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
}

/* IMAGE */
.nyImage {
  max-width: 100vw;
  max-height: 80vh;
  object-fit: contain;
  animation: fadeScale 1.2s ease-out forwards;
}

/* CLOSE BUTTON */
.nyClose {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 20px;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
}

/* ANIMATION */
@keyframes fadeScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.total-value{
    text-align: right !important;
}



