@font-face {
    font-family: ar-font;
    src: url(../fonts/Cairo-Regular.ttf);
}

body {
    direction: rtl;
    font-family: ar-font;
}

header {
    background-image: url(../images/bg.jpg);
    background-position: center center;
    background-size: cover;
    min-height: 80vh;
}

header .MainCard {
    background-color: rgba(5, 117, 230, 0.8);
    color: #ffffff;
    padding: 3% 10%;
    margin: 0 10%;
    transform: translateY(20%);
}

header .MainCard img {
    border: 5px solid #bcc1c5;
    margin-bottom: 20px;
    width: 130px;
}

header .MainCard h1 {
    font-size: 36px;
    line-height: 50px;
    margin-bottom: 25px;
}

header .MainCard h1 span {
    font-size: 24px;
}

header .MainCard ul {
    padding-right: 0;
    margin-bottom: 40px;
}

header .MainCard ul li {
    margin-right: 10px;
}

header .MainCard ul li a {
    color: #021b79;
    font-size: 24px;
}

header .MainCard h2 {
    font-size: 15px;
    line-height: 30px;
    font-weight: bold;
    margin-bottom: 15px;
}

header .MainCard p {
    font-size: 15px;
    line-height: 30px;
    color: #89c4ff;
    margin-bottom: 40px;
}

header .MainCard>a {
    color: #ffffff;
    font-size: 18px;
    line-height: 32px;
    margin-bottom: 40px;
}

nav.navbar ul.navbar-nav li a.nav-link {
    color: #ffffff;
    font-size: 16px;
    line-height: 60px;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    transition: all 0.5s ease;
}

nav.navbar ul.navbar-nav li button {
    display: contents;
    text-align: right;
}

nav.navbar ul.navbar-nav li a.nav-link:hover, nav.navbar ul.navbar-nav li.active a.nav-link {
    color: #0575e6;
    background-color: #ffffff;
}

nav.navbar.noTransparent {
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
    padding: 0;
}

nav.navbar.noTransparent ul.navbar-nav li a.nav-link {
    color: #0575e6;
}

nav.navbar.noTransparent ul.navbar-nav li a.nav-link:hover, nav.navbar.noTransparrent ul.navbar-nav li.active a.nav-link {
    color: #ffffff;
    background-color: #0575e6;
}

nav.navbar {
    text-align: right;
}

nav.navbar button.navbar-toggler {
    font-size: 30px;
    line-height: 40px;
}

nav.navbar.noTransparent button.navbar-toggler {
    font-size: 30px;
}

nav.navbar.noTransparent button.navbar-toggler:focus, nav.navbar button.navbar-toggler:focus {
    outline: 0;
}

nav.navbar button.navbar-toggler span i {
    color: #0575e6;
}

nav.navbar.noTransparent button.navbar-toggler span i {
    color: #0575e6;
}

section.licence {
    padding: 140px 0 80px;
    background-color: #f6fbff;
    text-align: right;
}

section.licence .title {
    color: #196dd1;
    padding-bottom: 35px;
    position: relative;
}

section.licence .title h2 {
    font-size: 30px;
    line-height: 50px;
}

section.licence .title i {
    display: block;
}

section.licence .title::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 90px;
    height: 2px;
    background-color: #196dd1;
}

section.licence ul.timeline li .time-box {
    padding: 20px 30px;
    background-color: #ffffff;
    border: 2px solid #f4f3f3;
    max-width: 48%;
    position: relative;
    /* border-radius: 0; */
}

section.licence ul.timeline li .time-box:after {
    content: "";
    position: absolute;
    top: 5%;
    left: -10px;
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    transform: rotate(45deg);
    border-left: 2px solid #f4f3f3;
    border-bottom: 2px solid #f4f3f3;
}

section.licence ul.timeline li .time-box h4 span.date {
    font-size: 14px;
    color: #ffffff;
    background-color: #0575e5;
    padding: 0 5px;
    margin-left: 25px;
}

section.licence ul.timeline li .time-box h4 {
    font-size: 18px;
    color: #555;
    line-height: 30px;
    margin-bottom: 15px;
}

section.licence ul.timeline li .time-box p {
    font-size: 15px;
    color: #b1b1b1;
    line-height: 20px;
}

section.licence ul.timeline {
    padding-top: 45px;
    padding-right: 0;
    position: relative;
}

section.licence ul.timeline::after {
    width: 2px;
    height: 100%;
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 50%;
    background-color: #196dd1;
}

section.licence ul.timeline li {
    position: relative;
}

section.licence ul.timeline li::after {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    content: "";
    background-color: #196dd1;
    position: absolute;
    top: 9%;
    right: 50%;
    margin-right: -5px;
}

