.animate-on-scroll {
    opacity: 0;
    transform: translateX(-40px);
}

/* NAVBAR */
.navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000 !important;
    background: #ffffff;
}

.logo {
    width: 150px;
}

.m-ka-20 {
    margin-right: 25px;
}

.btn-orange {
  background: linear-gradient(
    105deg,
    rgb(255, 33, 33) 0%,
    rgb(212, 17, 17) 100%
  );
  color: white;
  display: flex;
  text-decoration: none;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  font-size: 15px;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 99px;

  position: relative;
  overflow: hidden;

  transition: all 0.3s ease;
}

.btn-orange:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 0 #161b26 inset,
    0 0 0 8px rgba(255, 65, 65, 0.15);
  /* scale: 1.02; */
  color: white;
}

.btn-orange:active {
  transform: translateY(-1px) scale(0.98);
}

/* Shine Effect */
.btn-orange::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );

  transform: skewX(-25deg);
}

/* Shine saat hover */
.btn-orange:hover::before {
  animation: shine 1s ease;
}

/* NAV LINK */
.nav-link {
    font-size: 17px;
    color: #17233c !important;
    font-weight: 500;
    padding: 10px 14px !important;
    border-radius: 10px;
    transition: 0.3s ease;
}

/* NAV LINK HOVER */
.navbar-nav .nav-link:hover {
    color: #d24318 !important;
    background: #f5f7fb;
}

/* NAV LINK ACTIVE */
.navbar-nav .nav-link.active {
    color: #d24318 !important;
    background: #f5f7fb;
}

/* NAV LINK FOCUS */
.nav-link:focus {
    color: #d24318 !important;
    background: #f5f7fb;
    border-radius: 10px;
}

/* BUTTON KONTAK */
.btn-nav-kontak {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 40px;

    background: linear-gradient(90deg, rgb(255, 33, 33) 0%, rgb(212, 17, 17) 100%);
    color: #ffffff !important;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;

    gap: 8px;
    transition: 0.3s ease-in-out;
}

.btn-nav-kontak:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(210, 67, 24, 0.25);
    color: #ffffff !important;
}

