* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
}

/* section{
    background-color: #ccc;
    height: 100%;
    width: 100%;
} */

.college_page {
    width: 100%;
    background: #fff;
}


/*================ HERO SECTION ================*/

.college_hero {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
}

.college_hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero_overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
}

.hero_content {

    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 70%;

    text-align: center;

    color: #fff;

}

.hero_content h1 {

    font-size: 56px;
    font-weight: 700;

    margin-bottom: 25px;

}

.hero_content p {

    width: 80%;

    margin: auto;

    font-size: 17px;

    line-height: 42px;

}



/*================ HERO STATS ================*/

.hero_stats {

    margin-top: 50px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 35px;

    width: fit-content;

    margin-inline: auto;

    padding: 18px 40px;

    border-radius: 60px;

    background: rgba(255, 255, 255, .15);

    backdrop-filter: blur(10px);

}

.stat_box {

    display: flex;

    align-items: center;

    gap: 12px;

    color: white;

    font-size: 16px;

    font-weight: 500;

}

.stat_box i {

    font-size: 22px;

    color: #fff;

}

.stat_box:not(:last-child) {

    border-right: 1px solid rgba(255, 255, 255, .4);

    padding-right: 20px;

}



/*================ ABOUT SECTION ================*/

.about_college {

    width: 88%;

    margin: 120px auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 80px;

}

.about_left {

    width: 48%;

}

.about_left small {
    font-weight: 600;
    border-bottom: 3px solid #ff8a00;
    border-bottom-left-radius: 30%;
    border-bottom-right-radius: 30%;
    padding-bottom: 7px;

}

.section_tag {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: #38b7b2;

    font-size: 15px;

    font-weight: 600;

    letter-spacing: 2px;

    text-transform: uppercase;

}

.section_tag i {

    color: #ff8a00;

    font-size: 9px;

}

.about_left h2 {

    font-size: 50px;

    color: #243b68;

    margin: 22px 0 35px;

}

.about_left p {

    font-size: 21px;

    color: #555;

    line-height: 38px;

    margin-bottom: 25px;

}

.about_left a {

    margin-top: 20px;

    display: inline-flex;

    align-items: center;

    gap: 12px;

    text-decoration: none;

    color: #1d63d0;

    border: 2px solid #1d63d0;

    border-radius: 50px;

    padding: 15px 38px;

    font-weight: 600;

    transition: .4s;

}

.about_left a .fa-arrow-right-long {

    font-size: 16px;

    transition: .3s;

}

.about_left a:hover {

    background: #1d63d0;

    color: #fff;

}

.about_left a:hover .fa-arrow-right-long {

    transform: translateX(5px);

}



/*================ ABOUT IMAGE ================*/

.about_right {

    width: 48%;

}

.about_right img {

    width: 100%;

    height: 650px;

    object-fit: cover;

    border-radius: 18px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, .15);

}


/*================ Quick Facts Section ================*/

.quickfact_box {
    height: 230px;
    width: 325px;
    background-color: #fff;
    box-shadow: 1px 1px 3px black;
    border-radius: 7px;
    padding: 30px;
    transition: .2s;
}

.quickfact_box:hover {
    transform: scale(1.02);
}

.quickfact_icon {
    display: flex;
    justify-content: center;
}

.quickfact_icon .icon {
    height: 70px;
    width: 70px;
    color: #38b7b2;
}

.quickfact_content {
    text-align: center;
}

.quickfact_content .head {
    color: #243b68;
    font-size: 24px;
    font-weight: 600;

}

.quickfact_content .last {
    font-size: 19px;
    color: #555;
    font-weight: 600;
    border-bottom: 3px solid #ff8a00;
    display: inline-block;
}

.quick_facts {
    margin: 30px 45px;

}

.quickfact_boxes {
    display: flex;
    justify-content: space-between;
}

