/* variables and defaul css */
/* 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 */
.hero {
    height: auto;
    background-color: #e4f8f7;
    position: relative !important;
}

.hero.diff {
    background-color: var(--primary);
}

.hero .main {
    padding: 100px 0 0 0;
    position: relative;
}

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

.hero .capture span {
    display: block;
    font-weight: 500;
    font-size: 0.80rem;
    line-height: 120%;
    margin-top: 40px;
    color: #5a5a5a;
}

.hero .capture span img {
    margin-top: -2px;
}

.hero .capture h1 {
    font-weight: 700;
    font-size: 2.3em;
    margin-top: 4px;
    line-height: 120%;
}

.hero.diff .capture span,
.hero.diff .capture p {
    color: white;
}

.hero.diff .capture p {
    font-size: 1em;
}

.hero.diff .capture h1 {
    color: white;
    font-size: 2.5em;
}

.hero .capture p {
    font-size: 1.2rem;
    color: rgb(99, 99, 99);
    /* width: 90%; */
    margin: 20px 0;
    font-weight: 500;
    line-height: 24px
}

.hero .holder .img-container {
    width: 100%;
    height: 100%;
}

.hero .holder .img-container img {
    height: 100%;
    width: 100%;
    position: absolute;
    object-fit: contain;
    bottom: 0;
}

.hero .main button {
    background-color: var(--primary);
    border: none;
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 14px 18px;
    border-radius: 5px;
    margin-right: 10px;
    font-weight: 500;
    display: block;
    font-size: 0.88rem;
    transition: var(--transition);
    margin-right: 12px;
}

.hero.diff .main button {
    background-color: var(--white);
    color: var(--primary);
}

.hero.diff .main button:hover {
    background-color: var(--hover);
    color: white;
}

.hero .main a {
    align-items: center;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.88rem;
    color: rgb(2, 2, 2);
    margin-left: 12px;
}

.hero.diff .main a {
    color: white;
    border: 2px solid white;
    color: #fff;
    padding: 14px 18px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 0.88rem;
    transition: var(--transition);
    margin-right: 12px;
}

.hero.diff .main a:hover {
    background-color: var(--white);
    color: var(--primary);
}

.hero .main a i {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 12px;
    margin: 0 8px;
    background: var(--yellow);
    box-shadow: #fad106a6;
    animation: pulse-purple 2s infinite;
}

@keyframes pulse-purple {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 #ff9100af;
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px #ff910000;
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 #ff910000;
    }
}



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

.features .child .capture p {
    width: 90%;
    margin: 20px 0;
}

.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%) !important;
    background-color: var(--white);
    padding: 32px;
    margin-bottom: 32px;
    width: 95%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 10px rgba(100, 100, 100, 0.473);
}

.features.home .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;
}

.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;
}



/* Languages */
.languages {
    width: 100%;
    padding: 80px 0 60px 0;
    height: auto;
    background-color: rgb(245, 245, 245);
    position: relative;
}

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

.languages .custom-container .item a {
    text-decoration: none;
    color: black;
    text-transform: capitalize;
}

.languages .custom-container .item .child {
    align-items: center;
    flex-direction: row-reverse;
    background-color: var(--white);
    padding: 12px;
    border-radius: 8px;
    transition: var(--transition);
}

.languages .custom-container .item .child:hover {
    transform: translateY(-6px);
    box-shadow: 0 40px 40px rgb(100 100 100 / 8%);
}

.languages .custom-container .item .child .flag {
    height: 40px;
    width: 45px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 8px;
}

.languages .custom-container .item .child .flag img {
    height: 100%;
    width: 100%;
    border-radius: 10px;
    object-fit: contain;
}

.languages .custom-container .item .child span {
    font-weight: 500;
    font-size: 0.88rem;
}

.languages .owl-carousel .owl-nav {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    position: relative;
}

.languages .owl-carousel .owl-nav button.owl-next,
.languages .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);
    margin-top: 20px;
    align-self: right;
}

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

/* layout */
.layout {
    height: auto;
    width: 100%;
    position: relative;
    padding: 32px 0 100px 0;
}

