/* General */
:root {
    --primary-color: #0d6efd; /* UNEJ Blue approximation */
    --secondary-color: #6c757d;
    --dark-overlay: rgba(0, 0, 0, 0.65);
}

body {
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    transition: all 0.4s ease-in-out;
    padding: 1rem 0;
}

.navbar.scrolled {
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    padding: 0.7rem 0;
}

.navbar.scrolled .navbar-brand,
.navbar.scrolled .nav-link {
    color: #333 !important;
}

.navbar.scrolled .nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.navbar.scrolled .btn-outline-light {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.navbar.scrolled .btn-outline-light:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Hero Section & Parallax */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-bg-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* Extra height for parallax movement */
    background-image: url('../img/hero-bg.jpg'); /* Pastikan gambar ada */
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-overlay);
    z-index: 1;
}

/* Services Cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.icon-box {
    width: 80px;
    height: 80px;
}

.divider {
    width: 60px;
    height: 4px;
    border-radius: 2px;
}

/* Utility */
.ls-2 {
    letter-spacing: 2px;
}

/* Responsive Tweaks */
@media (max-width: 991.98px) {
    .navbar {
        background-color: #fff; /* Force white navbar on mobile open */
    }
    .navbar-brand, .nav-link {
        color: #333 !important;
    }
    .navbar-toggler-icon {
         background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
    }
    .hero-bg-parallax {
        height: 100%; /* Disable complex parallax on small devices for performance */
    }
}