/* variables and defaul css */
:root {
    --primary: #0C4E4C;
    --hover: #073332;
    --yellow: #FAD106;
    --yellowHover: #caa900;
    --white: #fff;
    --transition: .3s ease-in-out;
    --padding: 100px 0;
}



/* English */
.direction-ltr {
    direction: ltr;
    text-align: left;
}

.direction-rtl {
    direction: rtl;
    text-align: right;
}

/* Arabic */
.direction-ltr.text-lefted {
    text-align: left;
}

.direction-rtl.text-lefted {
    text-align: right;
}


/* home page style */

.sub-hero {
    height: auto;
    background-size: cover;
    background-position: center;
    height: auto;
    position: relative;
}

.sub-hero .centered {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    z-index: 2;
    padding: 100px 0;
}

.sub-hero .centered h2 {
    color: white;
    text-align: center;
    font-weight: 600;
}

.sub-hero .centered p {
    color: #000;
    width: 60%;
    margin: auto;
    color: rgb(255, 255, 255);
    font-weight: 500;
    text-align: center;
    margin: 8px 0;
}

.sub-hero .centered a.schedule {
    background-color: var(--white);
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    padding: 14px 14px;
    border-radius: 5px;
    text-decoration: none;
    margin-right: 10px;
    font-size: 0.88rem;
    transition: var(--transition);
    font-weight: 500;
    display: inline-block;
    margin-top: 24px;
}

.sub-hero .centered a.schedule:hover {
    background-color: var(--hover);
    color: #000;
}

