/* GLOBAL RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", Arial, sans-serif;
    background: #f4f7f9; /* Warna latar belakang lebih lembut */
    color: #2c3e50;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: #019ff8; /* Biru Primer */
    color: #fff !important;
    border: 2px solid #019ff8;
}

.btn-primary:hover {
    background: #007bff;
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-hero {
    margin-top: 30px;
    font-size: 18px;
    padding: 15px 35px;
    background: #fff;
    color: #2c3e50 !important;
    border: 2px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-hero:hover {
    background: #f0f0f0;
    border-color: #f0f0f0;
}

/* =========================================
   HEADER & NAVIGATION
========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header .logo .logo-img {
    height: 35px; /* Sesuaikan ukuran logo */
    width: auto;
}

/* NAV MENU (Desktop Default: Tampilkan) */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin-right: 20px;
}

.nav-menu li a {
    color: #2c3e50;
    font-size: 16px;
    font-weight: 600;
    transition: 0.2s;
}

.nav-menu li a:hover {
    color: #019ff8;
}

/* LANGUAGE SWITCHER STYLES */
.lang-switcher {
    display: flex;
    align-items: center;
    margin-right: 15px; 
}

.lang-btn {
    background: none;
    border: none;
    padding: 5px 10px;
    font-weight: 600;
    cursor: pointer;
    color: #777;
    transition: 0.2s;
    font-size: 15px;
    position: relative;
}

.lang-btn:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
    color: #ccc;
    font-size: 14px;
}

.lang-btn.active {
    color: #019ff8;
}

/* BURGER MENU (Desktop Default: Sembunyikan) */
.burger {
    width: 30px;
    height: auto;
    cursor: pointer;
    display: none; /* Sembunyikan di desktop */
    margin-left: 20px; 
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #2c3e50;
    margin: 6px 0;
    border-radius: 5px;
    transition: .4s;
}

/* =========================================
   HERO SECTION (POSTER)
========================================= */
.hero {
    position: relative;
    height: 650px;
    background: #96AFBB;
    display: flex; 
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 50%; /* Konten teks di sebelah kiri */
    margin: 0 5%;
    padding: 20px;
}

.hero-image-container {
    position: absolute; 
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    max-width: 45%; /* Ukuran Gambar di Desktop */
    height: 100%; 
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-image {
    max-height: 550px; 
    width: auto;
    object-fit: contain;
}


.hero-title {
    font-size: 80px;
    line-height: 1.1;
    font-weight: 800;
    color: #000000; 
}

.hero-subtitle {
    margin-top: 25px;
    color: rgba(0, 0, 0, 0.75); 
    font-size: 18px;
    max-width: 700px;
    line-height: 1.4;
}

/* =========================================
   SECTION GLOBAL
========================================= */
section {
    padding: 80px 0;
    margin-top: 20px;
}

section h2 {
    font-size: 36px;
    margin-bottom: 40px;
    font-weight: 800;
    text-align: center;
    color: #2c3e50;
}

/* GRID & CARDS */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: .3s;
    display: block; 
}

.card:hover {
    transform: translateY(-8px);
    border-color: #019ff8;
    box-shadow: 0 8px 25px rgba(1, 159, 248, 0.1);
}

.card .icon {
    height: 60px;
    margin: 0 auto 15px;
}

.card h3 {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
    color: #019ff8;
}

.card p {
    color: #555;
    font-size: 15px;
}

/* CLIENTS */
#clients {
    background: #f4f7f9;
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.client-logos img {
    height: 75px;
    transition: .3s;
}

.client-logos img:hover {
    opacity: 1;
    transform: scale(1.5);
}


/* =========================================
   FLOATING WHATSAPP BUTTON
========================================= */
.wa-floating {
    position: fixed;
    right: 25px;
    bottom: 25px;
    background: #25d366;
    padding: 14px;
    border-radius: 50%;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0,0,0,.3);
    transition: 0.3s;
}

.wa-floating:hover {
    transform: scale(1.1);
    background: #128c7e;
}

.wa-floating img {
    width: 38px;
}

/* =========================================
   FOOTER (Desktop)
========================================= */
.footer {
    background: #1f2c38;
    color: #eee;
    padding: 70px 0 20px;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 50px;
    border-bottom: 1px solid #334354;
}

.footer h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #fff;
}

.footer h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #019ff8;
}

.footer p, .footer a {
    color: #ccc;
    font-size: 15px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer .sosmed {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer .sosmed img {
    width: 28px;
    transition: 0.2s;
}

.footer .sosmed img:hover {
    opacity: 0.8;
}

.copy {
    margin-top: 25px;
    text-align: center;
    color: #777;
    font-size: 14px;
}

/* =========================================
   MEDIA QUERIES (RESPONSIVE)
========================================= */

/* Tablet Landscape (1024px) */
@media (max-width: 1024px) {
    /* HERO SECTION */
    .hero {
        height: 550px;
    }
    .hero-content {
        max-width: 55%; 
    }
    .hero-image-container {
        right: 2%; 
        max-width: 45%; 
    }
    .hero-image {
        max-height: 480px; 
    }
    .hero-title {
        font-size: 60px;
    }

    /* GRID */
    .grid-4 {
        grid-template-columns: repeat(2, 1fr); 
    }

    /* FOOTER */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
}


/* Tablet Portrait & Mobile (768px dan di bawah) */
@media (max-width: 768px) {
    /* HEADER (Mobile Navigation) */
    
    /* Tampilkan Burger Menu */
    .burger {
        display: block; 
    }
    
    /* Posisikan Nav Menu di Samping (dan sembunyikan) */
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100%;
        width: 70%;
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 100px;
        padding-left: 30px;
        gap: 25px;
        box-shadow: -4px 0 10px rgba(0,0,0,.15);
        transition: .4s;
        margin-right: 0;
    }
    
    .nav-menu.active {
        right: 0;
    }

    /* Burger Animation */
    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 7px);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }

    .header-right {
        margin-left: auto;
    }
    
    /* HERO SECTION (Mobile) */
    .hero {
        height: 500px; 
        text-align: center;
        padding-top: 70px;
    }

    /* Sembunyikan Gambar di Mobile/Tablet Portrait */
    .hero-image-container {
        display: none; 
    }
    
    .hero-content {
        max-width: 100%; 
        margin: 0 auto; 
        text-align: center; 
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 45px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .btn-hero {
        padding: 12px 25px;
        font-size: 16px;
    }
    
    /* SECTIONS & GRIDS */
    section {
        padding: 60px 0;
    }
    
    section h2 {
        font-size: 30px;
    }

    .grid-4 {
        grid-template-columns: 1fr; /* 1 kolom untuk mobile */
    }
    
    /* FOOTER */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .client-logos {
        gap: 30px;
    }
    
    .client-logos img {
        height: 50px;
    }
}