@font-face {
    font-family: ping;
    src: url("../fonts/ping/ping_regular.otf");
    font-weight: normal;
}

@font-face {
    font-family: ping;
    src: url("../fonts/ping/ping_medium.otf");
    font-weight: 700;
}

@font-face {
    font-family: ping;
    src: url("../fonts/ping/ping_bold.otf");
    font-weight: 900;
}

:root {
    --text-color: #2C4355;
    --brand-color: #60A64A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'ping', serif;
}

html {
    direction: rtl;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    font-family: 'ping', serif;
    color: var(--text-color);
    text-decoration: none;
}
/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #F6F9F6;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--brand-color);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-color);
}
.btn-primary {
    background-color: var(--brand-color);
    border-color: var(--brand-color);
    font-size: 14px !important;
    padding: 8px 24px 7px;
    display: inline-flex;
    align-items: center;
}

.btn-primary:hover,
.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active{
    background-color: #488435FF;
    border-color: #488435FF;
}

.btn-outline-primary:hover {
    background-color: #488435FF;
    border-color: #488435FF;
}

.btn-outline-primary {
    border-color: var(--brand-color);
    font-size: 14px !important;
    padding: 12px 24px 10px;
    color: var(--brand-color);
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1300px;
    }
}

body {
    background-color: #F6F9F6;
    color: var(--text-color);
}

section {

    margin-bottom: 100px;

}
h2 span{
    color: var(--brand-color);
}
.loader {
    position: fixed;
    inset: 0 0 0 0;
    background-color: #F6F9F6;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999999;
}




nav {
    margin-top: 50px;
}

nav a {
    font-weight: 700;
    margin-left: 40px;
    font-size: 16px;
    position: relative;
}

nav a.active {
    color: var(--brand-color);
}

nav a.active:after {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--brand-color);
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 8px;
}

.hero {
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 44px;
    font-weight: 900;
    /*max-width: 480px;*/
}
.hero h1 span{
    font-size: 24px !important;
    display: block;
    margin-top: 12px;
    margin-bottom: 16px;
}
.hero .btn-primary {
    margin-left: 20px;
}

.hero img:first-of-type {
    max-width: 570px;
    border: 10px solid #F6F9F6;
    box-shadow: -10px -10px 28px #F6F9F6;
    border-radius: 16px !important;
}