section.licence ul.timeline li:nth-of-type(even) {
    direction: ltr;
    text-align: left;
}

section.licence ul.timeline li:nth-of-type(even) .time-box h4 span.date {
    margin-left: 0;
    margin-right: 25px;
    float: left;
}

section.licence ul.timeline li:nth-of-type(even) .time-box:after {
    right: -10px;
    left: auto;
    border: 0;
    border-right: 2px solid #f4f3f3;
    border-top: 2px solid #f4f3f3;
}

section.licence ul.timeline li:not(:first-of-type) {
    margin-top: -50px;
}

section.statistics {
    background-image: url(../images/bg2.jpg);
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

section.statistics .overlay {
    background-color: rgba(5, 117, 229, 0.7);
    padding: 150px 0;
}

section.statistics .overlay .stat p {
    font-size: 24px;
    line-height: 35px;
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    margin-top: 30px;
}

section.statistics .overlay .stat .circle canvas {
    background-color: #eef6ff;
    padding: 10px;
    border-radius: 50%;
}

section.statistics .overlay .stat .circle {
    position: relative;
}

section.statistics .overlay .stat .circle span {
    color: #0062cc;
    font-weight: bold;
    font-size: 24px;
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
}

section.gallery {
    padding: 75px 0 90px;
}

section.gallery .title {
    margin-bottom: 35px;
}

section.gallery .title h2 {
    font-size: 30px;
    line-height: 50px;
    color: #0575e6;
}

section.gallery .title h2 i {
    display: block;
}

section.gallery .work-gallery input {
    display: none;
}

section.gallery .work-gallery label {
    font-size: 18px;
    line-height: 35px;
    color: #8f9899;
    cursor: pointer;
    margin: 0 7px 40px;
    padding: 10px 30px;
    background-color: #ffffff;
    border: 2px solid #e4eeee;
    border-radius: 2px;
    transition: all 0.5s ease;
}

section.gallery .work-gallery label:hover {
    color: #ffffff;
    background-color: #0575e6;
    border: 2px solid #0575e6;
}

section.gallery .work-gallery input.item-type-all:checked~label.label-type-all, section.gallery .work-gallery input.item-type-1:checked~label.label-type-1, section.gallery .work-gallery input.item-type-2:checked~label.label-type-2, section.gallery .work-gallery input.item-type-3:checked~label.label-type-3 {
    color: #ffffff;
    background-color: #0575e6;
    border: 2px solid #0575e6;
}

section.gallery .work-gallery input.item-type-1:checked~.items .item-type-1, section.gallery .work-gallery input.item-type-2:checked~.items .item-type-2, section.gallery .work-gallery input.item-type-3:checked~.items .item-type-3 {
    transform: scale(1.08);
    opacity: 1;
}

section.gallery .work-gallery input.item-type-1:checked~.items .item:not(.item-type-1), section.gallery .work-gallery input.item-type-2:checked~.items>.item:not(.item-type-2), section.gallery .work-gallery input.item-type-3:checked~.items>.item:not(.item-type-3) {
    transform: scale(0.8);
    opacity: 0.5;
}

section.gallery .work-gallery .items .item {
    transition: all 0.6s ease;
}

section.contacts {
    background-image: url(../images/bg3.jpg);
    background-position: center center;
    background-size: cover;
}

section.contacts .overlay {
    background-color: rgba(0, 0, 0, 0.6);
    padding-top: 100px;
}

section.contacts .overlay .testimonials {
    margin-bottom: 75px;
}

section.contacts .overlay .testimonials .title h3 {
    font-size: 30px;
    color: #ffffff;
    margin-bottom: 27px;
    line-height: 50px;
}

section.contacts .overlay .slider .recommandation {
    background-color: #ffffff;
    padding: 80px 70px 35px;
    max-width: 770px;
    margin: 35px auto;
    position: relative;
}

section.contacts .overlay .slider .recommandation img {
    margin: 0 auto;
    position: absolute;
    top: -35px;
    right: 0;
    left: 0;
}

section.contacts .overlay .testimonials .slider .carousel .carousel-item .recommandation h3 {
    font-size: 18px;
    color: #555555;
    margin-bottom: 15px;
}

section.contacts .overlay .testimonials .slider .carousel .carousel-item .recommandation h3 span {
    font-size: 15px;
    color: #9c9c9c;
}

section.contacts .overlay .testimonials .slider .carousel .carousel-item .recommandation p {
    font-size: 15px;
    line-height: 22px;
    color: #b1b1b1;
    margin-bottom: 25px;
}

section.contacts .overlay .testimonials .slider .carousel .carousel-item .recommandation i {
    font-size: 24px;
    color: #b2d8fe;
}

section.contacts .overlay .slider .slide a.carousel-control-prev, section.contacts .overlay .slider .slide a.carousel-control-next {
    width: 45px;
    height: 45px;
    line-height: 45px;
    background-color: #0575e5;
    border-radius: 50%;
    opacity: 1;
    color: #ffffff;
    font-size: 24px;
    text-align: center;
    top: 50%;
    bottom: auto;
    transform: translate(50%, -50%);
}

section.contacts .overlay .testimonials .slider .carousel .carousel-control-prev {
    transform: translate(-50%, -50%);
}

section.contacts .overlay .slider .slide ol.carousel-indicators {
    position: absolute;
    bottom: 10px;
    padding: 0;
}

section.contacts .overlay .slider .slide ol.carousel-indicators li {
    width: 15px;
    height: 15px;
    background-color: #ffffff;
    border-radius: 0;
    border: 2px solid #0575e5;
    opacity: 1;
    background-clip: border-box;
}

section.contacts .slider .slide ol.carousel-indicators li.active {
    background-color: #0575e6;
}

section.contacts .contact-info {
    background-color: #ffffff;
    text-align: right;
    padding: 50px 70px;
}

section.contacts .contact-info .title h3 {
    font-size: 30px;
    color: #196dd1;
    line-height: 50px;
    margin-bottom: 35px;
}

section.contacts .contact-info .form form .form-group input, section.contacts .contact-info .form form .form-group textarea {
    border: 2px solid #f1f1f1;
    border-radius: 3px;
    font-family: ar-font;
    font-size: 18px;
    color: #c2c2c2;
    line-height: 35px;
    padding-right: 45px;
}

section.contacts .contact-info .form form .form-group textarea {
    min-height: 220px;
    max-height: 220px;
}

section.contacts .contact-info .form form .form-group {
    position: relative;
}

section.contacts .contact-info .form form .form-group:before {
    font-family: FontAwesome;
    position: absolute;
    top: 8px;
    right: 30px;
    font-size: 18px;
    line-height: 25px;
    color: #0575e6;
    display: inline-block;
}

section.contacts .contact-info .form form .form-group:first-of-type:before {
    content: "\f007";
}

section.contacts .contact-info .form form .form-group:nth-of-type(2):before {
    content: "\f0e0";
}

section.contacts .contact-info .form form button {
    font-size: 24px;
    color: #0575e6;
    line-height: 25px;
    background-color: #ffffff;
    padding: 10px 70px;
    border: 2px solid #0575e6;
    border-radius: 3px;
    margin-right: 15px;
}

#commentForm .error {
    color: red;
}

