@media (min-width:1200px) and (max-width:1366px) {
    .pfg-msg p {
        max-width: 976px;
    }

}

@media (min-width:992px) and (max-width:1199px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        font-size: 16px;

    }

    .banner p {
        font-size: 16px;
        margin: 0px 0 30px;
        line-height: 25px;
    }

    .banner h5 {
        font-size: 37px;
        line-height: 50px;
        max-width: 510px;

    }

    .start-course .course-icon a {
        font-size: 22px;
    }
}



@media (min-width:768px) and (max-width:991px) {
    .left-side {
        padding: 15px 0;
        display: none;
    }
    .right-side {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
        margin-top: 13px;
    }
    .form-flex input.form-control {
        flex-basis: 35%;
        max-width: 35%;
    }

    #msform .form-flex input.btn-blue {
        flex-basis: 65%;
        max-width: 65%;
        font-size: 12px;
    }

    #progressbar li {
        list-style-type: none;
        font-size: 15px;
        width: 100%;
        line-height: 20px;
        float: left;
        position: relative;
    }

    .fs-title {
        font-size: 15px;
    }

    .resource-link a {
        font-size: 18px;
    }

    .navbar-toggler {
        padding: 0;
        font-size: 0;
        line-height: 1;
        background-color: transparent;
        border: none;
        border-radius: 0;
        width: 40px;
        height: 40px;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        width: 100%;
        height: auto;
        background: #fff;
        z-index: 999;
        left: 0;
        right: 0;
        margin: 0 auto;
    }

    .menu-icon {
        display: flex;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 16px 16px;
        border-right: none;
    }

    .carousel-item img {
        height: 100%;
        object-fit: cover;
    }

    .carousel-item {
        transition: none;
        height: 500px;
    }

    .start-course .course-icon a {
        font-size: 20px;

    }

    .start-course .course-icon img {
        margin-right: 15px;
        width: 50px;
    }

    .pfg-msg p {
        max-width: 700px;
    }

    .navbar-brand img {
        max-width: 150px;
        padding: 10px 0;
    }
}

@media (max-width:767px) {
    .fs-title-2 {
        font-size: 14px;
        text-align: left;
    }

    #msform fieldset {
        padding: 20px 15px !important;
    }

    #progressbar li span {
        display: none;
        margin-top: 12px;
    }

    .navbar-toggler {
        padding: 0;
        font-size: 0;
        line-height: 1;
        background-color: transparent;
        border: none;
        border-radius: 0;
        width: 40px;
        height: 40px;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        width: 100%;
        height: auto;
        background: #fff;
        z-index: 999;
        left: 0;
        right: 0;
        margin: 0 auto;
    }

    .menu-icon {
        display: flex;
        padding-right: 5px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 16px 16px;
        border-right: none;
    }

    .carousel-item img {
        height: 100%;
        object-fit: cover;
    }



    .start-course .course-icon a {
        font-size: 22px;

    }

    .pfg-msg p {
        max-width: 700px;
    }

    .left-side {
        display: none;
    }

    .social-icons li:first-child {
        display: inline-block;
    }

    .top-bar {
        height: auto;
        padding: 10px 0;
    }

    .right-side {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .banner p {
        display: none;
    }

    .banner h5 {
        font-size: 34px;
        line-height: 50px;
        max-width: 330px;
        margin-bottom: 30px;
    }

    .banner h5 span {
        display: block;
    }

    .carousel-item {
        height: 500px;
    }

    .banner .btn-group {
        display: block;
    }

    .banner .btn-group a {
        margin-right: 0;
        margin-bottom: 15px;
        display: block;
        width: 100%;
    }

    .banner .btn-group a:last-child {
        margin-bottom: 0;
    }

    .about-img img {
        margin-bottom: 40px;
        width: 100%;
    }

    .about-img::before {
        max-width: 100%;
    }

    .carousel-control-next,
    .carousel-control-prev {
        opacity: 1;
        display: none;
    }

    .about-img:hover img {
        transform: none;
    }

    .banner .carousel-caption {
        left: 0;
        right: 0;
        margin: 0 auto;
        align-items: center;
        text-align: center;
    }

    .carousel-indicators {
        display: flex;
        bottom: 0;
    }

    .carousel-indicators li {
        width: 14px;
        height: 14px;
        margin: 0 5px;
        border-top: none;
        border-bottom: none;
        opacity: 1;

        border-radius: 50px;
    }

    .carousel-indicators .active {
        opacity: 1;
        background-color: var(--yellow);
    }

    .about-us {
        margin: 80px 0 40px 0;
    }

    .section-title h2 {
        font-size: 27px;
    }


    .section-title p {
        font-size: 20px;
        line-height: 26px;
        margin: 0;
    }

    .social-icons li a {
        padding: 0 5px;
        font-size:13px;
    }

    .course-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 30px;
    }

    .start-course .col-sm-3:last-of-type .course-icon {
        margin-top: 10px;
        justify-content: center;
    }
    .right-side .btn-outline {
        min-width: 71px;
        font-size: 11px;
        padding: 0;
    }

    .navbar-brand img {
        max-width: 150px;
        padding: 10px 0;
    }

    .about-desc .btn-blue,
    .about-desc .btn-outline-blue,
    .about-desc .btn-group a:last-child {
        min-width: 160px;
        max-width: 160px;
    }

    .copyr p {
        margin-bottom: 0;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .form-flex input.form-control {
        flex-basis: 35%;
        max-width: 35%;
    }

    #msform .form-flex input.btn-blue {
        flex-basis: 65%;
        max-width: 65%;
        font-size: 12px;
    }
}

@media (max-width: 360px) {

    .about-desc .btn-blue,
    .about-desc .btn-outline-blue,
    .about-desc .btn-group a:last-child {
        min-width: 140px;
        max-width: 140px;
        font-size: 16px;
        padding: 0;
    }

    .start-course .course-icon img {
        margin-right: 25px;
        display: inline-block;
        width: 55px;
    }

    .form-flex input.form-control {
        flex-basis: 30%;
        max-width: 30%;
    }

    #msform .form-flex input.btn-blue {
        flex-basis: 70%;
        max-width: 70%;
        font-size: 11px;
        padding: 0;
    }
}

