.mobile-menu a,
.nav-link:hover,
body {
    color: var(--fg)
}

:root {
    --bg: #0a1628;
    --bg-light: #0f1f35;
    --bg-card: #0d1a2d;
    --fg: #ffffff;
    --muted: #8b9cb5;
    --accent: #F5A623;
    --accent-hover: #d4921e;
    --border: #1a2d4a
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: Inter, sans-serif;
    background-color: var(--bg);
    line-height: 1.6;
    overflow-x: hidden
}

.mobile-menu a,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Montserrat, sans-serif
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700
}

::-webkit-scrollbar {
    width: 8px
}

::-webkit-scrollbar-track {
    background: var(--bg)
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent)
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .4;
    animation: 20s ease-in-out infinite float
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 166, 35, .3) 0, transparent 70%);
    top: 10%;
    right: 10%;
    animation-delay: 0s
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, .2) 0, transparent 70%);
    bottom: 20%;
    left: 5%;
    animation-delay: -10s
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1)
    }

    25% {
        transform: translate(30px, -30px) scale(1.05)
    }

    50% {
        transform: translate(-20px, 20px) scale(.95)
    }

    75% {
        transform: translate(-30px, -20px) scale(1.02)
    }
}

.reveal {
    opacity: 0;
    margin-top: 20px;
    transform: translateY(50px);
    transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1)
}

.reveal.active {
    opacity: 1;
    transform: translateY(0)
}

.reveal-delay-1 {
    transition-delay: 0.1s
}

.reveal-delay-2 {
    transition-delay: 0.2s
}

.reveal-delay-3 {
    transition-delay: 0.3s
}

.reveal-delay-4 {
    transition-delay: 0.4s
}

@media (prefers-reduced-motion:reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }

    #particle-canvas {
        display: none
    }

    .gradient-orb {
        animation: none
    }
}

.navbar {
    backdrop-filter: blur(20px);
    background: rgba(10, 22, 40, .85);
    border-bottom: 1px solid var(--border);
    transition: .3s
}

.navbar.scrolled {
    background: rgba(10, 22, 40, .95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, .3)
}

.nav-link {
    position: relative;
    color: var(--muted);
    transition: color .3s
}

/* Ini yang aktif */
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #c5a059;
    /* opsional biar lebih jelas */
}

/* Warna untuk item dropdown yang aktif */
.dropdown-link.active {
    color: #F5A623 !important;
    /* gold */
    background-color: #fef9ec !important;
    /* gold muda biar keliatan premium */
    font-weight: 700;
    border-left: 3px solid #F5A623;
    /* garis kiri biar lebih jelas */
}

/* Desktop Sub-dropdown styles */
.dropdown-sub-parent {
    position: relative;
}

.sub-dropdown-menu {
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: 2px;
    min-width: 220px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 60;
    padding: 6px 0;
}

.dropdown-sub-parent:hover > .sub-dropdown-menu,
.dropdown-sub-parent:focus-within > .sub-dropdown-menu,
.sub-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.btn-outline,
.btn-primary {
    transition: .3s;
    font-weight: 600
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width .3s
}

.btn-primary,
.service-card:hover .service-icon i,
.service-list-item:hover .list-icon i {
    color: var(--bg)
}

.nav-link:hover::after {
    width: 100%
}

.logo-container {
    position: relative;
    height: auto;
    width: auto
}

.logo-glow {
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, var(--accent) 0, transparent 70%);
    opacity: .15;
    filter: blur(10px);
    animation: 3s ease-in-out infinite pulse-glow;
    z-index: 0
}

.btn-primary,
.service-card {
    position: relative;
    overflow: hidden
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(1);
        opacity: .15
    }

    50% {
        transform: scale(1.1);
        opacity: .25
    }
}

.scrollbar-hide::-webkit-scrollbar {
    display: none
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none
}

