* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #003d5c;
    --secondary-color: #f0f4f8;
    --accent-color: #e8d5c4;
    --text-color: #333;
    --light-text: #666;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.loaded {
    opacity: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Base Padding for All Sections */
.hero, .about, .services, .clients, .contact, .certifications {
    padding: 100px 20px;
}

/* ============= HEADER & NAVIGATION ============= */

.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.logo img {
    height: 40px;
    width: auto;
    border-radius: 50%;
    object-fit: contain;
}

.company-name {
    color: var(--primary-color);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

/* Pemisahan Hover dan Active State (Penyempurnaan UX) */
.nav-menu a:hover {
    color: var(--primary-color);
    font-weight: 600; /* Lebih halus dari Active state */
}

.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 700; /* Tetap kuat untuk Active state */
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* --- Language Toggle Switch --- */
.lang-switch-label {
    position: relative;
    display: flex;
    align-items: center;
    width: 70px;
    height: 30px;
    background-color: var(--secondary-color);
    border-radius: 15px;
    cursor: pointer;
    overflow: hidden;
    padding: 0 5px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.lang-switch-label .lang-id,
.lang-switch-label .lang-en {
    position: absolute;
    font-size: 11px;
    font-weight: 700;
    line-height: 30px;
    z-index: 2;
    transition: color 0.3s ease;
    width: 50%;
    text-align: center;
}

.lang-switch-label .lang-id {
    left: 0;
    color: var(--white);
}

.lang-switch-label .lang-en {
    right: 0;
    color: var(--light-text);
}

.lang-switch-label .slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 33px;
    height: 26px;
    background-color: var(--primary-color);
    border-radius: 13px;
    transition: transform 0.3s ease;
    z-index: 1;
}

#lang-toggle:checked + .slider {
    transform: translateX(36px);
}

#lang-toggle:checked ~ .lang-id {
    color: var(--light-text);
}

#lang-toggle:checked ~ .lang-en {
    color: var(--white);
}

.lang-switcher {
    list-style: none;
}

/* ------------------------------- */

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ============= HERO SECTION ============= */

.hero {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 120px 20px;
    text-align: center;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, #005a8b 0%, transparent 50%),
                radial-gradient(circle at bottom left, #005a8b 0%, transparent 50%);
    opacity: 0.2;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    background-color: #d1bfa9;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ============= ABOUT SECTION ============= */

.about {
    background-color: var(--secondary-color);
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--primary-color);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: var(--light-text);
    line-height: 1.8;
}

.about-text p .highlight-year {
    color: var(--primary-color); 
    font-weight: 700;
    /* Memberi aksen latar belakang agar sangat menonjol */
    background-color: var(--accent-color);
    padding: 3px 6px;
    border-radius: 4px;
    white-space: nowrap; /* Mencegah tahun terpotong ke baris baru */
    display: inline-block; /* Memastikan padding dan background bekerja */
    margin: 0 5px; /* Sedikit jarak dari teks di sekitarnya */
}

.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.value-item p {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* ============= CERTIFICATIONS SECTION ============= */

.certifications {
    background-color: var(--white);
    text-align: center;
    padding: 60px 20px;
}

.certifications h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.cert-subtext {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cert-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    align-items: center;
    justify-items: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.cert-logos img {
    max-width: 150px;
    height: auto;
    opacity: 1;
    filter: grayscale(0%);
    transition: var(--transition);
}

/* ============= SERVICES SECTION ============= */

.services {
    background-color: var(--white);
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--secondary-color);
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--primary-color);
    border-top: 4px solid var(--primary-color);
}

.service-icon {
    font-size: 1.8rem;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============= CLIENTS SECTION ============= */

.clients {
    background-color: var(--secondary-color);
    padding: 100px 20px;
    text-align: center;
}

.clients h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.clients-subtext {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.clients-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    align-items: center;
    justify-items: center;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.clients-logos img {
    max-width: 140px;
    height: auto;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.clients-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: none;
}

/* ============= CONTACT SECTION ============= */

.contact {
    background-color: var(--secondary-color);
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
    color: var(--primary-color);
}

.contact-content {
    display: grid;
    /* Rasio dan Gap yang seimbang */
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info {
    /* Sudah diatur display: flex di main.js */
    flex-direction: column;
    gap: 30px;
    margin-bottom: 20px;
    padding-top: 10px;
}

.contact-item {
    display: flex;
    gap: 20px;
    /* Kunci Kerataan: Rata tengah vertikal */
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info .contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0;
}

.contact-item h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 3px;
}

.contact-item p {
    font-size: 1rem;
    line-height: 1.4;
    color: var(--light-text); /* Default untuk deskripsi non-link */
}

/* Styling Link Kontak */
.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-item a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Styling Area Desc */
.contact-item .area-desc {
    color: var(--light-text); 
    font-size: 1rem;
    font-weight: 400;
}


/* Styling Formulir */
.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 2px solid #ddd;
    border-radius: 0;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: transparent;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
    box-shadow: none;
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    margin-top: 15px;
}

.submit-btn:hover {
    background-color: #002f4a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 61, 92, 0.3);
}

/* ============= FLOATING WHATSAPP BUTTON ============= */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    z-index: 999;
}

.whatsapp-float:hover {
    background-color: #1ebe56;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ============= FOOTER ============= */

.footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
}

.footer p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ============= RESPONSIVE DESIGN ============= */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        order: 3;
    }
    
    /* Tampilkan switch di navbar-content */
    .lang-switcher.mobile-visible {
        display: block; 
        margin-right: 15px; 
        order: 2;
    }
    
    .lang-switcher {
    list-style: none;
    }
    
    .navbar-content {
        /* Pastikan elemen di mobile content sejajar */
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--white);
        padding: 20px;
        gap: 1rem;
        box-shadow: var(--shadow);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .about h2,
    .services h2,
    .clients h2,
    .contact h2,
    .certifications h2 {
        font-size: 1.8rem;
    }

    .contact {
        background-color: var(--white);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        padding-bottom: 20px;
        margin-bottom: 20px;
        border-bottom: 1px solid rgba(0, 61, 92, 0.1);
    }
    
    .whatsapp-float {
        bottom: 25px;
        right: 25px;
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .services-grid {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .about h2,
    .services h2,
    .clients h2,
    .contact h2,
    .certifications h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .nav-menu {
        gap: 0.5rem;
        padding: 15px;
    }

    .values {
        gap: 20px;
    }
}

.lang-switcher {
    list-style: none;
}