
/*==============================
HERO SECTION
===============================*/
.about-hero{
    width:100%;
    height:120px;
    background:
    linear-gradient(rgba(6,36,92,.78),
    rgba(6,36,92,.78)),
    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:1300px;
    margin:auto;
    text-align:left;
}

.hero-overlay h1{
    position:relative;
    display:inline-block;
    color:#fff;
    font-size:26px;
    font-weight:700;
    line-height:1.15;
    text-transform:uppercase;
    letter-spacing:1px;
    padding-bottom:8px;
    margin-bottom:5px;
}
.hero-overlay h1 span{
    font-size:18px;
    font-weight:500;
}
.hero-overlay h1::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:70px;
    height:3px;
    background:#d60000;
    border-radius:5px;
}
.hero-overlay p{
    max-width:850px;
    color:#fff;
    font-size:14px;
    line-height:1.4;
    margin-top:2px;
}

/*====================================================
 This information is found on DG Staff Hero banner. ( Technical & Support Staff) 
=====================================================*/
.hero-overlay h1 span{
    display:block;
    font-size:24px;   /* Smaller text */
    font-weight:500;
    margin-top:8px;
}

/*====================================================
 DIRECTOR GENERAL'S OFFICE INTRODUCTION
=====================================================*/
.office-introduction{
    padding:70px 5%;
    background:#ffffff;
}
.office-container{
    max-width:1300px;
    margin:0 auto;
    display:flex;
    align-items:center;
    gap:60px;
}
.office-image{
    flex:0 0 340px;
}
.office-image img{
    width:100%;
    border-radius:15px;
    box-shadow:0 12px 25px rgba(0,0,0,.15);
}
.office-text{
    flex:1;
}
.office-text h2{
    font-size:38px;
    color:#06245c;
    margin-bottom:25px;
}
.office-text p{
    font-size:18px;
    line-height:1.9;
    color:#555;
    text-align:justify;
    margin-bottom:20px;
}

/*====================================================
 OFFICE FUNCTIONS
=====================================================*/
.office-functions{
    padding:80px 5%;
    background:#edf6fb;
}
.function-grid{
    max-width:1200px;
    margin:50px auto 0;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}
.function-card{
    background:#ffffff;
    padding:35px 25px;
    border-radius:15px;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,.12);
    transition:.35s;
}
.function-card:hover{
    transform:translateY(-10px);
    background:#06245c;
}
.function-card h3{
    color:#06245c;
    font-size:22px;
    transition:.35s;
}
.function-card:hover h3{
    color:#ffffff;
}

/*====================================================
 TECHNICAL STAFF
=====================================================*/
.technical-team{
    padding:80px 5%;
    background:#ffffff;
}
.staff-grid{
    max-width:1300px;
    margin:50px auto 0;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:40px;
}
.staff-grid .team-card{
    background:#ffffff;
    border-radius:20px;
    padding:25px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
    transition:.35s;
}
.staff-grid .team-card:hover{
    transform:translateY(-10px);
}
.staff-grid .team-card img{
    width:220px;
    height:270px;
    object-fit:cover;
    border-radius:12px;
    margin:0 auto 20px;
    display:block;
}
.staff-grid .team-card h4{
    color:#06245c;
    font-size:24px;
    margin-bottom:12px;
}
.staff-grid .position{
    color:#444;
    font-size:17px;
    line-height:1.6;
  
    margin-bottom:15px;
}
.staff-grid .phone{
    background:#edf6fb;
    padding:10px 15px;
    border-radius:30px;
    display:inline-block;
    font-weight:bold;
    color:#06245c;
   font-size:16px;
}

.staff-grid .email{
    background:#edf6fb;
    padding:10px 15px;
    border-radius:30px;
    display:inline-block;
    color:#06245c;
    font-size:16px;
    font-weight:bold;
    margin-top:6px;
}
/*====================================================
 OFFICE CONTACT
=====================================================*/
.office-contact{
    padding:80px 5%;
    background:#edf6fb;
}
.office-contact-box{
    max-width:800px;
    margin:40px auto 0;
    background:#ffffff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
}
.office-contact-box p{
    font-size:18px;
    margin-bottom:18px;
    color:#444;
    line-height:1.8;
}
.office-contact-box strong{
    color:#06245c;
}
/*====================================================
 BACK BUTTON
=====================================================*/
.back-about{
    padding:40px 5% 80px;
    text-align:center;
}
.back-about .read-btn{
    display:inline-block;
    background:#06245c;
    color:#ffffff;
    padding:14px 35px;
    border-radius:35px;
    text-decoration:none;
    font-size:17px;
    font-weight:bold;
    transition:.35s;
}
.back-about .read-btn:hover{
    background:skyblue;
    color:#06245c;
}

/*====================================================
 SECTION HEADERS FOR BOTH TECHINCAL STAFF AND OFFICE CONTACT 
=====================================================*/
.section-header{
    text-align:center;   /* Centers the heading */
    margin-bottom:20px;
}

.section-header h2{
    font-size:38px;
    color:#06245c;
    margin-bottom:15px;
    text-align:center;   /* Extra assurance */
}