@keyframes scroll {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

.animate-scroll {
    display: flex;
    animation: 30s linear infinite scroll;
    width: max-content
}

.animate-scroll:hover {
    animation-play-state: paused
}

.btn-primary {
    background: var(--accent);
    padding: 14px 32px;
    border-radius: 4px
}

.btn-outline,
.mobile-menu a:hover {
    color: var(--accent)
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    transform: translateX(-100%);
    transition: transform .5s
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 166, 35, .3)
}

.btn-outline:hover,
.service-card::before,
.service-list-item:hover .list-icon {
    background: var(--accent)
}

.btn-primary:hover::before {
    transform: translateX(100%)
}

.btn-outline {
    border: 2px solid var(--accent);
    padding: 12px 30px;
    border-radius: 4px;
    background: 0 0
}

.client-card,
.service-card {
    border: 1px solid var(--border)
}

.btn-outline:hover {
    color: var(--bg);
    transform: translateY(-2px)
}

.service-card {
    background: linear-gradient(145deg, var(--bg-card) 0, var(--bg) 100%);
    border-radius: 8px;
    padding: 32px;
    transition: .4s cubic-bezier(.16, 1, .3, 1)
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    transform: scaleX(0);
    transition: transform .4s
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .4), 0 0 60px rgba(245, 166, 35, .1)
}

.service-card:hover::before {
    transform: scaleX(1)
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(245, 166, 35, .2) 0, rgba(245, 166, 35, .05) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: .3s
}

.service-card:hover .service-icon {
    background: var(--accent);
    transform: scale(1.1)
}

.service-list-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    transition: .3s
}

.service-list-item:last-child {
    border-bottom: none
}

.service-list-item:hover {
    padding-left: 8px
}

.list-icon {
    min-width: 36px;
    height: 36px;
    background: rgba(245, 166, 35, .15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s
}

.client-card {
    background: var(--bg-card);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    transition: .3s
}

.client-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3)
}

.region-card {
    background: linear-gradient(145deg, var(--bg-card) 0, transparent 100%);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    transition: .3s
}

.region-card:hover {
    border-color: var(--accent);
    background: linear-gradient(145deg, rgba(245, 166, 35, .1) 0, transparent 100%)
}

.footer-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(245, 166, 35, .05) 1px, transparent 1px), radial-gradient(circle at 75% 75%, rgba(245, 166, 35, .05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none
}

.footer-credit {
    margin-top: 12px;
    font-size: 12px;
    color: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px
}

.footer-credit a {
    display: inline-block
}

.footer-credit img {
    height: 25px;
    width: auto;
    display: block;
    border-radius: 10px;
    opacity: .8;
    transition: .3s
}

.footer-credit img:hover {
    opacity: 1
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px
}

.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, .98);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 90px 24px 40px;
    gap: 22px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.hamburger,
.video-container {
    position: relative;
    cursor: pointer
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto
}

.mobile-menu .mobile-link,
.mobile-menu>a,
.mobile-menu button.mobile-link {
    font-family: Montserrat, sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--fg);
    transition: color .3s;
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu .mobile-link:hover,
.mobile-menu>a:hover,
.mobile-menu button.mobile-link:hover {
    color: var(--accent);
}

.mobile-services {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-services #mobile-services-toggle {
    font-family: Montserrat, sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--fg);
    background: transparent;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0;
    transition: color .3s;
    text-align: center;
}

.mobile-services #mobile-services-toggle:hover {
    color: var(--accent);
}

#mobile-services-submenu {
    width: 100%;
    max-width: 280px;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

#mobile-services-submenu.hidden {
    display: none !important;
}

#mobile-services-submenu:not(.hidden) {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
}

#mobile-services-submenu a {
    font-family: Inter, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 10px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    text-align: left !important;
    transition: all .2s ease !important;
}

#mobile-services-submenu a:hover {
    color: var(--accent) !important;
    background: rgba(245, 166, 35, 0.1) !important;
    border-color: rgba(245, 166, 35, 0.3) !important;
}

