:root {
  --secondary-color: #fe8004;
  --primary-color: #0b69a3;
  --margin-top-section: 5rem;
  --grag-color: #616161;
}
html[dir="rtl"] body {
  font-family: "Cairo", system-ui, "Almarai", Tahoma, sans-serif;
}
/* الافتراضي (LTR): اللوجو على الشمال */
.navbar .container-fluid {
  display: flex;
  align-items: center;
}

/* في الـ LTR: اللوجو شمال – باقي العناصر يمين */
html[dir="ltr"] .navbar-brand {
  margin-inline-end: auto;
}
html[dir="ltr"] .navbar-collapse {
  margin-inline-start: auto;
}

/* في الـ RTL: عكس الاتجاه – اللوجو يمين، باقي العناصر شمال */
html[dir="rtl"] .navbar-brand {
  order: 2; /* حط اللوجو آخر عنصر */
  margin-inline-start: auto; /* يدفشه لليمين */
}
html[dir="rtl"] .navbar-collapse {
  order: 1;
  margin-inline-end: auto; /* يخلي باقي العناصر تلزق شمال */
}

.home-page-hcs {
  padding: 0;
  overflow: hidden;
}

.home-page-hcs .main-container .hero-section {
  background-image: url(../images/Landing-page1.png);
  background-size: cover;
  background-position: center;
  min-height: 100svh;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-page-hcs .main-container .navbar {
  z-index: 555555;
  box-shadow: 0px 4px 12px 0px #0000001a;
}
.home-page-hcs .main-container .navbar .container-fluid a.navbar-brand img {
  width: 120px;
  height: auto;
  object-fit: cover;
}
#navbarSupportedContent .navbar-nav .nav-item {
  position: relative;
  margin: 0 5px;
}

#navbarSupportedContent .navbar-nav .nav-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px; /* سمك الخط */
  width: 100%;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right; /* يبدأ من اليمين */
  transition: transform 0.3s ease;
}

#navbarSupportedContent .navbar-nav .nav-item:hover::after {
  transform: scaleX(1);
  transform-origin: left; /* يخلص من العكس */
}

#navbarSupportedContent .navbar-nav .nav-item:hover .nav-link {
  color: var(--primary-color);
}
#navbarSupportedContent .navbar-nav .nav-item .nav-link {
  color: #000;
  font-weight: 600;
  font-size: 16px;
  background-color: transparent !important;
}
.hero-section .navbar .container-fluid .navbar-collapse .nav-contact div a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 16px;
}
.hero-section
  .navbar
  .container-fluid
  .navbar-collapse
  .nav-contact
  div
  button.contact-whatsapp {
  display: block;
  border-radius: 50%;
  background-color: #0b69a3;
  border: none;
  outline: none;
  height: 3rem;
  width: 3rem;
}
.home-page-hcs .main-container .hero-section div .apply-jop {
  border-radius: 5px;
  padding: 8px 21px;
  font-size: 14px;
  color: #fff !important;
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
  text-decoration: none;
}

.hero-section .navbar .container-fluid .navbar-collapse {
  position: relative;
}

.hero-section .navbar .container-fluid .navbar-collapse .nav-contact {
  position: absolute;
  right: 2%;
  top: 50%;
  transform: translateY(-50%);
}

.hero-section .hero-section-trick {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  backdrop-filter: blur(12px);
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 150px;
  box-shadow: 0px 1px 1px 0px #0003124d;
  width: fit-content;
  margin-top: 7rem;
}
.hero-section .hero-section-trick p {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}
.hero-section .hero-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-section .hero-section-title h1 {
  color: #fff;
  font-size: 68px;
  font-weight: 700;
  margin-top: 1rem;
  text-align: center;
  line-height: 1.2;
}
.hero-section .apply-jop-btn a {
  border-radius: 50px;
  padding: 8px 21px;
  font-size: 16px;
  color: var(--primary-color);
  background-color: #fff;
  border: 1px solid #fff;
  text-decoration: none;
}
.hero-section .hero-section-cards .container .image-card {
  height: 27.5rem;
  border-radius: 15px;
  width: 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  box-shadow: 0px 2px 12px 0px #ffffff33;
  position: relative;
}

