/* ===================================================
                CAREER PAGE
      APARTEMEN CASA DE PARCO
=================================================== */

:root{

    --primary:#0d47a1;
    --secondary:#1565c0;
    --accent:#42a5f5;
    --light:#f5f8fc;
    --white:#ffffff;
    --dark:#222;
    --gray:#777;
    --shadow:0 15px 35px rgba(0,0,0,.12);
    --radius:18px;

}

/* ===================================================
                    HERO
=================================================== */

.career-hero{

    position:relative;

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    overflow:hidden;

    background:url("../images/career-bg.jpg") center center/cover no-repeat;

}

.career-hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:rgba(7,27,70,.72);

}

.hero-overlay{

    position:absolute;

    inset:0;

    backdrop-filter:blur(2px);

}

.hero-content{

    position:relative;

    z-index:2;

    max-width:850px;

    text-align:center;

    color:#fff;

}

.career-tag{

    display:inline-block;

    padding:10px 25px;

    background:rgba(255,255,255,.18);

    border:1px solid rgba(255,255,255,.3);

    border-radius:40px;

    backdrop-filter:blur(10px);

    font-size:14px;

    margin-bottom:25px;

    letter-spacing:1px;

}

.hero-content h1{

    font-size:58px;

    font-weight:800;

    line-height:1.2;

    margin-bottom:25px;

}

.hero-content h1 span{

    color:#79c8ff;

}

.hero-content p{

    font-size:18px;

    line-height:1.9;

    color:#f2f2f2;

    margin-bottom:40px;

}

.hero-button{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

/* ===================================================
                BUTTON
=================================================== */

.btn-primary{

    background:linear-gradient(135deg,#1976d2,#0d47a1);

    color:#fff;

    padding:15px 35px;

    border-radius:50px;

    text-decoration:none;

    font-weight:600;

    transition:.4s;

    box-shadow:0 12px 30px rgba(13,71,161,.35);

}

.btn-primary:hover{

    transform:translateY(-5px);

    box-shadow:0 20px 40px rgba(13,71,161,.45);

}

.btn-outline{

    color:#fff;

    border:2px solid rgba(255,255,255,.5);

    padding:15px 35px;

    border-radius:50px;

    text-decoration:none;

    transition:.4s;

}

.btn-outline:hover{

    background:#fff;

    color:var(--primary);

}

/* ===================================================
                ABOUT
=================================================== */

.career-about{

    padding:100px 0;

    background:#fff;

}

.about-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.about-image img{

    width:100%;

    border-radius:20px;

    box-shadow:var(--shadow);

}

.about-content span{

    color:var(--secondary);

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:2px;

}

.about-content h2{

    font-size:42px;

    margin:18px 0;

    color:#111;

}

.about-content p{

    line-height:2;

    color:#666;

    margin-bottom:18px;

}

/* ===================================================
                SECTION TITLE
=================================================== */

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title h2{

    font-size:42px;

    color:#222;

    margin-bottom:15px;

}

.section-title p{

    max-width:700px;

    margin:auto;

    color:#777;

    line-height:1.8;

}

/* ===================================================
                BENEFIT
=================================================== */

.career-benefit{

    padding:100px 0;

    background:#f7f9fc;

}

.benefit-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.benefit-card{

    background:#fff;

    padding:45px 35px;

    border-radius:20px;

    transition:.4s;

    text-align:center;

    box-shadow:0 8px 25px rgba(0,0,0,.06);

}

.benefit-card:hover{

    transform:translateY(-12px);

    box-shadow:0 20px 45px rgba(0,0,0,.12);

}

.benefit-card i{

    width:90px;

    height:90px;

    background:#eaf4ff;

    color:var(--primary);

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    margin:auto;

    font-size:35px;

    margin-bottom:25px;

    transition:.4s;

}

.benefit-card:hover i{

    transform:rotate(10deg) scale(1.15);

    background:var(--primary);

    color:#fff;

}

.benefit-card h3{

    margin-bottom:15px;

    font-size:23px;

}

.benefit-card p{

    color:#666;

    line-height:1.8;

}

/* ===================================================
                COUNTER
=================================================== */

.career-counter{

    background:linear-gradient(135deg,#0d47a1,#1565c0);

    color:#fff;

    padding:90px 0;

}

.counter-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.counter-box{

    text-align:center;

}

.counter-box h2{

    font-size:55px;

    margin-bottom:10px;

    font-weight:800;

}

.counter-box span{

    font-size:18px;

    opacity:.95;

}

/* ===================================================
                LOWONGAN KERJA
=================================================== */

.career-job{
    padding:100px 0;
    background:#ffffff;
}

.job-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:35px;
}

.job-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    transition:.35s;
    border:1px solid #edf1f6;
}

.job-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,.15);
}