/* Mobile Sub-services (Other dropdown) */
.mobile-sub-services {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-sub-toggle {
    font-family: Inter, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 10px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    text-align: left !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: all .2s ease !important;
}

.mobile-sub-toggle:hover,
.mobile-sub-toggle.active {
    color: var(--accent) !important;
    background: rgba(245, 166, 35, 0.1) !important;
    border-color: rgba(245, 166, 35, 0.3) !important;
}

.mobile-sub-menu {
    width: 100%;
    margin-top: 6px;
    padding-left: 10px;
    border-left: 2px solid rgba(245, 166, 35, 0.35);
    margin-left: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-sub-menu.hidden {
    display: none !important;
}

.mobile-sub-menu:not(.hidden) {
    display: flex !important;
    flex-direction: column !important;
}

#mobile-services-submenu .mobile-sub-menu a.mobile-sub-item {
    font-family: Inter, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.75) !important;
    padding: 8px 14px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 8px !important;
    gap: 10px !important;
}

#mobile-services-submenu .mobile-sub-menu a.mobile-sub-item:hover {
    color: var(--accent) !important;
    background: rgba(245, 166, 35, 0.08) !important;
    border-color: rgba(245, 166, 35, 0.25) !important;
    padding-left: 18px !important;
}

.hamburger {
    width: 28px;
    height: 20px
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--fg);
    transition: .3s
}

.hamburger span:first-child {
    top: 0
}

.hamburger span:nth-child(2) {
    top: 9px
}

.hamburger span:nth-child(3) {
    bottom: 0
}

.hamburger.active span:first-child {
    transform: rotate(45deg);
    top: 9px
}

.hamburger.active span:nth-child(2) {
    opacity: 0
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 9px
}

.video-container {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, .7);
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    transition: .3s
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1)
}

@media (max-width:992px) {
    .video-container {
        height: 400px
    }

    .play-button {
        width: 70px;
        height: 70px;
        font-size: 28px
    }
}

@media (max-width:768px) {
    .video-container {
        height: 250px;
        border-radius: 12px
    }

    .play-button {
        width: 60px;
        height: 60px;
        font-size: 24px
    }
}

@media (max-width:480px) {
    .video-container {
        height: 220px
    }

    .play-button {
        width: 55px;
        height: 55px;
        font-size: 22px
    }
}

.text-muted {
    color: #8b9cb5;
}

/* ---------- HERO SPLIT LAYOUT (CURVED SEPARATOR SVG) ---------- */
.hero-split-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.hero-split-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    z-index: 0;
}

.hero-split-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: end center;
    background-repeat: no-repeat;
}

.hero-split-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    border: 2px solid rgba(245, 166, 35, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 166, 35, 0.05);
    transition: all 0.3s ease;
}

.hero-feature-icon:hover {
    background: rgba(245, 166, 35, 0.12);
    border-color: rgba(245, 166, 35, 0.85);
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .hero-feature-icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }
}

@media (max-width: 1024px) {
    .hero-split-wrapper::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(10, 22, 40, 0.94) 0%, rgba(10, 22, 40, 0.86) 45%, rgba(10, 22, 40, 0.96) 100%);
        z-index: 1;
        pointer-events: none;
    }

    .hero-split-right {
        width: 100%;
        height: 100%;
        opacity: 0.35;
    }

    .hero-split-svg {
        display: none;
    }
}

/* ---------- Old hero classes (kept for backward compat) ---------- */
.hero-bg-wrapper {
    overflow: hidden;
}

.hero-bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg-overlay {
    background: linear-gradient(90deg,
            rgba(10, 22, 40, 0.95) 0%,
            rgba(10, 22, 40, 0.75) 40%,
            rgba(10, 22, 40, 0.4) 60%,
            rgba(10, 22, 40, 0.2) 100%);
}

.hero-diagonal-cut {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg,
            transparent 0%,
            transparent 45%,
            rgba(10, 22, 40, 0.9) 45.5%,
            rgba(10, 22, 40, 0.98) 100%);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

@media (max-width: 1024px) {
    .hero-diagonal-cut {
        display: none;
    }

    .hero-bg-overlay {
        background: linear-gradient(180deg,
                rgba(10, 22, 40, 0.85) 0%,
                rgba(10, 22, 40, 0.95) 100%);
    }
}

