﻿ul.grt-menu li a {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 5px;
}

#eservices {
    /*background-attachment: fixed !important;
            background-image: url(../assetsTash/images/src/app.png);
            background-repeat: repeat;
            background-size: cover;*/
    background-color: #4d4d4d;
    color: #ffffff;
    display: inline;
    float: left;
    width: 100%;
    padding: 30px 0;
    margin-top: 15px;
    /*height: 300px;*/
}

.back-to-top {
    display: block !important;
    z-index: 1000;
    font-size: 30pt;
}

@media print {
    #eservices {
        display: none;
    }

    .back-to-top {
        display: none;
    }
}

.navbar-top .navbar-brand, .top-navbar .navbar-brand {
    background-image: none !important;
    height: 0px !important;
}

.lnkFeqh {
    text-align: center !important;
    color: #FFF !important;
}

.blackLnk {
    color: #000 !important;
    line-height: 32px !important;
}

nav-top {
    /* width: 100%; */
    /*height: 160px;
            line-height: 160px;*/
    padding-left: 1.5rem;
    display: flex;
    align-items: center;
    flex-grow: 1;
    padding-left: 1.5rem;
    justify-content: center;
}

.nav-head {
    height: 64px;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    /*width:100%!important;*/
    text-align: center;
    align-content: center;
    display: inline-grid;
}

.menu-item {
    display: block;
    position: relative;
    margin: 0;
}

.level_1 {
    padding-left: 10px !important;
    padding-right: 10px !important;
    z-index: 1;
    /* background: #FFFFFF !important;*/
    color: #FFF !important;
    margin: 0 2px;
    border-radius: 5px;
    min-height: 45px !important;
    display: flex;
    align-items: center;
    /* border: solid 1px #4c67ff !important; */
    /* border-radius: 35px 0 40px 0px; */
    position: relative;
    /* transform: skew(37deg); */
    overflow: initial;
    font-size: 15px !important;
    line-height: 42px;
    /*font-weight: bold;*/
    width: max-content;
}

.logo-header {
    /*display: flex;*/
    align-items: center;
    position: relative;
    margin: 0 auto;
    max-width: var(--site-content-width, 1200px);
    height: inherit;
}

.drop-color {
    background-color: #FFFFFFe8 !important;
    text-align: right;
    min-width: 220px;
    font-weight: bold;
}

.navbar-top .dropdown-menu li:first-child, .top-navbar .dropdown-menu li:first-child {
    border-top: none;
}

.navbar-top .dropdown-menu li > a:hover, .top-navbar .dropdown-menu li > a:hover, .navbar-top .dropdown-menu li > a:focus, .top-navbar .dropdown-menu li > a:focus, .navbar-top .dropdown-menu li > a:active, .top-navbar .dropdown-menu li > a:active, .navbar-top .dropdown-menu li.active a, .top-navbar .dropdown-menu li.active a, .navbar-top .dropdown-menu li.active a:hover, .top-navbar .dropdown-menu li.active a:hover {
    background: #303B51;
    color: #fff;
}

.dropdown-menu > li > a {
    color: #000;
}

.top-navbar .nav li a {
    border-top: none !important;
}

.navbar-top .dropdown-menu li, .top-navbar .dropdown-menu li {
    border-bottom: none;
}

.new-header {
    padding: 0px !important;
    position: absolute;
    height: 85px !important;
    z-index: 111;
    width: 100%;
}

.top-navbar.navbar {
    background-color: transparent !important;
    text-align: center;
    float: none !important;
}

.headHeight {
    height: 160px;
}

@media (max-width:992px) {
    .new-header {
        position: relative;
        background-color: #4d4d4dde !important;
    }

    .headHeight {
        height: auto;
    }

    .top-navbar.navbar {
        background-color: #4d4d4dde !important;
    }

    .nav-head {
        height: 50px;
    }

    .new-header {
        height: 50px !important;
    }

    .blackLnk {
        color: #FFF !important;
    }
}

.navbar-top > .nav-top > .nav > li, .top-navbar > .nav-top > .nav > li, .navbar-top > .container > .nav-top > .nav > li, .top-navbar > .container > .nav-top > .nav > li {
    border-left: none;
}

.menu-button {
    color: #fff !important;
    border: 1px solid #fff;
    border-radius: 30px;
    padding: 10px 15px;
    font-size: 15px;
}




