/* Variabel Warna HireUp */
:root {
    --primary-orange: #F7931E; 
    --accent-cyan: #1b7681; 
    --primary-gradient: linear-gradient(90deg, #F7931E 0%, #FFCC66 100%); 
    --secondary-dark: #333333; 
    --text-dark: var(--secondary-dark);
    --text-light: #fff;
    --bg-white: #fff;
    --bg-light-gray: #f8f9fa; 
    --border-color: #e0e0e0;
    --gray-text: #6c757d;
    --success-green: #28a745; 
    --card-bg-light: #F8F7FC; 
    --header-height: 80px; 
}

/* Reset Dasar & Font */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden; 
}

/* Style dari JS */
body.no-scroll {
    overflow: hidden;
}
.main-header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.scrolled-padding {
    padding-top: var(--header-height); 
}


.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* --- Header & Navigasi (FOKUS PERBAIKAN) --- */

header {
    background-color: var(--bg-white);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.main-header .container {
    padding: 0 20px;
}

.header-left {
    display: flex;
    align-items: center;
    /* Memberikan ruang yang diizinkan untuk menyusut */
    flex-grow: 1; 
    flex-shrink: 1;
    /* PERBAIKAN KRITIS: Memastikan header-left tidak membatasi ruang menu */
    min-width: 0; 
    flex-direction: row;
    justify-content: space-between;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-dark);
    margin-right: 20px; /* Jarak antara logo dan menu */
    white-space: nowrap; 
    flex-shrink: 0; /* Logo tidak menyusut */
}

.arrow-icon {
    color: var(--primary-orange);
    font-size: 2rem;
    margin-right: 5px;
}

.main-nav {
    /* Mengambil sisa ruang dengan flex-grow */
    flex-grow: 1;
    flex-shrink: 1;
    min-width: 0; 
}

.main-nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    /* Memastikan list items menggunakan sisa ruang secara merata */
    justify-content: flex-start; 
}

.main-nav ul li {
    /* Memberikan padding yang sangat kecil di sekitar link */
    padding: 0 2px;
    margin: 0;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--secondary-dark);
    /* Menggunakan padding internal untuk memberi ruang tekan */
    padding: 10px 8px; 
    font-weight: 500;
    font-size: 0.95rem; 
    display: block;
    white-space: nowrap; /* Mencegah kata pecah */
}

.main-nav ul li a:hover {
    color: var(--primary-orange);
}

.header-right {
    display: flex;
    align-items: center;
    margin-left: 20px;
    flex-shrink: 0; /* Tidak menyusut */
}

.register-button {
    text-decoration: none;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 30px; 
    white-space: nowrap;
    
    background: var(--primary-gradient);
    color: var(--text-light);
    box-shadow: 0 4px 10px rgba(247, 147, 30, 0.4);
    display: inline-flex;
    align-items: center;
    margin-bottom: 0; 
}
.register-button i {
    margin-right: 8px;
}

/* Offcanvas Menu & Overlay */
.hamburger-menu {
    display: none;
}
/* ... (Aturan Offcanvas dan Hero Section tetap sama) ... */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s, visibility 0.4s;
}
.overlay.open {
    visibility: visible;
    opacity: 1;
}

.off-canvas-menu {
    position: fixed;
    top: 0;
    right: -280px; 
    width: 280px; 
    height: 100vh; 
    background-color: var(--secondary-dark); 
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1); 
    transition: right 0.4s ease-in-out; 
    z-index: 9999; 
    padding: 2rem; 
}
.off-canvas-menu.open {
    right: 0; 
}
.off-canvas-menu a {
    color: var(--text-light);
    margin-bottom: 15px;
    display: block;
    text-decoration: none
}
.off-canvas-menu .btn-mobile {
    margin-top: 15px;
    padding: 10px 15px;
    text-align: center;
    border-radius: 20px;
    font-weight: 600;
}
.off-canvas-menu .btn-primary {
    background: var(--primary-orange);
    color: var(--text-dark);
}
.off-canvas-menu .btn-outline {
    border: 1px solid var(--text-light);
    color: var(--text-light);
}

.off-canvas-menu #close-menu {
    position: absolute;
    top: 10px;
    right: 20px;
    color: var(--text-light);
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

.social-icons a{
    color: #fff !important;
    padding-right: 7px;
}

/* --- Hero Section --- */

.hero-section {
    padding: 0;
    background-color: var(--bg-white);
}

.hero-full-layout {
    display: flex;
    min-height: 500px;
    max-width: 100vw; 
}

.hero-image-side {
    flex: 1 1 35%; 
    position: relative;
    overflow: hidden;
}

/* Kotak Biru Muda */
.image-background-cyan {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background-color: var(--accent-cyan);
    z-index: 1;
}

.image-background-cyan .arrow-outline {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1;
}

.hero-image-side img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

