/* =========================
   SECTION
========================= */

.profil-pejabat {
    padding: 40px 0;
}

/* =========================
   CONTAINER
========================= */

.profil-container {
    width: 92%;
    max-width: 1300px;
    margin: auto;
}

/* =========================
   CARD BESAR (DI DALAM CONTAINER)
========================= */

.profil-card-besar {
    background: #ffffff;
    border-radius: 24px;
    padding: 10px 45px 45px 45px;
    box-shadow: 0 12px 30px rgba(0,0,0,.1);
}

/* =========================
   HERO
========================= */

.profil-hero {
    display: flex;
    align-items: center;
    background-image: url('/img/bacgroundprofile.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 18px;
    padding: 35px;
    color: #fff;
    margin-bottom: 50px;
    position: relative;
}

.hero-foto img {
    width: 190px;
    height: 240px;
    object-fit: cover;
    border-radius: 14px;
    background: #fff;
}

.hero-info {
    margin-left: 35px;
    padding-bottom: 80px;
}

.hero-badge.jabatan {
    background: #ffffff;
    color: #3f7f6b;
    padding: 10px 26px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 14px;
    display: inline-block;
}

.hero-nama {
    font-size: 24px;
    font-weight: 700;
    padding-bottom: 12px;
}

.hero-email {
    font-size: 14px;
    opacity: .9;
}

/* BUTTON HERO */
.btn-hero {
    position: absolute;
    right: 36px;
    bottom: 30px;
    background: #ffffff;
    color: #3f7f6b;
    padding: 14px 42px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(0,0,0,.15);
    transition: all .25s ease;
}

.btn-hero:hover {
    background: #eaf4f1;
    transform: translateY(-2px);
}

/* =========================
   JUDUL
========================= */

.jabatan-title {
    font-size: 25px;
    font-weight: 700;
    color: #2c6f5d;
    border-left: 6px solid #4f8f7a;
    padding-left: 12px;
    margin: 40px 0 30px;
}

/* =========================
   GRID PEJABAT LAINNYA
========================= */

.profil-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 40px;
}

/* ITEM (BUKAN CARD) */
.profil-item {
    display: flex;
    align-items: center;
    gap: 28px;
}

/* FRAME FOTO */
.profil-frame {
    width: 200px;
    height: 250px;
    flex-shrink: 0;
    border-radius: 18px;
    background:
        repeating-linear-gradient(
            45deg,
            #eee,
            #eee 6px,
            #f7f7f7 6px,
            #f7f7f7 12px
        );
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profil-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* INFO */
.profil-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.profil-info p {
    font-size: 15px;
    color: #2f8b74;
    font-weight: 600;
    margin-bottom: 18px;
    padding-bottom: 30px;
}

/* BUTTON */
.btn-outline {
    width: 100%;
    padding: 12px 40px;
    border-radius: 999px;
    border: 2px solid #2f8b74;
    color: #2f8b74;
    font-weight: 600;
    text-decoration: none;
    transition: .25s;
}

.btn-outline:hover {
    background: #2f8b74;
    color: #fff;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
    .profil-card-besar {
        padding: 25px;
    }

    .profil-hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-info {
        margin-left: 0;
        padding-bottom: 0;
    }

    .btn-hero {
        position: static;
        margin-top: 20px;
    }

    .profil-item {
        flex-direction: column;
        text-align: center;
    }

    .profil-frame {
        width: 100%;
        height: 260px;
    }
}
