/* ========================================================== */
/* PT PERSADA - PAGES STYLESHEET (FIXED HEIGHT VERSION!)     */
/* Khusus untuk halaman internal: About, Services, & Career   */
/* TINGGI HEADER NORMAL - TIDAK TERPOTONG!                   */
/* ========================================================== */

/* ========================================================== */
/* A. PAGE HEADER (NORMAL HEIGHT - FIXED!)                   */
/* ========================================================== */
.page-header {
    position: relative;
    overflow: hidden;
    margin-top: -76px;
    padding-top: 95px !important;       /* ✅ NORMAL HEIGHT! (was 45px) */
    padding-bottom: 10px !important;     /* ✅ ENOUGH SPACE! (was 10px) */
    color: white;
    background: linear-gradient(135deg, rgba(10, 25, 41, 0.92) 0%, rgba(0, 51, 102, 0.85) 100%),
                url('https://images.unsplash.com/photo-1497366216548-37526070297c?q=80&w=2069');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: auto !important;
}

/* Animasi Bulat-bulat di Header Internal */
.header-animated-shapes {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1; pointer-events: none; overflow: hidden;
    opacity: 0.6 !important;
}
.header-animated-shapes .shape {
    position: absolute; border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    animation: float-header infinite linear;
}
.shape-1 { width: 300px; height: 300px; top: -50px; left: -50px; animation-duration: 20s; }
.shape-2 { width: 400px; height: 400px; bottom: -100px; right: -100px; background: rgba(0, 212, 255, 0.05) !important; animation-duration: 25s; animation-direction: reverse; }
.shape-3 { width: 100px; height: 100px; top: 40%; right: 20%; animation-duration: 15s; }

@keyframes float-header {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

.page-header .container { 
    position: relative; 
    z-index: 2;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.page-header h1 { 
    color: var(--brand-white); 
    font-size: 1.5rem !important;          /* ✅ READABLE SIZE! (was 1.3rem) */
    font-weight: 700; 
    margin-top: 0.3rem !important;         /* ✅ PROPER SPACING! (was 0.3rem) */
    margin-bottom: 0.3rem !important;   /* ✅ PROPER SPACING! (was 0.3rem) */
    padding: 0 !important;
    line-height: 1.0 !important;
}

/* Breadcrumb Khusus Header ini saja */
.page-header .breadcrumb { 
    background: transparent; 
    padding: 0; 
    margin: 0;
    margin-bottom: 0.5rem !important;    /* ✅ SPACING! (was 0) */
    font-size: 0.9rem !important;        /* ✅ READABLE! (was 0.85rem) */
}
.page-header .breadcrumb-item { 
    padding: 0 !important;
    margin: 0 !important;
}
.page-header .breadcrumb-item a { color: var(--brand-accent); font-weight: 600; }
.page-header .breadcrumb-item.active { color: rgba(255, 255, 255, 0.7); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, 0.3); }

/* Remove Bootstrap padding overrides */
.page-header .pt-1, .page-header .pt-2, .page-header .pt-3, 
.page-header .pt-4, .page-header .pt-5 {
    padding-top: 0 !important;
}
.page-header .pb-1, .page-header .pb-2, .page-header .pb-3, 
.page-header .pb-4, .page-header .pb-5 {
    padding-bottom: 0 !important;
}

/* ========================================================== */
/* B. KOMPONEN HALAMAN ABOUT / PERUSAHAAN */
/* ========================================================== */

/* Sidebar Menu (Visi Misi, Struktur, dll) */
.sidebar-nav-card {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    position: sticky; 
    top: 100px !important;  /* ✅ Adjusted for normal header */
    overflow: hidden;
}

.sidebar-menu-item {
    display: block; 
    padding: 15px 20px;
    color: var(--text-secondary); 
    font-weight: 500;
    font-size: 0.85rem;  /* <--- TAMBAHKAN INI (Sesuaikan angkanya) */
    border-bottom: 1px solid #f0f0f0; 
    transition: all 0.3s ease;
}


.sidebar-menu-item:hover { background-color: #f9f9f9; color: var(--brand-primary); padding-left: 25px; }
.sidebar-menu-item.active { background-color: var(--brand-primary); color: white; }
.sidebar-menu-item:last-child { border-bottom: none; }

/* Kartu Komisaris & Direksi */
.komisaris-card, .director-card {
    border: 1px solid #eee; border-radius: var(--radius-lg);
    overflow: hidden; margin-bottom: 30px; transition: 0.3s; background: #fff;
}
.komisaris-card:hover, .director-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--brand-primary); transform: translateY(-3px);
}
.komisaris-img-wrap, .director-img-wrap { height: 100%; min-height: 280px; position: relative; overflow: hidden; }
.komisaris-img, .director-img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.komisaris-card:hover .komisaris-img { transform: scale(1.05); }
.komisaris-body, .director-body { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }

