/*=========================================================
 ACMUN 2026
 COMMITTEE PAGE CSS
=========================================================*/


/*==============================
 HERO SECTION
==============================*/

.committee-hero{

padding:120px 0 70px;

background:var(--bg);

text-align:center;

}


.committee-hero h1{

font-size:55px;

font-weight:800;

color:#C9A227;

margin-bottom:15px;

}


.committee-hero p{

font-size:20px;

color:#555;

}





/*==============================
 COMMITTEE SECTION
==============================*/

.committee-section{

padding:80px 0;

background:var(--bg);

}





/*==============================
 GRID
==============================*/


.committee-grid{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:45px;

}





/*==============================
 COMMITTEE CARD
==============================*/


.committee-card{


min-height:350px;

background:#ffffff;

border-radius:30px;

padding:30px;

display:flex;

align-items:center;

justify-content:center;

gap:30px;

box-shadow:

0 20px 45px rgba(0,0,0,.08);

transition:.4s ease;

overflow:hidden;


}



.committee-card:hover{


transform:translateY(-12px);


box-shadow:

0 35px 70px rgba(0,0,0,.15);


}





/*==============================
 IMAGE
==============================*/


.committee-card img{


width:150px;

height:150px;

object-fit:contain;

background:#f5f1e5;

padding:15px;

border-radius:25px;

flex-shrink:0;


}





/*==============================
 DETAILS
==============================*/


.committee-details{


flex:1;

display:flex;

flex-direction:column;

justify-content:center;

align-items:center;

text-align:center;


}




.committee-details h2{


font-size:32px;

font-weight:800;

line-height:1.2;

color:#C9A227;

margin-bottom:12px;

}



.committee-details p{


font-size:16px;

line-height:1.6;

color:#555;

max-width:320px;

min-height:55px;

margin-bottom:15px;


}





/*==============================
 BUTTON
==============================*/


.btn-gold{


display:inline-block;

margin-top:10px;

padding:12px 32px;

border-radius:50px;

background:#C9A227;

color:#fff;

border:none;

cursor:pointer;

font-weight:600;

transition:.3s ease;


}



.btn-gold:hover{


background:#a78318;

transform:translateY(-3px);


}





/*==============================
 POPUP MODAL
==============================*/


.committee-modal{


display:none;

position:fixed;

top:0;

left:0;

width:100%;

height:100%;

background:rgba(0,0,0,.85);

z-index:99999;

overflow:auto;


}





.committee-popup{


width:850px;

max-width:90%;

background:white;

margin:60px auto;

border-radius:30px;

overflow:hidden;

animation:popup .5s ease;


}





.popup-image{


height:300px;

display:flex;

justify-content:center;

align-items:center;

background:#f5f1e5;


}





.popup-image img{


width:180px;

height:180px;

object-fit:contain;

border-radius:50%;

padding:15px;

background:white;


}





.popup-content{


padding:40px;

text-align:center;


}




.popup-content h1{


font-size:42px;

font-weight:800;

color:#C9A227;

margin-bottom:15px;


}





.popup-content p{


font-size:18px;

line-height:1.7;

color:#555;


}





.info-box{


margin-top:30px;

padding:25px;

background:#f5f1e5;

border-radius:20px;


}





.close-btn{


position:fixed;

right:35px;

top:20px;

font-size:45px;

background:none;

border:none;

color:white;

cursor:pointer;


}





@keyframes popup{


from{

opacity:0;

transform:translateY(80px);

}


to{

opacity:1;

transform:translateY(0);

}


}





/*==============================
 LARGE DESKTOP
==============================*/


@media(min-width:1200px){


.committee-card{


min-height:330px;


}



.committee-card img{


width:140px;

height:140px;


}



.committee-details h2{


font-size:30px;


}


}





/*==============================
 TABLET
==============================*/


@media(max-width:1100px){


.committee-grid{


grid-template-columns:1fr;


}



.committee-card{


min-height:330px;


}


}





/*==============================
 MOBILE
==============================*/


@media(max-width:600px){


.committee-hero{


padding:100px 20px 50px;


}



.committee-hero h1{


font-size:38px;


}



.committee-hero p{


font-size:16px;


}





.committee-section{


padding:50px 15px;


}




.committee-card{


min-height:480px;

flex-direction:column;

text-align:center;

padding:30px;


}





.committee-card img{


width:180px;

height:180px;


}




.committee-details{


align-items:center;

text-align:center;


}




.committee-details h2{


font-size:32px;


}




.committee-details p{


font-size:15px;

max-width:280px;

min-height:auto;


}





.btn-gold{


margin-top:20px;


}




.committee-popup{


margin:40px auto;


}





.popup-content{


padding:25px;


}




.popup-content h1{


font-size:32px;


}





.close-btn{


right:20px;

font-size:38px;


}


}