section.contacts .contact-info ul.contact-us li {
    font-family: 'Open Sans';
    font-size: 16px;
    line-height: 30px;
    color: #0575e6;
}

section.contacts .contact-info ul {
    padding: 0;
}

section.contacts .contact-info ul.social li {
    margin-right: 9px;
}

section.contacts .contact-info ul.social li a i {
    background-color: #9bc8f5;
    color: #ffffff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    transition: all 0.3s ease;
}

section.contacts .contact-info ul.social li a i:hover {
    background-color: #0575e6;
}

section.contacts .copyright p {
    font-size: 18px;
    color: #ececec;
    line-height: 77px;
    margin: 0px;
}

@media(max-width:992px) {
    nav.navbar .navbar-collapse {
        background-color: #ffffff;
    }
    nav.navbar ul.navbar-nav li a.nav-link {
        color: #0575e6;
    }
    section.contacts .contact-info ul.social li a i {
        width: 40px;
        height: 40px;
        line-height: 40px;
    }
    section.contacts .contact-info .form form .form-group input, section.contacts .contact-info .form form .form-group textarea {
        font-size: 14px;
    }
}

@media(max-width:767px) {
    section.licence ul.timeline li .time-box {
        max-width: 100%;
        z-index: 1;
    }
    section.licence ul.timeline li:not(:first-of-type) {
        margin-top: 20px;
    }
    section.licence ul.timeline li .time-box::after {
        display: none;
    }
    section.licence {
        padding-top: 160px;
    }
    section.contacts .contact-info .form form button {
        margin-bottom: 20px;
    }
}

@media(max-width:575px) {
    section.contacts .overlay .slider .slide a.carousel-control-prev, section.contacts .overlay .slider .slide a.carousel-control-next {
        width: 30px;
        height: 30px;
        line-height: 30px;
    }
    .carousel-control-next-icon, .carousel-control-prev-icon {
        width: 15px;
        height: 15px;
    }
}