.quick_facts_heading {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.quick_facts_heading h1 {
    border-bottom: 4px solid #ff8a00;
    border-bottom-left-radius: 20%;
    border-bottom-right-radius: 20%;
    padding-bottom: 14px;
}

/*================ Course Offered Section ================*/

.courseoffered_box {
    height: auto;
    min-height: 180px;
    width: 345px;
    background-color: #fff;
    box-shadow: 1px 1px 3px black;
    border-radius: 7px;
    padding: 12px;
    transition: .2s;
}

.courseoffered_icon {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.courseoffered_icon .icon {
    height: 55px;
    width: 55px;
    color: #38b7b2;
}

.courseoffered_icon .head {
    color: #243b68;
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.courseoffered_content {
    text-align: center;
}

.courseoffered_content .last {
    font-size: 14px;
    color: #555;
    margin-top: 12px;
    border: 2px solid #243b68;
    display: inline-block;
    padding: 5px;
    border-radius: 10px;

}

.courseoffered_content .fa-book-open-reader {
    color: #38b7b2;
    font-size: 22px;
}

.courseoffered_box:hover {
    transform: scale(1.02);
}

.course_offered {
    margin: 80px 45px;

}

.courseoffered_rows {
    display: flex;
    gap: 35px;
    margin-bottom: 20px;

}

.course_offered_heading {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.course_offered_heading h1 {
    border-bottom: 4px solid #ff8a00;
    border-bottom-left-radius: 20%;
    border-bottom-right-radius: 20%;
    padding-bottom: 14px;
}

/*================ Why Choose Stephen's College Section ================*/

.whychoose_box {
    height: auto;
    min-height: 240px;
    width: 450px;
    background-color: #fff;
    box-shadow: 0 -5px 0 #b0c5f0;
    border-radius: 7px;
    padding: 15px;
    transition: .2s;
    border: none;
}

.whychoose_icon {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.whychoose_icon .icon {
    height: 70px;
    width: 60px;
    color: #38b7b2;
}

.whychoose_icon .head {
    color: #243b68;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.whychoose_content {
    text-align: justify;
}

.whychoose_content p {
    font-size: 16px;
    color: #555;
    margin-left: 95px;
}

.whychoose_box:hover {
    transform: scale(1.02);
    box-shadow: 0 -5px 0 #243b68;
}

.whychoose {
    margin: 80px 45px;

}


.whychoose_rows {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;

}

.why_choose_heading {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.why_choose_heading h1 {
    border-bottom: 4px solid #ff8a00;
    border-bottom-left-radius: 20%;
    border-bottom-right-radius: 20%;
    padding-bottom: 14px;
    font-size: 27px;
}


/*================ Admission Process ================*/


.admission {
    margin: 80px 45px;
}

.admission_heading {
    text-align: center;
    margin-bottom: 10px;
}

.admission_heading h1 {
    color: #243b68;
    border-bottom: 4px solid #ff8a00;
    border-bottom-left-radius: 20%;
    border-bottom-right-radius: 20%;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 8px;
}

.admission_heading span {
    font-weight: 600;
    font-size: 20px;
}

.admission_heading .steps {
    font-size: 16px;
    color: #4e74c0;
}

.admission_box_content {
    display: flex;
    align-items: center;
}

.admission_box_content .serial_no p {
    font-size: 30px;
    font-weight: 600;
    padding-right: 15px;
    border-right: 3px solid #b9b8b8;
}

.serial_no_content {
    margin-left: 25px;
}

.serial_no_content h3 {
    color: #243b68;
    margin-bottom: 10px;
}

.admission_box {
    height: 140px;
    width: 100%;
    box-shadow: 1px 1px 3px black;
    border-radius: 10px;
    padding: 20px;

    display: flex;
    gap: 40px;
    margin-bottom: 15px;
}

.admission_box_icon {
    display: flex;
    align-items: center;
}

.admission_box_icon .ad_icon {
    height: 60px;
    width: 60px;
    color: #38b7b2;
    background-color: #dcfcfb;
    padding: 15px;
    border-radius: 50%;
}

.admission_button {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.real_admission_button a{
    display: block;
    margin-bottom: 13px;
}
.admission_button .pg_icon {
    font-size: 27px;
    color: #ff8a00;
    transition: .3s;
}

.admission_button a {
    text-decoration: none;
    color: #fff;
    background-color: #243b68;
    padding: 15px 45px;
    font-size: 27px;
    font-weight: 600;
    border-radius: 35px;
    transition: .3s;

}
.admission_button .consult{
    background-color: orangered;
    color: #fff;


}
.admission_button .consult:hover{
    box-shadow: 0 5px 0 #243b68;

}

.admission_button a:hover .pg_icon {
    transform: scale(1.2);
}

.admission_button a:hover {
    box-shadow: 0 5px 0 #ff8a00;

}



/*================ Part Of Legacy Section ================*/

.legacy {
    height: 300px;
    width: calc(100% - 90px);
    background: linear-gradient(190deg,
            #fff 50%,
            #ff8a00 100%);
    margin-top: 60px;
    margin-bottom: 0;
    margin-left: 45px;
    margin-right: 45px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.legacy_box_image {
    height: 300px;
    width: 300px;

}

.legacy_box_image img {
    height: 300px;
    width: 300px;
}

.legacy_box_content h3 {
    color: #243b68;
    font-size: 35px;
    margin-bottom: 10px;
}

.legacy_box_content p {
    columns: #555;
    font-size: 18px;
}

.legacy_box_button a {
    text-decoration: none;
    color: #fff;
    background-color: orangered;
    padding: 12px 18px;
    font-size: 20px;

    border-radius: 25px;
    font-weight: 600;
}

.legacy_box_button .apply {
    transition: .3s;
}

.legacy_box_button a:hover .apply {
    transform: translateX(5px);
}

/*================ Responsive Code =================*/

@media screen and (max-width:768px) {

    .college_hero {
        height: 550px;
    }

    .hero_content {
        width: 90%;
    }

    .hero_content h1 {
        font-size: 26px;
        margin-bottom: 15px;
    }

    .hero_content p {
        width: 100%;
        font-size: 16px;
        line-height: 30px;
    }

    .hero_stats {
        flex-direction: column;
        gap: 18px;
        padding: 20px;
        border-radius: 20px;
        margin-top: 30px;
    }

    .stat_box {
        border: none !important;
        padding-right: 0 !important;
        justify-content: center;
    }

    /* About */

    .about_college {
        width: 90%;
        margin: 70px auto;
        flex-direction: column;
        gap: 40px;
    }

    .about_left,
    .about_right {
        width: 100%;
    }

    .about_left h2 {
        font-size: 30px;
        margin: 18px 0 20px;
    }

    .about_left p {
        font-size: 18px;
        line-height: 32px;
    }

    .about_left a {
        padding: 13px 25px;
        font-size: 16px;
    }

    .about_right img {
        height: auto;
    }

    /* Quick Facts */

    .quick_facts {
        margin: 60px 20px;
    }

    .quickfact_boxes {
        flex-direction: column;
        gap: 20px;
    }

    .quickfact_box {
        width: 100%;
        height: auto;
    }

    .quick_facts_heading h1 {
        font-size: 30px;
        text-align: center;
    }

    /* Course Offered */

    .course_offered {
        margin: 60px 20px;
    }

    .courseoffered_rows {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
    }

    .courseoffered_box {
        width: 100%;
        height: auto;
    }

    .courseoffered_icon {
        gap: 15px;
    }

    .courseoffered_icon .head {
        font-size: 22px;
    }

    .course_offered_heading h1 {
        font-size: 30px;
        text-align: center;
    }

    /* Why Choose */

    .whychoose {
        margin: 60px 20px;
    }

    .whychoose_rows {
        flex-direction: column;
        gap: 20px;
    }

    .whychoose_box {
        width: 100%;
        height: auto;
        padding: 20px;
    }

    .whychoose_icon {
        gap: 15px;
        justify-content: flex-start;
    }

    .whychoose_icon .head {
        font-size: 20px;
    }

    .whychoose_content p {
        margin-left: 0;
        margin-top: 15px;
        text-align: left;
        line-height: 28px;
    }

    .why_choose_heading h1 {
        font-size: 30px;
        text-align: center;
    }

    /* Admission Process */

    .admission_box {
        height: auto;
        width: 100%;

        gap: 20px;
        padding: 10px;
    }

    .admission_box_icon .ad_icon {
        height: 40px;
        width: 40px;

    }

    .admission_heading span {
        font-size: 17px;
    }

    .admission_heading .note {
        text-align: justify;
    }


    .serial_no_content h3 {

        font-size: 17px;
    }

    .serial_no_content p {
        font-size: 11px;
    }

    .admission_button{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .admission_button .fa-headset {
        font-size: 24px;

        color: #ff8a00;
        transition: .3s;
    }

    .admission_button a {
        padding: 10px;
        font-size: 15px;
        text-align: center;

    }



    /* Legacy */

    .legacy {
        width: 90%;
        margin: 60px auto 0;
        height: auto;
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 25px;
    }

    .legacy_box_image,
    .legacy_box_image img {
        width: 180px;
        height: 180px;
    }

    .legacy_box_content h3 {
        font-size: 28px;
    }

    .legacy_box_content p {
        font-size: 16px;
        line-height: 28px;
    }

    .legacy_box_button a {
        font-size: 17px;
        padding: 12px 20px;
    }
}