/* Client Logo Box (Grid Klien) */
.client-logo-box {
    border: 1px solid #eee; border-radius: var(--radius-md); padding: 1.5rem;
    display: flex; align-items: center; justify-content: center; height: 110px;
    background: #fff; transition: all 0.3s ease;
}
.client-logo-box:hover { border-color: var(--brand-primary); transform: translateY(-3px); }
.client-img { max-width: 85%; max-height: 60px; filter: grayscale(100%); opacity: 0.6; transition: all 0.4s ease; object-fit: contain; }
.client-logo-box:hover .client-img { filter: grayscale(0%); opacity: 1; transform: scale(1.05); }

/* Value Cards (Visi Misi) */
.value-card {
    border: 1px solid #eee; border-radius: var(--radius-md); padding: 20px;
    height: 100%; transition: 0.3s; background: #fff; position: relative; overflow: hidden;
}
.value-card:hover { transform: translateY(-5px); border-color: var(--brand-primary); }
.value-letter { font-size: 3rem; font-weight: 900; color: rgba(0, 97, 242, 0.1); position: absolute; top: -10px; right: 10px; line-height: 1; }

/* About Profile Image */
.about-main-img { border-radius: 12px; width: 100%; object-fit: cover; height: 350px; }
.about-floating-card {
    position: absolute; bottom: -20px; right: -20px;
    background: white; padding: 20px; border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15); max-width: 250px;
    border-left: 5px solid var(--brand-primary);
}

/* ========================================================== */
/* C. JOB LIST CARD (KIRI GAMBAR - KANAN KONTEN) */
/* ========================================================== */

.job-list-card {
    display: flex;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.job-list-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 97, 242, 0.1);
    border-color: rgba(0, 97, 242, 0.4);
}

.job-card-left {
    width: 220px;
    min-width: 220px;
    position: relative;
    background: #f8fafc;
}

.job-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
}

.job-card-right {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.job-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 0.25rem;
    text-decoration: none;
    transition: color 0.2s;
}
.job-card-title:hover { color: var(--brand-primary); }

.job-card-meta {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 0.75rem;
    display: flex;
    gap: 15px;
}

.job-card-desc {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 1.25rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.status-fulltime { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.status-contract { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.status-intern   { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }

@media (max-width: 768px) {
    .job-list-card {
        flex-direction: column;
    }
    .job-card-left {
        width: 100%;
        min-width: 100%;
        height: 180px;
    }
    .job-card-right {
        padding: 1.25rem;
    }
    .job-card-footer {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    .job-card-footer .btn {
        width: 100%;
    }
}

.job-visual-body {
    width: 70%;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.job-visual-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
    text-decoration: none;
    line-height: 1.3;
}
.job-visual-title:hover { color: var(--brand-primary); }

.job-visual-desc {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.job-visual-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.job-visual-meta i { color: var(--brand-primary); margin-right: 5px; }

.job-visual-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 991px) {
    .job-visual-card {
        flex-direction: column;
    }
    .job-visual-img-box {
        width: 100%;
        height: 200px;
    }
    .job-visual-body {
        width: 100%;
        padding: 1.5rem;
    }
}

/* ========================================================== */
/* D. RESPONSIVE UTILS */
/* ========================================================== */
@media (max-width: 991px) {
    .page-header { 
        margin-top: -70px !important;
        padding-top: 90px !important;    /* ✅ Responsive but not too small */
        padding-bottom: 25px !important;
    }
    .page-header h1 {
        font-size: 1.5rem !important;
    }
    .sidebar-nav-card { 
        position: relative !important; 
        top: 0 !important; 
        margin-bottom: 2rem; 
    }
    .komisaris-img-wrap { min-height: 250px; }
    .career-sidebar { 
        position: static; 
        margin-bottom: 2rem; 
        display: flex; 
        overflow-x: auto; 
        white-space: nowrap; 
        gap: 10px; 
        padding: 10px; 
    }
    .career-sidebar .nav-link { flex: 0 0 auto; margin-bottom: 0; }
}

@media (max-width: 768px) {
    .page-header { 
        margin-top: -65px !important;
        padding-top: 80px !important;
        padding-bottom: 20px !important;
    }
    .page-header h1 { 
        font-size: 1.35rem !important;
        margin-top: 0.75rem !important;
        margin-bottom: 0.5rem !important;
    }
    .page-header .breadcrumb {
        font-size: 0.85rem !important;
    }
    .about-floating-card { 
        position: relative; 
        margin: 20px 0 0 20px; 
        bottom: auto; 
        right: auto; 
    }
    .job-row { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 1rem; 
        padding: 1rem; 
        border: 1px solid #f1f5f9; 
        border-radius: 8px; 
        margin-bottom: 0.5rem; 
    }
    .job-row:hover { padding: 1rem; }
    .job-action-btn { width: 100%; justify-content: center; }
    .job-meta-wrapper { flex-wrap: wrap; }
}

@media (max-width: 576px) {
    .page-header {
        padding-top: 75px !important;
        padding-bottom: 18px !important;
    }
    .page-header h1 {
        font-size: 1.25rem !important;
    }
}
