/* ================================
   MANAGEMENT SECTION
================================ */

.management-wrapper{
background:#f5efe6;
padding:80px 30px;
text-align:center;
overflow:hidden;
width:100%;
}

.section-title{
font-size:42px;
color:#0b1240;
margin-bottom:60px;
font-weight:600;
}


/* ================================
   SLIDER
================================ */

.management-slider{
display:flex;
transition:transform .6s ease;
width:100%;
}

.management-slide{
min-width:100%;
box-sizing:border-box;
padding:0 40px;
}


/* ================================
   GRID LAYOUT
================================ */

.card-grid{
display:grid;
gap:30px;
max-width:1300px;
margin:auto;
align-items:stretch;
}

/* KOMISARIS */

.card-grid.komisaris{
grid-template-columns:repeat(3,1fr);
max-width:900px;
}

/* DIREKSI */

.card-grid.direksi{
grid-template-columns:repeat(5,1fr);
}


/* ================================
   CARD
================================ */

.leader-card{
background:white;
padding:35px 25px;
border-radius:20px;
text-align:center;
box-shadow:0 15px 40px rgba(0,0,0,0.08);
transition:.3s ease;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
min-height:260px;
}

.leader-card:hover{
transform:translateY(-10px);
box-shadow:0 25px 50px rgba(0,0,0,0.12);
}


/* ================================
   CARD DETAIL
================================ */

.detail-card{
height:auto;
padding:0;
overflow:hidden;
align-items:stretch;
}

/* FOTO */

.detail-card img{
width:100%;
height:240px;
border-radius:20px 20px 0 0;
object-fit:cover;
margin:0;
aspect-ratio:3/4;
}

/* BODY */

.card-body{
padding:25px;
display:flex;
flex-direction:column;
gap:12px;
text-align:left;
min-width:0;
}

/* NAMA */

.card-body h3{
font-size:22px;
font-weight:600;
color:#0b1240;
margin:0;
}

/* DESKRIPSI */

.leader-desc{
font-size:14px;
line-height:1.6;
color:#555;
margin-top:5px;
}

/* BUTTON */

.btn-profile{
display:inline-block;
margin-top:auto;
padding:10px 18px;
background:#1f4fa3;
color:white;
border-radius:6px;
text-decoration:none;
font-size:14px;
font-weight:500;
width:fit-content;
transition:.2s;
}

.btn-profile:hover{
background:#163c7d;
}


/* ================================
   BADGE
================================ */

.badge-kom,
.badge-dir,
.badge-mus{
display:inline-block;
max-width:100%;
white-space:normal;
line-height:1.4;
padding:6px 12px;
border-radius:6px;
font-size:13px;
font-weight:500;
color:white;
}

.badge-kom{ margin-top:auto; }
.badge-dir{ margin-top:0; }
.badge-mus{ margin-top:30px; }

.red{ background:#d32f2f; }
.blue{ background:#1f4fa3; }


/* ================================
   SLIDER NAV
================================ */

.slider-nav{
display:flex;
justify-content:center;
align-items:center;
gap:25px;
margin-top:50px;
}

.slider-nav button{
background:#1f4fa3;
color:white;
border:none;
width:50px;
height:50px;
border-radius:10px;
font-size:18px;
cursor:pointer;
transition:.2s;
display:none;
}

.slider-nav button:hover{
background:#163c7d;
}


/* DOTS */

.dots{
display:flex;
gap:10px;
}

.dot{
width:10px;
height:10px;
background:#cfcfcf;
border-radius:50%;
}

.dot.active{
background:#1f4fa3;
}


/* ================================
   PROFILE POPUP
================================ */

.profile-modal{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.5);
display:none;
align-items:center;
justify-content:center;
z-index:9999;
}

.profile-card{
background:#f5efe6;
width:900px;
max-width:90%;
padding:40px;
border-radius:16px;
position:relative;
box-shadow:0 20px 60px rgba(0,0,0,0.3);
max-height:90vh;
overflow:hidden;
}

.close-profile{
position:absolute;
top:15px;
right:20px;
border:none;
background:none;
font-size:22px;
cursor:pointer;
}

.profile-body{
display:flex;
gap:40px;
align-items:flex-start;
}

.profile-left img{
width:260px;
border-radius:12px;
}

.profile-right{
flex:1;
overflow-y:auto;
max-height:80vh;
padding-right:10px;
}

.profile-right h2{
font-size:32px;
margin-bottom:5px;
}

.profile-title{
display:inline-block;
background:#1f4fa3;
color:white;
padding:6px 14px;
border-radius:6px;
margin-bottom:20px;
}

.profile-tab{
margin-bottom:20px;
}

.profile-tab span{
background:#d7b28a;
padding:6px 12px;
border-radius:6px;
font-weight:600;
}


/* ================================
   ANIMATION
================================ */

.profile-container{
animation:popup .3s ease;
}

@keyframes popup{
from{transform:scale(.9);opacity:0;}
to{transform:scale(1);opacity:1;}
}


/* ================================
   TABLET RESPONSIVE
================================ */

@media (max-width:1024px){

.section-title{
font-size:34px;
}

.card-grid.direksi{
grid-template-columns:repeat(3,1fr);
}

.card-grid.komisaris{
grid-template-columns:repeat(2,1fr);
}

}


/* ================================
   MOBILE RESPONSIVE
================================ */

@media (max-width:768px){

.management-wrapper{
padding:60px 20px;
}

.section-title{
font-size:28px;
margin-bottom:40px;
}

.card-grid,
.card-grid.direksi,
.card-grid.komisaris{
grid-template-columns:1fr;
max-width:420px;
margin:auto;
}

.management-slide{
padding:0;
}

.detail-card img{
height:auto;
}

.card-body{
padding:20px;
}

.card-body h3{
font-size:18px;
}

.leader-desc{
font-size:13px;
}

.btn-profile{
font-size:13px;
padding:8px 14px;
}

/* popup */

.profile-body{
flex-direction:column;
gap:20px;
}

.profile-left img{
width:100%;
}

.profile-right{
max-height:none;
overflow:visible;
}

.profile-card{
padding:25px;
}

.profile-right h2{
font-size:24px;
}

}