.banner {
    position: relative;
    width: 98%;
    height: 450px; /* Adjust as needed */
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    /*justify-content: center;*/
    direction: rtl; /* Arabic text direction */
    margin-bottom: 40px;
}

    .banner::before {
        content: "";
        position: absolute;
        inset: 0;
        /* background: rgba(0, 0, 0, 0.55);*/ /* dark overlay */
        z-index: 1;
    }

.overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 25px 20px 30px!important; 
    max-width: 80%;
    top: 150px;
}

    .overlay h2 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 15px;
    }

    .overlay p {
        font-size: 1.5rem;
        line-height: 1.8;
        text-align: right;
    }

.text-ellipsis {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align:right;
}
.img-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

    .img-container img {
        width: 100%;
        height: auto;
        display: block;
    }

/* Overlay text box */
.overlay-text {
    position: absolute;
    bottom: 0; /* stick text to the bottom */
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5); /* dark semi-transparent background */
    color: white;
    padding: 15px 20px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;

}

    /* Heading and paragraph style */
    .overlay-text h3 {
        font-size: 18px;
        margin: 0;
        font-weight: 700;
    }

    .overlay-text p {
        
        font-size: 14px;
        margin-top: 5px;
        line-height: 1.4;
        text-align: right;
        direction: rtl;
    }

.faq-section {
    max-width: 60%;
    margin: 60px auto;
    background: #fff;
    border-radius: 12px;
    padding: 20px 30px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
@media (max-width: 768px) {
    .faq-section {
        max-width: 90%;
    }

}

.faq-title {
    text-align: center;
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 40px;
}

.faq-item {
    border-bottom: 1px solid #eee;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: right;
    padding: 18px 10px;
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
}

    .faq-question:hover {
        color: #007bff;
    }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    color: #555;
    font-size: 1.5rem;
    line-height: 1.8;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    padding: 0 10px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
    padding-bottom: 20px;
}

.arrow {
    transition: transform 0.3s ease, color 0.3s ease;
    color: #2c3e50;
   /* background-color: #F5F5F5;*/
    padding: 10px;
    border-radius: 50%;
}

.faq-item.active .arrow {
    transform: rotate(180deg);
    color: #fff;
}

.faq-item.active .arrow::before {
    transform: rotate(0deg);
}

.faq-item.active .arrow {
   /* background: #2c3e50;
    color: #fff;*/
}

    .faq-item.active .arrow::before {
        color: #2c3e50;
    }

.hUL {
    content: '';
    display: block;
    margin-right: 1px;
    margin-top: 1.75rem;
    border-top: #c77b2e solid 3px;
    width: 20%;
    padding-bottom: 10px;
}

h3 {
    margin-top: 0px;
    padding-top: 0px;
}

.reveal {
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 1s all ease;
}

    .reveal.active {
        transform: translateY(0);
        opacity: 1;
    }

.tp-slider .subtitle {
    background-color: transparent;
}

/*.marquee {
            display: inline-block;
            white-space: nowrap;
            position: relative;
            animation: marquee 10s ease-in infinite;
            left: 100px;
            right: 100px;
         margin-left:50px;

        }*/

.owl-carousel .item img {
    width: 100%;
    height: 310px;
    border-radius: 10px;
}

.owl-carousel .item {
    margin: 0 10px;
}

@keyframes marquee {
    from {
        left: -100%;
    }

    to {
        left: 100%;
    }
}



.marquee {
    /* Container width and overflow */
    width: 100%;
    margin: auto;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

    .marquee .content-wrapper {
        display: inline-block;
        width: max-content; /* Double the container width */
        animation: marquee 20s linear infinite;
    }

        .marquee .content-wrapper span {
            display: inline;
            width: 50%; /* Half of the content wrapper width */
        }

@keyframes marquee {
    0% {
        transform: translateX(0); /* Start at the beginning */
    }

    100% {
        transform: translateX(-50%); /* Move to the left by 50% */
    }
}

.ClintImgContainer {
    width: auto;
    height: 100px !important;
    background-color: #FFF;
    padding: 5px;
    margin: 10px;
    overflow: hidden;
    border-radius: 15px;
}

.ClintImg {
    height: 100%;
    margin: auto;
    width: auto;
}


.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px;
    direction:rtl;
}

/* Mobile (شاشات أصغر من 768px) → عنصر واحد في الصف */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: .3s;
}

    .blog-card:hover {
        transform: translateY(-5px);
    }

.blog-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.blog-content {
    padding: 30px 20px;
    text-align: center;
}

    .blog-content h3 {
        margin: 0;
        font-size: 24px;
        color: #333;
        margin-bottom: 10px;
    }

    .blog-content p {
        font-size: 16px;
        color: #777;
        line-height: 1.6;
    }
