/* =========================================
   COMPONENT: KLIEN PAGE
   ========================================= */

/* --- 1. HERO SECTION --- */
.clients-page-hero {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-color: var(--navy);
    padding-top: 100px; /* Menghindari tabrakan dengan Navbar */
    overflow: hidden;
}

/* Gambar Background Jabat Tangan */
.clients-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center right; /* Memastikan titik fokus gambar (jabat tangan) di kanan */
    z-index: 1;
}

/* Gradient Overlay: 
   Solid navy di kiri (0% - 45%) untuk teks, memudar jadi transparan di kanan (100%) */
.clients-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #051426 0%, rgba(5,20,38,0.95) 45%, rgba(5,20,38,0.2) 100%);
    z-index: 2;
}

/* Aksen Garis Diagonal Kuning Kanan Bawah */
.clients-yellow-slash {
    position: absolute;
    bottom: -80px;
    right: -40px;
    width: 60px;
    height: 250px;
    background-color: var(--yellow);
    transform: rotate(45deg);
    z-index: 3;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

/* Watermark Teks Kanan Atas */
.clients-watermark {
    position: absolute;
    top: 60px;
    right: 5%;
    text-align: right;
    z-index: 3;
}
.clients-watermark span {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
    letter-spacing: 1px;
}
.clients-watermark .decor-line {
    width: 40px; height: 3px; background-color: var(--yellow);
    margin-top: 10px; margin-left: auto;
}

/* Kontainer Konten Utama */
.clients-hero-container {
    position: relative;
    z-index: 10;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    padding: 20px 5% 60px;
    display: flex;
    flex-direction: column;
}

.clients-breadcrumb {
    margin-bottom: 40px;
}

.clients-hero-content {
    max-width: 750px;
}

/* Tipografi */
.clients-title {
    font-family: var(--font-heading);
    font-size: 4.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
    margin-top: 10px;
    letter-spacing: -1px;
}
.clients-desc {
    color: #E5E7EB;
    font-size: 1.15rem;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 45px;
}

/* Fitur Inline Baris Bawah */
.clients-feature-row {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.clients-feat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.clients-feat-icon {
    color: var(--yellow);
    font-size: 2.5rem;
    font-variation-settings: 'wght' 300, 'FILL' 0;
}
.clients-feat-text {
    display: flex;
    flex-direction: column;
}
.clients-feat-text .title {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
}
.clients-feat-text .desc {
    color: #9CA3AF;
    font-size: 0.85rem;
    line-height: 1.3;
}

/* Garis Pemisah (Divider) antar fitur */
.clients-feat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* =========================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================= */
@media (max-width: 1024px) {
    .clients-hero-overlay {
        background: linear-gradient(90deg, #051426 0%, rgba(5,20,38,0.9) 60%, rgba(5,20,38,0.4) 100%);
    }
    .clients-title { font-size: 3.5rem; }
    .clients-watermark { display: none; }
}

@media (max-width: 768px) {
    .clients-page-hero { padding-top: 80px; min-height: auto; }
    
    /* Memastikan gradient lebih pekat di layar kecil agar teks terbaca jelas di atas gambar */
    .clients-hero-overlay {
        background: linear-gradient(180deg, rgba(5,20,38,0.95) 0%, rgba(5,20,38,0.85) 60%, rgba(5,20,38,0.7) 100%);
    }
    
    .clients-hero-bg { background-position: center; }
    .clients-yellow-slash { display: none; } /* Hilangkan ornamen potongan diagonal di layar HP agar rapi */
    
    .clients-breadcrumb { margin-bottom: 30px; }
    .clients-title { font-size: 2.5rem; }
    .clients-desc br { display: none; }
    
    .clients-feature-row { flex-direction: column; align-items: flex-start; gap: 20px; }
    .clients-feat-divider { display: none; }
}



/* =========================================
   COMPONENT: KLIEN PAGE - DAFTAR LOGO
   ========================================= */

.clients-list-section {
    background-color: #F8F9FA; /* Abu-abu sangat terang untuk kontras dengan kartu putih */
    padding: 100px 5%;
    width: 100%;
}

/* --- HEADER KLIEN --- */
.clients-list-header {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.clients-list-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--navy);
}

.clients-list-desc {
    font-size: 1.1rem;
    color: #4B5563; /* Abu-abu medium */
    line-height: 1.7;
}

/* --- GRID LOGO --- */
.clients-grid-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    /* 4 Kolom dengan ukuran sama rata */
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.client-card {
    background-color: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: #D1D5DB;
}

/* Bungkus Logo agar ukurannya seragam */
.client-logo-wrapper {
    height: 90px; /* Tinggi maksimal area logo */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

/* =========================================
   LOGO KLIEN - FULL COLOR
   ========================================= */

.client-logo-wrapper img {

    max-width:
        80%;

    max-height:
        100%;

    object-fit:
        contain;

    filter:
        none;

    opacity:
        1;

    transition:
        all
        0.3s ease;

}


.client-card:hover .client-logo-wrapper img {

    filter:
        none;

    opacity:
        1;

    transform:
        scale(
            1.05
        );

}

/* Nama Klien di Bawah Logo */
.client-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6B7280;
    text-align: center;
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid #F3F4F6;
}

/* =========================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================= */

@media (max-width: 1200px) {
    /* Turun jadi 3 kolom di laptop/tablet besar */
    .clients-grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    /* Turun jadi 2 kolom di tablet menengah */
    .clients-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .clients-list-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 600px) {
    /* Turun jadi 1 kolom di HP kecil */
    .clients-list-section {
        padding: 60px 5%;
    }
    .clients-grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .clients-list-title {
        font-size: 2.2rem;
    }
    .clients-list-desc {
        font-size: 1rem;
    }
}


.clients-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 30px;
    align-items: center;
}

.client-logo-card {
    background: #FFFFFF;
    border: 1px solid #E0E5F2;
    border-radius: 8px;
    padding: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* =========================================
   CLIENT LOGO CARD - FULL COLOR
   ========================================= */

.client-logo-card img {

    max-width:
        100%;

    max-height:
        100%;

    object-fit:
        contain;

    filter:
        none;

    opacity:
        1;

    transition:
        all
        0.3s ease;

}


.client-logo-card:hover img {

    filter:
        none;

    opacity:
        1;

    transform:
        scale(
            1.05
        );

}

.client-logo-card:hover img {
    /* Kembali ke warna asli saat di-hover */
    filter: grayscale(0%) opacity(100%);
    transform: scale(1.05);
}