/*==================================================
ABOUT PAGE CSS 
Liberia Institute of Public Administration (LIPA)
==================================================*/

/*==============================
GENERAL LAYOUT
===============================*/

body{
    background:#f5f7fb;
    font-family:Arial, Helvetica, sans-serif;
    color:#333;
    line-height:1.7;
}

.page-wrapper{
    width:90%;
    max-width:1400px;
    margin:60px auto;
    display:flex;
    gap:40px;
    align-items:flex-start;
}

/*==============================
MAIN CONTENT
===============================*/

.main-content{
    flex:1;
    min-width:0;
}

/*==============================
HERO SECTION
===============================*/

.about-hero{
    width:100%;
    height:115px;
    background:  
    linear-gradient(rgba(6,36,92,.75),
    rgba(6,36,92,.75)),
    url("../images/about-banner.jpg");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    display:flex;
    align-items:center;
}

.hero-overlay{
    width:90%;
    max-width:1400px;
    margin:0 auto;
}

.hero-overlay h1{
    position:relative;
    display:inline-block;
    color:#fff;
    font-size:48px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:2px;
    padding-bottom:15px;
}

/* Red line under About LIPA */
.hero-overlay h1::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:100px;        /* Length of the line */
    height:5px;         /* Thickness */
    background:#d60000; /* Red color */
    border-radius:5px;
}

/*==============================
ABOUT SECTION
===============================*/

.about-content{
    margin-bottom:70px;
}