.hero-section .hero-section-cards .container .image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}
.hero-section .hero-section-cards .container .image-card:hover {
  backdrop-filter: blur(4px);
  box-shadow: 0px 2px 12px 0px #ffffff52;
  box-shadow: 0px 0px 24px 0px #ffffff3d;
}
.hero-section .hero-section-cards .container .b2b-business,
.hero-section .hero-section-cards .container .our-promises {
  height: 22rem;
  background-color: #0b69a3;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 25%;
  padding: 20px;
  box-shadow: 0px 2px 12px 0px #ffffff33;
  position: relative;
}
.hero-section .hero-section-cards .container .apply-jops-card:hover,
.hero-section .hero-section-cards .container .our-promises:hover {
  backdrop-filter: blur(4px);
  box-shadow: 0px 2px 12px 0px #ffffff52;
  box-shadow: 0px 0px 24px 0px #ffffff3d;
}
.hero-section .hero-section-cards .container .apply-jops-card h1,
.hero-section .hero-section-cards .container .our-promises h2 {
  font-size: 24px;
  color: #fdfcff;
  text-align: center;
  text-transform: capitalize;
  z-index: 8;
}

.hero-section .hero-section-cards .container .our-promises p {
  color: #fdfcffcc;
  font-size: 16px;
  text-align: center;
}
.hero-section .hero-section-cards .container .apply-jops-card {
  height: 16rem;
  background-color: #fff;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 35%;
  padding: 20px;
  box-shadow: 0px 2px 12px 0px #ffffff33;
  position: relative;
}
.hero-section .hero-section-cards .container .apply-jops-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  z-index: 1;
}
.hero-section .hero-section-cards .container .apply-jops-card p {
  font-size: 16px;
  text-align: center;
  z-index: 8;
}
.hero-section .hero-section-cards .container .image-card h2 {
  font-size: 24px;
  color: #fdfcff;
  text-align: center;
  text-transform: capitalize;
}

.hero-section .hero-section-cards .container .image-card p {
  font-size: 16px;
  text-align: center;
  color: #fff;
}
@media (max-width: 990px) {
  .hero-section .hero-section-cards {
    display: none;
  }
  .hero-section .hero-section-trick {
    margin: 0 1rem;
  }
  .hero-section .hero-section-title h1 {
    font-size: 50px;
  }
  .main-why-choose-us .container .row .about-us-text .targets p {
    text-align: center;
  }
  .form-contact-us form {
    width: 100%;
    padding: 10px;
  }
  .form-contact-us {
    /* padding: 10px; */
  }
}
@media (max-width: 460px) {
  .hero-section .hero-section-title h1 {
    font-size: 30px;
  }
  .main-container .mobile-cntact-whatsapp {
    display: flex !important;
    flex-direction: row !important;
    animation: none !important;
    bottom: 20px !important;
    right: 8.5rem !important;
  }
  .choose-us-image img {
    width: 100%;
  }
}
@media (max-width: 1390px) {
  .nav-contact div:first-of-type {
    display: none;
  }
}
.main-container .mobile-cntact-whatsapp {
  position: fixed;
  bottom: 60px;
  right: 40px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  border-radius: 25px 0 25px 0;
  background-color: #fff;
  border: none;
  outline: none;
  padding: 10px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  animation: shake 1.5s infinite;
}
.main-container .mobile-cntact-whatsapp button {
  display: block;
  border: none;
  outline: none;
  background-color: #fff;
}
@keyframes shake {
  0% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(-2px, 0);
  }
  40% {
    transform: translate(2px, 0);
  }
  60% {
    transform: translate(-2px, 0);
  }
  80% {
    transform: translate(2px, 0);
  }
  100% {
    transform: translate(0, 0);
  }
}
@media (max-width: 991px) {
  #navbarSupportedContent .navbar-nav {
    border-radius: 5px;
    padding: 20px 5px;
  }
  #navbarSupportedContent .navbar-nav .nav-item:hover {
    box-shadow: none;
    background-color: #fff !important;
  }
  #navbarSupportedContent .navbar-nav .nav-item:hover .nav-link {
    color: #0b69a3;
  }
  .hero-section .navbar .container-fluid .navbar-collapse .nav-contact div {
    display: none !important;
  }
  .main-container {
    position: relative;
  }
}
@media (max-width: 610px) {
  .text-hero-section h2 {
    font-size: 30px;
  }
  .text-hero-section h2 span {
    display: block;
  }
  .text-hero-section p {
    font-size: 16px !important;
  }
  .text-hero-section button {
    padding: 8px 20px;
    font-size: 14px;
  }
}
/* end hero section */

