/* ================================
   Fonts
================================== */

/* Arabic font */
@import url("https://fontlibrary.org//face/droid-arabic-kufi");

/* Poppins from Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

/* ================================
   Global Typography
================================== */

body {
  font-family: "Poppins", sans-serif !important;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #212529;
  font-size: 16px;
}

/* Arabic / RTL text */
.arabic-font {
  font-family: "DroidArabicKufiRegular", "Droid Arabic Kufi", sans-serif !important;
}

html[lang="ar"] body {
  font-family: "DroidArabicKufiRegular", "Droid Arabic Kufi", sans-serif !important;
  direction: rtl;
  text-align: right;
}
i[class^="ri-"],
i[class*=" ri-"] {
  font-family: "remixicon" !important;
  font-style: normal;
}
/* ================================
   Navbar
================================== */
.fs-16 {
  font-size: 16px;
}
.fs-18 {
  font-size: 18px;
}
/* Show dropdown on hover for desktop */
@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}
:root {
  --bs-primary: #93c641;
  --bs-primary-rgb: 147, 198, 65;
}

/* optional: override hover/focus states */
.btn-primary {
  background-color: #93c641 !important;
  border-color: #93c641 !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #7ca732 !important; /* darker shade */
  border-color: #7ca732 !important;
}
/* ================================
   Links
================================== */
a {
  color: var(--bs-primary);
  text-decoration: none;
}

a:hover {
  color: #7ca732; /* darker shade */
  text-decoration: underline;
}

/* ================================
   Rounded Utilities
================================== */

/* Navbar custom styles */

.navbar .navbar-nav .nav-item .nav-link {
  text-transform: uppercase;
  color: #212529;
  text-decoration: none !important;
}
.navbar .navbar-nav .nav-item .dropdown-menu {
  padding: 20px;
  border-radius: 15px;
}
.navbar .navbar-nav .nav-item .dropdown-menu li {
  border-bottom: 1px solid #e1e1e1;
}
.navbar .navbar-nav .nav-item .dropdown-menu li:last-child {
  border-bottom: 0;
}
.navbar .navbar-nav .nav-item .dropdown-menu .dropdown-item {
  padding: 10px 20px;
  border-radius: 15px;
}
.navbar .navbar-nav .nav-item .dropdown-menu .dropdown-item:hover {
  text-decoration: none;
  background-color: #eaffc8;
}
.navbar .navbar-nav .nav-item .dropdown-menu .dropdown-item:focus {
  color: #000000;
}
.navbar .navbar-nav .nav-item .dropdown-menu li:last-child .dropdown-item {
  border-bottom: 0;
}
.navbar .navbar-nav .nav-item .dropdown-menu li {
  padding: 2px 0;
}

.navbar .navbar-nav .nav-item .dropdown-menu li .dropdown-item:active,
.navbar .navbar-nav .nav-item .dropdown-menu li .dropdown-item.active {
  background-color: #e4e4e4;
  color: #000000;
}

.btn-search {
  width: 55px;
  height: 55px;
}
.account-btn {
  padding: 14px 25px;
}

/* Home About */
.home-about {
  max-width: 900px;
  margin: 60px auto 50px;
  padding: 100px 0 0;
}

/* Services Overlay */
.services .item {
  width: 100%;
  box-shadow: 0px 0px 10px #47a047;
  transition: ease-in 0.09s;
}
.services .item:hover {
  box-shadow: 0px 0px 14px #1c691c;
}
.services .item .overlay {
  opacity: 0;
  transition: 0.09s;
  transform: scale(0.9);
}
.services .item .overlay .more {
  width: 40px;
  height: 40px;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #93c641;
  color: #fff;
}
.services .item:hover .overlay {
  opacity: 1;
  transform: scale(1);
  padding: 40px 15px;
}
.services .item:hover .overlay .simplebar-wrapper,
.services .item:hover .overlay .simplebar-wrapper .simplebar-mask {
  height: 125px;
}
.services .item {
  width: 20%;
  height: 300px;
}
.services .item .overlay ul {
  margin-left: -20px;
  font-size: 11px;
}
/* Subsidiaries Heading */
.Subsidiaries h2 {
  font-size: calc(1.525rem + 3.3vw); /* Bootstrap display-3 */
  font-weight: 300;
  line-height: 1.2;
}

