/* =========================================
   Foundation Section
========================================= */

.foundation-section {

    width: 100%;

    padding: 70px 20px;

    background: #f5f8f6;

}


/* Main Container */

.foundation-container {

    width: 100%;

    max-width: 1300px;

    margin: 0 auto;

}


/* Modal Style Card */

.foundation-modal {

    width: 100%;

    background: #ffffff;

    border: 1px solid #e1ebe5;

    border-radius: 24px;

    padding: 35px;

    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);

    overflow: hidden;

}


/* Heading */

.foundation-title {

    width: 100%;

    text-align: center;

    margin-bottom: 30px;

}


.foundation-title span {

    display: inline-block;

    padding: 12px 35px;

    background:#4B008F;

    color: #ffffff;

    font-size: 28px;

    font-weight: 600;

    line-height: 1.3;

    border-radius: 50px;

}


/* Image */

.foundation-image-box {

    width: 100%;

    margin-bottom: 30px;

    overflow: hidden;

    border-radius: 4px;

}


.foundation-image-box img {

    display: block;

    width: 100%;

    height: 360px;

    object-fit: cover;

    object-position: center;

}


/* Content */

.foundation-content {

    width: 100%;

}


.foundation-content p {

    margin: 0 0 18px 0;

    color: #222222;

    font-family: Arial, sans-serif;

    font-size: 15px;

    line-height: 1.7;

    text-align: justify;

}


.foundation-content p:last-child {

    margin-bottom: 0;

}


/* Highlighted University Name */

.foundation-highlight {

    color: #168c4b;

    font-weight: 600;

}


/* =========================================
   Large Tablet
========================================= */

@media (max-width: 991px) {

    .foundation-section {

        padding: 55px 18px;

    }


    .foundation-modal {

        padding: 28px;

        border-radius: 20px;

    }


    .foundation-title {

        margin-bottom: 25px;

    }


    .foundation-title span {

        font-size: 25px;

        padding: 11px 30px;

    }


    .foundation-image-box {

        margin-bottom: 25px;

    }


    .foundation-image-box img {

        height: 300px;

    }


    .foundation-content p {

        font-size: 14.5px;

        line-height: 1.65;

    }

}


/* =========================================
   Mobile
========================================= */

@media (max-width: 767px) {

    .foundation-section {

        padding: 35px 12px;

    }


    .foundation-container {

        max-width: 100%;

    }


    .foundation-modal {

        padding: 18px;

        border-radius: 16px;

        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);

    }


    .foundation-title {

        margin-bottom: 20px;

    }


    .foundation-title span {

        font-size: 21px;

        padding: 9px 25px;

    }


    .foundation-image-box {

        margin-bottom: 20px;

        border-radius: 8px;

    }


    .foundation-image-box img {

        width: 100%;

        height: 210px;

        object-fit: cover;

    }


    .foundation-content p {

        font-size: 14px;

        line-height: 1.65;

        text-align: left;

        margin-bottom: 16px;

    }

}


/* =========================================
   Small Mobile
========================================= */

@media (max-width: 480px) {

    .foundation-section {

        padding: 25px 10px;

    }


    .foundation-modal {

        padding: 14px;

        border-radius: 14px;

    }


    .foundation-title {

        margin-bottom: 17px;

    }


    .foundation-title span {

        font-size: 19px;

        padding: 8px 22px;

    }


    .foundation-image-box {

        margin-bottom: 18px;

    }


    .foundation-image-box img {

        height: 175px;

    }


    .foundation-content p {

        font-size: 13.5px;

        line-height: 1.6;

        margin-bottom: 14px;

    }

}