@font-face {
    font-family: 'Avenir Arabic';
    src: url('../fonts/avenir-arabic-light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir Arabic';
    src: url('../fonts/avenir-arabic-book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir Arabic';
    src: url('../fonts/avenir-arabic-medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir Arabic';
    src: url('../fonts/avenir-arabic-heavy.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir Arabic';
    src: url('../fonts/avenir-arabic-black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}
p {
    line-height: 1.45 !important;
}
.hero h1 span, .hero .h1 span {
    line-height: 1.15;
}
html[dir="rtl"],
html[lang="ar"] {
    direction: rtl;
}

html[dir="rtl"] body,
html[lang="ar"] body {
    font-family: 'Avenir Arabic', sans-serif;
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] *,
html[dir="rtl"] *::before,
html[dir="rtl"] *::after {
    font-family: 'Avenir Arabic', sans-serif;
}

html[dir="rtl"] .counters,
html[dir="rtl"] .number strong,
html[dir="rtl"] .number {
    direction: ltr;
    unicode-bidi: embed;
}

html[dir="rtl"] .number span {
    direction: rtl;
}

html[dir="rtl"] .offset-lg-1 {
    margin-right: 8.333333%;
    margin-left: 0;
}

@media screen and (min-width: 992px) {
html[dir="rtl"] .offset-lg-4 {
    margin-right: 33.333333%;
    margin-left: 0;
}}

html[dir="rtl"] .offset-lg-2 {
    margin-right: 16.666667%;
    margin-left: 0;
}

html[dir="rtl"] .theme strong, html[dir="rtl"] .theme span {
    text-align: right;
    display: block;
}

@media screen and (min-width: 460px) {
    .shape-content .theme span {
        padding-right: 15px;
        padding-left: 0;
    }
    .shape-content .theme span:before {
        right: 0;
        left: auto;
    }
}
html[dir="rtl"] .pillar {
    text-align: right;
}

html[dir="rtl"] .pillar .modal {
    text-align: right;
}

html[dir="rtl"] .social {
    padding-right: 0;
    padding-left: 0;
    text-align: left;
}

html[dir="rtl"] footer ul {
    padding-right: 0;
    padding-left: 0;
}

html[dir="rtl"] .navbar-brand {
    margin-right: 0;
    margin-left: 1rem;
}
@media screen and (min-width: 992px) {
    .hero .hero-info h3,
    .hero .hero-info .h3,
    .hero .hero-info p,
    .hero .hero-info .btn {
        text-align: right;
    }
}

html[dir="rtl"] .upcoming .text-center {
    text-align: center !important;
}

html[dir="rtl"] .point {
    text-align: center;
}

html[dir="rtl"] .close-modal {
    right: 20px;
    left: auto;
}

html[dir="rtl"] .modal-icon {
    left: 20px;
    right: auto;
}

.justify-content-end {
    justify-content: flex-start !important;
}

html[dir="rtl"] .pillar .read-more {
    text-align: right;
    background-image: none;
    right: 0;
    left: auto;
}

html[dir="rtl"] .pillar .read-more::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
    width: 27px;
    height: 18px;
    background-image: url("../img/more.svg");
    background-size: 27px 18px;
    background-repeat: no-repeat;
    transition: left 0.3s ease;
}

html[dir="rtl"] .pillar:hover .read-more::before {
    left: 20px;
}

.pillar-modal-overlay .modal-dialog .modal-icon {
    right: auto;
    left: 25px;
}

html[dir="rtl"] .pillar-modal-overlay .modal-prev img {
    transform: rotate(0deg);
}

html[dir="rtl"] .pillar-modal-overlay .modal-next img {
    transform: rotate(180deg);
}

html[dir="rtl"] .btn.btn-y {
    padding: 17px 17px 17px 70px;
}

html[dir="rtl"] .btn.btn-y i {
    right: auto;
    left: 50px;
    transform: translateY(-50%) scaleX(-1);
    transition: left 0.4s ease;
}

html[dir="rtl"] .btn.btn-y:hover i {
    left: 17px;
}
@media screen and (min-width: 992px) {
    .hero .hero-info .btn {
        margin-right: 0;
    }
}
@media screen and (min-width: 1400px) {
    .grow {
        width:365px;
    }
}
@media screen and (min-width: 1460px) {
    .grow {
        width:390px;
    }
}