.sub-hero .centered .path {
    padding: 12px;
    margin-top: 24px;
    border-radius: 8px;
    padding-right: 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

.sub-hero .centered .path span {
    font-size: 0.88rem;
    font-weight: 500;
    color: #000;
}

.sub-hero .centered .path a {
    color: #000;
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    align-items: center;
}

.sub-hero .centered .path i {
    margin: 0 8px;
    color: white;
}

.sub-hero .centered .path a:hover {
    text-decoration: underline;
    color: white;
}

.sub-hero .centered .path span i {
    margin: 0 8px;
}

/* why us */
.features {
    padding: var(--padding);
    width: 100%;
    position: relative;
    height: auto;
    margin-top: 32px;
}

.features.no-space {
    margin-top: 0;
    padding-top: 0px;
}

.features p {
    width: 70%;
    margin: 20px auto 0 auto;
}

.features .row {
    margin-top: 24px;
}

.features .child .feat-image {
    height: 390px;
    width: 90%;
    border-radius: 8px;
    overflow: hidden;
    z-index: 2;
    margin-top: 40px;
}

.features .child .feat-image img {
    height: 100%;
    width: 100%;
    object-fit: cover
}

.features .child .dots {
    height: 200px;
    width: 200px;
    position: absolute;
    left: -50px;
    z-index: -1;
    bottom: -40px;
}

.features .child .dots img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.features .child .sqaure {
    box-shadow: 0 40px 40px rgb(100 100 100 / 8%);
    background-color: var(--white);
    padding: 32px;
    margin-bottom: 32px;
    width: 95%;
    border-radius: 8px;
    height: auto;
}

.features.fixed-height .child .sqaure {
    height: auto;
}

.features .child .parent .sqaure .icon {
    height: 60px;
    width: 60px;
    background-color: #cefff3;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.features .child .parent:nth-child(2) .sqaure .icon {
    background-color: rgb(255, 202, 233);
}

.features .child .parent:nth-child(2) .sqaure .icon i {
    color: rgb(255, 42, 166);
}

.features .child .parent:nth-child(3) .sqaure .icon {
    background-color: rgb(202, 202, 255);
}

.features .child .parent:nth-child(3) .sqaure .icon i {
    color: rgb(28, 28, 253);
}

.features .child .parent:nth-child(4) .sqaure .icon {
    background-color: rgb(255, 245, 202);
}

.features .child .parent:nth-child(4) .sqaure .icon i {
    color: rgb(224, 183, 0);
}

.features .child .sqaure .icon i {
    color: var(--primary);
    font-size: 20px;
}

.features .child .sqaure h4 {
    font-weight: 600;
    text-transform: capitalize;
    font-size: 1em;
    margin-top: 24px;
}

.features .child .sqaure p {
    font-weight: 500;
    color: rgb(94, 94, 94);
    font-size: 0.80rem;
    margin: 0;
    width: 100%;
}

.features .grids .dots {
    height: 200px;
    width: 200px;
    position: absolute;
    right: -50px;
    z-index: -1;
    top: -40px;
}

.features .grids .dots img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

/* testimonials */
.testimonials {
    padding: var(--padding);
    height: auto;
    width: 100%;
}

.testimonials.no-space {
    padding-top: 0;
}

.testimonials .text-left {
    margin-bottom: 40px;
}

.testimonials .item .child {
    background-color: var(--white);
    padding: 32px;
    transition: var(--transition);
    border-radius: 8px;
    box-shadow: 0 40px 40px rgb(100 100 100 / 8%);
}

.testimonials .item .child .avatar {
    height: 50px;
    width: 50px;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 50%;
}

.testimonials .item .child .bio {
    padding-left: 12px;
}

.testimonials .item .child h4 {
    font-size: 1em;
    color: black;
    text-transform: capitalize;
    color: black;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

.testimonials .item .child span {
    color: #818181;
    font-weight: 500;
    font-size: 0.70rem;
}

.testimonials .item .child .trainer-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.testimonials .item .child .details {
    padding-top: 8px;
}

.modal.fade .modal-dialog {
    -webkit-transform: translate(0);
    -moz-transform: translate(0);
    transform: translate(0);
}

/* embeded video */
.embeded {
    height: auto;
    position: relative;
    padding: var(--padding);
    width: 100%;
    background-color: rgb(245, 245, 245);
}

.embeded .sub {
    width: 70%;
    margin: auto;
}

.embed-vid {
    height: 70vh;
    margin-top: 40px;
}


/* faq */
.faq {
    height: auto;
    width: 100%;
    padding: 0 0 100px 0;
}

.faq .my-container {
    width: 70%;
    margin: auto;
}

.faq .title-icon {
    margin: auto;
}

.faq h4 {
    margin: 20px 0;
}

[data-toggle="collapse"] .fa:before {
    content: "\f077";
    font-weight: 500;
    margin-right: auto;
    background-color: whitesmoke;
    border-radius: 50%;
    height: 60px;
    width: 60px;
    padding: 10px 11px;
    color: black;
    margin-right: -16px;
}

[data-toggle="collapse"].collapsed .fa::before {
    content: "\f078";
    font-weight: 500;
}

.faq .card {
    border: none !important;
    margin-bottom: 10px;
    box-shadow: 0 40px 40px rgb(100 100 100 / 8%);
    background-color: var(--white);
    border-radius: 8px;
}

.faq .card-header {
    background-color: #fff;
    border: none;
}

.faq .btn-link {
    text-align: right;
}

.card-body {
    font-weight: 500;
    font-size: 0.88rem;
    color: rgb(83, 83, 83);
}

.faq .btn-link {
    color: rgb(0, 0, 0);
    text-decoration: none;
    width: 100%;
    font-weight: 600;
    font-size: 0.88rem;
    text-align: right;
}


/* blog details */
.topic {
    position: relative;
    padding: var(--padding);
    height: auto;
    width: 100%;
}

.topic .topic-image {
    width: 100%;
    height: 40vh;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
}

.topic .topic-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.topic .topic-details h2 {
    font-weight: 600;
}

.topic .topic-details h4 {
    font-weight: 600;
    font-size: 1.2em;
}

.topic .topic-details p {
    font-size: 0.90rem;
    color: #4a4a4a;
    font-weight: 500;
    line-height: 24px;
    margin-bottom: 16px;
}

.topic .info {
    display: flex;
    align-items: center;
    border-top: 1px solid whitesmoke;
    padding-top: 20px;
}

.topic .info p {
    margin-right: 16px;
    font-size: 1em;
    color: black;
    font-weight: 500;
}

.topic .info i {
    margin-right: 8px;
}

/* terms of use */
.terms {
    padding: var(--padding);
    width: 100%;
    position: relative;
    height: auto;
}

.terms p {
    font-size: 0.90rem;
    color: #4a4a4a;
    font-weight: 500;
    line-height: 24px;
    margin-bottom: 16px;
}

.terms h4 {
    font-weight: 600;
    font-size: 1.2em;
}

.terms ul {
    margin: 0 24px 24px 24px;
}

.terms ul li {
    font-size: 0.90rem;
    color: #4a4a4a;
    font-weight: 500;
    line-height: 24px;
}

/* ads */
.ad {
    margin-bottom: 100px;
    width: 100%;
    position: relative;
}

.ad .custom-container .row {
    background-color: #caffff;
    border-radius: 8px;
    padding: 40px
}

.ad .custom-container .row .ad-image {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    display: block;
    margin-left: auto;
}

.ad .custom-container .row .ad-image img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.ad .custom-container .row a {
    background-color: var(--primary);
    margin-top: 0;
    color: var(--white);
    padding: 10px 14px;
    font-size: 0.88rem;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

.ad .custom-container .row a:hover {
    background-color: var(--hover);
}

/* modal */
.modal-content {
    border-radius: 16px;
    height: auto;
    border: none !important;
    padding: 32px;
    width: 70%;
    margin: auto;
}

.modal-content .d-flex .custom-close {
    opacity: 1;
    font-weight: 400;
    font-size: 22px;
    padding: 4px 18px;
    display: flex;
    justify-content: center;
    transition: var(--transition);
    border: none;
    background-color: whitesmoke;
    border-radius: 4px;
    align-items: center;
}

.modal-content .d-flex .custom-close:hover {
    background-color: lightgrey;
}

.modal-content .modal-body h2 {
    font-size: 1.4em;
    text-transform: capitalize;
    font-weight: 600;
}

.modal-content .modal-body h4 {
    font-size: 1em;
}

.modal-content .modal-body p {
    margin-bottom: 8px;
}

.modal-content .modal-body .teacher-details {
    margin: 10px 0 24px 0;
}

.modal-content .modal-body .teacher-details .teacher {
    height: 55px;
    width: 55px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
}

.modal-content .modal-body .teacher-details .teacher img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.modal-content .modal-body .teacher-details span {
    font-size: 0.80rem;
    font-weight: 500;
    color: grey;
}

.modal-content .modal-body .teacher-details h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgb(0, 0, 0);
}


.modal-content .modal-body .info .d-flex {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgb(80, 80, 80);
    align-items: center;
}

.modal-content .modal-body .meeting {
    width: 100px;
}

.modal-content .modal-body .meeting img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.modal-content .modal-body .info .d-flex i {
    background-color: #f3f3f3;
    color: var(--primary);
    border-radius: 4px;
    margin-right: 8px;
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content .modal-body .info .d-flex:nth-child(2) {
    margin-left: 16px;
}

.modal-content .modal-body .list ul {
    list-style: none;
}

.modal-content .modal-body .list ul li {
    font-size: 0.80rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: rgb(75, 75, 75);
    display: flex;
    align-items: center;
}

.modal-content .modal-body .list ul li i {
    display: inline;
    background-color: transparent;
    margin-right: 8px;
    font-size: 0.80rem;
}

.modal-content .modal-body .book {
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.modal-content .modal-body .book h2 {
    font-weight: 700;
    color: var(--primary);
}

.modal-content .modal-body .book a {
    background-color: var(--primary);
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 14px 14px;
    border-radius: 5px;
    text-decoration: none;
    margin-right: 10px;
    font-size: 0.88rem;
    transition: var(--transition);
    font-weight: 500;
    display: inline-block;
}

.modal-content .modal-body .book a:hover {
    background-color: var(--hover);
}

/* trainers */
.trainers {
    padding: 80px 0;
    height: auto;
    width: 100%;
    background-color: rgb(245, 245, 245);
    margin-bottom: 100px;
}

.trainers .text-left {
    margin-bottom: 40px;
}

.trainers .item .child {
    background-color: var(--white);
    padding: 10px;
    margin-bottom: 32px;
    transition: var(--transition);
    border-radius: 8px;
    height: 65vh;
    padding-bottom: 0;
}

.trainers .item .child:hover {
    transform: translateY(-6px);
    box-shadow: 0 40px 40px rgba(100, 100, 100, 0.199);
}

.trainers .item .child .trainer-img {
    height: 200px;
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
}

.trainers .item a {
    text-decoration: none;
}

.trainers .item .child .trainer-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.trainers .item .child .details {
    padding: 20px;
}

.trainers .item .child .details h4 {
    font-size: 1em;
    color: black;
    text-transform: capitalize;
    color: black;
    font-weight: 600;
}

.trainers .item .child .details span {
    display: inline-block;
    margin: 0 0 8px 0;
    font-size: 0.70rem;
    padding: 5px 12px;
    background-color: #fffadb;
    color: #b8a10c;
    border-radius: 4px;
    font-weight: 500;
}

.trainers .owl-carousel .owl-nav {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    position: relative;
    padding: 0;
    height: auto;
}

.trainers .owl-carousel .owl-nav button.owl-next,
.trainers .owl-carousel .owl-nav button.owl-prev {
    margin: 0 10px;
    height: 50px;
    width: 50px;
    padding: 0;
    border-radius: 8px;
    background-color: #ffffff;
    font-weight: 400;
    font-size: 28px;
    color: black;
    transition: var(--transition);
    align-self: right;
}

.trainers .owl-carousel .owl-nav button.owl-next:hover,
.trainers .owl-carousel .owl-nav button.owl-prev:hover {
    background-color: var(--primary);
    color: var(--white);
}

.trainers .item .child .details a {
    text-decoration: none;
    display: inline-block;
    color: rgb(73, 73, 73);
}

.trainers .item .child .details a i {
    margin-right: 14px;
    font-size: 0.80rem;
}

/* error */
.error {
    background-color: whitesmoke;
}

.error .d-flex {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: var(--padding);
}

.error .d-flex .icon {
    height: 40vh;
    width: 40vh;
}

.error .d-flex .icon img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.error .d-flex .msg h1 {
    font-weight: bold;
    margin-top: 32px;
}

.error .d-flex .msg p {
    text-transform: capitalize;
    font-weight: 500;
}

.error .d-flex .msg a {
    background-color: var(--primary);
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    padding: 14px 14px;
    border-radius: 5px;
    text-decoration: none;
    margin-right: 10px;
    font-size: 0.88rem;
    transition: var(--transition);
    font-weight: 500;
    display: inline-block;
    margin-top: 24px;
}

.error .d-flex .msg a:hover {
    background-color: var(--hover);
}

/* invoice */
.invoice {
    padding: var(--padding);
    background-color: #F5F5F5;
}

.invoice .invoice-child {
    width: 70%;
    margin: auto;
    background-color: white;
    padding: 32px;
    border-radius: 5px;
}

.invoice .invoice-child .d-flex {
    justify-content: space-between;
    background-color: whitesmoke;
    padding: 16px;
    border-radius: 5px;
    align-items: center;
}

.invoice .invoice-child .d-flex h4 {
    font-weight: 600;
    font-size: 1em;
}

.invoice .invoice-child .d-flex .price {
    font-size: 1.4em;
    font-weight: 600;
    color: green;
}

.invoice .invoice-child .row {
    padding: 16px;
    border-bottom: 1px solid rgb(236, 236, 236);
}

.invoice .invoice-child .row:last-child {
    border-bottom: none;
}

.invoice .invoice-child .child span {
    font-size: 0.88rem;
    font-weight: 500;
    text-transform: capitalize;
    color: rgb(90, 90, 90);
}

.invoice .invoice-child .note {
    margin-top: 24px;
}

.invoice .invoice-child .note h6 {
    text-transform: capitalize;
    font-weight: 600;
}

.invoice .invoice-child .note p {
    font-size: 0.88rem;
    color: rgb(90, 90, 90);
    font-weight: 500;
}

@media(max-width : 800px) {
    .invoice .invoice-child {
        width: 100%;
    }

    .invoice .invoice-child .child span {
        font-size: 0.80rem;
    }

    .invoice .invoice-child .row h6 {
        font-size: 0.90rem;
    }

    .invoice .invoice-child .d-flex h4 {
        font-size: 0.90em;
    }

    .invoice .invoice-child .d-flex .price {
        font-size: 1em;
    }
}

/* Languages */
.partners {
    width: 100%;
    padding: var(--padding);
    height: auto;
    position: relative;
    background-color: white;
}

.partners .custom-container .text-left {
    margin: 0 0 40px 0;
}

.partners .custom-container .logo {
    width: 150px;
    height: 150px;
}

.partners .custom-container .logo img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

/* media qeury */
@media(max-width : 900px) {
    .sub-hero .centered {
        padding: 50px 0;
    }

    p {
        width: 100% !important;
    }

    .sub-hero .centered h2 {
        font-size: 1.2em;
    }

    .sub-hero .centered p {
        width: 100%;
    }

    .sub-hero .centered .path span {
        font-size: 0.80rem;
    }

    .sub-hero .centered .path a {
        font-size: 0.80rem;
    }

    .features {
        padding-top: 50px;
    }

    .features .child .capture p {
        width: 100%;
        margin-top: 8px;
    }

    .features .child .dots {
        top: 0;
        height: 150px;
        opacity: 50%;
        width: 150px;
    }

    .features .grids .dots {
        bottom: 0;
        height: 150px;
        opacity: 50%;
        width: 150px;
    }

    .features .child .feat-image {
        display: none;
    }

    .features .child .sqaure {
        width: 100%;
    }

    .languages .custom-container .item .child .flag {
        flex-shrink: 0;
    }

    .courses .custom-container .parent .child .details h4 {
        font-size: 1.2em;
    }

    .layout .child .image {
        width: 100%;
        height: 50vh;
        margin-bottom: 24px;
    }

    .layout .child .capture .widget .icon {
        flex-shrink: 0;
    }

    .layout .child .capture .widget .det p {
        width: 100%;
    }

    .layout .dots {
        display: none;
    }

    .modal {
        padding-left: 10px;
    }

    .modal-content {
        padding: 24px;
        width: 100%;
    }

    .modal-content .modal-body {
        padding: 0;
        width: 100%;
        margin-top: 16px;
    }

    .modal-content .modal-body h2 {
        font-size: 1em;
        text-transform: capitalize;
        font-weight: 600;
    }

    .modal-content .modal-body h4 {
        font-size: 0.90rem;
    }

    .modal-content .modal-body .teacher-details {
        margin: 10px 0 24px 0;
    }

    .modal-content .modal-body .teacher-details h4 {
        font-size: 0.90rem;
    }

    .modal-content .modal-body .teacher-details .teacher {
        height: 45px;
        width: 45px;
    }

    .modal-content .modal-body .book {
        justify-content: space-between;
        align-items: center;
        margin-top: 32px;
    }

    .modal-content .modal-body .book h2 {
        font-weight: 700;
        color: var(--primary);
        font-size: 1em;
    }

    .modal-content .modal-body .book a {
        font-size: 0.80rem;
    }

    .faq .my-container {
        width: 90%;
    }

    .faq .btn-link {
        text-align: center;
        font-size: 0.90rem;
    }

    .topic .topic-image {
        height: 30vh;
    }

    .topic .topic-details h2 {
        font-size: 1.4em;
    }

    .topic .topic-details h4,
    .terms h4 {
        font-size: 1em;
    }

    .topic .topic-details p,
    .terms ul li {
        font-size: 0.85rem;
    }

    .error .d-flex .icon {
        height: 30vh;
        width: 30vh;
    }
}

@media(max-width : 467px) {
    .courses {
        position: relative;
    }

    .courses.no-space {
        padding-top: 0;
        margin-top: 0;
    }

    .courses .custom-container {
        position: relative;
    }

    .courses .custom-container .d-flex a {
        position: absolute;
        right: 0;
        bottom: -80px;
        padding: 0 24px !important;
    }

    .features.fixed-height .child .sqaure {
        height: auto;
    }

    .features .child .feat-image {
        width: 100%;
    }

    .features .child .feat-image img {
        object-fit: cover;
    }

    .hero .capture {
        padding-bottom: 80px;
    }

    .features .child .feat-image {
        display: none;
    }

    [data-toggle="collapse"] .fa:before {
        display: none;
    }

    .embeded {
        margin-top: 60px;
    }

    .ad .custom-container .row a {
        font-size: 0.80rem;
    }

    .ad .custom-container .row {
        padding: 20px;
    }

    .ad .custom-container .row .ad-image {
        margin: 24px auto 0px auto;
    }

}





.rtl {
    position: fixed;
    height: auto;
    padding: 10px;
    right: 20px;
    bottom: 40px;
    background-color: grey;
    width: 200px;
    z-index: 10000;
}

.rtl a {
    display: block;
    background-color: var(--primary);
    margin-bottom: 5px;
    text-decoration: none;
    text-align: center;
    padding: 10px;
    color: white;
    font-size: 14px;
}

.courses .custom-container .parent .child {
    box-shadow: 0 40px 40px rgb(100 100 100 / 8%) !important;
    -webkit-box-shadow: 0 40px 40px rgb(100 100 100 / 8%) !important;
    -moz-box-shadow: 0 40px 40px rgb(100 100 100 / 8%) !important;
    background-color: var(--white);
    padding: 10px;
    margin-bottom: 32px;
    transition: var(--transition);
    border-radius: 8px;
    padding-bottom: 0;
    height: auto;
}