/* Base Variables */
:root {
    --primary-color: #0b1c3c; /* Dark Navy Blue */
    --primary-light: #162f5f;
    --secondary-color: #f76b1c; /* Vibrant Orange */
    --secondary-hover: #e05b10;
    --bg-color: #f8fafd;
    --text-main: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --card-bg: #ffffff;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s ease-in-out;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(247, 107, 28, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 107, 28, 0.4);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-primary-outline {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-primary-outline:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Custom Cursor Logic */
@media (pointer: fine) {
    /* Sembunyikan kursor default untuk elemen interaktif */
    body, a, button, .service-card, .swiper-button-next, .swiper-button-prev, .swiper-wrapper, input, textarea {
        cursor: none !important;
    }
    
    .custom-cursor {
        position: fixed;
        top: 0;
        left: 0;
        width: 15px;
        height: 15px;
        background-color: var(--white);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        mix-blend-mode: difference;
        transform: translate(-50%, -50%);
        transition: width 0.2s, height 0.2s;
    }

    .custom-cursor.hover {
        width: 40px;
        height: 40px;
        background-color: var(--white);
    }
    
    .custom-cursor.drag {
        width: 30px;
        height: 30px;
        background-color: var(--secondary-color);
        mix-blend-mode: normal;
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-extra-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid rgba(0,0,0,0.1);
}

[data-theme="dark"] .nav-extra-controls {
    border-left: 1px solid rgba(255,255,255,0.1);
}

.logo img {
    height: 26px; /* Diperkecil dari 40px */
    object-fit: contain;
}

@media(max-width: 768px) {
    .logo img {
        height: 22px; /* Lebih kecil lagi di mobile */
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--primary-color);
    position: relative;
}

.nav-links a:not(.btn-primary-outline)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:not(.btn-primary-outline):hover::after,
.nav-links a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero-scroll-wrapper {
    height: 250vh; /* Reduced scroll distance */
    position: relative;
    width: 100%;
}

.hero {
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    overflow: hidden;
    background-color: var(--primary-color);
    color: var(--white);
    padding-top: 80px;
}

.hero-main-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
    transform-origin: center center;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, rgba(6, 15, 32, 0.95) 0%, rgba(14, 30, 60, 0.95) 100%);
    z-index: 0;
    will-change: opacity;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1586528116311-ad8ed7c663be?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    color: var(--white);
    opacity: 1;
    transition: opacity 0.5s ease-out;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.scroll-indicator p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-15px) translateX(-50%); }
    60% { transform: translateY(-7px) translateX(-50%); }
}

.hero-text {
    flex: 1;
    color: var(--white);
}

.badge {
    display: inline-block;
    padding: 6px 15px;
    background-color: rgba(247, 107, 28, 0.2);
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(247, 107, 28, 0.5);
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-text h1 span {
    color: var(--secondary-color);
}

.hero-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: float 6s ease-in-out infinite;
}

.stats-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 25px;
    border-radius: 12px;
    color: var(--primary-color);
}

.stats-item i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.stats-item h4 {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.stats-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Tracking Section */
.tracking-section {
    padding: 60px 0;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.tracking-box {
    background: var(--card-bg);
    padding: 65px 40px 25px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.tracking-box h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tracking-box h2 i {
    color: var(--secondary-color);
}

.tracking-box p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.tracking-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.tracking-form input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
}

.tracking-form input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(247, 107, 28, 0.1);
}

.tracking-inputs {
    display: flex;
    gap: 10px;
    width: 100%;
}

.tracking-inputs input#inputResi {
    flex: 1;
}

.tracking-inputs input#inputHP {
    width: 240px;
}

.tracking-form button {
    margin-top: 15px;
    width: 100%;
}

/* Tracking Result Dummy */
.tracking-result {
    margin-top: 30px;
    text-align: left;
    border-top: 1px solid #eee;
    padding-top: 30px;
    animation: fadeIn 0.5s ease-in-out;
}