/* start why choose us */
.main-why-choose-us {
  margin-top: var(--margin-top-section);
}
.main-why-choose-us .container .row .choose-us-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-why-choose-us .container .row .text-why-choose-us {
  display: flex;
  flex-direction: column;
}
.main-why-choose-us .container .row .text-why-choose-us h2 {
  color: var(--primary-color);
  font-size: 32px;
  font-weight: 700;
  position: relative;
  margin: 0;
}

.main-why-choose-us .container .row .text-why-choose-us p {
  margin-top: 1px;
  color: var(--grag-color);
  font-size: 16px;
  line-height: normal;
}
.main-why-choose-us .container .row .text-why-choose-us p.description {
  margin-top: 1rem;
  font-size: 16px;
  padding-bottom: 2rem;
  border-bottom: 1px solid #c6c6c699;
}
.main-why-choose-us .container .row .text-why-choose-us p.description span {
  color: var(--primary-color);
  font-weight: 800;
}
.main-why-choose-us .container .row .about-us-text .targets h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--secondary-color);
}
.main-why-choose-us .container .row .about-us-text .targets p {
  font-size: 16px;
  color: var(--grag-color);
}
/* end why choose us */

/* start history section */
.history {
  margin-top: var(--margin-top-section);
  padding: 5rem 0;
  background-color: #f1f1f1;
}
.history h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.5rem;
  text-transform: capitalize;
  color: var(--primary-color);
}

