@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Readex+Pro:wght@400;500;600;700&display=swap");

h5.preloader-text::after {
  content: "صابر";
}

html[lang="ar"] body {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  line-height: 1.85;
}

html[lang="ar"] p,
html[lang="ar"] li,
html[lang="ar"] a,
html[lang="ar"] span,
html[lang="ar"] label,
html[lang="ar"] input,
html[lang="ar"] textarea,
html[lang="ar"] button {
  font-family: "IBM Plex Sans Arabic", sans-serif;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6,
html[lang="ar"] .section-title,
html[lang="ar"] .about-2-title,
html[lang="ar"] .footer-title,
html[lang="ar"] .site-logo,
html[lang="ar"] .theme-btn,
html[lang="ar"] .theme-btn-with-bg,
html[lang="ar"] .theme-btn-2,
html[lang="ar"] .preloader-text {
  font-family: "Readex Pro", "IBM Plex Sans Arabic", sans-serif;
}

html[lang="ar"] h1,
html[lang="ar"] .section-title {
  line-height: 1.35;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  text-decoration: none;
}

.site-logo i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--theme);
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 20px;
  font-family: "Readex Pro", sans-serif;
}

.dark-bg .site-logo,
.footer-2 .site-logo {
  color: #fff;
}

html[dir="rtl"] .sub-title::after,
html[dir="rtl"] .sub-title-arrows::after {
  margin-left: 0;
  margin-right: 15px;
}

html[dir="rtl"] .sub-title-arrows::before {
  margin-right: 0;
  margin-left: 15px;
}

html[dir="rtl"] .project-item {
  border-left: 0;
  border-right: 1px solid var(--gray-2);
  margin-left: 0;
  margin-right: 30px;
  padding: 34px 30px 50px 0;
}

html[dir="rtl"] .project-item::before,
html[dir="rtl"] .project-item::after {
  left: auto;
  right: -3px;
}

html[dir="rtl"] .testimonial-item,
html[dir="rtl"] .testimonial-author-info {
  direction: rtl;
  text-align: right;
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.profile-fact {
  background: #fff;
  border-radius: 18px;
  padding: 22px 18px;
  text-align: center;
}

.profile-fact strong {
  display: block;
  font-size: 22px;
  margin-bottom: 6px;
  font-family: "Readex Pro", "IBM Plex Sans Arabic", sans-serif;
}

.profile-fact span {
  color: var(--text);
  font-size: 15px;
}

@media (max-width: 991px) {
  html[dir="rtl"] .project-item {
    margin-right: 0;
  }
}

@media (max-width: 767px) {
  .profile-facts {
    grid-template-columns: 1fr;
  }
}

.breadcrumbs {
  background-image: none;
  background-color: var(--dark, #161616);
  background-attachment: scroll;
  padding-top: 148px;
  padding-bottom: 52px;
}

.breadcrumbs h1,
.breadcrumbs .about-2-title {
  color: #fff;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.2;
}

.breadcrumbs .tf__breadcrumbs_text ul a {
  color: rgba(255, 255, 255, 0.72);
  text-transform: none;
}

.breadcrumbs .tf__breadcrumbs_text ul .color-theme-1,
.breadcrumbs .tf__breadcrumbs_text ul a:hover {
  color: var(--theme);
}

.work-list {
  padding: 72px 0 40px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 28px;
}

.work-card {
  min-width: 0;
}

.work-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: var(--card-radius, 28px);
  overflow: hidden;
  background: #eceee8;
  text-decoration: none;
}

.work-media img,
.work-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #161616;
  background:
    radial-gradient(circle at 20% 20%, rgba(205, 254, 125, 0.9), transparent 42%),
    linear-gradient(160deg, #f4f6f1, #d9ddd4);
  font-family: "Readex Pro", "IBM Plex Sans Arabic", sans-serif;
  font-size: 42px;
}

.work-play {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #cdfe7d;
  color: #161616;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.work-copy {
  padding: 22px 6px 0;
}

.work-meta {
  margin: 0 0 8px;
  color: #5e5f63;
  font-size: 15px;
}

.work-card h2 {
  margin: 0;
  font-size: clamp(26px, 2vw, 34px);
  line-height: 1.35;
}

.work-card h2 a {
  color: inherit;
  text-decoration: none;
}

.work-card h2 a:hover {
  color: #3d4a12;
}

.work-excerpt {
  margin: 12px 0 0;
  color: #3a3a3a;
}

.work-detail {
  padding: 64px 0 40px;
}

.work-stage {
  border-radius: var(--card-radius, 28px);
  overflow: hidden;
  background: #111;
  margin-bottom: 28px;
}

.work-stage img,
.work-stage video {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  display: block;
  background: #111;
}

.work-story {
  max-width: 760px;
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.work-gallery img,
.work-gallery video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--card-radius, 20px);
  background: #eceee8;
}

.service-item {
  border-radius: var(--card-radius, 30px);
}

@media (max-width: 1199px) {
  .banner .container .row > div:last-child {
    margin-top: 28px;
    text-align: center;
  }

  .banner .container .row > div:last-child img {
    width: auto;
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
    margin-inline: auto;
  }
}

@media (max-width: 991px) {
  .work-grid,
  .work-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .banner .container .row > div:last-child img {
    max-height: 340px;
  }

  .about-section .col-sm-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .about-section img.mt-63 {
    margin-top: 16px;
  }
}
