/* =====================================================
   RESET
===================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/* =====================================================
   MAIN CONTAINER
===================================================== */

.Bsc_nursing_content {
    width: 100%;
    min-height: 100vh;

    display: flex;
    flex-direction: column;
}


/* =====================================================
   TOP HEADER
===================================================== */

.top-title {
    min-height: 70px;
    width: 100%;

    display: flex;
    flex-direction: row;

    background-color: rgb(50, 23, 168);
    color: white;

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

    gap: 35px;

    padding: 10px 20px;
}

.top-title p {
    font-size: 33px;
    font-weight: bold;
    text-align: center;
}

#office-logo {
    height: 50px;
    width: 50px;

    object-fit: cover;
    flex-shrink: 0;
}


/* =====================================================
   MAIN CONTENT
===================================================== */

.information-page-content {
    width: 90%;
    max-width: 1400px;

    margin: 40px auto;
}


/* =====================================================
   PAGE TITLE
===================================================== */

.page-title {
    font-size: 33px;
    font-weight: bold;

    text-align: center;

    margin-bottom: 30px;

    color: green;
}


/* =====================================================
   COURSE TOP SECTION
===================================================== */

.course-top {
    width: 100%;

    display: flex;

    justify-content: space-between;
    align-items: flex-start;

    gap: 50px;
}


/* =====================================================
   COURSE IMAGE
===================================================== */

.course-image {
    width: 35%;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    flex-shrink: 0;
}

.course-image img {
    width: 100%;
    max-width: 400px;
    height: auto;

    display: block;

    border-radius: 5px;
}


/* =====================================================
   COURSE DETAILS
===================================================== */

.course-details {
    width: 65%;
    min-width: 0;
}

.course-details h2 {
    color: #2b7de9;
    margin-bottom: 15px;
}

.course-details h3 {
    margin-top: 20px;
    margin-bottom: 8px;
}

.course-details p {
    font-size: 15px;
    line-height: 30px;

    text-align: justify;
}


/* =====================================================
   COURSE INFORMATION CARDS
===================================================== */

.course-cards {
    width: 100%;

    margin-top: 50px;

    display: flex;

    justify-content: space-between;

    gap: 20px;
}

.card {
    flex: 1;

    background: #ece1e1;

    padding: 15px;

    border-radius: 8px;

    box-shadow: 0 0 10px rgba(0, 0, 0, .1);

    min-width: 0;
}

#p1 {
    font-size: 18px;
    font-weight: bold;

    margin-bottom: 10px;

    color: brown;
}

#p2 {
    font-size: 14px;
    font-weight: bold;

    margin-bottom: 10px;
}


/* =====================================================
   APPLY BUTTON
===================================================== */

#btn-apply-container {
    min-height: 60px;

    display: flex;

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

    padding: 10px;
}

#btn-apply {
    background-color: rgb(25, 182, 25);

    font-size: 18px;
    font-weight: bold;

    color: black;

    height: 35px;
    width: 150px;

    border-radius: 20px;

    cursor: pointer;

    border: none;
}

#btn-apply:hover {
    background-color: rgb(14, 107, 30);
}


/* =====================================================
   TABLET
   769px - 1100px
===================================================== */

@media (max-width: 1100px) {

    .top-title {
        gap: 20px;
    }

    .top-title p {
        font-size: 25px;
    }

    .information-page-content {
        width: 92%;
    }

    .course-top {
        gap: 30px;
    }

    .course-image {
        width: 40%;
    }

    .course-details {
        width: 60%;
    }

    .course-details p {
        font-size: 15px;
        line-height: 27px;
    }
}


/* =====================================================
   MOBILE
   768px AND BELOW
===================================================== */

@media (max-width: 768px) {

    /* HEADER */

    .top-title {
        min-height: 65px;

        flex-direction: column;

        gap: 5px;

        padding: 10px 15px;
    }

    #office-logo {
        width: 40px;
        height: 40px;
    }

    .top-title p {
        font-size: 18px;
        line-height: 1.3;
    }


    /* MAIN CONTENT */

    .information-page-content {
        width: 92%;

        margin: 30px auto;
    }


    /* PAGE TITLE */

    .page-title {
        font-size: 27px;

        line-height: 1.3;

        margin-bottom: 25px;
    }


    /* COURSE TOP */

    .course-top {
        flex-direction: column;

        align-items: center;

        gap: 30px;
    }


    /* IMAGE */

    .course-image {
        width: 100%;

        justify-content: center;
    }

    .course-image img {
        width: 100%;
        max-width: 400px;

        height: auto;
    }


    /* DETAILS */

    .course-details {
        width: 100%;
    }

    .course-details h3 {
        font-size: 21px;

        margin-top: 25px;
        margin-bottom: 10px;

        text-align: left;
    }

    .course-details p {
        font-size: 15px;

        line-height: 1.8;

        text-align: left;
    }


    /* CARDS */

    .course-cards {
        flex-direction: column;

        gap: 15px;

        margin-top: 35px;
    }

    .card {
        width: 100%;

        padding: 18px;
    }

    #p1 {
        font-size: 18px;
    }

    #p2 {
        font-size: 14px;
    }


    /* BUTTON */

    #btn-apply-container {
        min-height: 65px;

        padding-bottom: 20px;
    }

    #btn-apply {
        width: 150px;
        height: 40px;

        font-size: 17px;
    }
}


/* =====================================================
   SMALL MOBILE
   480px AND BELOW
===================================================== */

@media (max-width: 480px) {

    /* HEADER */

    .top-title {
        min-height: 70px;

        padding: 8px 12px;

        gap: 4px;
    }

    #office-logo {
        width: 38px;
        height: 38px;
    }

    .top-title p {
        font-size: 14px;

        line-height: 1.3;

        text-align: center;
    }


    /* CONTENT */

    .information-page-content {
        width: 94%;

        margin: 25px auto;
    }


    /* TITLE */

    .page-title {
        font-size: 24px;

        line-height: 1.3;

        margin-bottom: 20px;
    }


    /* IMAGE */

    .course-image img {
        width: 100%;

        max-width: 350px;

        height: auto;
    }


    /* DETAILS */

    .course-details h3 {
        font-size: 19px;
    }

    .course-details p {
        font-size: 14px;

        line-height: 1.75;

        text-align: left;
    }


    /* CARDS */

    .course-cards {
        margin-top: 30px;

        gap: 12px;
    }

    .card {
        padding: 15px;
    }

    #p1 {
        font-size: 17px;
    }

    #p2 {
        font-size: 13px;

        line-height: 1.5;
    }


    /* BUTTON */

    #btn-apply {
        width: 145px;
        height: 40px;

        font-size: 16px;
    }
}


/* =====================================================
   VERY SMALL PHONES
   360px AND BELOW
===================================================== */

@media (max-width: 360px) {

    .top-title {
        min-height: 65px;
    }

    .top-title p {
        font-size: 12px;
    }

    #office-logo {
        width: 35px;
        height: 35px;
    }


    .information-page-content {
        width: 92%;
    }


    .page-title {
        font-size: 22px;
    }


    .course-image img {
        max-width: 100%;
    }


    .course-details h3 {
        font-size: 18px;
    }

    .course-details p {
        font-size: 13px;

        line-height: 1.7;
    }


    .card {
        padding: 13px;
    }

    #p1 {
        font-size: 16px;
    }

    #p2 {
        font-size: 12px;
    }
}