main {
    margin-top: 100px;
    width: 100vw;
}

main .p_1 {
    padding: 60px;
    display: flex;
    align-items: center;
    text-align: center;
}

main .p_1 .left-side {
    width: 50%;
    
    direction: rtl;
}

main .p_1 .left-side h2 {
    font-size: 32px;
    font-weight: 800;
    line-height: 54px;
    margin-bottom: 0;

    text-align: center;
}

main .p_1 .left-side h3 {
    font-size: 24px;
    font-weight: 350;
    line-height: 32px;
    margin: 17px 0 35px;

    text-align: center;
}

main .p_1 .left-side a {
    font-size: 20px;
    font-weight: 400;
    background-color: #2d89c6;
    color: #fff;
    border-radius: 80px;
    padding: 18px 42px;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
}

main .p_1 .right-side {
    height: 400px;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

main .p_1 .right-side img {
    height: 100%;
}

/*------------------------*/

main .p_2 {
    display: flex;
    flex-direction: column;
    padding: 50px;
    background-color: #4898CE;
}

main .p_2 .top {
    padding: 40px 150px;
}

main .p_2 .top h2 {
    line-height: 1;
    font-weight: bolder;
    font-size: 40px;
    /*color: #223949;*/
    color: #ffffff;
    padding: 20px;

    text-align: center;
}

main .p_2 .top p {
    text-align: center;
    /*color: #7a8a9c;*/
    color: #e8f3ff;
    font-family: muli, Sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;

    text-align: center;
}

main .p_2 .items {
    display: flex;
    justify-content: space-between;

    align-items: center; 
    margin: 10px 0;
}

main .p_2 .items .item {
    display: flex;
    flex-direction: column;
    width: 200px;
    border-radius: 40px;
    border: #2d89c6 1px solid;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    /*box-shadow: 0 10px 30px rgba(0,0,0,.11)!important;*/
    cursor: pointer;
    background-color: #fff;

    align-items: center;
    justify-content: center;
    padding: 50px 20px;
}

main .p_2 .items .item svg {
    height: 70px;
    width: 70px;
}

main .p_2 .items .item h3 {
    font-size: 32px;
    font-weight: bold;
    text-align: left;
    padding: 10px 0;

    text-align: center;
}

main .p_2 .items .item h6 {
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    font-size: 16px;

    text-align: center;
}

/*--------------------------*/

main .p_3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 120px;
}

main .p_3 h1 {
    text-align: center;
    padding: 50px 0;
}

main .p_3 .courses {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

main .p_3 .courses .course {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: start;
    width: 250px;
    border-radius: 10px;
    border: none;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5) !important;
    cursor: pointer;
}

main .p_3 .courses .course .course-img {
    overflow: hidden;
}

main .p_3 .courses .course .course-img img {
    width: 100%;
}

main .p_3 .courses .course .course-details {
    padding: 20px;
}

main .p_3 .courses .course .course-details .top {
    display: flex;
    justify-content: space-between;
}

main .p_3 .courses .course .course-details .top h6:nth-child(1) {
    padding: 5px 0;
    font-weight: 700;
    font-size: 12px;
    color: #494949;
}

main .p_3 .courses .course .course-details .top h6:nth-child(2) {
    padding: 5px 0;
    font-weight: 700;
    font-size: 14px;
    color: #7d2929;
}

main .p_3 .courses .course .course-details h4 {
    padding: 5px 0;
    font-size: 16px;
}

main .p_3 .view-more {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
}

main .p_3 .view-more a {
    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 20px;
    font-weight: 400;
    background-color: #2d89c6;
    color: #fff;
    border-radius: 60px;
    padding: 15px 35px;
    line-height: 1.5;
    cursor: pointer;
}



@media (max-width:1024px) {
    
    /* --- P1 ---*/

    main .p_1 {
        padding: 30px;
        flex-direction: column;
        row-gap: 30px;
    }
    main .p_1 .left-side {
        width: 100%;
    }
    main .p_1 .right-side {
        height: 400px;
        width: 100%;
        overflow: hidden;
    }
}

@media (max-width:777px) {
    main {
        margin-top: 50px;
    }

    /* --- P1 ---*/

    main .p_1 .left-side h2 {
        font-size: 28px;
    }
    main .p_1 .left-side h3 {
        font-size: 22px;
    }
    main .p_1 .left-side a {
        font-size: 18px;
        padding: 10px 20px;
    }

    /* --- P2 ---*/

    main .p_2 {
        padding: 20px 5px;
    }
    main .p_2 .top {
        padding: 0;
    }
    main .p_2 .top h2 {
        font-size: 35px;
    }
    main .p_2 .items {
        padding: 20px 0;
        flex-wrap: wrap;
        row-gap: 30px;
    }
    main .p_2 .items .item {
        width: 350px;
    }
    main .p_2 .items .item h6 {
        font-size: 18px;
    }
    
    /* --- P3 ---*/

    main .p_3 {
        padding: 0px 20px;
    }
    
    main .p_3 h1 {
        text-align: center;
        padding: 50px 0;
    }
    
    
    main .p_3 .courses{
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 30px;
    }
    main .p_3 .courses .course {
        width: 400px;
    }
    
    main .p_3 .courses .course .course-details {
        padding: 15px;
    }
    
    main .p_3 .view-more {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 50px 0;
    }
}
@media (max-width:710px) {
    main .p_2 .items .item {
        width: 300px;
    }
    main .p_3 .courses .course {
        width: 180px;
    }
    main .p_3 .courses .course {
        width: 380px;
    }
}


@media (max-width:630px) {
    main .p_2 .items {
        justify-content: center;
    }
    main .p_2 .items .item {
        width: 350px;
    }
    main .p_3 .courses .course {
        width: 400px;
    }
}