:root {
    --d: 700ms;
    --e: cubic-bezier(0.19, 1, 0.22, 1);
    --font-sans: "Rubik", sans-serif;
    --font-serif: "Cardo", serif;
}

.introduction {
    direction: rtl;
    float: right;
    text-align: right;
    background-color: #fff;
}

.information {
    direction: rtl;
    text-align: center;
    color: #000;
    margin: 0 30% 5% 30%;
}

@media(max-width: 992px) {
    .information {
        direction: rtl;
        text-align: center;
        color: #000;
        margin: 0 5% 5% 5%;
    }
}


.intro-title {
    margin-top: 1rem;
    margin-bottom: .5rem;
}

.content {
    padding-left: 10%;
    padding-right: 10%;
}

.line {
    width: 3rem;
    background-color: #3d5afe;
    height: .2rem;
}

.main-btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid #3d5afe;
    padding: 0 30px;
    font-size: 16px;
    line-height: 48px;
    color: #fff;
    cursor: pointer;
    z-index: 5;
    -webkit-transition: all 0.4s ease-out 0s;
    -moz-transition: all 0.4s ease-out 0s;
    -ms-transition: all 0.4s ease-out 0s;
    -o-transition: all 0.4s ease-out 0s;
    transition: all 0.4s ease-out 0s;
    background-color: #3d5afe;
    -webkit-box-shadow: 0px 5px 16px 0px rgba(235, 54, 86, 0.65);
    -moz-box-shadow: 0px 5px 16px 0px rgba(235, 54, 86, 0.65);
    box-shadow: 0px 5px 16px 0px rgba(235, 54, 86, 0.65);
    font-family: 'Barlow', sans-serif;
    text-transform: uppercase;
}

.main-btn i {
    margin-right: 5px;
}

.main-btn:hover {
    background-color: #fff;
    color: #3d5afe;
    border-color: #3d5afe;
}

.main-btn.main-btn-2 {
    background-color: #fff;
    color: #3d5afe;
    border-color: #3d5afe;
}

.main-btn.main-btn-2:hover {
    background-color: #3d5afe;
    border-color: #3d5afe;
    color: #fff;
}

#about {
    direction: rtl;
}

@media (max-width: 767px) {
    .about-area {
        padding-top: 30px;
        padding-bottom: 80px;
    }
}

.about-image {
    position: relative;
}

.about-image::before {
    position: absolute;
    content: '';
    background-image: url(../images/study/dots.jpg);
    background-position: center center;
    background-size: 100%;
    width: 375px;
    height: 350px;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: -1;
}

@media (max-width: 767px) {
    .about-image::before {
        display: none;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .about-image::before {
        display: block;
    }
}

.about-image .single-image {
    width: 360px;
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
    .about-image .single-image {
        width: 280px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .about-image .single-image {
        width: 400px;
    }
}

@media (max-width: 767px) {
    .about-image .single-image {
        width: 100%;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .about-image .single-image {
        width: 360px;
    }
}

.about-image .single-image img {
    width: 100%;
}

@media (max-width: 767px) {
    .about-image .single-image.image-tow {
        display: none;
    }
}

.about-image .single-image.image-tow {
    margin-top: -200px;
    position: relative;
    z-index: 5;
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
    .about-image .single-image.image-tow {
        margin-top: -150px;
    }
}

@media (max-width: 767px) {
    .about-image .single-image.image-tow {
        margin-top: 30px;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .about-image .single-image.image-tow {
        margin-top: -200px;
    }
}

.about-image .about-btn {
    position: relative;
    margin-left: 80px;
    margin-top: -40px;
    display: inline-block;
    z-index: 9;
}

@media (max-width: 767px) {
    .about-image .about-btn {
        margin: 0 auto;
        display: block;
        text-align: center;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .about-image .about-btn {
        margin-left: 80px;
        display: inline-block;
        text-align: left;
        margin-top: -50px;
    }
}

.about-image .about-btn .main-btn {
    line-height: 58px;
    padding: 0 40px;
    border: 8px solid #fff;
    font-weight: 700;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.about-image .about-btn .main-btn span {
    font-size: 35px;
}

@media (max-width: 767px) {
    .about-image .about-btn .main-btn span {
        font-size: 28px;
    }
}

.about-image .about-btn .main-btn:hover {
    border-color: #3d5afe;
}

@media (max-width: 767px) {
    .about-image .about-btn .main-btn {
        line-height: 48px;
        padding: 0 30px;
        font-size: 14px;
        margin-top: -25px;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .about-image .about-btn .main-btn {
        line-height: 48px;
        padding: 0 30px;
        font-size: 14px;
        margin-top: -25px;
    }
}

.about-content {
    text-align: right;
}

.about-content .about-welcome {
    font-size: 24px;
    color: #3d5afe;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .about-content .about-welcome {
        font-size: 18px;
    }
}

.about-content .about-title {
    font-size: 35px;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .about-content .about-title {
        font-size: 26px;
    }
}


.cards-list {
    z-index: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 0 0 5% 0;
    direction: rtl;
}

.card {
    margin: 50px 30px;
    width: 200px;
    height: 200px;
    border-radius: 40px;
    box-shadow: 5px 5px 30px 7px rgba(0, 0, 0, 0.25), -5px -5px 30px 7px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    transition: 0.4s;
}

.card .card_image {
    width: inherit;
    height: inherit;
    border-radius: 40px;
}

.card .card_image img {
    width: inherit;
    height: inherit;
    border-radius: 40px;
    object-fit: cover;
}

.card .card_title p {
    text-align: center;
    border-radius: 0px 0px 40px 40px;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 30px;
    margin-top: 15px;
    height: 40px;
}

.card:hover {
    transform: scale(0.9, 0.9);
    box-shadow: 5px 5px 30px 15px rgba(0, 0, 0, 0.25),
        -5px -5px 30px 15px rgba(0, 0, 0, 0.22);
}

.title-white p {
    color: black;
}

.title-black p{
    color: black;
}

@media all and (max-width: 500px) {
    .card-list {
        /* On small screens, we are no longer using row direction but column */
        flex-direction: column;
    }
}