/* Sisi Konten Oranye */
.hero-content-side {
    flex: 1 1 65%;
    background-color: var(--primary-orange);
    color: var(--text-light);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.hero-title-top {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary-dark); 
    margin-bottom: 20px;
}

.hero-logo-top {
    position: absolute;
    top: 30px;
    right: 30px;
    background-color: var(--bg-white);
    padding: 10px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--secondary-dark);
    font-weight: 600;
    white-space: nowrap; 
}
.hero-logo-top .arrow-icon {
    font-size: 1.5rem;
}

.hero-content-side p {
    font-size: 1.8rem;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 20px;
    max-width: 100%; 
}

.content-dots {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}
.content-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
}
.content-dots .dot:nth-child(1) {
    background-color: var(--text-light);
}

/* --- Section Umum & Judul --- */

section {
    padding: 80px 0;
    text-align: center; 
}

h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-dark);
    margin-bottom: 40px;
    text-align: center !important; 
}

/* --- 3. Bagian Kartu Fitur (Keunggulan) --- */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px; 
    max-width: 900px;
    margin: 0 auto;
    transform: translateY(0); 
    position: relative;
    z-index: 10;
}
.features-section {
    padding-bottom: 80px;
    padding-top: 40px; 
}


.feature-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background-color: var(--primary-orange);
    color: var(--text-light);
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-dark);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-text);
}


/* --- 4. Daftar Item/Solusi Panjang (Layanan) --- */

.solutions-section {
    background-color: var(--bg-white);
}

.solutions-content {
    display: flex;
    justify-content: center;
    gap: 40px; 
    max-width: 1100px;
    margin: 0 auto;
}

.solutions-image {
    flex: 1;
    padding: 15px; 
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.solutions-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.solutions-text {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 20px; 
    text-align: left;
}

.solution-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    background-color: var(--card-bg-light); 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.solution-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-orange);
    color: var(--text-light);
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.solution-description h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-dark);
    margin: 0;
}

.solution-description p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--gray-text);
    margin: 0;
}

/* --- 5. Bagian Banner CTA 3 Kolom (Proses Step Up) --- */

.steps-section {
    background-color: var(--bg-light-gray);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-orange);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--secondary-dark);
    color: var(--text-light);
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px auto 20px;
}

.btn-primary-outline {
    background: none;
    border: 1px solid var(--primary-orange);
    color: var(--primary-orange);
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

/* --- 6. Testimonial Section --- */

.testimonials-slider-section {
    padding: 80px 0; 
    background-color: var(--bg-white);
}

.testimonial-main-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-dark);
    margin-bottom: 10px;
    text-align: center; 
}

.stars {
    color: #FFD700; 
    font-size: 1.5rem;
    margin-bottom: 40px;
}

/* Container Testimonial kini adalah GRID */
.testimonial-cards-container {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    max-width: 1000px;
    margin: 0 auto;
    padding: 0; 
    overflow: visible;
}

.testimonial-card-v2 {
    flex: none; 
    background-color: var(--card-bg-light); 
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: left; 
    height: 100%; 
}

.testimonial-slider-wrapper { max-width: 100%; margin: 0 auto; }
.slider-arrow, .slider-dots { display: none; }


/* --- 7. FAQ Section --- */
.faq-section {
    background-color: var(--bg-light-gray);
    padding-top: 50px; 
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-white);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: 600;
    color: var(--secondary-dark);
}

.faq-question i {
    color: var(--primary-orange);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 25px 15px;
    max-height: 0; 
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out; 
    color: var(--gray-text);
    text-align: left;
}


/* --- 8. CTA Banner Penuh --- */

.cta-banner-section .container {
    max-width: 1000px; 
}