.hidden {
    display: none;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.result-header h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.status-badge {
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-badge.delivered {
    background-color: #d4edda;
    color: #155724;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: #e9ecef;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: -30px;
    top: 2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e9ecef;
    color: #adb5bd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    z-index: 1;
}

.timeline-item.active .timeline-icon {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 0 0 4px rgba(247, 107, 28, 0.2);
}

.timeline-content h5 {
    font-size: 1rem;
    margin-bottom: 3px;
    color: var(--text-main);
}

.timeline-content span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--card-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title h2 span {
    color: var(--secondary-color);
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.services-swiper {
    width: 100%;
    padding-top: 20px; /* Memberi ruang agar saat hover naik, bagian atas (garis orange) tidak terpotong */
    padding-bottom: 60px; /* Memberi ruang agar titik pagination tidak menimpa kartu */
}

.swiper-pagination {
    bottom: 0 !important; /* Menurunkan posisi titik pagination ke bawah */
}

/* Custom Swiper Navigation Buttons */
.services-swiper .swiper-button-next,
.services-swiper .swiper-button-prev {
    background: rgba(20, 27, 45, 0.85); /* Dark background */
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: var(--white);
    backdrop-filter: blur(4px);
    transition: var(--transition);
}

.services-swiper .swiper-button-next:hover,
.services-swiper .swiper-button-prev:hover {
    background: var(--secondary-color); /* Orange color on hover */
}

.services-swiper .swiper-button-next::after,
.services-swiper .swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: bold;
}

.service-card {
    background: var(--bg-color);
    padding: 40px 30px;
    border-radius: 16px;
    transition: var(--transition);
    border: 1px solid #edf1f7;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.swiper-slide .service-card {
    min-height: 420px; /* Persegi panjang vertikal yang lebih jelas */
    display: flex;
    flex-direction: column;
}

/* Memperbesar elemen di dalam kartu agar tidak terlihat kosong */
.swiper-slide .service-card .icon-wrapper {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.swiper-slide .service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.swiper-slide .service-card p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(247, 107, 28, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(247, 107, 28, 0.1);
    color: var(--secondary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .icon-wrapper {
    background: var(--secondary-color);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.feature-wide {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    background: linear-gradient(to right, rgba(11, 28, 60, 0.05), transparent);
}

.feature-wide .icon-wrapper {
    margin-bottom: 0;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .feature-wide {
        flex-direction: column;
        text-align: center;
    }
}


/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    position: relative;
    min-height: 400px;
    background-color: transparent;
    border-radius: 20px;
    overflow: hidden;
}

/* Slideshow Styles */
.slideshow-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
}

.slideshow-inner {
    display: flex;
    width: 100%;
    height: 100%;
}

.slideshow-slide {
    display: none;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.slideshow-slide.active {
    display: block;
    animation: fadeSlide 0.5s;
}

.slideshow-slide img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

.slideshow-controls {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 10;
}

.slideshow-controls button {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.slideshow-controls button:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.1);
}

/* Thumbnail Strip */
.thumbnail-strip {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
}
.thumbnail-strip::-webkit-scrollbar {
    height: 6px;
}
.thumbnail-strip::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
}
.thumbnail-item {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.thumbnail-item:hover {
    opacity: 0.8;
}
.thumbnail-item.active {
    opacity: 1;
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

/* Lightbox Modal */
.img-modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}
.img-modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
}
.img-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.img-modal-close:hover {
    color: var(--secondary-color);
}

@keyframes fadeSlide {
    from {opacity: 0.4} 
    to {opacity: 1}
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-content h2 span {
    color: var(--secondary-color);
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--primary-color);
}

.about-features li i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--card-bg);
}

.contact-container {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: rgba(11, 28, 60, 0.05);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.info-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.info-item p {
    margin-bottom: 0;
}

.contact-form {
    flex: 1;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding-top: 80px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    flex: 2;
    min-width: 300px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-links {
    flex: 1;
    min-width: 150px;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255,255,255,0.7);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* WhatsApp Floating Button */
.wa-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.wa-float:hover {
    transform: scale(1.1);
    background-color: #1ebe57;
}

@media (min-width: 769px) and (max-width: 1200px) {
    .nav-links {
        gap: 15px;
    }
    .nav-links a {
        font-size: 0.9rem;
    }
    .btn-primary-outline {
        padding: 8px 16px;
    }
    .nav-extra-controls {
        gap: 10px;
        margin-left: 10px;
        padding-left: 10px;
    }
    .hero {
        min-height: auto;
        padding-top: 130px;
        padding-bottom: 80px;
    }
    .hero-text h1 {
        font-size: 3rem;
    }
    .hero-content {
        gap: 20px;
    }
    .glass-card {
        padding: 20px;
    }
    .stats-item {
        padding: 10px 15px;
    }
    .stats-item h4 {
        font-size: 1.05rem;
    }
    .section-title h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }

    .nav-links.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        min-height: auto;
        padding-top: 110px;
        padding-bottom: 80px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        margin: 0 auto 30px;
    }
    
    .hero-actions {
        justify-content: center;
    }

    .about-container,
    .contact-container {
        flex-direction: column;
    }

    .about-image {
        width: 100%;
    }

    .tracking-section {
        margin-top: -40px;
        padding: 40px 0;
    }

    .tracking-box {
        padding: 40px 15px 15px 15px;
    }

    .tracking-inputs {
        flex-direction: column !important;
    }

    .tracking-inputs input#inputResi,
    .tracking-inputs input#inputHP {
        width: 100% !important;
    }

    .tracking-form {
        flex-direction: column;
    }
    
    .tracking-form button {
        width: 100% !important;
    }

    .services, .about, .contact {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .nav-extra-controls {
        margin: 20px 0 0 0;
        padding: 20px 0 0 0;
        border-left: none;
        border-top: 1px solid rgba(0,0,0,0.1);
        width: 100%;
        justify-content: center;
    }
    
    [data-theme="dark"] .nav-extra-controls {
        border-top: 1px solid rgba(255,255,255,0.1);
    }
}

/* Dark Theme overrides */
[data-theme="dark"] {
    --bg-color: #0b1528;
    --card-bg: #12213d;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --primary-color: #f8fafd;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .hero {
    background-image: linear-gradient(135deg, rgba(6, 17, 36, 0.65) 0%, rgba(0, 0, 0, 0.65) 100%), url('assets/images/hero-bg.jpg');
}

[data-theme="dark"] .stats-item {
    background: rgba(18, 33, 61, 0.9);
}

[data-theme="dark"] .stats-item h4 {
    color: var(--primary-color);
}

[data-theme="dark"] .stats-item p {
    color: var(--text-muted);
}

[data-theme="dark"] .tracking-form input,
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: #1e3357;
    color: #e2e8f0;
    border-color: #3a537f;
}