.layout .child .image {
    height: 70vh;
    width: 90%;
    border-radius: 8px;
    overflow: hidden;
}

.layout .child .image.nt {
    height: 50vh;
}

.layout .child .sub {
    margin-bottom: 24px;
}

.layout .child .image img {
    height: 100%;
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

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

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

.layout .child .capture {
    padding-top: 24px;
}

.layout .child .capture .widget {
    margin-bottom: 24px;
}

.layout .child .capture .widget .icon {
    height: 60px;
    width: 60px;
    background-color: #cefff3;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
}

.layout .child .capture .widget .icon i {
    color: var(--primary);
}

.layout .child .capture .widget .icon.icon2 {
    background-color: rgb(255, 202, 233);
}

.layout .child .capture .widget .icon.icon2 i {
    color: rgb(255, 42, 166);
}

.layout .child .capture .widget .icon.icon3 {
    background-color: rgb(202, 202, 255);
}

.layout .child .capture .widget .icon.icon3 i {
    color: rgb(28, 28, 253);
}

.layout .child .capture .widget .det {
    transition: var(--transition);
    padding-left: 16px;
}

.layout .child .capture .widget .det h4 {
    font-weight: 600;
    text-transform: capitalize;
    font-size: 1em;
    margin-top: 4px;
}

.layout .child .capture .widget .det p {
    font-weight: 500;
    color: rgb(138, 138, 138);
    width: 80%;
    font-size: 0.80rem;
}

/* banner */
.bannner {
    padding: var(--padding);
    width: 100%;
    position: relative;
    height: auto;
}

.banner .start {
    background-image: url('../img/backgrounds/banner.svg');
    background-position: bottom;
    background-size: cover;
    padding: var(--padding);
    border-radius: 8px;
    margin-top: 40px;
}

.banner .start h2 {
    color: var(--white);
}

.banner .start p {
    color: var(--white);
    width: 70%;
    margin: auto;
}

.banner .start a {
    background-color: var(--yellowHover);
    border: none;
    margin-top: 0;
    color: #fff;
    padding: 14px 18px;
    border-radius: 5px;
    font-weight: 500;
    display: inline-block;
    font-size: 0.88rem;
    transition: var(--transition);
    margin-top: 24px;
    text-decoration: none;
}

.banner .start a:hover {
    background-color: #aa8e00;
}


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

.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;
}

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

.blog.blog-page {
    background-color: white;
    margin-top: 0;
}

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

.blog .parent .child {
    background-color: var(--white);
    padding: 10px;
    margin-bottom: 32px;
    transition: var(--transition);
    border-radius: 8px;
    height: 65vh;
    padding-bottom: 0;
    box-shadow: 0 40px 40px rgb(100 100 100 / 8%);
}

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

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

.blog .parent a {
    text-decoration: none;
}

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

.blog .parent .child .details {
    padding: 20px;
}

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

.blog .parent .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;
}

.blog .parent .child .details .info {
    justify-content: space-between;
    align-items: center;
    display: flex;
}

.blog .parent .child .details .info p {
    display: flex;
    align-items: center;
    color: grey;
    font-size: 0.80rem;
    text-transform: capitalize;
}

.blog .parent .child .details .info p i {
    margin-right: 8px;
}


/* 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;
    margin-left: 8px;
}

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

.modal-content .modal-body .list ul li i {
    display: inline;
    background-color: transparent;
    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);
}


/* 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) {
    .hero .main {
        padding: 20px 0 0 0;
    }

    .hero .capture h1 {
        font-size: 2em;
    }

    .hero .holder .img-container {
        display: none;
    }

    .hero .main button,
    .hero .main a {
        font-size: 0.80rem;
    }

    .hero .main a i {
        height: 35px;
        width: 35px;
    }

    .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%;
        height: auto;
    }

    .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;
    }

    .banner .start {
        padding: 56px 0;
    }

    .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,
    .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;
    }
}

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

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

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

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

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

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

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

    .features.home .child .sqaure,
    .trainers .item .child,
    .blog .parent .child {
        height: 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;
}
