
/* ==========================
        HERO SECTION
========================== */

.hero{

    position:relative;

    width:100%;

    min-height:85vh;

    background:url("../home/school.jpeg") center center/cover no-repeat;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    overflow:hidden;
}

/* Dark overlay */

.overlay{

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,0.55);

    z-index:1;
}

/* Content */

.hero-content{

    position:relative;

    z-index:2;

    max-width:850px;

    padding:20px;

    color:#fff;
}

.hero-content h1{

    font-size:3.5rem;

    margin-bottom:20px;

    font-weight:700;

    line-height:1.2;
}



/* ==========================
        TABLET
========================== */

@media (max-width:992px){

.hero{

    min-height:75vh;
}

.hero-content h1{

    font-size:2.8rem;
}


}

/* ==========================
        MOBILE
========================== */

@media (max-width:768px){

.hero{

    min-height:65vh;

    padding:80px 20px;
}

.hero-content h1{

    font-size:2rem;
}



}



/* about */


/* ==========================
      ABOUT SCHOOL
========================== */

.about-school{
    max-width:1200px;
    margin:80px auto;
    padding:0 5%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:70px;
}

/* IMAGE */

.about-image{
    flex:1;
    display:flex;
    justify-content:center;
}

.image-box{
    position:relative;
    width:460px;
    max-width:100%;
}

/* Top-right decoration */

.image-box::before{
    content:"";
    position:absolute;
    top:-18px;
    right:-18px;
    width:220px;
    height:200px;
    border:10px solid #1e2640;
    border-left:none;
    border-bottom:none;
    z-index:-1;
}

/* Bottom-left decoration */

.image-box::after{
    content:"";
    position:absolute;
    bottom:-18px;
    left:-18px;
    width:220px;
    height:200px;
    border:10px solid #E91568;
    border-right:none;
    border-top:none;
    z-index:-1;
}

.image-box img{
    width:100%;
    display:block;
}

/* CONTENT */

.about-content{
    flex:1;
}

.about-content h2{
    color:#f05a28;
    font-size:2.5rem;
    margin-bottom:25px;
    font-weight:700;
}

.about-content p{
    color:#555;
    font-size:1.12rem;
    line-height:2;
    margin-bottom:25px;
    text-align:justify;
}

/* ==========================
      RESPONSIVE
========================== */

@media(max-width:992px){

.about-school{
    flex-direction:column;
    gap:50px;
}

.about-content{
    text-align:center;
}

.about-content p{
    text-align:center;
}

.image-box{
    width:100%;
    max-width:500px;
}

}

@media(max-width:768px){

.about-school{
    margin:60px auto;
}

.about-content h2{
    font-size:2rem;
}

.about-content p{
    font-size:1rem;
    line-height:1.8;
}

.image-box::before{
    width:150px;
    height:140px;
}

.image-box::after{
    width:150px;
    height:140px;
}

}

@media(max-width:480px){

.image-box::before{
    top:-12px;
    right:-12px;
    border-width:7px;
}

.image-box::after{
    bottom:-12px;
    left:-12px;
    border-width:7px;
}

.about-content h2{
    font-size:1.8rem;
}

}


/* leadership */
/* ==========================
        LEADERSHIP
========================== */

.leadership{
    width:100%;
    padding:80px 8%;
    background:#fff;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:3rem;
    color:#f05a28;
    font-weight:700;
    letter-spacing:2px;
}

/* Cards */

.leaders{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

/* Individual Card */

.leader-card{
    text-align:center;
    transition:.35s;
}

.leader-card img{
    width:100%;
    border-radius:20px;
    display:block;
    object-fit:cover;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
    transition:.35s;
}

.leader-card h3{
    margin-top:20px;
    font-size:2rem;
    color:#555;
    font-family:Georgia, serif;
    line-height:1.25;
}

.leader-card p{
    margin-top:8px;
    font-size:1.2rem;
    color:#666;
}

.leader-card:hover{
    transform:translateY(-10px);
}

.leader-card:hover img{
    box-shadow:0 20px 35px rgba(0,0,0,.18);
}

/* ==========================
      TABLET
========================== */

@media(max-width:992px){

.leaders{
    grid-template-columns:repeat(2,1fr);
}

}

/* ==========================
      MOBILE
========================== */

@media(max-width:768px){

.leadership{
    padding:60px 5%;
}

.section-title h2{
    font-size:2.3rem;
}

.leaders{
    grid-template-columns:1fr;
    gap:45px;
}

.leader-card{
    max-width:350px;
    margin:auto;
}

.leader-card h3{
    font-size:1.8rem;
}

.leader-card p{
    font-size:1.05rem;
}

}