/* Solution */
.solution {
  background-color: #f7ffeb;
  color: #5c5c5c;
  position: relative;
}

.solution .banner-image {
  position: absolute;
  bottom: 0;
  max-height: 100%;
  width: auto;
  max-width: 55%;
}

.solution .item-wraper .items {
  padding-bottom: 20px;
}

.solution .item-wraper .items .image {
  min-width: 85px;
  max-width: 85px;
}

/* Subsidiaries Items */
.Subsidiaries .item {
  transition: 0.4s ease-in-out;
  position: relative;
  color: #ffffff;
}

.Subsidiaries .item .sliding-image-on-hover {
  max-width: 600px;
  overflow: hidden;
  transition: max-width 0.4s ease-in-out;
}

.Subsidiaries .item .sliding-image-on-hover .inner {
  white-space: nowrap;
}

.Subsidiaries .item:hover {
  background-color: #f8f9fa !important;
  color: #000000;
}

.Subsidiaries .item:hover .sliding-image-on-hover {
  max-width: 250px;
}

.Subsidiaries .item:first-child {
  background-color: #75286b;
}

.Subsidiaries .item.second {
  background-color: #df8524;
}

.Subsidiaries .item .more {
  position: absolute;
  bottom: 50px;
  left: 64px;
  color: #000000;
  transition: 0.4s ease-in-out;
  opacity: 0;
}

.Subsidiaries .item:hover .more {
  bottom: 30px;
  opacity: 1;
}

/* Buttons */
.btn-outline-primary {
  border: 1px solid #7ca732;
  color: #000000;
}

.btn-outline-primary:hover {
  background-color: #7ca732;
  color: #ffffff;
}

.btn-outline-white {
  border: 1px solid #ffffff;
  color: #ffffff;
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: #93c641;
}

.btn-primary:hover {
  background-color: #2b2b2b !important;
}

/* Gradient Background */
.gradient-red-bg {
  background: radial-gradient(circle, #bd2c8d 0%, #78256d 100%);
}
.swiper {
  width: 100%;
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Keeps images proportional */
}
.banner-inner {
  height: 250px;
}

.why-choose .items {
  background-color: #f7ffeb;
  border-color: #92c33e;
  display: flex;
}
.why-choose .items .image {
  min-width: 85px;
  max-width: 85px;
}
ul.list-styleld-disc {
  list-style: disc;
}
ul.list-styleld-disc li {
  list-style: disc;
}

.milestone {
  background-color: #f9f9f9;
}

.news-wraper .image {
  position: relative;
  overflow: hidden;
  height: 250px;
}
.news-wraper .image::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0)
  );
  z-index: 1;
}
.news-wraper .image .date {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: #ffffff;
  z-index: 2;
}
.news-wraper .line-clamb {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-wraper .discription {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
}
.news-wraper .more {
  font-size: 13px;
  padding: 12px 25px;
}

.role {
  background-color: #eaffc8;
  padding: 80px;
}

/* Remove default Swiper arrow icons */
.serviceSwiper .swiper-button-next,
.serviceSwiper .swiper-button-prev {
  width: 45px;
  height: 45px;
  background-color: #000000;
  color: #ffffff;
}
.serviceSwiper .swiper-button-next i,
.serviceSwiper .swiper-button-prev i {
  font-size: 18px;
}
.serviceSwiper .swiper-button-next:hover,
.serviceSwiper .swiper-button-prev:hover {
  background-color: #92c33e;
}
.serviceSwiper .swiper-button-next::after,
.serviceSwiper .swiper-button-prev::after {
  display: none;
}
.serviceSwiper .swiper-slide .discription {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
}
.serviceSwiper .swiper-slide .apply {
  background-color: #7ca732;
  color: #ffffff;
  transition: all;
  padding: 9px 20px;
  transition: 0.2s;
  font-size: 14px;
}

.serviceSwiper .swiper-slide .apply:hover {
  background-color: #000000;
  color: #ffffff;
}
.serviceSwiper .swiper-slide .view {
  border: 1px solid #7ca732;
  color: #000000;
  transition: all;
  padding: 9px 20px;
  transition: 0.2s;
  font-size: 14px;
}
.serviceSwiper .swiper-slide .view:hover {
  background-color: #7ca732;
  color: #ffffff;
  transition: all;
}
.serviceSwiper .swiper-pagination .swiper-pagination-bullet {
  border: 1px solid #7ca732;
}
.serviceSwiper
  .swiper-pagination
  .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #7ca732;
}