/* BACKGROUND GLASS */
.bg-glass {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* MEGA MENU SOLID */
.mega-menu {
    width: 99% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;

    /* SOLID BACKGROUND */
    background: #0a162c !important;
    background-color: #0a162c !important;
    background-image: none !important;

    /* HILANGKAN TRANSPARANSI */
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    border: 1px solid #1d3155 !important;
    border-radius: 18px;

    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    margin-top: 10px !important;

    position: absolute;
    z-index: 9999 !important;

    isolation: isolate;
}

/* Hilangkan dekorasi yang bisa membuat efek transparan */
.mega-menu::before {
    display: none !important;
    content: none !important;
}

/* MEGA TITLE */
.mega-title {
    color: #ff7a18;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
    font-weight: 600;
}

/* MEGA LINK */
.mega-link {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #ffffff;
    transition: 0.3s ease;
}

.mega-link i {
    font-size: 20px;
    color: #ff7a18;
    margin-top: 4px;
}

.mega-link strong {
    display: block;
    font-size: 15px;
    color: #ffffff;
}

.mega-link span {
    font-size: 13px;
    color: #b8c2d3;
}

/* MEGA LINK HOVER */
.mega-link:hover {
    background: rgba(255, 122, 24, 0.12);
    transform: translateX(4px);
}



/* ========Tablet========= */


/* ==========Mobile========= */

/* =========================================
   MOBILE NAVBAR
   ========================================= */

@media (max-width: 991.98px) {

    /* NAVBAR */
    .navbar {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 10000 !important;
        padding: 10px 15px !important;
        background: #ffffff !important;
    }

    /* LOGO */
    .logo {
        width: 125px;
        max-width: 100%;
    }

    /* CONTAINER NAVBAR */
    .navbar .container,
    .navbar .container-fluid {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    /* TOGGLER */
    .navbar-toggler {
        border: 0 !important;
        padding: 7px 9px;
        outline: none !important;
        box-shadow: none !important;
    }

    .navbar-toggler:focus {
        outline: none !important;
        box-shadow: none !important;
    }

    .navbar-toggler-icon {
        width: 25px;
        height: 25px;
    }

    /* NAVBAR COLLAPSE */
    .navbar-collapse {
        margin-top: 12px;
        padding: 10px 5px 15px;
        background: #ffffff !important;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }
    
    .navbar-collapse {
        max-height: calc(100vh - 70px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;

        -webkit-overflow-scrolling: touch;
    }

    /* NAV MENU */
    .navbar-nav {
        width: 100%;
        gap: 3px;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .nav-link {
        display: flex;
        align-items: center;
        width: 100%;
        font-size: 16px;
        padding: 12px 15px !important;
        border-radius: 10px;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active,
    .nav-link:focus {
        background: #f5f7fb;
    }

    /* MARGIN MENU */
    .m-ka-20 {
        margin-right: 0 !important;
    }

    /* BUTTON KONTAK */
    .btn-nav-kontak {
        width: 100%;
        margin-top: 10px;
        padding: 12px 20px;
        font-size: 15px;
        border-radius: 40px;
    }

    /* MEGA MENU */
    .mega-menu {
        position: static !important;
        width: 100% !important;
        left: auto !important;
        transform: none !important;

        margin-top: 5px !important;
        margin-bottom: 5px;

        padding: 15px !important;

        background: #0a162c !important;
        background-color: #0a162c !important;
        background-image: none !important;

        border: 1px solid #1d3155 !important;
        border-radius: 15px;

        box-shadow: none !important;

        opacity: 1 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;

        position: relative !important;
        z-index: 10001 !important;

        isolation: isolate;
    }

    /* MEGA MENU COLUMN */
    .mega-menu .row {
        margin-left: 0;
        margin-right: 0;
    }

    .mega-menu .col,
    .mega-menu [class*="col-"] {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 15px;
    }

    .mega-menu .col:last-child,
    .mega-menu [class*="col-"]:last-child {
        margin-bottom: 0;
    }

    /* MEGA TITLE */
    .mega-title {
        font-size: 12px;
        margin-bottom: 8px;
        letter-spacing: 0.8px;
    }

    /* MEGA LINK */
    .mega-link {
        width: 100%;
        padding: 10px;
        gap: 10px;
        border-radius: 9px;
    }

    .mega-link i {
        font-size: 18px;
        min-width: 20px;
        margin-top: 3px;
    }

    .mega-link strong {
        font-size: 14px;
        line-height: 1.4;
    }

    .mega-link span {
        display: block;
        font-size: 12px;
        line-height: 1.5;
        margin-top: 2px;
    }

    .mega-link:hover {
        transform: none;
        background: rgba(255, 122, 24, 0.12);
    }

}


/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 575.98px) {

    .navbar {
        padding: 8px 12px !important;
    }

    .logo {
        width: 115px;
    }

    .navbar-collapse {
        margin-top: 10px;
        padding: 8px 4px 12px;
        border-radius: 12px;
    }

    .nav-link {
        font-size: 15px;
        padding: 11px 12px !important;
    }

    .btn-nav-kontak {
        font-size: 14px;
        padding: 11px 18px;
    }

    .mega-menu {
        padding: 12px !important;
        border-radius: 12px;
    }

    .mega-title {
        font-size: 11px;
        margin-bottom: 7px;
    }

    .mega-link {
        padding: 9px;
        gap: 9px;
    }

    .mega-link i {
        font-size: 17px;
    }

    .mega-link strong {
        font-size: 13px;
    }

    .mega-link span {
        font-size: 11px;
    }

}


/* =========================================
   EXTRA SMALL MOBILE
   ========================================= */

@media (max-width: 375px) {

    .logo {
        width: 105px;
    }

    .navbar {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .nav-link {
        font-size: 14px;
    }

    .mega-link strong {
        font-size: 12px;
    }

    .mega-link span {
        font-size: 10px;
    }

}