@font-face {
    font-family: 'droid';
    src: url('../fonts/system/droidkufi.ttf');

    font-weight: normal; font-style: normal;
}
@font-face {
    font-family: 'dinnextltarabic';
    src: url('../fonts/system/dinnextltarabic.ttf');

    font-weight: normal; font-style: normal;
}

body,
h1, h2, h3, h4, h5, h6,
p {
    font-family: Droid, sans-serif;
}
.service-bold{
    font-weight: bold;
}
.news.item{
    border-radius: 25px !important;
}
:dir(rtl){
    letter-spacing:0 !important;
}

.package-type{
    border-radius: 8px;
}
.header-area .main-nav{
    display: flex;
    justify-content: space-between;
}
.owl-service-item,
.owl-courses-item,
.owl-service-news{
    direction: ltr !important;
}
.news.item{
    border-radius: 2px;overflow: hidden;
}
/* For RTL direction */
html[dir="rtl"] .news.item .down-content {
    text-align: right !important;
}

/* For LTR direction (optional, if needed) */
html[dir="ltr"] .news.item .down-content {
    text-align: left !important;
    direction: rtl;
}
html[dir="rtl"] .our-courses .down-content h3{
    text-align: right !important;

}
@media (min-width: 768px) {
    /* Apply this only on larger screens */
    /*body[dir="rtl"] .header-area .main-nav{*/
    /*    flex-direction: row-reverse;*/
    /*}*/
}

.image-container {
    position: relative;
    /*display: inline-block; !* or block, depending on your layout *!*/
}

.image-container img{
    max-height: 45vh;
}
.overlay {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(144 154 159 / 50%); /* Semi-transparent overlay color */
}


.image-container {
    position: relative;
    /*display: inline-block; !* or block, depending on your layout *!*/
}

.overlay-content {
    @media (min-width: 1200px)
     {
        max-width: 1140px;
    }
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    padding: 20px;
    text-align: left;
    color: white;
}
section.our-factss {
    padding-top: 0px;
    padding-bottom: 40px;
}

.video.round_box {
    height: 615px;
}
/* Flip arrow direction for RTL */
[dir="rtl"] .button-red a:after {
    /*content: "←";*/
}

[dir="rtl"] .main-button-red a:after {
    /*content: "←";*/
}


[dir="rtl"] .main-button-red a:after {
    /*content: "←";*/
}
.img-news{
    aspect-ratio: 2/1.5;
    object-fit: cover;
    background-color: white;
}
.header-area .main-nav .nav li a {
    font-weight: 600;
    font-size: 0.975rem;
}


.carousel-caption {
    left: 0;
    right: initial;
    text-align: left;
    bottom: 200px;
}

[dir="rtl"] .carousel-caption {
    left: initial;
    right: 0;
    text-align: right;
    bottom: 200px;
}
.img-overlay{
    content: '' !important;
    position: absolute;
    top:0;
    left:0;
    height: 100%;
    width: 100%;
    background: rgb(0 0 0 / 40%);
}

.bold{
    font-weight: bold !important;

}

.header-area .main-nav .menu-trigger {
    right: 40px !important;
    left: auto !important; /* Adjust the left value based on your needs */
}

[dir="rtl"] .header-area .main-nav .menu-trigger {
    right: auto !important;
    left: 40px !important; /* Adjust the left value based on your needs */
}

.services .item .icon{
    max-width: 50px !important;
}


.owl-service-news .owl-item img {
    display: block;
    width: 100% !important;
    padding: 0px;
    border: 1px solid #2197d2;
    max-width: 100%;
    aspect-ratio: 2/1.5;
    bject-fit: contain;
}

[dir="rtl"] .reviews .down-content {
    text-align: right !important;
}

.bigger-button {
    font-size: 20px !important; /* Adjust the font size as needed */
    padding: 10px 20px; /* Adjust the padding as needed */
}


#services.services .item {
    flex-direction: column;
}
.services .item {
    background: #F0F7FB;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    border-radius: 20px;
    text-align: center;
    color: #000;
    padding: 10px 30px;
    height: 250px;
    displaY: flex;
    align-items: center;
}

.icon_s {
    display: flex;
    align-content: center;
    align-items: center;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    border-top: 1px solid #d8effb;
}
.services .item p {
    color: #000;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6rem;
}
.button-red a:hover {
    background-color: #fff;
}
.phone-number {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
}

.contact a {
    color: #fff;
}
