#qistas_cms_nav .nav-item .nav-link {
    color: var(--dark-blue);
}

#qistas_cms_nav .nav-item:nth-child(1) .nav-link {
    color: var(--text-ternary);
}


#qistas_cms_nav.scrolled,#qistas_cms_nav.scrolled .nav-item:nth-child(1) .nav-link {
    color: var(--text-ternary) !important;
}

.navbar#qistas_cms_nav {
    box-shadow: 0px 0px 4px 0px #00000040;
    padding-top: 15px !important;
    background: #FFFFFF;
}

.about-us-title {
    margin: 0px 90px;
}

.about-banner-section-img {
    width: 100%;
    height: min(100vh, 641px);
    height: 100dvh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /* background-position: 0px 92px; */
}

.about-banner-bottom-section {
    width: 100%;
    margin-top: 100px;
    /* height: min(100vh, 565px); */
    height: 585px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.about-us-title::after {
    content: "";
    display: inline-block;
    width: 148px;
    height: 7px;
    background: var(--bg-ternary);
    position: absolute;
    right: var(--after-title-right);
    left: var(--after-title-left);
    bottom: -10px;
}

.editor-about-title::after {
    content: "";
    display: inline-block;
    width: 57px;
    height: 7px;
    background: var(--bg-ternary);
    border-radius: 4px;
    position: absolute;
    right: 0;
    bottom: -5px;
}

.services-title::after, .our-team-title::after {
    content: "";
    display: inline-block;
    width: 50px;
    height: 6px;
    background: var(--bg-ternary);
    border-radius: 4px;
    position: absolute;
    right: 0;
    bottom: -10px;
}

.about-carousel-title::after {
    content: "";
    display: inline-block;
    width: 49px;
    height: 5px;
    background: var(--bg-ternary);
    border-radius: 4px;
    position: absolute;
    left: 50%;
    bottom: -17px;
    transform: translate(-50%, 0px);
}

.contact-us-btn {
    background: linear-gradient(180deg, #2678A5 0%, #297BA8 28.1%, #4EA2CF 100%);
    color: #FFFFFF;
    border-radius: 6px;
    padding: 5px 15px;
}


#qistas_cms_nav .login-btn {
    background-color: var(--bg-quaternary) !important;
    border: 1px solid var(--text-quaternary) !important;
    color: white !important;

}

/* Add Under Line For subtitle */
.about-sub-title::after {
    content: "";
    display: inline-block;
    width: 46px;
    height: 3px;
    background: var(--bg-ternary);
    border-radius: 4px;
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translate(-50%, 0px);
}

/* تصميم الصندوق الأساسي */
.service-box {
    position: relative; /* يسمح بوضع الأيقونة بشكل مطلق */
    background-color: transparent;
    border-radius: 15px;
    padding-top: 3.5rem; /* إزاحة المحتوى للأسفل ليترك مساحة للأيقونة */
    padding-bottom: 2rem;
    padding-right: 1rem;
    padding-left: 1rem;
    text-align: center;
    /* box-shadow: 0px 0px 4px 0px #00000040; */
    transition: all 0.3s ease;
    margin-bottom: 40px;
    flex-grow: 1;
  }
  .service-box:hover {
    /* box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); */
  }

  /* الأيقونة الدائرية المتداخلة مع الصندوق */
  .icon-circle {
    position: absolute;
    top: -40px; /* نصف ارتفاع الدائرة (80px/2) لجعلها تتقاطع */
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #4f6ef7;
    border: 3px solid #fff; /* حد أبيض لإعطاء إحساس التداخل */
  }

  /* عنوان الخدمة */
  .service-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
  }

  /* نص الخدمة */
  .service-text {
    font-size: 0.95rem;
    color: #6c757d; /* لون النص الثانوي */
  }


  @media only screen and (max-width: 400px) {
    section.our-team-section > div > div > div {
        padding-bottom: 0px !important;
      }
  }