.contact-form {
  margin-top: -300px;
  min-height: 600px;
}
.contact-form .form-control {
  background-color: #fafafa;
  border: 1px solid #dddddd;
  min-height: 53px;
  appearance: auto; /* ✅ show browser default arrow */
  -webkit-appearance: auto;
  -moz-appearance: auto;
}
.contact-form .form-control::placeholder {
  font-style: italic;
  font-size: 13px;
}
.contact-form .btn {
  padding: 12px 20px;
}

.accordation-1 {
}
.accordation-1 .accordion-item {
  background-color: #fafafa;
  border: 1px solid #dddddd;
  border-radius: 15px;
  margin-bottom: 18px;
}
.accordation-1 .accordion-item .accordion-header {
  background-color: transparent;
  border: 0 !important;
  color: #000000;
}
.accordation-1 .accordion-item .accordion-header .accordion-button {
  background-color: transparent;
  font-size: 18px;
}
.accordation-1 .accordion-item .accordion-header .accordion-button:focus {
  box-shadow: none;
}
.accordation-1 .accordion-item .accordion-body {
  font-size: 14px;
  border: 0;
  border: 0 !important;
}
.accordation-1 .accordion-item .accordion-body:focus {
  border: 0;
  border: 0 !important;
}
.accordation-1 .accordion-item .accordion-button:not(.collapsed) {
  border: 0;
  border: 0 !important;
  color: #000000;
}

.field1 {
  border: 1px solid #212529;
  min-height: 53px;
  font-size: 1em !important;
}
.field1::placeholder {
  font-style: italic;
  font-size: 13px;
}
.benifits {
  padding: 60px 100px;
  background-color: #f4f4f4;
}
ul.list-group-2 li {
  font-size: 14px;
  padding: 0 0 45px;
}

ul.bullet-list li {
  padding: 0 0 5px;
}

/* financial */
.financial-wraper .panel {
  width: 225px;
  background-color: #f3f3f3;
}
.financial-wraper .panel ul {
  list-style: none;
}
.financial-wraper .panel ul li {
  list-style: none;
}
.financial-wraper .panel ul li a {
  display: block;
  border-bottom: 1px solid #e6e6e6;
  padding: 15px 45px;
  color: #2b2b2b;
}
.financial-wraper .panel ul li.selected a {
  color: #93c641;
  background-color: #ffffff;
}

.location .btn-1 {
  background-color: #eaffc8;
  transition: 0.5s;
  padding: 20px 20px;
}
.location .btn-1:hover {
  background-color: #93c641;
  color: #ffffff;
}
.location .btn-2 {
  background-color: #f4f0f0;
  transition: 0.5s;
  padding: 20px 20px;
}
.location .btn-2:hover {
  background-color: #000000;
  color: #ffffff;
}
.location .form-control {
  background-color: #fafafa;
  border: 1px solid #dddddd;
  min-height: 53px;
  appearance: auto; /* ✅ show browser default arrow */
  -webkit-appearance: auto;
  -moz-appearance: auto;
}

