:root {
    --primary-color: #37517e;
    --secondary-color: #47b2e4;
}

body {
    color: #444;
    overflow-x: hidden;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {
    color: var(--secondary-color);
    transition: 0.3s;
}

a:hover {
    text-decoration: none;
    color: #73c5eb;
}

/* --- NAVBAR CUSTOM (LEBIH RAMPING) --- */
#header {
    transition: all 0.5s;
    z-index: 997;
    padding: 5px 0;
}

#header {
    background: rgba(40, 58, 90, 0.95);
}

#header.header-scrolled {
    background: rgba(40, 58, 90, 0.95);
    padding: 5px 0;
    /* Tetap tipis saat scroll */
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    /* font-size: 24px; */
    font-weight: 700;
    color: #fff !important;
}

.nav-link {
    font-size: 16px;
    /* Ukuran font menu disesuaikan */
    padding: 5px 15px !important;
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: var(--secondary-color) !important;
}

/* FIX MENU GARIS TIGA (HAMBURGER) PUTIH */
.navbar-toggler {
    border: none !important;
    padding: 0;
}

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

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
}

.hamburger-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 3px;
    transition: 0.3s;
}

/* --- HERO SECTION --- */
#hero {
    width: 100%;
    /* Ubah min-height agar tidak memaksa satu layar penuh jika tidak perlu */
    min-height: 100vh !important;
    /* background: var(--primary-color); */
    display: flex;
    /* align-items: center; */
    /* Padding atas disesuaikan dengan tinggi header baru */
    background-image: url(/assets/img/kotak6.jpg);
    /* background-repeat: repeat; */
    /* background-repeat: repeat; */
    background-size: contain;
    background-repeat: no-repeat;
    background-size: 100% 100%;

    /* padding: 80px 0 40px 0; */
    color: #fff;
}

#hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 0.7em;
    margin-bottom: 20px;
}

#hero h2 {
    /* color: rgba(255, 255, 255, 0.6); */
    font-size: 30px;
    /* margin-bottom: 40px; */
}

#hero h3 {
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    /* margin-bottom: 40px; */
}

.btn-get-started {
    background: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 10px 30px;
    color: #fff !important;
    border-radius: 50px;
    font-weight: 500;
}

.btn-get-started:hover {
    background: transparent;
}

/* Bouncing Animation */
.animated {
    animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@keyframes up-down {
    0% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(-10px);
    }
}

/* --- SECTIONS COMMON --- */
section {
    /* padding: 80px 0; */
    padding: 30px;
    overflow: hidden;
}

.section-bg {
    background-color: #f3f5fa;
}

.section-title {
    text-align: center;
    padding-bottom: 30px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    color: #37517e;
}

.section-title h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    bottom: 0;
    left: calc(50% - 25px);
}

/* --- SERVICES CARD --- */
.icon-box {
    padding: 40px;
    background: #fff;
    box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.12);
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
    z-index: 1;
    height: 100%;
}

.icon-box i {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.icon-box h4 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 24px;
    color: #37517e;
}

.icon-box:hover {
    transform: translateY(-10px);
}

/* --- TEAM SECTION --- */
.member {
    position: relative;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 5px;
    background: #fff;
    display: flex;
    align-items: flex-start;
}

.member .pic {
    overflow: hidden;
    width: 150px;
    border-radius: 50%;
}

.member .member-info {
    padding-left: 30px;
}

.member h4 {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 20px;
    color: #37517e;
}

.member span {
    display: block;
    font-size: 15px;
    padding-bottom: 10px;
    position: relative;
    font-weight: 500;
}

.member span::after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 1px;
    background: #cbd6e9;
    bottom: 0;
    left: 0;
}

.member p {
    margin: 10px 0 0 0;
    font-size: 14px;
}

/* --- RESPONSIVE FIXES --- */
@media (max-width: 991px) {
    #header {
        background: rgba(40, 58, 90, 0.9);
    }

    #hero {
        text-align: center;
        /* padding-top: 120px; */
    }

    #hero h1 {
        font-size: 32px;
        line-height: 40px;
    }

    #hero h2 {
        font-size: 18px;
    }

    .hero-img img {
        width: 80%;
        margin-top: 30px;
    }

    .navbar-collapse {
        background: #fff;
        border-radius: 8px;
        margin-top: 15px;
        padding: 15px;
    }

    .nav-link {
        color: #333 !important;
    }

    .member {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .member .member-info {
        padding-left: 0;
        padding-top: 20px;
    }

    .member span::after {
        left: calc(50% - 25px);
    }
}

.logo-glow {
    /* Memberikan efek cahaya putih lembut di sekitar logo */
    filter: drop-shadow(0px 0px 10px rgba(255, 255, 255, 0.7));
    transition: 0.3s ease-in-out;
}

.logo-glow:hover {
    /* Efek cahaya lebih terang saat kursor di atasnya */
    filter: drop-shadow(0px 0px 20px rgba(255, 255, 255, 0.9));
    opacity: 1 !important;
}

#preloader {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999999;
    /* Gunakan vw dan vh agar akurat di HP */
    width: 100vw;
    height: 100vh;

    /* Tambahkan background-size agar gif tidak kebesaran di layar HP */
    background: #f5f5f5b8 url('/assets/img/gear3.gif') no-repeat center center;
    background-size: 100px;
    /* Sesuaikan ukuran gif mase, misal 80px atau 100px */

    /* Tambahkan ini untuk jaga-jaga */
    overflow: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    /* Warna biru Bootstrap */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.dropdown-submenu {
    position: relative;
}

/* buka ke kiri */
.dropdown-submenu>.dropdown-menu {
    top: 0;
    right: 100%;
    left: auto;
    margin-top: -1px;
}


.jdlatas {
    font-size: 1em !important;
}

.tgljamupdate {
    font-size: 0.85em !important;
}

