/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f8f8f8;
    color:#222;
    overflow-x:hidden;
}

img{
    width:100%;
    display:block;
}

a{
    text-decoration:none;
}

/* =========================
   MAIN WRAPPER
========================= */

.purpose-wrapper{
    width:100%;
    overflow:hidden;
    background:#fff;
}

/* =========================
 /* =========================
   HERO SECTION
========================= */

/* =========================
   HERO SECTION
========================= */

.purpose-hero{ 
    position:relative;
    width:100%;
    min-height:520px;

    background:
    linear-gradient(to right,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.45) 45%,
    rgba(0,0,0,0.15) 100%),
    url('img/schoolbuilding/schoolbuilding.jpeg');

    background-position:center center;
    background-size:cover;
    background-repeat:no-repeat;
    background-attachment:fixed;

    display:flex;
    align-items:center;
    padding:100px 0;
    overflow:hidden;
}

/* OPTIONAL DARK OVERLAY */

.purpose-hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.10);
    z-index:1;
}

/* HERO CONTENT */

.hero-content{
    position:relative;
    z-index:2;
    width:90%;
    max-width:1300px;
    margin:auto;

    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
}

/* TOP SMALL TEXT */

.hero-small{
    color:#f3b12a;
    font-weight:700;
    font-size:20px;
    margin-bottom:18px;
    max-width:700px;
    line-height:1.5;
}

/* MAIN TITLE */

.hero-title{
    font-size:78px;
    line-height:1.1;
    font-weight:800;
    color:#fff;
    font-family:'Playfair Display',serif;
    margin-bottom:20px;
    text-align:left;
    max-width:700px;
}

/* SUB TITLE */

.hero-sub{
    color:#fff;
    font-size:24px;
    line-height:1.6;
    max-width:700px;
    margin-bottom:40px;
}

/* BUTTON */

