/* =========================================================
   GENERAL
========================================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Roboto", sans-serif;
    color: #111d4a;
    background: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
}


/* =========================================================
   PAGE BANNER
========================================================= */

.campus-banner {
    position: relative;
    min-height: 300px;
    background-image: url("/public/assets/img/campus.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.banner-overlay {
    position: absolute;
    inset: 0;

    background: rgba(255, 255, 255, 0.08);
}

.banner-title {
    position: relative;
    width: fit-content;
    min-width: 400px;
    margin: 0 auto 10px;
    padding: 2px 60px 5px;
    background: rgba(12, 43, 91, 0.78);
    color: #ffffff;
    font-size: 35px;
    font-weight: 700;
    text-align: center;
}


/* =========================================================
   INTRO SECTION
========================================================= */

.campus-intro {
    padding: 20px 0 55px;

    background: #f3f6fc;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    margin-bottom: 25px;
}

.section-heading h2 {
    margin: 0;
    color: #071a4e;
    font-size: 34px;
    font-weight: 600;
}

.heading-decoration {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 10px;

    margin-top: 8px;
}

.heading-decoration span {
    display: block;

    width: 79px;
    height: 3px;

    background: #071a4e;
}


.heading-decoration i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #063da8;
    font-size: 21px;
}

/* =========================================================
   INTRO TEXT
========================================================= */

.intro-text {
    font-size: 18px;
    line-height: 2.5;
    color: #17213f;
    text-align: justify;
	margin-top:30px;
}

.intro-text p {
    margin-bottom: 12px;
}

.drop-cap {
    float: left;

    margin-right: 7px;

    font-size: 46px;
    line-height: 0.9;

    color: #143c82;
    font-weight: 400;
}


/* =========================================================
   CAMPUS IMAGE
========================================================= */

.campus-image-box {
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    background: #ffffff;
	width:450px;
	float:right;
}

.campus-image-box img {
    display: block;
	width:450px;
    transition: transform 0.4s ease;
	float:right;
}

.campus-image-box:hover img {
    transform: scale(1.02);
}


/* =========================================================
   FACILITIES SECTION
========================================================= */

.facilities-section {
    padding: 18px 0 0;
    background: #ffffff;
}

.facilities-title {
    margin: 20px 0 50px;
    color:#000066;
    font-size: 30px;
    font-weight: 600;

    text-align: center;
}


/* =========================================================
   FACILITIES LAYOUT
========================================================= */

.facilities-wrapper {
    max-width: 850px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1fr 240px 1fr;

    align-items: center;

    gap: 15px;
}


/* =========================================================
   FACILITY COLUMN
========================================================= */

.facility-column {
    display: flex;

    flex-direction: column;

    gap: 17px;
}

.facility-item {
    min-height: 28px;

    display: flex;

    align-items: center;

    font-size: 16px;
    font-weight: 500;

    color: #000000;
}

.facility-left .facility-item {
    justify-content: flex-end;

    text-align: right;
}

.facility-right .facility-item {
    justify-content: flex-start;

    text-align: left;
}


/* =========================================================
   CENTER PERSON
========================================================= */

.facility-person {
    align-self: end;

    display: flex;

    justify-content: center;

    height: 330px;
}

.facility-person img {
    height: 100%;
    width: auto;

    object-fit: contain;

    object-position: bottom center;
}


/* =========================================================
   BOTTOM LINE
========================================================= */

.facilities-section::after {
    content: "";

    display: block;

    max-width: 1045px;

    height: 1px;

    margin: 0 auto;

    background: #dddddd;
}


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

@media (max-width: 991.98px) {

    .campus-banner {
        min-height: 200px;
    }

    .banner-title {
        min-width: auto;

        padding: 5px 45px;

        font-size: 38px;
    }

    .campus-intro {
        padding-bottom: 45px;
    }

    .intro-text {
        font-size: 17px;
        line-height: 1.9;
    }

    .facilities-wrapper {
        grid-template-columns: 1fr 210px 1fr;

        gap: 8px;
    }

    .facility-person {
        height: 300px;
    }

    .facility-item {
        font-size: 15px;
    }

}


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

@media (max-width: 767.98px) {

    /* Banner */

    .campus-banner {
        min-height: 150px;

        background-position: center;
    }

    .banner-title {
        width: 90%;

        margin-bottom: 10px;

        padding: 5px 15px;

        font-size: 28px;
    }


    /* Intro */

    .campus-intro {
        padding: 25px 0 40px;
    }

    .section-heading {
        margin-bottom: 20px;
    }

    .section-heading h2 {
        font-size: 29px;
    }

    .heading-decoration span {
        width: 60px;
    }

    .intro-text {
        font-size: 16px;

        line-height: 1.8;

        text-align: left;
    }

    .drop-cap {
        font-size: 42px;
    }


    /* Campus Image */

    .campus-image-box {
        margin-top: 5px;
    }


    /* Facilities */

    .facilities-section {
        padding: 20px 0 0;
    }

    .facilities-title {
        font-size: 26px;

        margin-bottom: 20px;
    }

    .facilities-wrapper {
        display: flex;

        flex-direction: column;

        gap: 10px;
    }


    /* Person image first */

    .facility-person {
        order: 1;

        width: 100%;
        height: 300px;
    }


    /* Facility lists */

    .facility-column {
        width: 100%;

        gap: 10px;
    }

    .facility-left {
        order: 2;
    }

    .facility-right {
        order: 3;
    }

    .facility-left .facility-item,
    .facility-right .facility-item {
        justify-content: center;

        text-align: center;
    }

    .facility-item {
        min-height: 30px;

        font-size: 15px;
    }

}


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

@media (max-width: 575.98px) {

    .campus-banner {
        min-height: 125px;
    }

    .banner-title {
        font-size: 23px;

        padding: 4px 10px;
    }

    .section-heading h2 {
        font-size: 26px;
    }

    .heading-decoration span {
        width: 48px;
    }

    .intro-text {
        font-size: 15px;

        line-height: 1.75;
    }

    .facility-person {
        height: 270px;
    }

    .facilities-title {
        font-size: 23px;
    }

}