.frame-1 {
  padding: 0 5%;
}

.explore {
  background-color: #eaffc8;
  padding: 59px 145px;
}
.explore .items {
  list-style: none;
  margin-bottom: 20px;
}
.explore .items .label {
  min-width: 30%;
}
.explore .items .discription {
  border-bottom: 2px solid #b5b5b5;
  font-size: 18px;
  padding: 20px 0;
}

.stay-connect {
}
.stay-connect .icon {
  width: 57px;
  height: 57px;
}

.font-1 {
  font-size: 55px;
}
.font-2 {
  font-size: 45px;
}
/* Chrome, Safari, Edge */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #7ca732;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #7ca732;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #7ca732 #f1f1f1;
}

.navbar-toggler:hover .navbar-toggler-icon {
  color: #ffffff !important;
}
.navbar-toggler:focus {
  box-shadow: none;
  border: 0;
  outline: none;
}

#page-loader {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#page-loader.hide {
  opacity: 0;
  visibility: hidden;
}

#scrollTopBtn {
  transition: opacity 0.3s ease;
}
#scrollTopBtn.show {
  display: block !important;
  opacity: 1;
}
/* Smooth appearance */
#scrollTopBtn {
  transition: opacity 0.3s ease;
}

/* Visible state */
#scrollTopBtn.show {
  display: block !important;
  opacity: 1;
  animation: bounce 2s infinite;
}
.contact-wraper {
  width: 80%;
}
/* Bounce animation */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}
@media (max-width: 1400px) {
  .home-about {
    margin: 35px auto 50px;
    padding: 24px 0 0;
  }
  .font-1 {
    font-size: 40px;
  }
  .btn-search {
    width: 46px;
    height: 46px;
  }
  .account-btn {
    padding: 8px 20px;
  }
}
@media (max-width: 1199px) {
  header .navbar-collapse {
    position: fixed;
    top: 70px;
    left: 15px;
    right: 15px;
    z-index: 10;
    background-color: #ffffff;
    border-radius: 15px;
    border: 1px solid #b5b5b5;
    padding: 15px;
  }
  .font-1 {
    font-size: 31px;
  }
  .font-2 {
    font-size: 30px;
  }
  .contact-wraper {
    width: 90%;
  }
  .explore {
    padding: 40px 100px;
  }
}

@media (min-width: 992px) {
  .rounded-lg-pill {
    border-radius: 50rem !important;
  }
  .benifits {
    padding: 40px 50px;
  }

  .rounded-lg-circle {
    border-radius: 50% !important;
  }
  .border-lg-start {
    border-left: 1px solid #dee2e6 !important;
  }
  .border-lg-end {
    border-right: 1px solid #dee2e6 !important;
  }
  .explore {
    padding: 40px 50px;
  }
}

@media (max-width: 768px) {
  .font-1 {
    font-size: 24px;
  }
  .font-2 {
    font-size: 25px;
  }
  .home-about {
    padding: 0px 0 0;
  }
  .solution .item-wraper .items .image {
    min-width: 50px;
    max-width: 50px;
  }
  .services .item {
    width: 20%;
    height: 200px;
  }
  .account-btn {
    width: 40px;
    height: 40px;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .role {
    padding: 25px;
  }
  .contact-wraper {
    width: 95%;
  }
  .benifits {
    padding: 40px 20px;
  }
  ul.list-group-2 li {
    padding: 0 0 18px;
  }
  .explore {
    padding: 40px;
  }
  .explore .items .discription {
    font-size: 14px;
  }
  .financial-wraper .panel ul li a {
    padding: 10px 18px;
  }
  .financial-wraper .title {
    font-size: 12px;
    padding-bottom: 5px;
  }
  .financial-wraper .panel {
    width: 120px;
  }
}