.cta-banner-content {
    background: linear-gradient(246deg, #D200F2 0%, #F73C58 80%); 
    color: var(--text-light);
    padding: 60px 80px; 
    border-radius: 20px; 
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
    box-shadow: 0 10px 30px rgba(193, 42, 61, 0.3);
}
.cta-banner-content h2 {
    font-size: 2.5rem;
    color: var(--text-light);
}

.cta-banner-button {
    background-color: var(--text-light); 
    color: #333333; 
    padding: 15px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

/* --- Footer --- */

.main-footer-extended {
    background-color: var(--secondary-dark); 
    color: var(--text-light);
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr;
    gap: 30px;
    text-align: left;
}

.footer-logo {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
}
.footer-logo .arrow-icon {
    color: var(--primary-orange);
}

.footer-col h4 {
    color: var(--text-light);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li a {
    color: var(--footer-text-light);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}
.footer-col ul li i {
    color: var(--primary-orange);
    margin-right: 10px;
}

.sub-footer {
    background-color: var(--primary-orange); 
    color: var(--text-light);
    padding: 20px 0;
}
.sub-footer .container {
    justify-content: space-between;
    align-items: center;
}

/* --- Mobile Responsiveness --- */

@media (max-width: 992px) {
    /* Header & Navigasi */
    .main-nav {
        display: none;
    }
    .header-right {
        display: flex;
        align-items: center;
    }
    .header-right .register-button {
        display: inline-flex;
        padding: 10px 20px; 
    }
    .hamburger-menu {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        margin-left: 15px; 
    }


    /* Hero */
    .hero-full-layout {
        display: block; 
    }
    .hero-image-side, .hero-content-side {
        width: 100%; 
        min-height: 350px; 
        padding: 40px 20px;
    }
    .hero-content-side {
        text-align: center;
    }
    
    .hero-title-top {
        text-align: center;
        font-size: 1.8rem;
    }
    .hero-logo-top {
        position: relative;
        top: 0;
        right: 0;
        margin: 0 auto 20px;
    }
    .hero-content-side p {
        font-size: 1.4rem;
    }
    .content-dots {
        justify-content: center;
    }

    /* Solutions Section */
    .solutions-content {
        display: block; 
        gap: 20px;
    }
    
    .solutions-image, .solutions-text {
        width: 100%;
        margin-bottom: 20px; 
    }
    .solutions-image {
        order: -1;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .sub-footer .container {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    /* Header & Navigasi Mobile */
    .header-right .register-button {
        display: none; 
    }
    
    /* General */
    section {
        padding: 40px 0;
    }
    h3 {
        font-size: 1.8rem;
    }

    /* Hero */
    .hero-image-side {
        min-height: 250px;
    }

    /* Card Items */
    .features-grid {
        grid-template-columns: 1fr;
        transform: translateY(0); 
    }
    .feature-card {
        text-align: center; 
    }
    .feature-icon {
        margin: 0 auto 15px; 
    }

    .solution-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .solution-description h4, .solution-description p {
        text-align: center;
    }

    /* Testimonial Card Width pada Mobile */
    .testimonial-cards-container {
        grid-template-columns: 1fr; 
        padding: 0 20px;
    }
    .testimonial-card-v2 {
        height: auto; 
    }


    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col {
        padding: 0 10px;
    }
    .footer-col ul li {
        text-align: center;
    }
    .footer-col ul li a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* --- CSS Dropdown Menu (SOLUSI FINAL OVERLAP & AUTO-SHOW) --- */
/* 1. KONTEN NAVIGASI UTAMA (Memastikan Horizontal Flow) */
.main-nav ul {
    /* Pastikan menu utama berbaris mendatar (jika menggunakan Flexbox) */
    display: flex; 
    flex-direction: row; 
    align-items: center;
}

/* 2. DROPDOWN WRAPPER (LI) */
.main-nav ul li.dropdown {
    position: relative;
    padding: 0 15px; /* Jarak antar menu utama */
    margin: 0;
    list-style: none;
}

/* 3. LINK DROPDOWN UTAMA (A) */
.main-nav ul li.dropdown > a {
    display: flex;
    align-items: center;
    padding: 15px 0; /* Padding vertikal link utama */
    font-weight: 500;
}
.main-nav ul li.dropdown .dropdown-arrow {
    font-size: 0.7em;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

/* 4. DROPDOWN CONTENT (UL) - Sub-Menu */
.dropdown-content {
    /* Sembunyikan secara default menggunakan opacity/visibility */
    display: block; 
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    
    position: absolute;
    top: 100%; 
    left: 50%; 
    transform: translateX(-50%); 
    
    min-width: 220px; /* Ukuran kotak dropdown lebih besar */
    background-color: var(--bg-white); 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000; 
    
    /* RESET PENTING untuk tampilan vertikal */
    padding: 10px 0;
    margin: 0; 
    list-style: none;
    border-radius: 5px;
}

/* 5. ITEM SUB-MENU (LI) - Dibuat blok agar item pasti bertumpuk */
.dropdown-content li {
    padding: 0;
    margin: 0;
    list-style: none;
    display: block; /* Memastikan setiap item mengambil baris baru */
}

/* 6. LINK SUB-MENU (A) */
.dropdown-content li a {
    color: var(--secondary-dark); 
    padding: 12px 20px; /* Membuat link lebih besar */
    display: block; /* Memastikan teks link mengisi lebar penuh item LI */
    white-space: nowrap; 
    font-size: 1rem;
    font-weight: 500;
}

.dropdown-content li a:hover {
    background-color: var(--bg-light-gray); 
    color: var(--primary-orange);
}

/* 7. TAMPILKAN DROPDOWN SAAT HOVER */
.main-nav ul li.dropdown:hover > .dropdown-content {
    opacity: 1;
    visibility: visible;
}

/* 8. Rotasi Panah */
.main-nav ul li.dropdown:hover > a .dropdown-arrow {
    transform: rotate(180deg);
}

/* Media Query tetap sama */
@media (max-width: 992px) {
    .main-nav {
        display: none; 
    }
}