/* ---------- INDUSTRIES: 3 Diagonal Split Panels ---------- */
@media (min-width: 768px) {
    .industries-panel-1 {
        clip-path: polygon(8% 0, 46% 0, 40% 100%, 6% 100%);
        -webkit-clip-path: polygon(8% 0, 46% 0, 40% 100%, 6% 100%);
        z-index: 1;
    }

    .industries-panel-2 {
        clip-path: polygon(46% 0, 76% 0, 70% 100%, 40% 100%);
        -webkit-clip-path: polygon(46% 0, 76% 0, 70% 100%, 40% 100%);
        z-index: 2;
    }

    .industries-panel-3 {
        clip-path: polygon(76% 0, 100% 0, 100% 100%, 70% 100%);
        -webkit-clip-path: polygon(76% 0, 100% 0, 100% 100%, 70% 100%);
        z-index: 1;
    }

    @supports (clip-path: url(#industries-slice-1)) {
        .industries-panel-1 {
            clip-path: url(#industries-slice-1);
            -webkit-clip-path: url(#industries-slice-1);
        }

        .industries-panel-2 {
            clip-path: url(#industries-slice-2);
            -webkit-clip-path: url(#industries-slice-2);
        }

        .industries-panel-3 {
            clip-path: url(#industries-slice-3);
            -webkit-clip-path: url(#industries-slice-3);
        }
    }
}

.process-pattern-bg {
    background-image:
        linear-gradient(rgba(245, 166, 35, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 166, 35, 0.035) 1px, transparent 1px);
    background-size: 56px 56px;
}

/* ---------- PROCESS STEPS (Our Proven Process) ---------- */
.process-steps-container {
    padding-top: 1.5rem;
}

.process-horizontal-line {
    top: 3.75rem;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background-image: linear-gradient(to right,
            rgba(245, 166, 35, 0.65) 50%,
            transparent 50%);
    background-size: 18px 2px;
    background-repeat: repeat-x;
    background-position: center;
}

.process-step-number {
    width: 6rem;
    height: 6rem;
}

@media (min-width: 1024px) {
    .process-steps-grid::before {
        content: "";
        position: absolute;
        top: 28px;
        /* 56px / 2 */
        left: calc(12.5% + 28px);
        /* tengah kolom 1 + radius lingkaran */
        right: calc(12.5% + 28px);
        /* tengah kolom 4 - radius lingkaran */
        border-top: 1px dashed rgba(212, 175, 55, 0.4);
        z-index: 1;
    }
}

.process-icon-box {
    width: 9rem;
    height: 9rem;
    margin: 0 auto;
    border-radius: 1.5rem;
    border: 2px solid rgba(245, 166, 35, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 22, 40, 0.35);
    transition: all 0.3s ease;
}

.process-step:hover .process-icon-box {
    transform: scale(1.06);
    border-color: rgba(245, 166, 35, 0.88);
    background: rgba(245, 166, 35, 0.08);
}

.process-line-icon {
    opacity: 0.95;
    font-weight: 300;
}

/* ---------- 5-STEP PROCESS ARROW CONNECTORS (How It Works) ---------- */
@media (min-width: 1024px) {
    .process-steps-grid>div {
        position: relative;
    }

    .process-steps-grid>div:not(:last-child)::after {
        content: "\2192";
        position: absolute;
        top: 36px;
        right: calc(-10% + -8px);
        transform: translateX(50%);
        color: #F5A623;
        font-size: 22px;
        font-weight: 400;
        line-height: 1;
        z-index: 5;
        opacity: 0.85;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {

    .process-steps-grid>div:nth-child(1)::after,
    .process-steps-grid>div:nth-child(3)::after {
        content: "\2192";
        position: absolute;
        top: 36px;
        right: calc(-12% + -8px);
        transform: translateX(50%);
        color: #F5A623;
        font-size: 20px;
        font-weight: 400;
        line-height: 1;
        z-index: 5;
        opacity: 0.85;
    }
}