.job-top{
    padding:25px 30px;
    background:linear-gradient(135deg,#1565c0,#0d47a1);
    color:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.job-top h3{
    margin:0;
    font-size:24px;
}

.job-status{
    background:#28a745;
    padding:8px 18px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
}

.job-card p{
    padding:25px 30px 0;
    line-height:1.8;
    color:#666;
}

.job-info{
    padding:20px 30px;
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    color:#555;
}

.job-info span{
    display:flex;
    align-items:center;
    gap:8px;
}

.job-info i{
    color:#1565c0;
}

.job-button{
    padding:0 30px 30px;
    display:flex;
    gap:15px;
}

.btn-detail{
    border:none;
    background:#edf4ff;
    color:#1565c0;
    padding:12px 24px;
    border-radius:8px;
    cursor:pointer;
    transition:.3s;
    font-weight:600;
}

.btn-detail:hover{
    background:#1565c0;
    color:#fff;
}

.btn-apply{
    text-decoration:none;
    background:#1565c0;
    color:#fff;
    padding:12px 24px;
    border-radius:8px;
    transition:.3s;
    font-weight:600;
}

.btn-apply:hover{
    background:#0d47a1;
}

/* ===================================================
                TIMELINE
=================================================== */

.career-process{
    padding:100px 0;
    background:#f8fbff;
}

.process-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.process-card{
    background:#fff;
    padding:35px;
    text-align:center;
    border-radius:20px;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
    position:relative;
}

.process-number{
    width:70px;
    height:70px;
    margin:auto;
    border-radius:50%;
    background:#1565c0;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:26px;
    font-weight:bold;
    margin-bottom:20px;
}

.process-card h3{
    margin-bottom:15px;
}

.process-card p{
    color:#666;
    line-height:1.7;
}

/* ===================================================
                FAQ
=================================================== */

.career-faq{
    padding:100px 0;
    background:#fff;
}

.faq-box{
    max-width:900px;
    margin:auto;
}

.faq-item{
    background:#fff;
    border-radius:15px;
    margin-bottom:18px;
    box-shadow:0 6px 18px rgba(0,0,0,.06);
    overflow:hidden;
}

.faq-question{
    padding:22px 30px;
    cursor:pointer;
    font-weight:600;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.faq-question:hover{
    background:#f5f8fc;
}

.faq-answer{
    padding:0 30px 25px;
    color:#666;
    line-height:1.8;
}

/* ===================================================
                KIRIM CV
=================================================== */

.career-cv{
    padding:100px 0;
    background:linear-gradient(135deg,#1565c0,#0d47a1);
    color:#fff;
    text-align:center;
}

.career-cv h2{
    font-size:42px;
    margin-bottom:20px;
}

.career-cv p{
    max-width:700px;
    margin:0 auto 35px;
    line-height:1.8;
}

.cv-button{
    display:inline-block;
    background:#fff;
    color:#1565c0;
    padding:15px 40px;
    border-radius:50px;
    text-decoration:none;
    font-weight:700;
    transition:.35s;
}

.cv-button:hover{
    transform:translateY(-5px);
}

/* ===================================================
                RESPONSIVE
=================================================== */

@media(max-width:992px){

.hero-content h1{
    font-size:45px;
}

.about-grid{
    grid-template-columns:1fr;
}

.benefit-grid{
    grid-template-columns:repeat(2,1fr);
}

.counter-grid{
    grid-template-columns:repeat(2,1fr);
}

.job-grid{
    grid-template-columns:1fr;
}

.process-grid{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){

.career-hero{
    min-height:80vh;
}

.hero-content h1{
    font-size:34px;
}

.hero-content p{
    font-size:16px;
}

.hero-button{
    flex-direction:column;
}

.section-title h2{
    font-size:32px;
}

.about-content h2{
    font-size:32px;
}

.benefit-grid{
    grid-template-columns:1fr;
}

.counter-grid{
    grid-template-columns:1fr;
}

.process-grid{
    grid-template-columns:1fr;
}

.job-top{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
}

.job-button{
    flex-direction:column;
}

.btn-detail,
.btn-apply{
    width:100%;
    text-align:center;
}

.career-cv h2{
    font-size:30px;
}

}

/* ==========================================================
            POPUP DETAIL LOWONGAN
========================================================== */

.job-modal {
    position: fixed;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    padding: 25px;

    box-sizing: border-box;

    background: rgba(5, 20, 40, 0.72);

    backdrop-filter: blur(4px);

    z-index: 99999;

    opacity: 0;
    visibility: hidden;

    transition: opacity .3s ease,
                visibility .3s ease;
}


/* POPUP AKTIF */

.job-modal.show {
    opacity: 1;
    visibility: visible;
}


/* ==========================================================
                    KOTAK POPUP
========================================================== */

.job-modal-content {
    position: relative;

    width: 100%;
    max-width: 760px;

    max-height: 88vh;

    overflow-y: auto;

    background: #fff;

    border-radius: 18px;

    padding: 38px 42px;

    box-sizing: border-box;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, .30);

    transform: translateY(25px) scale(.98);

    transition: transform .3s ease;
}


.job-modal.show .job-modal-content {
    transform: translateY(0) scale(1);
}


/* ==========================================================
                    TOMBOL CLOSE
========================================================== */

.close-job {
    position: absolute;

    top: 18px;
    right: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: #f1f4f8;

    color: #555;

    font-size: 24px;
    line-height: 1;

    cursor: pointer;

    transition: all .25s ease;
}


.close-job:hover {
    background: #0d47a1;
    color: #fff;

    transform: rotate(90deg);
}


/* ==========================================================
                    HEADER POPUP
========================================================== */

.modal-job-header {
    padding: 5px 50px 22px 0;

    margin-bottom: 22px;

    border-bottom: 1px solid #e8edf3;
}


.modal-job-label {
    display: inline-block;

    margin-bottom: 9px;

    color: #1565c0;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}


.modal-job-header h2 {
    margin: 0 0 18px;

    color: #172033;

    font-size: 30px;

    font-weight: 700;

    line-height: 1.25;
}


/* ==========================================================
                    INFO LOWONGAN
========================================================== */

.modal-job-info {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}


.modal-job-info span {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 8px 13px;

    background: #f4f7fb;

    border: 1px solid #e7edf5;

    border-radius: 7px;

    color: #596579;

    font-size: 13px;

    font-weight: 500;
}


.modal-job-info i {
    color: #1565c0;

    font-size: 14px;
}


/* ==========================================================
                    ISI POPUP
========================================================== */

.modal-job-body h3 {
    position: relative;

    margin: 24px 0 10px;

    padding-left: 12px;

    color: #172033;

    font-size: 18px;

    font-weight: 700;
}


.modal-job-body h3::before {
    content: "";

    position: absolute;

    left: 0;
    top: 3px;

    width: 4px;
    height: 20px;

    border-radius: 4px;

    background: #1565c0;
}


.modal-job-body p {
    margin: 0;

    color: #657184;

    font-size: 14px;

    line-height: 1.8;
}


.modal-job-body ul {
    margin: 0;

    padding-left: 22px;

    color: #657184;

    font-size: 14px;

    line-height: 1.8;
}


.modal-job-body li {
    margin-bottom: 5px;
}


.modal-job-body li::marker {
    color: #1565c0;
}


/* ==========================================================
                    TOMBOL LAMAR
========================================================== */

.modal-apply {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    margin-top: 28px;

    padding: 13px 24px;

    background: #1565c0;

    color: #fff;

    border-radius: 8px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    box-shadow:
        0 7px 18px rgba(21, 101, 192, .22);

    transition: all .25s ease;
}


.modal-apply:hover {
    background: #0d47a1;

    color: #fff;

    transform: translateY(-2px);

    box-shadow:
        0 10px 22px rgba(13, 71, 161, .28);
}


/* ==========================================================
                SCROLLBAR POPUP
========================================================== */

.job-modal-content::-webkit-scrollbar {
    width: 7px;
}


.job-modal-content::-webkit-scrollbar-track {
    background: transparent;
}


.job-modal-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;

    border-radius: 10px;
}


.job-modal-content::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}


/* ==========================================================
                KUNCI SCROLL HALAMAN
========================================================== */

body.modal-open {
    overflow: hidden;
}


/* ==========================================================
                    MOBILE
========================================================== */

@media (max-width: 768px) {

    .job-modal {
        padding: 12px;
    }


    .job-modal-content {
        max-height: 92vh;

        padding: 30px 22px;

        border-radius: 15px;
    }


    .close-job {
        top: 12px;
        right: 12px;

        width: 36px;
        height: 36px;

        font-size: 22px;
    }


    .modal-job-header {
        padding-right: 42px;
    }


    .modal-job-header h2 {
        font-size: 24px;
    }


    .modal-job-info {
        flex-direction: column;

        gap: 7px;
    }


    .modal-job-info span {
        width: fit-content;
    }


    .modal-job-body h3 {
        font-size: 17px;
    }


    .modal-job-body p,
    .modal-job-body ul {
        font-size: 13px;
    }


    .modal-apply {
        width: 100%;

        box-sizing: border-box;
    }

}