.history-card {
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.history-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.history-card .year {
  font-size: 2rem;
  font-family: "Bebas Neue", sans-serif;
  margin-bottom: 15px;
  color: var(--secondary-color);
  font-weight: 700;
}
.history-card p {
  color: #fff;
}

.history-card .arrow {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.2rem;
  font-weight: bold;
}

/* النسخة الافتراضية (LTR) */
html[dir="ltr"] .history-card .arrow {
  right: 15px;
  left: auto;
  content: "→"; /* سهم يمين */
}

/* النسخة العربية (RTL) */
html[dir="rtl"] .history-card .arrow {
  left: 15px;
  right: auto;
  content: "←"; /* سهم شمال */
}

/* end history section */

/* start main Services */
.main-our-services {
  margin-top: var(--margin-top-section);
}
.main-our-services .container .row .section-header .text-our-services h2 {
  color: var(--primary-color);
  font-size: 32px;
  font-weight: 700;
  position: relative;
  text-align: center;
}
.main-our-services .container .row .section-header .text-our-services p {
  text-align: center;
  font-size: 16px;
  color: var(--grag-color);
}
.main-our-services .container .row .service-box {
  padding: 10px;
  margin-bottom: 1rem;
}
.main-our-services .container .row .service-box .card {
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 8px;
  padding: 15px;
  border: none;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--primary-color);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

html[dir="ltr"] .main-our-services .container .row .service-box .card {
  align-items: right;
}
html[dir="rtl"] .main-our-services .container .row .service-box .card {
  align-items: center;
}

.main-our-services .container .row .service-box .card:hover {
  transform: translateY(-1px);
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.main-our-services .container .row .service-box img {
  width: 40%;
  display: block;
  border-radius: 10px;
  margin: auto;
  display: block;
}
.main-our-services .container .row .service-box h4 {
  font-size: 18px;
  color: #ff7f08;
  text-align: left;
  margin-bottom: 0;
  min-height: 40px;
  font-family: "Inter", sans-serif;
  text-align: center;
  margin-bottom: 14px;
  width: 100%;
  font-weight: bolder;
}
.main-our-services .container .row .service-box p {
  font-size: 14px;
  color: #fff;

  min-height: 63px;
  text-align: center;
}

.main-our-services .container .row .service-box a {
  background-color: #ff7f08;
  border: 1px solid var(--primary-color);
  border-radius: 5px;
  padding: 8px 21px;
  font-size: 14px;
  color: #fff;
  transition: 0.5s ease-in-out;
  text-decoration: none;
  transition: all 0.4s ease-in-out;
  display: block;
  margin: auto;
}
.main-our-services .container .row .service-box a:hover {
  background: linear-gradient(90deg, #ff7f08 0%, #ff7f08 50%, #ff7f08 100%);
  color: #fff;
}
/* end main Services */

/* Start Contact us */
.contact-us {
  margin-top: var(--margin-top-section);
  margin-bottom: var(--margin-top-section);
}
.contact-us .container .row .heading h2 {
  text-align: center;
  color: var(--primary-color);
  font-weight: 700;
  font-family: "Inter", sans-serif;
}
.contact-us .container .row .heading p {
  text-align: center;
  color: var(--grag-color);
}

.contact-us .container .row .form-contact-us form textarea,
.contact-us .container .row .form-contact-us form input {
  box-shadow: none;
}

.contact-us .container .row .form-contact-us form textarea:focus,
.contact-us .container .row .form-contact-us form input:focus {
  box-shadow: none;
  border: 1px solid var(--primary-color);
}
.contact-us .container .row .form-contact-us form button {
  background-color: var(--secondary-color);
  color: #fff;
  border: none;
  outline: none;
  padding: 10px 30px;
  border-radius: 150px;
  border: 1px solid transparent;
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease;
}
.contact-us .container .row .form-contact-us form button:hover {
  background-color: #fff;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
}
/* End Contact us */

/* Start Feedback */
.clients-feedback {
  margin-top: var(--margin-top-section);
}
.clients-feedback h2 {
  font-weight: 700;
  color: var(--primary-color);
}
.clients-feedback p.description {
  color: var(--grag-color);
}
.clients-feedback .row .col-6 {
  margin-bottom: 1rem;
}

.client-logo {
  max-height: 80px; /* طول ثابت لكل اللوجوهات */
  object-fit: contain; /* يحافظ على النسبة */
  transition: 0.3s;
  border-radius: 5px;
}
.client-logo:hover {
  filter: grayscale(0%); /* ترجع ألوان عند الهوفر */
  transform: scale(1.05);
}
/* End Feedback */

/* start faq */
.faq {
  margin-top: var(--margin-top-section);
}
.faq h2 {
  font-weight: 700;
  color: var(--primary-color);
}
.faq p.description {
  color: var(--grag-color);
}
.faq .accordion-button span {
  font-weight: 700;
  color: #bebebe;
  font-size: 20px;
  margin-right: 1rem;
}
.faq .accordion-button:hover {
  background-color: transparent;
}
.faq .accordion-button:focus {
  box-shadow: none;
  border: none;
  background-color: transparent;
}
.faq .accordion-button:active {
  box-shadow: none;
  border: none;
  background-color: transparent;
}
.accordion-body {
  padding-left: 4rem;
}

.accordion-button {
  display: flex;
  align-items: center;
  gap: 0.75rem; /* مسافة بين الرقم والنص */
}
/* الرقم */
.accordion-button span {
  font-weight: bold;
  margin-inline-end: 0.5rem; /* مسافة صغيرة بعد الرقم */
}

/* السهم الافتراضي (LTR: يمين) */
html[dir="ltr"] .accordion-button::after {
  margin-left: auto;
  margin-right: 0;
}

/* السهم في RTL: آخر السطر شمال */
html[dir="rtl"] .accordion-button::after {
  margin-right: auto;
  margin-left: 0;
}
/* end faq */

/* Start footer */
footer {
  background-color: #f9f9ff;
  padding: 40px 0 20px;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #333;
}
footer h5 {
  font-weight: 600;
  margin-bottom: 15px;
  position: relative;
  color: var(--primary-color);
}
footer h5::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
  margin-top: 5px;
}
footer ul {
  list-style: none;
  padding: 0;
}
footer ul li {
  margin-bottom: 8px;
}
footer ul li a {
  text-decoration: none;
  color: #333;
  transition: 0.3s;
  font-size: 15px;
}
footer ul li a:hover {
  color: var(--primary-color);
}
.footer-bottom {
  border-top: 1px solid #ddd;
  margin-top: 20px;
  padding-top: 15px;
  text-align: center;
  font-size: 14px;
  color: #666;
}
.social-icons a {
  display: inline-block;
  width: 36px;
  height: 36px;
  margin-right: 8px;
  text-align: center;
  line-height: 36px;
  border-radius: 50%;
  background: #f1f1f1;
  color: #333;
  transition: 0.3s;
}
.social-icons a:hover {
  background: var(--primary-color);
  color: #fff;
}
.footer-logo img {
  max-width: 120px;
}
.subscribe-box input {
  border: none;
  padding: 10px;
  width: 100%;
  border-radius: 5px 0 0 5px;
  outline: none;
}
.subscribe-box button {
  border: none;
  background: var(--primary-color);
  color: #fff;
  padding: 10px 15px;
  border-radius: 0 5px 5px 0;
}
/* End footer */

/* start slider */
.client-logo {
  max-height: 80px;
  object-fit: contain;
}
.swiper {
  width: 100%;
  padding: 20px 0;
}
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* end slider */