[data-theme="dark"] .tracking-form input::placeholder,
[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
    color: rgba(226, 232, 240, 0.5);
}

[data-theme="dark"] .info-item i {
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
}

[data-theme="dark"] .navbar {
    background-color: rgba(18, 33, 61, 0.95);
}

[data-theme="dark"] .service-card {
    border-color: #3a537f;
}

[data-theme="dark"] footer {
    background-color: #061124;
}

[data-theme="dark"] .footer-brand p,
[data-theme="dark"] .footer-links ul li a {
    color: #94a3b8;
}

[data-theme="dark"] .footer-links ul li a:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    [data-theme="dark"] .nav-links {
        background: #12213d;
    }
}

/* Custom Theme Toggle Pill */
.theme-toggle-pill {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.toggle-track {
    width: 110px;
    height: 34px;
    background-color: #10b981; /* green for daymode */
    border-radius: 30px;
    position: relative;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

[data-theme="dark"] .toggle-track {
    background-color: var(--secondary-color); /* orange for nightmode */
}

.toggle-text-day, .toggle-text-night {
    position: absolute;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.toggle-text-day {
    left: 12px;
    color: #ffffff;
    opacity: 1;
}

.toggle-text-night {
    right: 12px;
    color: #ffffff;
    opacity: 0;
}

[data-theme="dark"] .toggle-text-day { opacity: 0; }
[data-theme="dark"] .toggle-text-night { opacity: 1; }

.toggle-thumb {
    width: 28px;
    height: 28px;
    background-color: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    /* Daymode is on the right */
    transform: translateX(76px); /* 110 - 28 - 6 = 76 */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

[data-theme="dark"] .toggle-thumb {
    transform: translateX(0); /* Nightmode is on the left */
    background-color: #ffffff;
}

.toggle-thumb i {
    font-size: 14px;
    position: absolute;
    transition: opacity 0.3s ease;
}

.toggle-icon-sun {
    color: #333;
    opacity: 1;
}

.toggle-icon-moon {
    color: #333;
    opacity: 0;
}

[data-theme="dark"] .toggle-icon-sun { opacity: 0; }
[data-theme="dark"] .toggle-icon-moon { opacity: 1; }

/* Global Theme Transition */
body, .navbar, .service-card, .tracking-box, footer, .contact-form, .stats-item, h1, h2, h3, h4, h5, h6, p, a, input, textarea {
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

/* --- Tracking UI Specific --- */
.trk-timeline { list-style: none; padding: 0; position: relative; margin-top: 20px; text-align: left; }
.trk-timeline:before { content: ''; position: absolute; top: 0; bottom: 0; left: 16px; width: 2px; background: rgba(0,0,0,0.1); }
.trk-timeline-item { position: relative; margin-bottom: 25px; padding-left: 50px; color: var(--text-muted); transition: 0.3s;}
.trk-timeline-item h6 { color: var(--text-muted); font-weight: 500; margin-bottom: 4px; font-size: 1rem; transition: 0.3s;}
.trk-timeline-item span { font-size: 0.85rem;}

.trk-timeline-item .icon { 
    position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; 
    background: #f1f5f9; color: var(--text-muted); border: 2px solid rgba(0,0,0,0.1);
    display: flex; align-items: center; justify-content: center; font-size: 14px; z-index: 1; transition: 0.3s;
}

.trk-timeline-item.completed h6 { color: var(--text-main); font-weight: 600;}
.trk-timeline-item.completed span { color: var(--text-muted); }
.trk-timeline-item.completed .icon { background: var(--bg-color); color: var(--secondary-color); border-color: var(--secondary-color); }

.trk-timeline-item.active h6 { color: var(--primary-color); font-weight: 700;}
.trk-timeline-item.active span { color: var(--text-main); }
.trk-timeline-item.active .icon { 
    background: var(--primary-color); color: white; border-color: var(--primary-color);
    box-shadow: 0 0 0 0 rgba(11, 28, 60, 0.4); 
    animation: pulse-tracking 2s infinite; 
}

@keyframes pulse-tracking {
    0% { box-shadow: 0 0 0 0 rgba(11, 28, 60, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(11, 28, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(11, 28, 60, 0); }
}

.gallery-img { width: 100%; height: 100px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 1px solid rgba(0,0,0,0.1); transition: 0.3s;}
.gallery-img:hover { transform: scale(1.05); border-color: var(--secondary-color); box-shadow: 0 4px 10px rgba(247, 107, 28, 0.2);}

.alert-info-custom { background: rgba(14, 165, 233, 0.1); border-left: 4px solid #38bdf8; color: #0284c7; padding: 12px; border-radius: 8px;}
.alert-kendala { background: rgba(220, 53, 69, 0.15); border-left: 4px solid #ef4444; color: #b91c1c; padding: 12px; border-radius: 8px;}

/* Modal Image Preview */
.img-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); 
    z-index: 99999;
    display: none; justify-content: center; align-items: center;
    flex-direction: column; cursor: pointer;
}
.img-modal-content {
    max-width: 90%; max-height: 85%; border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8); 
    object-fit: contain;
    animation: zoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.img-modal-close {
    position: absolute; top: 20px; right: 30px;
    color: #ff4757; font-size: 40px; font-weight: bold; cursor: pointer;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Dark Mode Overrides for Tracking */
[data-theme="dark"] .trk-timeline:before { background: rgba(255,255,255,0.1); }
[data-theme="dark"] .trk-timeline-item .icon { background: #12213d; border-color: rgba(255,255,255,0.1); color: #94a3b8; }
[data-theme="dark"] .trk-timeline-item.completed .icon { background: #061124; border-color: var(--secondary-color); color: var(--secondary-color); }
[data-theme="dark"] .trk-timeline-item.active .icon { background: var(--secondary-color); border-color: var(--secondary-color); color: white; animation: pulse-tracking-dark 2s infinite; }
@keyframes pulse-tracking-dark {
    0% { box-shadow: 0 0 0 0 rgba(247, 107, 28, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(247, 107, 28, 0); }
    100% { box-shadow: 0 0 0 0 rgba(247, 107, 28, 0); }
}
[data-theme="dark"] .trk-timeline-item.active h6 { color: var(--secondary-color); }
[data-theme="dark"] .alert-info-custom { color: #38bdf8; }
[data-theme="dark"] .alert-kendala { color: #fca5a5; }

/* Custom Alert Modal */
.custom-alert-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.custom-alert-overlay.show {
    opacity: 1; visibility: visible;
}
.custom-alert-box {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 30px 25px;
    max-width: 350px; width: 90%;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-theme="dark"] .custom-alert-box {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}
.custom-alert-overlay.show .custom-alert-box {
    transform: translateY(0) scale(1);
}
.custom-alert-icon { font-size: 50px; margin-bottom: 15px; }
.custom-alert-title { font-weight: bold; color: var(--primary-color); margin-bottom: 10px; }
.custom-alert-text { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 25px; }
.btn-alert-close {
    background: var(--secondary-color); 
    border: none;
    color: white; font-weight: bold; border-radius: 8px; width: 100%; padding: 12px;
    transition: 0.3s; cursor: pointer;
}
.btn-alert-close:hover { background: #e05f15; }

/* Language Toggle Button */
.lang-toggle-btn {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 2px;
    cursor: pointer;
    font-weight: 700;
    font-size: 11px;
    color: var(--text-muted);
}
[data-theme="dark"] .lang-toggle-btn {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
}
.lang-toggle-btn .lang-btn {
    padding: 3px 8px;
    border-radius: 16px;
    transition: 0.3s;
}
.lang-toggle-btn .lang-btn.active {
    background: #10b981; /* Hijau di Light Mode */
    color: white;
}
[data-theme="dark"] .lang-toggle-btn .lang-btn.active {
    background: var(--secondary-color); /* Orange di Dark Mode */
}

/* --- Interactive Service Modals --- */
.service-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none; justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.service-modal-overlay.show { display: flex; opacity: 1; }
.service-modal-box {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 90%; max-width: 850px; max-height: 90vh; overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    transform: translateY(30px); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-modal-overlay.show .service-modal-box { transform: translateY(0); }

/* Custom Scrollbar for Modal */
.service-modal-box::-webkit-scrollbar {
    width: 6px;
}
.service-modal-box::-webkit-scrollbar-track {
    background: transparent;
}
.service-modal-box::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}
.service-modal-box::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .service-modal-box::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
}
[data-theme="dark"] .service-modal-box::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}
.service-modal-close {
    position: absolute; top: 15px; right: 20px;
    font-size: 28px; cursor: pointer; color: var(--text-muted); transition: 0.2s;
    z-index: 10;
}
.service-modal-close:hover { color: var(--secondary-color); }
.service-modal-content-area { padding: 30px; display: flex; flex-direction: column; gap: 20px; }

/* Mockup Layouts inside Modal */
.mockup-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 25px;
    margin-top: 15px;
}
@media(max-width: 768px) {
    .mockup-grid { grid-template-columns: 1fr; gap: 15px; }
    .service-modal-content-area { padding: 20px 15px; }
    .service-modal-close { top: 10px; right: 15px; font-size: 24px; }
    .mockup-desktop, .mockup-phone { padding: 15px 15px 0; }
    .m-kanban { flex-direction: column; }
    .workflow-container { margin-top: 20px; padding-top: 20px; }
}

/* Phone Mockup */
.mockup-phone {
    background: rgba(0,0,0,0.03); padding: 20px 20px 0; border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05); display: flex; justify-content: center; align-items: flex-end;
}
[data-theme="dark"] .mockup-phone { background: rgba(0,0,0,0.3); border-color: rgba(255,255,255,0.05); }

.m-phone-frame {
    width: 100%; max-width: 280px; background: #fff; border-radius: 24px 24px 0 0;
    overflow: hidden; box-shadow: 0 0 0 2px #d1d5db, 0 10px 30px rgba(0,0,0,0.15);
    font-family: -apple-system, sans-serif;
}
[data-theme="dark"] .m-phone-frame { box-shadow: 0 0 0 2px #334155, 0 10px 30px rgba(0,0,0,0.5); }

.m-phone-status { background: #111827; padding: 6px 15px; display: flex; justify-content: space-between; font-size: 11px; color: #9ca3af; font-weight: 600; }
.m-phone-head { padding: 15px 15px 10px; background: #0f172a; border-bottom: 1px solid #1e293b; color: #fff;}
.m-phone-title { font-size: 15px; font-weight: 800; }
.m-phone-sub { font-size: 11px; color: #94a3b8; margin-top: 2px;}

.m-phone-body { padding: 15px; background: #0f172a; min-height: 250px; display: flex; flex-direction: column; gap: 10px; }

/* Desktop Mockup */
.mockup-desktop {
    background: rgba(0,0,0,0.03); padding: 20px 20px 0; border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
}
[data-theme="dark"] .mockup-desktop { background: rgba(0,0,0,0.3); border-color: rgba(255,255,255,0.05); }

.m-desk-frame {
    width: 100%; background: #1d2125; border-radius: 10px 10px 0 0; overflow: hidden;
    font-family: 'Inter', sans-serif; box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.m-desk-bar { background: #2c333a; padding: 8px 12px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #3b4249; }
.m-dot { width: 12px; height: 12px; border-radius: 50%; }
.m-url { flex: 1; background: #3b4249; border-radius: 6px; padding: 5px 12px; font-size: 11px; color: #8c9bab; font-family: monospace; }
.m-desk-body { padding: 20px; min-height: 200px; background: #1d2125;}

/* Mini Components */
.m-list-item {
    background: #1e293b; border-radius: 10px; padding: 12px; display: flex; align-items: center; gap: 10px;
    border: 1px solid #334155; animation: mSlideIn 0.5s ease backwards; color: #f1f5f9;
}
.m-list-item:nth-child(2) { animation-delay: 0.2s; }
.m-list-item:nth-child(3) { animation-delay: 0.4s; }

.m-badge { padding: 3px 8px; border-radius: 12px; font-size: 10px; font-weight: 700; }
.m-bg-blue { background: rgba(59,130,246,0.2); color: #60a5fa; border: 1px solid rgba(59,130,246,0.3); }
.m-bg-green { background: rgba(16,185,129,0.2); color: #34d399; border: 1px solid rgba(16,185,129,0.3); }
.m-bg-amber { background: rgba(245,158,11,0.2); color: #fbbf24; border: 1px solid rgba(245,158,11,0.3); }

.m-kanban { display: flex; gap: 12px; }
.m-k-col { flex: 1; background: rgba(0,0,0,0.25); border-radius: 10px; padding: 10px; }
.m-k-lbl { font-size: 10px; font-weight: 700; color: #8c9bab; text-transform: uppercase; margin-bottom: 8px; }
.m-k-card { background: #2c333a; padding: 10px; border-radius: 6px; font-size: 11px; color: #b6c2cf; margin-bottom: 8px; animation: mFadeIn 0.6s ease backwards; border: 1px solid #3b4249;}
.m-k-card:nth-child(2) { animation-delay: 0.3s; }
.m-k-badge { padding: 2px 6px; border-radius: 4px; font-size: 9px; font-weight: 700; color: #1d2125; }

.m-mc-box {
    background: rgba(249,115,22,0.1); border: 2px dashed #f97316; border-radius: 12px;
    padding: 20px; text-align: center; animation: mPulse 2s infinite; margin-bottom: 10px;
}

@keyframes mSlideIn { from { transform: translateX(-15px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes mFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes mPulse { 0% { box-shadow: 0 0 0 0 rgba(249,115,22,0.4); } 70% { box-shadow: 0 0 0 15px rgba(249,115,22,0); } 100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); } }

/* Workflow Steps in Modal */
.workflow-container {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}
[data-theme="dark"] .workflow-container {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.workflow-header {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
}

.workflow-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.workflow-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}
[data-theme="dark"] .step-number {
    background: var(--secondary-color);
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 5px;
}

.step-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   Preloader Styles
   ========================================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.preloader-logo {
    width: 180px;
    animation: pulseLogo 1.5s infinite ease-in-out;
}

.preloader-spinner {
    width: 35px;
    height: 35px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes pulseLogo {
    0% { transform: scale(0.95); }
    50% { transform: scale(1.05); }
    100% { transform: scale(0.95); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .hero-scroll-wrapper {
        height: auto;
    }
    .hero {
        position: relative;
        min-height: 100vh;
        height: auto;
        padding-top: 140px;
        padding-bottom: 60px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .scroll-indicator {
        display: none;
    }
}