.about-wrapper{
    background:#fff;
    padding:45px;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.about-main{
    display:flex;
    gap:35px;
    align-items:flex-start;
}

/*==============================
ABOUT LOGO
===============================*/

.about-logo{
    flex:0 0 200px;
}

.about-logo img{
    width:190px;
    height:190px;
    object-fit:contain;
}

/*==============================
ABOUT TEXT
===============================*/

.about-text{
    flex:1;
}

.about-heading{
    margin-bottom:30px;
}

.about-heading span{
    display:block;
    width:100%;
    font-size:30px;      /* Same size as h2 */
    font-weight:700;
    color:#020b1a;
    line-height:1.2;
    letter-spacing:1px;
    text-transform:none;
}

.about-heading h2{
   width:100%;
    font-size:36px;      /* Same size */
    font-weight:800;
    color:#06245c;
    line-height:1.2;
    letter-spacing:1px;
    text-transform:uppercase;
}

.about-text p{
    margin-bottom:22px;
    text-align:justify;
    font-size:17px;
    color:#444;
}

/*=========================================
EXECUTIVE SIDEBAR
=========================================*/

.executive-sidebar{
    width:250px;          /* Reduced from 300px */
    position:sticky;
    top:20px;
    align-self:flex-start;
}

.executive-sidebar h3{
    text-align:center;
    background:#06245c;
    color:#fff;
    padding:12px;
    border-radius:8px;
    margin-bottom:18px;
    font-size:22px;
    font-weight:bold;
}

/*=========================================
EXECUTIVE CARD
=========================================*/

.executive-card{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    margin-bottom:25px;
    box-shadow:0 8px 20px rgba(0,0,0,.10);
    transition:all .35s ease;
    text-align:center;
}

.executive-card img{
    
    width:100%;
    height:300px;
    object-fit:cover;
    border-radius:12px;
    margin-bottom:20px;
    display:block;

}

.executive-card h4{
    background:#06245c;
    color:#fff;
    padding:14px;
    font-size:18px;    /* Reduced from 22px */
    font-weight:bold;
    letter-spacing:1px;
}

/*==============================
COMMON TEAM CARD
===============================*/

.team-card{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.35s;
}

.team-card:hover{
    transform:translateY(-8px);
    box-shadow:0 12px 35px rgba(0,0,0,.15);
}

.team-card img{
    width:100%;
    display:block;
}

.team-card h4{
    font-size:22px;
    color:#06245c;
    padding:15px 18px 5px;
    text-align:center;
}

.team-card p{
    text-align:center;
    padding:0 18px 18px;
    color:#666;
    font-size:16px;
}

/*==================================================

BOARD & MANAGEMENT SECTIONS
==================================================*/


/*========================================
SECTION HEADERS
========================================*/
.section-header{
    text-align:center;
    margin-bottom:50px;
}

.section-header h2{
    font-size:42px;
    color:#06245c;
    margin-bottom:15px;
    font-weight:700;
}

.section-header p{
    width:70%;
    margin:auto;
    font-size:18px;
    color:#666;
}


/*========================================
BOARD SECTION
=======================================*/
.board-section{
    margin:80px 0;
}

.board-top{
    display:grid;
    grid-template-columns:340px 1fr;
    gap:35px;
    align-items:start;
    margin-bottom:60px;
}



/*========================================
BOARD CHAIR CARD
========================================*/
.board-chair-card{
    overflow:hidden;
    border-radius:12px;
}

.board-chair-card img{
    width:100%;
    height:320px;      /* Reduced from 420px */
    object-fit:cover;
    display:block;
}

.board-chair-card h4{
    font-size:22px;
    color:#06245c;
    margin:15px 0 8px;
    padding:0 15px;
    text-align:center;
}


.board-chair-card p{
    color:#666;
    margin:0;
    padding:0 15px 15px;
    text-align:center;
}


/*========================================
BOARD MESSAGE
========================================*/
.board-message{
    background:#ffffff;
    border-radius:12px;
    padding:45px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.board-message h3{
    
    color:#06245c;
    font-size:28px;
    margin-bottom:25px;
    text-align:center;
    line-height:1.3;

}

.board-message p{
    font-size:17px;
    color:#444;
    text-align:justify;
    line-height:1.9;
}


/*========================================
BOARD MEMBERS
========================================*/
.board-members h3{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:20px;
    color:#06245c;
    font-size:30px;
    font-weight:700;
    margin:50px 0 40px;
    text-align:center;
}
/* Left Line */
.board-members h3::before{
    content:"";
    flex:1;
    height:3px;
    background:#c00000;   /* Red line */
    border-radius:5px;
}

/* Right Line */
.board-members h3::after{
    content:"";
    flex:1;
    height:3px;
    background:#c00000;
    border-radius:5px;
}

.board-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

/*========================================
MEDIUM CARD
========================================*/
.medium-card{
    text-align:center;
    overflow:hidden;
}

.medium-card img{
    width:100%;
    height:200px;
    object-fit:cover;
    display: block;
    object-position:center top;
}

.medium-card h4{
    padding-top:12px;
    font-size:20px;
    color:#06245c;
    margin-bottom:6px;
}

.medium-card p{
     padding-bottom:12px;
    color:#666;
    font-size:15px;
}

/*========================================
MANAGEMENT SECTION
========================================*/
.management-section{
    margin:90px 0;
}

.management-top{
    display:grid;
    grid-template-columns:340px 1fr;
    gap:35px;
    align-items:start;
    margin-bottom:60px;
}

/*========================================
DIRECTOR GENERAL CARD
========================================*/

.director-general-card{
    overflow:hidden;
    border-radius:12px;
    padding-bottom:10px;   /* Reduced bottom space */
}

.director-general-card img{
    width:100%;
    height:380px;          /* Reduced from 420px */
    object-fit:cover;
    display:block;
}

.director-general-card h4{
    font-size:22px;
    color:#06245c;
    margin:12px 0 5px;
    padding:0 15px;
    text-align:center;
}

.director-general-card p{
    color:#666;
    margin:0;
    padding:0 15px 10px;
    text-align:center;
    font-size:16px;
}

/*========================================
DIRECTOR GENERAL MESSAGE
========================================*/
.management-message{
    background:#fff;
    padding:45px;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.management-message h3{
    color:#06245c;
    font-size:24px;
    margin-bottom:25px;
}

.management-message p{
    text-align:justify;
    line-height:1.9;
    color:#444;
    font-size:17px;
}

/*========================================
READ MORE BUTTON
========================================*/
.statement-button{
    margin-top:35px;
}

.read-btn{
    display:inline-block;
    padding:14px 32px;
    background:#06245c;
    color:#fff;
    text-decoration:none;
    border-radius:40px;
    transition:.3s;
    font-weight:bold;
}

.read-btn:hover{
    background:#1b75bc;
    transform:translateY(-4px);
}


/*========================================
DEPUTY DIRECTORS
========================================*/
.management-members{
    margin-top:50px;
}

.management-members h3{
    display: flex;
    align-items: center;
    justify-content: baseline;
    gap: 20px;
    color: #06245c;
    font-size: 30px;
    font-weight: 700px;
    margin: 50px 0 40px;
    text-align: center;

}
/* Left Line */
 .management-members h3::before{
    content:"";
    flex:1;
    height:3px;
    background:#c00000;   /* Red line */
    border-radius:5px;
}
/* Right Line */
 .management-members h3::after{
    content:"";
    flex:1;
    height:3px;
    background:#c00000;
    border-radius:5px;
}
.management-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.management-grid .team-card{
    overflow:hidden;
    border-radius:12px;
    background:#fff;
    padding-bottom:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.management-grid img{
    width:100%;
    height:320px;
    object-fit:cover;
    object-position:center top;
    display:block;
}

.management-grid .team-card{
    padding-bottom:8px;
}

.management-grid .team-card h4{
    margin:10px 0 5px;
}

.management-grid .team-card p{
    margin:0;
    padding-bottom:5px;
}

/*========================================
CARD HOVER EFFECT
========================================*/

.board-chair-card:hover,
.director-general-card:hover,
.medium-card:hover{
    transform:translateY(-10px);
    transition:.35s;
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}
/*==================================================
  SENIOR STAFF SECTION
==================================================*/
.senior-section{
    margin-top:80px;
}

.senior-wrapper{
    width:100%;
}

.senior-content{
    display:flex;
    flex-direction:column;
    gap:35px;
}

.senior-row{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.senior-row .team-card{
    background:#ffffff;
    border-radius:18px;
    padding:18px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.4s;
}

.senior-row .team-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

.senior-row img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:12px;
    margin-bottom:15px;
    display:block;
}

.senior-row h4{
    font-size:18px;
    color:#06245c;
    margin-bottom:8px;
}

.senior-row p{
    color:#666;
    font-size:15px;
    line-height:1.4;
    margin-bottom:0;
    font-weight: bold;
}

/*==================================================
  EXECUTIVE SIDEBAR
==================================================*/
.executive-sidebar{
    width:280px;
    position:sticky;
    top:120px;
    align-self:flex-start;
}

.executive-sidebar h3{
    display:block;
    width:100%;
    background:#06245c;
    color:#ffffff;
    padding:15px;
    border-radius:10px;
    text-align:center;
    font-size:24px;
    margin-bottom:25px;
}

.executive-card{
   background:#fff;
    border-radius:12px;
    overflow:hidden;
    margin-bottom:30px;
    text-align:center;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
    transition:.4s;
}

.executive-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

.executive-card img{

    width:100%;
    height:320px;
    object-fit:cover;
    display:block;
    border-radius:0;

}

.executive-card h4{
    display:block;
    width:100%;
    background:#06245c;
    color:#ffffff;
    padding:16px 10px;
    margin:0;
    font-size:22px;
    font-weight:700;
    text-align:center;
    text-transform:uppercase;
}


/*==================================================
  BUTTON
==================================================*/
.read-btn{
    display:inline-block;
    padding:14px 38px;
    background:#06245c;
    color:#fff;
    border-radius:40px;
    text-decoration:none;
    font-weight:600;
    transition:.4s;
}

.read-btn:hover{
    background:skyblue;
    color:#06245c;
}

/*==================================================
  SECTION SPACING
==================================================*/

.about-content,
.board-section,
.management-section,
.senior-section{
    margin-bottom:90px;
}


/*==================================================
  ANIMATION
==================================================*/
.team-card,
.board-message,
.management-message{
    animation:fadeUp .8s ease;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}