.hero .hero-circle {
    position: absolute;
    top: -44px;
    left: -44px;
    z-index: -1;
    width: 150px;
    animation: rotate 40s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/*=== About us*/
.about .box {
    padding: 48px 20px;
    background-color: #F1F7F1;
    border-radius: 14px;
}

.about img.about-us {
    max-width: 350px;
}

.about h2 {
    font-weight: 700;
    position: relative;
}

.about h2:before {
    content: '';
    position: absolute;
    right: -50px;
    top: -75px;
    width: 100px;
    height: 100px;
    background-image: url(../images/arrow.png);
    background-size: contain;
}

.about h2 span {
    color: var(--brand-color);
}

/*=== services ===*/
.services .row:nth-child(2) {
    margin-top: 40px;
}

.services h2 {
    font-weight: 700;
}

.services h2 span {
    color: var(--brand-color);
}

.services .box {
    padding: 24px 0;
    background-color: #F1F7F1;
    border-radius: 14px;
    text-align: center;

}

.services h5 {
    font-size: 16px;
    margin-top: 16px;
    font-weight: 700;
}

.services .box img {
    max-height: 47px;
}

/*=== Vision ===*/
.vision .box {
    padding: 40px 20px;
    background-color: #F1F7F1;
    border-radius: 14px;

}

.vision h2 {
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 24px;
}

.vision h2 span {
    color: var(--brand-color);
}

.vision img {
    width: 17px;
    margin-left: 12px;
}

.vision ul li {
    margin-bottom: 14px;
}

/*=== Clients ===*/
.clients {

}

.clients .box {
    padding: 48px 20px;
    background-color: #F1F7F1;
    border-radius: 14px;
}

.clients h2 {
    font-weight: 700;
    font-size: 24px;
    text-align: center;
    margin-bottom: 40px;
}

.clients h2 span {
    color: var(--brand-color);
}

.clients .inner-box {
    background-color: #F8FAF7;
    border-radius: 8px;
    min-height: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}

.clients img {
    max-height: 70px;
    max-width: 120px;
}

/*=== Clients ===*/
.achievements {

}

.achievements h2 {
    font-weight: 700;
    font-size: 24px;
    text-align: center;
    margin-bottom: 40px;
}

.achievements h2 span {
    color: var(--brand-color);
}

.achievements .inner-box {
    background-color: #F1F7F1;
    border-radius: 12px;
    min-height: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.achievements h5 {
    font-size: 30px;
    font-weight: bold;
}

.achievements .inner-box span {
    color: var(--brand-color);
}

.achievements p {
    margin: 0;
}

/*=== banner ===*/
.banner {
    margin-bottom: 50px;
}

.banner h2 {
    font-size: 36px;
    font-weight: 700;
}

.banner .box {
    padding: 48px 20px;
    background-color: #F1F7F1;
    border-radius: 14px;
}

.banner img {
    max-width: 500px;
    display: block;
    margin-right: auto;
}

.banner button:last-child {
    margin-right: 20px;
}

/*=== Footer ===*/
footer h6 {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 24px;
}

footer h6 span {
    color: var(--brand-color);
}

footer img {
    width: 38px;
    margin-left: 16px;
}
footer ul li {

}

/*=== Rights ===*/
.rights {
    margin-top: 50px;
    margin-bottom: 50px;
}

.rights .box {
    padding: 16px 0;
    background-color: #F1F7F1;
    border-radius: 14px;
}

.rights a {
    font-weight: 700;
    color: var(--brand-color);
}

.modal-footer {
    flex-direction: row-reverse;
    padding: 12px 0 0;
}

/* === Responsive === */
@media (max-width: 768px) {
    section {
        margin-bottom: 75px;
    }

    .nav-mini {
        padding: 24px 0;
        position: relative;
        z-index: 123;
    }

    .nav-mini img {
        position: relative;
        z-index: 123;
    }

    .nav-mini ul {
        text-align: center;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .nav-mini ul li {
        margin: 12px 0;
    }

    .nav-mini ul li a {
        font-size: 18px;
    }

    .burger-menu {
        margin-right: auto;
        width: 40px;
        display: block;
        transition: all 0.3s;
        cursor: pointer;
        height: 40px;
        position: relative;
        z-index: 123;
    }

    .burger-menu .bar {
        transition: all 0.3s;
        height: 4px;
        width: 100%;
        display: block;
        border-radius: 24px;
        background-color: var(--brand-color);
    }

    .burger-menu .bar:nth-of-type(2) {
        margin: 6px 0;
    }

    .burger-menu--closed {
        transition-delay: 0.3s;
    }

    .burger-menu--closed .bar {
        float: left;
    }

    .burger-menu--closed .bar:nth-of-type(2) {
        width: 75%;
        transition-property: margin, height, width;
        transition-delay: 0.3s, 0.3s, 0s;
    }

    .burger-menu--closed .bar:nth-of-type(3) {
        width: 50%;
    }

    .burger-menu--closed:hover .bar:nth-of-type(2) {
        width: 100%;
    }

    .burger-menu--closed:hover .bar:nth-of-type(3) {
        width: 100%;
    }

    .burger-menu--opened {
        padding-top: 12px;
    }

    .burger-menu--opened .bar:nth-of-type(1) {
        transform: rotate(45deg);
        transition-delay: 0.3s;
        height: 4px;
    }

    .burger-menu--opened .bar:nth-of-type(2) {
        opacity: 0;
        height: 0;
        margin: -3px;
    }

    .burger-menu--opened .bar:nth-of-type(3) {
        transform: rotate(-45deg);
        transition-delay: 0.3s;
        height: 4px;
    }

    .mobile-menu {
        position: fixed;
        inset: 0 0 0 0;
        background: white;
        height: 0vh;
        overflow: hidden;
        transition: .3s ease-in-out;
    }

    .mobile-menu.open {
        height: 100vh;

    }

    .hero {
        min-height: calc(85vh - 51px);
        text-align: center;
    }

    .hero h1 {
        font-size: 24px;
    }
    .hero h1 span{
        display: inline;
    }

    .hero img:first-of-type {
        max-width: 390px;
        width: 100%;
        display: block;
        margin: auto;
    }
    .hero .hero-circle {
        width: 80px;
        top: -23px;
        left: calc(50% - 40px);
    }

    section h2 {
        font-size: 20px !important;
        position: relative;
        margin-bottom: 20px;
    }

    .about h2:before {
        content: '';
        position: absolute;
        right: -55px;
        top: -55px;
        width: 90px;
        height: 70px;
        background-image: url(../images/arrow.png);
        background-size: contain;
        background-repeat: no-repeat;
    }

    .about p {
        font-size: 16px;
        text-align: right;
    }

    .banner img {
        max-width: 350px;
        width: 100%;
        display: block;
        margin: auto;
    }

    .about img.about-us {
        max-width: 350px;
        width: 100%;
        display: block;
        margin: 0 auto 20px;
    }

    .services .main-bg {
        background-color: var(--brand-color);
    }

    .services .main-bg h5 {
        color: white;
    }

    .vision ul li {
        font-size: 16px !important;
    }

    .vision img {
        width: 17px;
        margin-left: 6px !important;
    }

    .banner h2 {
        margin-bottom: 6px;
    }

    .banner p {
        font-size: 16px;
    }

    .banner img {
        margin-bottom: 28px;
    }

    footer ul li {
        margin-bottom: 8px;
    }

    footer h6 {
        margin-bottom: 8px;
        font-size: 18px;
    }

    .social img {
        width: 28px;
        margin-left: 8px;
    }

    .rights p {
        font-size: 12px;
    }

    .modal input,
    .modal textarea{
        font-size: 15px;
    }
}