.hero-btn{
    display:inline-flex;
    align-items:center;
    gap:12px;
    background:linear-gradient(135deg,#a4003a,#d62461);
    color:#fff;
    padding:18px 38px;
    border-radius:50px;
    font-weight:600;
    font-size:17px;
    transition:0.3s ease;
}

.hero-btn:hover{
    transform:translateY(-3px);
    color:#fff;
    box-shadow:0 10px 30px rgba(0,0,0,0.25);
}

/* =========================
   TABLET
========================= */

@media(max-width:992px){

    .purpose-hero{
        min-height:470px;
        padding:80px 0;
        background-attachment:scroll;
    }

    .hero-title{
        font-size:58px;
    }

    .hero-sub{
        font-size:20px;
    }
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .purpose-hero{
        min-height:420px;
        padding:70px 0;
    }

    .hero-content{
        width:92%;
    }

    .hero-small{
        font-size:16px;
        margin-bottom:14px;
    }

    .hero-title{
        font-size:42px;
        line-height:1.2;
        margin-bottom:16px;
    }

    .hero-sub{
        font-size:18px;
        line-height:1.5;
        margin-bottom:28px;
    }

    .hero-btn{
        padding:14px 28px;
        font-size:15px;
    }
}

/* =========================
   SMALL MOBILE
========================= */

@media(max-width:480px){

    .purpose-hero{
        min-height:380px;
        padding:60px 0;
    }

    .hero-small{
        font-size:14px;
    }

    .hero-title{
        font-size:34px;
    }

    .hero-sub{
        font-size:16px;
    }

    .hero-btn{
        padding:12px 24px;
        font-size:14px;
    }
}
/* =========================
   SECTION TITLE
========================= */

.section-head{
    text-align:center;
    padding:70px 20px 45px;
}

.section-mini{
    color:#b10d3e;
    font-weight:700;
    letter-spacing:1px;
    font-size:14px;
    position:relative;
    display:inline-block;
    padding:0 45px;
    margin-bottom:15px;
}

.section-mini::before,
.section-mini::after{
    content:"";
    position:absolute;
    top:50%;
    width:32px;
    height:2px;
    background:#d4a017;
}

.section-mini::before{
    left:0;
}

.section-mini::after{
    right:0;
}

.section-title{
    font-size:52px;
    font-family:'Playfair Display',serif;
    color:#222;
    margin-bottom:15px;
}

.section-line{
    width:70px;
    height:4px;
    background:#b10d3e;
    margin:auto;
    border-radius:20px;
}

/* =========================
   CARDS
========================= */

.vm-container{
    width:90%;
    max-width:1300px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    padding-bottom:70px;
}

.vm-card{
    background:#fff;
    border-radius:18px;
    padding:45px 30px;
    text-align:center;
    position:relative;
    overflow:hidden;
    transition:0.4s;
    border:1px solid #ececec;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.vm-card:hover{
    transform:translateY(-10px);
}

.vm-icon{
    width:82px;
    height:82px;
    border-radius:50%;
    margin:0 auto 22px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:34px;
    color:#fff;
}

.vision .vm-icon{
    background:#b20f43;
}

.mission .vm-icon{
    background:#d8a10f;
}

.aim .vm-icon{
    background:#174a9b;
}

.vm-title{
    font-size:32px;
    font-weight:700;
    margin-bottom:20px;
    font-family:'Playfair Display',serif;
}

.vision .vm-title{
    color:#b20f43;
}

.mission .vm-title{
    color:#d8a10f;
}

.aim .vm-title{
    color:#174a9b;
}

.vm-card p{
    font-size:16px;
    line-height:1.9;
    color:#555;
}

.bottom-line{
    width:120px;
    height:4px;
    margin:28px auto 0;
    border-radius:30px;
}

.vision .bottom-line{
    background:#b20f43;
}

.mission .bottom-line{
    background:#d8a10f;
}

.aim .bottom-line{
    background:#174a9b;
}

/* =========================
   LOWER SECTION
========================= */

/* =========================
   LOWER SECTION
========================= */

.lower-wrap{
    background:#f4f4f7;
    padding:70px 0;
}

.lower-grid{
    width:90%;
    max-width:1300px;
    margin:auto;

    display:grid;
    grid-template-columns:1.2fr 1fr 1fr;
    gap:35px;

    align-items:stretch;
}

/* LEFT CONTENT */

.lower-text{
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
}

/* SECTION SMALL TITLE */

.lower-mini{
    color:#b10d3e;
    font-size:13px;
    font-weight:700;
    letter-spacing:1px;
    margin-bottom:12px;
}

/* MAIN TITLE */

.lower-title{
    font-size:25px;
    line-height:1.3;
    font-family:'Playfair Display',serif;
    margin-bottom:22px;
}

.lower-title span{
    color:#b10d3e;
}

/* RED LINE */

.red-line{
    width:70px;
    height:4px;
    background:#b10d3e;
    margin-bottom:25px;
}

/* TEXT */

.lower-text p{
    color:#444;
    line-height:2;
    margin-bottom:20px;
    font-size:16px;
}

/* =========================
   MIDDLE IMAGE
========================= */

.middle-image{
    position:relative;
    border-radius:24px;
    overflow:hidden;

    height:100%;
    min-height:650px;

    box-shadow:0 20px 50px rgba(0,0,0,0.15);
}

.middle-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* BADGE */

.badge{
    position:absolute;
    left:20px;
    bottom:20px;

    background:#a00c3a;
    color:#fff;

    padding:18px 24px;
    border-radius:18px;

    display:flex;
    align-items:center;
    gap:14px;

    font-weight:600;
    font-size:18px;

    z-index:2;
}

.badge i{
    font-size:30px;
}

/* =========================
   RIGHT BOX
========================= */

.commit-box{
    background:#fff;
    padding:35px;
    border-radius:24px;

    box-shadow:0 10px 30px rgba(0,0,0,0.07);

    height:100%;

    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.commit-box p{
    line-height:2;
    color:#444;
    margin-bottom:18px;
    font-size:16px;
}

/* LIST */

.commit-list{
    list-style:none;
}

.commit-list li{
    display:flex;
    gap:14px;
    margin-bottom:18px;
    color:#333;
    line-height:1.7;
}

.commit-list i{
    color:#b10d3e;
    margin-top:5px;
}

/* BOTTOM IMAGE */

.promise-img{
    position:relative;
    border-radius:20px;
    overflow:hidden;
    margin-top:25px;
}

.promise-img img{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
}

/* BADGE */

.promise-badge{
    position:absolute;
    right:15px;
    bottom:15px;

    background:#d59c0e;
    color:#fff;

    padding:14px 20px;
    border-radius:18px;

    font-weight:600;

    display:flex;
    align-items:center;
    gap:10px;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:1100px){

    .lower-grid{
        grid-template-columns:1fr;
    }

    .middle-image{
        min-height:450px;
    }
}

@media(max-width:768px){

    .middle-image{
        min-height:350px;
    }

    .commit-box{
        padding:28px 22px;
    }

    .lower-title{
        font-size:30px;
    }

    .badge{
        font-size:16px;
        padding:14px 18px;
    }
}

@media(max-width:480px){

    .middle-image{
        min-height:280px;
    }

    .lower-title{
        font-size:26px;
    }

    .badge{
        left:12px;
        bottom:12px;
        font-size:14px;
        gap:10px;
    }

    .badge i{
        font-size:22px;
    }

    .promise-badge{
        font-size:13px;
        padding:10px 14px;
    }
}
/* =========================
   COMMITMENT
========================= */

.commit-box{
    background:#fff;
    padding:35px;
    border-radius:24px;
    box-shadow:0 10px 30px rgba(0,0,0,0.07);
}

.commit-box p{
    line-height:1.9;
    color:#444;
    margin-bottom:18px;
}

.commit-list{
    list-style:none;
}

.commit-list li{
    display:flex;
    gap:14px;
    margin-bottom:18px;
    color:#333;
    line-height:1.6;
}

.commit-list i{
    color:#b10d3e;
    margin-top:5px;
}

.promise-img{
    position:relative;
    border-radius:20px;
    overflow:hidden;
    margin-top:25px;
}

.promise-badge{
    position:absolute;
    right:15px;
    bottom:15px;
    background:#d59c0e;
    color:#fff;
    padding:14px 20px;
    border-radius:18px;
    font-weight:600;
    display:flex;
    align-items:center;
    gap:10px;
}

/* =========================
   QUOTE
========================= */

.quote-strip{
    background:#0a5b38;
    color:#fff;
    text-align:center;
    padding:28px 20px;
}

.quote-strip h3{
    font-family:'Playfair Display',serif;
    font-size:32px;
    margin-bottom:10px;
}

.quote-strip p{
    color:#f0c85b;
    font-size:18px;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:1100px){

    .hero-title{
        font-size:62px;
    }

    .vm-container{
        grid-template-columns:1fr;
    }

    .lower-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:768px){

    .purpose-hero{
        min-height:430px;
    }

    .hero-title{
        font-size:46px;
    }

    .hero-sub{
        font-size:18px;
    }

    .section-title{
        font-size:36px;
    }

    .lower-title{
        font-size:34px;
    }

    .vm-card{
        padding:35px 25px;
    }

    .commit-box{
        padding:28px 22px;
    }
}

@media(max-width:480px){

    .hero-title{
        font-size:38px;
    }

    .hero-sub{
        font-size:16px;
    }

    .hero-btn{
        padding:14px 24px;
        font-size:14px;
    }

    .section-title{
        font-size:30px;
    }

    .vm-title{
        font-size:28px;
    }

    .lower-title{
        font-size:28px;
    }

    .badge{
        font-size:15px;
        padding:14px 18px;
    }

    .quote-strip h3{
        font-size:24px;
    }
}