/* ==========================================================
   Alazzaz CPA - consolidated styles
   ========================================================== */

:root {
    --primary: #424e7b;
    --primary-dark: #2c3560;
    --primary-darker: #161c38;
    --cream: #fdf7db;
    --cream-soft: #fbf6e0;
    --text: #2b2b2b;
    --muted: #6c7280;
    --border: #e7e8ef;
    --white: #ffffff;
    --light-bg: #f6f5ec;
    --shadow-sm: 0 6px 18px rgba(44, 53, 96, 0.08);
    --shadow-md: 0 12px 30px rgba(44, 53, 96, 0.12);
    --radius: 14px;
    --main: var(--primary);
    --sec: var(--cream);
    --black: #111111;
    --gray: var(--muted);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Bahij Janna", "Segoe UI", Tahoma, Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.8;
    font-size: 15px;
    overflow-x: hidden;
    direction: rtl;
    text-align: right;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section-title {
    margin-bottom: 34px;
}

.section-title h2 {
    font-weight: 700;
    display: inline-block;
    color: #111;
    font-size: 48px;
    margin-bottom: 0;
}

.section-title .title-line {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 3px;
    display: none;
}

.btn-primary-custom {
    background: var(--primary-dark);
    color: var(--white) !important;
    border: 2px solid var(--primary);
    padding: 10px 34px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15.2px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary-custom:hover {
    background: var(--sec);
    border-color: var(--sec);
    color: var(--white) !important;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 9px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15.2px;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-sm-pill {
    padding: 8px 24px;
    font-size: 14.4px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: none;
}

.site-header .navbar {
    padding: 9px 0;
}

.navbar-brand {
    margin: 0;
    padding: 0;
}

.navbar-brand img {
    width: auto;
    height: 50px;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
    flex: 0 0 auto;
}

.header-actions .btn-icon {
    background: transparent;
    border: 1px solid transparent;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13.76px;
    transition: all 0.3s ease;
}

.header-actions .btn-icon:hover {
    transform: translateY(-2px);
}

.header-actions .lang-switch {
    background: transparent;
    border: 0;
    color: #111;
    font-weight: 700;
    font-size: 30px;
    border-radius: 999px;
    line-height: 0;
    transition: all 0.3s ease;
}

.header-actions .lang-switch:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.search-modal .modal-content {
    background: var(--white);
    border-radius: 20px;
    border: 0;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.search-modal .modal-body {
    padding: 50px 40px;
    text-align: center;
}

.search-modal .search-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 24px;
    font-size: 24px;
}

.search-modal .search-form {
    display: flex;
    align-items: center;
    background: var(--cream);
    border-radius: 50px;
    padding: 6px;
    border: 1.5px solid transparent;
    transition: border-color 0.3s ease;
}

.search-modal .search-form:focus-within {
    border-color: var(--primary);
}

.search-modal .search-form input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 12px 22px;
    font-size: 16px;
    color: var(--text);
    outline: none;
    font-family: inherit;
}

.search-modal .search-form button {
    background: var(--primary);
    color: var(--white);
    border: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.search-modal .search-form button:hover {
    background: var(--primary-dark);
}

.search-modal .search-close {
    position: absolute;
    top: 14px;
    left: 18px;
    background: var(--cream);
    color: var(--primary);
    border: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 17.6px;
    z-index: 5;
}

.search-modal .search-close:hover {
    background: var(--primary);
    color: var(--white);
}

.social-side {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1020;
    background: transparent;
    border-radius: 0 8px 8px 0;
    padding: 8px 12px;
}

.social-side li {
    margin: 6px 0;
}

.social-side a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: 707070;
    background: transparent;
    font-size: 28px;
    transition: all 0.3s ease;
}

.social-side a:hover {
    color: #2884CF;
    transform: scale(1.1);
}

.hero-section {
    padding: 12px 0 64px;
}

.hero-card {
    position: relative;
    overflow: hidden;
    display: flex;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 606px;
    border-radius: 20px;
    box-shadow: none;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(106deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.35) 9%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    width: 100%;
    text-align: right;
    padding: 58px 70px;
}

.hero-content h1 {
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    font-size: 60px;
    line-height: 1.65;
    max-width: 700px;
}

.about-section {
    position: relative;
    overflow: hidden;
    background: var(--white);
    padding: 64px 0 76px;
}

.about-bg {
    position: absolute;
    object-fit: contain;
    z-index: 0;
    pointer-events: none;
    height: 95%;
    opacity: 0.8;
}

.about-bg-right {
    top: 50%;
    transform: translateY(-50%);
    right: -40px;
    width: 50%;
}

.about-bg-left {
    left: -40px;
    width: 55%;
    bottom: 0;
    transform: translateY(30%);
}

.about-section .container {
    position: relative;
    z-index: 1;
}

.about-images {
    position: relative;
    width: min(100%, 520px);
    min-height: 490px;
    padding: 0;
}

.about-img-1 {
    position: absolute;
    width: 58%;
    right: 0;
    bottom: 0;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
    z-index: 2;
}

.about-img-2 {
    position: absolute;
    width: 56%;
    left: 0;
    top: 10%;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
    z-index: 1;
}

.about-content h3 {
    color: var(--primary);
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 8px;
}

.about-content .lead-text {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 14px;
    font-size: 28px;
    line-height: 1.9;
    max-width: 550px;
}

.about-content p {
    color: var(--muted);
    margin-bottom: 14px;
    font-size: 16px;
    line-height: 1.95;
    max-width: 550px;
}

.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 24px 0 28px;
}

.badge-card {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    color: var(--black);
    transition: all 0.3s ease;
    font-size: 30px;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
    gap: 9px;
}
html[dir="ltr"] .badge-card {
    font-size: 24px;
    gap: 5px;
}

.badge-card:hover {
    transform: translateY(-3px);
    box-shadow: none;
}

.badge-icon {
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
}

.badge-icon img {
    object-fit: contain;
}

.features-section {
    position: relative;
    background: var(--white);
    overflow: hidden;
    padding: 62px 0 78px;
}

.features-bg {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    z-index: 0;
    opacity:2;
    object-fit: contain;
    object-position: 12% 55%;
}

 

.features-image-main {
  position: relative;
  width: 100%;
  max-width: 780px;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
  isolation: isolate;
  margin-left: auto;
  margin-right: -145px;
}

/* الدايرة الخارجية / البوردر */
.features-image-main::before {
  content: "";
  position: absolute;
  top: 53%;
  right: -22px;
  width: 735px;
  height: 735px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(30, 45, 55, 0.08);
  z-index: 0;
  pointer-events: none;
}

/* الدايرة الداخلية الفاتحة */
.features-image-main::after {
  content: "";
  position: absolute;
  top: 53%;
  right: 48px;
  width: 610px;
  height: 610px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #f3f7fa;
  z-index: 1;
  pointer-events: none;
}

/* الصورة الأساسية القادمة من لوحة التحكم */
.features-image-main .featured-main,
.featured-main {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 550px !important;
  height: auto;
  display: block;
  object-fit: contain;
  transform: translateX(-12%) translateY(-35px);
}

/* English / LTR */
html[dir="ltr"] .features-image-main {
  justify-content: flex-start;
  margin-right: auto;
  margin-left: -145px;
}

html[dir="ltr"] .features-image-main::before {
  right: auto;
  left: -22px;
}

html[dir="ltr"] .features-image-main::after {
  right: auto;
  left: 48px;
}

html[dir="ltr"] .features-image-main .featured-main,
html[dir="ltr"] .featured-main {
  transform: translateX(24%) translateY(-35px) rotateY(180deg);
}

/* Tablet */
@media (max-width: 991px) {
  .features-image-main {
    max-width: 640px;
    min-height: 610px;
    margin: 0 auto;
    justify-content: center;
  }

  .features-image-main::before {
    top: 53%;
    right: 50%;
    width: 600px;
    height: 600px;
    transform: translate(50%, -50%);
  }

  .features-image-main::after {
    top: 53%;
    right: 50%;
    width: 510px;
    height: 510px;
    transform: translate(50%, -50%);
  }

  .features-image-main .featured-main,
  .featured-main {
    max-width: 525px !important;
    margin: 0 auto;
    transform: translateX(0) translateY(-28px);
  }

  html[dir="ltr"] .features-image-main {
    justify-content: center;
    margin: 0 auto;
  }

  html[dir="ltr"] .features-image-main::before {
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
  }

  html[dir="ltr"] .features-image-main::after {
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
  }

  html[dir="ltr"] .features-image-main .featured-main,
  html[dir="ltr"] .featured-main {
    margin: 0 auto;
    transform: translateX(0) translateY(-28px) rotateY(180deg);
  }
}

/* Mobile */
@media (max-width: 575px) {
  .features-image-main {
    max-width: 430px;
    min-height: 440px;
    margin: 0 auto;
  }

  .features-image-main::before {
    top: 53%;
    right: 50%;
    width: 420px;
    height: 420px;
    transform: translate(50%, -50%);
  }

  .features-image-main::after {
    top: 53%;
    right: 50%;
    width: 355px;
    height: 355px;
    transform: translate(50%, -50%);
  }

  .features-image-main .featured-main,
  .featured-main {
    max-width: 385px !important;
    transform: translateX(0) translateY(-18px);
  }

  html[dir="ltr"] .features-image-main::before {
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
  }

  html[dir="ltr"] .features-image-main::after {
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
  }

  html[dir="ltr"] .features-image-main .featured-main,
  html[dir="ltr"] .featured-main {
    transform: translateX(0) translateY(-18px) rotateY(180deg);
  }
}
.features-list .feature-item {
    transition: all 0.3s ease;
    gap: 16px;
    display: grid;
    grid-template-columns: 46px 1fr;
    align-items: start;
    column-gap: 14px;
    margin-bottom: 30px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
}

.features-list .feature-item:hover {
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: none;
}

.features-list .feature-text {
    flex: 1;
    grid-column: 2;
    grid-row: 1;
    text-align: right;
}

.feature-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 1;
    grid-row: 1;
    width: 42px;
    height: 42px;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    align-self: start;
}

.feature-icon img {
    object-fit: contain;
}

.feature-text h4 {
    font-weight: 700;
    margin-bottom: 7px;
    font-size: 22px;
    line-height: 1.4;
    color: var(--black);
    margin: 0 0 5px;
}

.feature-text p {
    color: #616161;
    font-size: 18px;
    line-height: 1.75;
    margin: 0;
}

.services-section {
    background: var(--white);
    padding: 66px 0 80px;
}

.service-card {
    transition: all 0.35s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 250px;
    height: 100%;
    padding: 82px 23px 24px;
    background: #fbfafb;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
    overflow: hidden;
    isolation: isolate;
}

.service-card .service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
    z-index: 1;
    margin: 0;
    margin-top: -60px;
    margin-bottom: 20px;
    width: 86px;
    height: 86px;
    border-radius: 3px;
    background: var(--primary);
}

.service-card:hover .service-icon {
    background: var(--cream);
}

.service-card .service-icon img {
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(90%) sepia(9%) saturate(756%) hue-rotate(337deg) brightness(110%)
        contrast(98%);
 }

.service-card:hover .service-icon img {
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(15%) sepia(47%) saturate(1218%) hue-rotate(199deg) brightness(94%)
        contrast(86%);
 }

.service-card h4 {
    font-weight: 700;
    transition: color 0.35s ease;
    color: #111;
    font-size: 24px;
    line-height: 1.55;
    margin: 0 0 10px;
}

.service-card p {
    transition: color 0.35s ease;
    flex: 1;
    min-height: 82px;
    color: #c4c0c0;
    font-size: 18px;
    line-height: 1.9;
    margin: 0 0 17px;
}

.service-link {
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    transition: color 0.35s ease;
    color: var(--primary);
    font-size: 18px;
    line-height: 1;
    gap: 7px;
}

.service-link i {
    transition: transform 0.3s ease;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 8.8px;
}

.service-link:hover i {
    transform: translateX(-4px);
}

.service-card:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

.service-card:hover h4,
.service-card:hover .service-link {
    color: var(--white);
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.85);
}

.service-card--dark {
    background: var(--primary);
    border-color: var(--primary);
}

.service-card--dark h4,
.service-card--dark .service-link {
    color: var(--white);
}

.service-card--dark p {
    color: rgba(255, 255, 255, 0.85);
}

.service-card--dark:hover {
    transform: translateY(-6px);
}

.counter-section {
    position: relative;
    overflow: hidden;
    padding: 75px 0;
    background: #eef3fb;
}

.counter-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.75;
}

.counter-section .container {
    position: relative;
    z-index: 1;
}

.counter-item {
    padding: 10px 6px;
}

.counter-item h3 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.1;
    font-size: 80px;
    color: var(--primary-dark);
}

.counter-item p {
    font-weight: 600;
    margin: 0;
    font-size: 24px;
    color: var(--black);
}

.blog-section {
    background: var(--white);
    padding: 72px 0 64px;
}

.blog-card {
    overflow: hidden;
    transition: all 0.3s ease;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: none;
}

.blog-thumb {
    display: block;
    overflow: hidden;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb img {
    transform: scale(1.06);
}

.blog-body {
    padding: 18px 20px;
}

.blog-date {
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 18px;
}

.blog-body h5 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.7;
    margin: 0;
}

.blog-body h5 a {
    color: var(--primary);
}

.blog-body h5 a:hover {
    color: var(--primary-dark);
}

.blog-small-stack {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 0;
}

.blog-card--small {
    display: flex;
    align-items: stretch;
    min-height: 104px;
    padding: 0 0 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e8e9ef;
    flex: 0 0 auto;
}

.blog-card--small .blog-thumb {
    flex: 0 0 170px;
    max-width: 170px;
    height: 96px;
    border-radius: 8px;
}

.blog-card--small .blog-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 16px 0 0;
}

.blog-card--small .blog-body h5 {
    font-size: 24px;
    width: 72%;
    line-height: 1.55;
}

.blog-card--feature {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card--feature .blog-thumb {
    flex-shrink: 0;
    height: 250px;
    border-radius: 8px;
}

.blog-card--feature .blog-body {
    flex: 1;
    padding: 18px 0 0;
}

.blog-card--feature h5 {
    margin-bottom: 5px;
    font-size: 24px;
    color: var(--black);
}

.blog-card--feature h5 a {
    color: var(--black);
}

.blog-card--feature p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 5px;
    font-size: 18px;
}

.blog-more {
    color: var(--primary);
    font-weight: 700;
    font-size: 14.4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-more i {
    transition: transform 0.3s ease;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 8.8px;
}

.blog-more:hover i {
    background: #f4f0cf;
    color: var(--primary);
}

.request-section {
    position: relative;
    overflow: hidden;
    padding: 72px 0 78px;
    background: #eef3fb;
}

.request-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.8;
}

.request-section .container {
    position: relative;
    z-index: 1;
}

.request-card {
    background: var(--white);
    margin: 0 auto;
    max-width: 860px;
    border-radius: 8px;
    padding: 28px 56px 34px;
    box-shadow: none;
}

.request-intro {
    text-align: start;
    line-height: 1.9;
    font-size: 16px;
    max-width: 480px;
    color: #333;
    margin-bottom: 18px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
    pointer-events: none;
    color: #111;
    font-size: 12.48px;
}

.request-form .form-control {
    border-radius: 50px;
    padding: 13px 50px 13px 20px;
    text-align: right;
    direction: rtl;
    color: var(--text);
    font-family: inherit;
    background: #f3f3f3;
    border: 0;
    min-height: 40px;
    padding-top: 9px;
    padding-bottom: 9px;
    font-size: 13.12px;
}

.request-form .form-control::placeholder {
    color: #9ca0b1;
}

.request-form .form-control:focus {
    box-shadow: 0 0 0 3px rgba(44, 53, 96, 0.08);
    border-color: var(--primary);
    background: var(--white);
}

.textarea-soft {
    border-radius: 18px !important;
    padding: 14px 20px !important;
    background: #f4f5fa;
    resize: vertical;
    min-height: 88px;
}

.textarea-with-icon {
    position: relative;
}

.textarea-with-icon i {
    position: absolute;
    top: 16px;
    right: 22px;
    z-index: 2;
    color: #111;
    font-size: 14px;
    pointer-events: none;
}

.textarea-with-icon .textarea-soft {
    padding-right: 52px !important;
}

.service-type-label {
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--black);
    font-size: 16px;
    margin-bottom: 8px;
}

.service-checks .check-pill {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--text);
    cursor: pointer;
    line-height: 1.55;
    font-size: 13px;
    padding: 2px 0;
}

.service-checks .check-pill input[type="checkbox"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    cursor: pointer;
}

.service-checks .check-pill span {
    flex: 1;
}

.btn-send {
    font-size: 16px;
    border-radius: 50px;
    min-width: 150px;
    padding: 9px 38px;
}

.site-footer {
    position: relative;
    background: #172C4E ;
    color: rgba(255, 255, 255, 0.86);
    padding: 58px 0 0;
}

.site-footer h5 {
    margin-bottom: 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 12px;
}

.footer-line {
    display: block;
    margin-bottom: 20px;
    width: 25px;
    height: 4px;
    background: #dce8ef;
    border-radius: 8px;
    margin: 0 0 30px;
}

.site-footer p {
    color: rgba(255, 255, 255, 1);
    font-size: 12px;
    line-height: 2.05;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
    font-size: 14.08px;
}

.footer-links a {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    color: rgba(255, 255, 255, 1);
    font-size: 14px;
    font-weight: 500;
}

.footer-links a i {
    color: #fff;
    font-size: 11px;
    transition: transform 0.25s ease;
}

.footer-links a:hover {
    color: var(--cream);
}

.footer-links a:hover i {
    transform: translateY(-2px);
}

.footer-contact li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin: 0 0 18px;
}

.footer-contact i {
    margin-top: 5px;
    flex-shrink: 0;
    color: #dce8ef;
    font-size: 14px;
    margin: 0;
    width: 17px;
    text-align: center;
}

.footer-contact a {
    color: inherit;
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--cream);
}

.footer-bottom {
    font-size: 13.6px;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 54px;
    padding: 17px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

.whatsapp-float {
    position: fixed;
    z-index: 1040;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    right: 24px;
    bottom: 10%;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 50px;
    height: 50px;
}

.about-row,
.features-section .row {
    --bs-gutter-x: 35.2px;
    --bs-gutter-y: 32px;
}

.btn-primary-custom,
.btn-outline-custom {
    border-radius: 999px;
    border-width: 0;
    background: var(--primary-dark);
    color: var(--white) !important;
    min-height: 50px;
    line-height: 50px;
    min-width: 180px;
    padding: 0px 28px;
    font-size: 18px;
    box-shadow: none;
}

.header-actions .btn-sm-pill {
    min-height: 50px;
    min-width: 150px;
    padding: 0px 24px;
    font-size: 18px;
    line-height: 1;
}

.btn-primary-custom:hover,
.btn-outline-custom:hover {
    background: var(--sec);
    color: var(--primary-dark) !important;
    transform: translateY(-3px);
}

.features-list {
    width: 100%;
    margin: 0 auto 0 6px;
    padding-top: 10px;
}

.features-list li:nth-of-type(1) {
    margin-inline-start: 0;
}

.features-list li:nth-of-type(2) {
    margin-inline-start: 10%;
}

.features-list li:nth-of-type(3) {
    margin-inline-start: 20%;
}

.features-list li:nth-of-type(4) {
    margin-inline-start: 30%;
}

.services-section .row {
    --bs-gutter-x: 21.6px;
    --bs-gutter-y: 21.6px;
}

.blog-section .row {
    --bs-gutter-x: 28px;
    --bs-gutter-y: 24px;
}

.request-form .row {
    --bs-gutter-x: 13.6px;
    --bs-gutter-y: 13.6px;
}

.service-card::before {
    content: "";
    position: absolute;
    transition: background 0.35s ease;
    top: 0;
    right: 0;
    width: 90px;
    height: 80px;
    background: #e9ebf1;
    border-radius: 0 0 7px 7px;
    z-index: 0;
}

.service-link:hover i,
.blog-more:hover i,
.footer-links a:hover i {
    transform: translateY(-2px);
}

.service-card:hover,
.service-card--dark,
.service-card--dark:hover {
    border-color: transparent;
    background: #18335b;
    transform: translateY(-6px);
    box-shadow: 0 12px 18px rgba(24, 51, 91, 0.18);
}

.service-card:hover::before,
.service-card--dark::before {
    background: rgba(255, 255, 255, 0.16);
}

.request-section .section-title h2 {
    font-size: 48px;
}

.footer-links li,
.footer-contact li {
    font-size: 14px;
}

.features-section .section-title {
    margin-bottom: 28px;
}

.features-layout {
    --bs-gutter-x: 19.2px;
    --bs-gutter-y: 28.8px;
}

.features-list .feature-item:last-child {
    margin-bottom: 0;
}

.services-section .section-title {
    margin-bottom: 30px;
}

.service-card h4,
.service-card p,
.service-card .service-link {
    position: relative;
    z-index: 1;
}

.service-card:hover h4,
.service-card--dark h4,
.service-card:hover .service-link,
.service-card--dark .service-link {
    color: #fff;
}

.service-card:hover p,
.service-card--dark p {
    color: rgba(255, 255, 255, 0.82);
}

.service-card:hover .service-link i,
.service-card--dark .service-link i {
    background: #f4f0cf;
    color: var(--primary);
}

.wrap {
    min-height: 100%;
}

.site-header.scrolled {
    box-shadow: 0 10px 24px rgba(44, 53, 96, 0.08);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.main-navbar {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 0;
}

.nav-list > .menu-item > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 7px 14px;
    color: #111;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    border-radius: 999px;
    position: relative;
}

.nav-list > .menu-item:hover > a,
.nav-list > .menu-item.active > a {
    color: var(--primary);
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex: 0 0 auto;
}

.nav-btn:hover {
    background: var(--primary-dark);
    color: #fff;
}

.main-btn {
    min-height: 38px;
    padding: 9px 24px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13.76px;
}

.main-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.mobile-nav-list {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 86vw);
    height: 100vh;
    padding: 26px 20px;
    background: #fff;
    box-shadow: -12px 0 34px rgba(22, 28, 56, 0.16);
    z-index: 1060;
    transform: translateX(105%);
    transition: transform 0.32s ease;
    overflow-y: auto;
}

.mobile-nav-list.trans-none {
    transform: translateX(0) !important;
}

.mobile-list {
    margin: 0;
}

.mobile-list .menu-item {
    border-bottom: 1px solid #eef0f6;
}

.mobile-list .menu-item > a {
    display: block;
    padding: 14px 2px;
    color: #111;
    font-size: 15.2px;
    font-weight: 700;
}

.mobile-list .menu-item.active > a,
.mobile-list .menu-item > a:hover {
    color: var(--primary);
}

.mobile-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    margin: 0 0 18px;
    background: #f6f7fb;
    border: 1px solid rgba(44, 53, 96, 0.1);
    border-radius: 999px;
}

.mobile-search-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    padding: 9px 12px;
}

.mobile-search-form button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.head-url-mob {
    padding-top: 18px;
}

.head-url-mob .main-btn {
    width: 100%;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(22, 28, 56, 0.42);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: none !important;
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.nav-overlay.trans-none {
    opacity: 1;
    visibility: visible;
}

body.menu-open {
    overflow: hidden;
}

.site-footer .row {
    --bs-gutter-x: 56px;
    --bs-gutter-y: 32px;
    align-items: flex-start;
}

.footer-links li {
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
}

.footer-links--grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
}

.footer-links--grid li {
    min-height: 42px;
}

.footer-grid > [class*="col-"] {
    min-width: 0;
}

.footer-grid .col-lg-4 {
    padding-left: 34px;
}

.footer-grid .col-lg-2 {
    padding-right: 10px;
}
@media (max-width: 1199.98px) {
    .hero-content h1 {
        font-size: 35.2px;
    }
}

@media (max-width: 991.98px) {
    .site-header .navbar {
        padding: 8px 0;
    }

    .navbar-brand img {
        height: 48px;
    }

    .hero-card {
        min-height: 360px;
    }

    .hero-content {
        padding: 40px 30px;
    }

    .hero-content h1 {
        font-size: 28.8px;
    }

    .about-images {
        width: min(100%, 440px);
        min-height: 330px;
    }

    .about-bg {
        display: none;
    }

    .features-list .feature-item {
        padding: 12px 16px 12px 20px;
    }


    .section-title h2 {
        font-size: 25.6px;
    }

    .counter-item h3 {
        font-size: 35.2px;
    }

    .blog-card--feature .blog-thumb {
        height: 220px;
    }

    .site-footer {
        padding-top: 44px;
    }

    .site-header .container {
        gap: 10px;
        min-height: 50px;
    }

    .main-navbar {
        display: none;
    }

    .site-header .header-actions {
        margin-inline-start: auto;
        gap: 9px;
        display: flex;
        flex-direction: row-reverse;
        align-items: center !important;
        justify-content: flex-start;
        width: auto;
        padding-top: 0;
    }

    .site-header .header-actions .btn-sm-pill {
        display: none;
    }

    .site-header .header-actions .search-btn {
        display: none;
    }

    .nav-btn {
        display: inline-flex;
        order: 3;
    }

    .site-header .header-actions .btn-icon {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: transparent;
    }

    .site-header .header-actions .lang-switch {
        width: auto;
        padding: 0 4px;
        font-size: 22px;
        line-height: 1;
    }

    .site-footer .row {
        --bs-gutter-x: 24px;
            --bs-gutter-y: 0;
    }

    .footer-grid .col-lg-4,
    .footer-grid .col-lg-2 {
        padding-right: calc(var(--bs-gutter-x) * 0.5);
        padding-left: calc(var(--bs-gutter-x) * 0.5);
    }

    .footer-bottom {
        margin-top: 34px;
    }
}

@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content {
        padding: 30px 24px;
    }

    .request-card {
        padding: 30px 22px;
    }

    .btn-send {
        padding: 5px 40px;
        min-width: 160px;
        min-height: 40px;
        line-height: 40px;
    }

    .blog-card--small {
        flex-direction: row-reverse;
    }

    .blog-card--small .blog-thumb {
        flex: 0 0 38%;
        max-width: 38%;
    }
}

@media (max-width: 575.98px) {
    .hero-card {
        min-height: 280px;
        border-radius: 14px;
    }

    .hero-content h1 {
        font-size: 19.2px;
        line-height: 1.6;
    }

    .navbar-brand img {
        height: 44px;
    }

    .counter-item h3 {
        font-size: 27.2px;
    }

    .counter-item p {
        font-size: 14.08px;
    }

    .feature-item {
        padding: 10px 14px !important;
    }

    .feature-icon {
        width: 46px;
        height: 46px;
    }

    .feature-icon img {
        width: 24px;
        height: 24px;
    }

    .section-title {
        margin-bottom: 26px;
    }

    .section-title h2 {
        font-size: 22.4px;
    }

    .blog-card--small {
        flex-direction: column;
    }

    .blog-card--small .blog-thumb {
        flex: 0 0 auto;
        max-width: 100%;
        height: 160px;
    }

    .search-modal .modal-body {
        padding: 40px 22px;
    }
}

@media (min-width: 992px) {
    .mobile-nav-list,
    .nav-overlay {
        display: none;
    }
}

/* ==========================================================
   Responsive refinements
   - Added as safe overrides.
   - Core colors, typography scale, and main design values are preserved.
   ========================================================== */

@media (max-width: 991.98px) {
    .features-section .row {
        flex-direction: column-reverse;
    }
    .featured-main {
        transform: none;
    }

    .features-list {
        margin: 0;
    }

    .features-list li:nth-of-type(1),
    .features-list li:nth-of-type(2),
    .features-list li:nth-of-type(3),
    .features-list li:nth-of-type(4) {
        margin-inline-start: 0;
    }

    .request-section .section-title h2 {
        font-size: 25.6px;
    }

    .request-card {
        max-width: 100%;
    }

    .blog-card--small .blog-body h5 {
        width: 100%;
    }

    .footer-links--grid {
        column-gap: 18px;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 14px;
    }

    .about-section,
    .features-section,
    .services-section,
    .blog-section,
    .request-section {
        padding: 30px 0;
        padding-right: 0;
        padding-left: 0;
    }

    .about-images {
        display: block;
        width: min(100%, 390px);
        min-height: 300px;
        padding: 0;
        margin: 0 auto 0;
    }

    .badge-icon img{
        max-width: 30px;
    }
    .about-img-1 {
        position: absolute;
        width: 58%;
        right: 0;
        bottom: 0;
        left: auto;
        top: auto;
    }

    .about-img-2 {
        position: absolute;
        width: 56%;
        left: 0;
        top: 10%;
        right: auto;
        bottom: auto;
    }
    html[dir="ltr"] .badge-card {
        font-size: 18px;
        gap: 5px;
    }
    .about-content .lead-text,
    .about-content p {
        max-width: 100%;
    }

    .about-content {
        text-align: center;
    }

    .about-content h3 {
        font-size: 21px;
    }

    .about-badges {
        justify-content: center;
    }

    .featured-main {
        max-width: 100%;
    }

    .features-list {
        padding-top: 0;
    }

    .features-list .feature-item {
        grid-template-columns: 42px 1fr;
        margin-bottom: 18px;
    }

    .blog-card--small .blog-body {
        padding: 0 12px 0 0;
    }

    .blog-card--small .blog-body h5 {
        width: 100%;
    }

    .footer-links--grid {
        grid-template-columns: 1fr;
        column-gap: 0;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding-top: 8px;
        padding-bottom: 30px;
    }

    .hero-content {
        padding-right: 18px;
        padding-left: 18px;
    }

    .about-images {
        width: min(100%, 320px);
        min-height: 250px;
        margin-bottom: 16px;
    }

    .about-img-1 {
        width: 58%;
        right: 0;
        bottom: 0;
        left: auto;
        top: auto;
    }

    .about-img-2 {
        width: 56%;
        left: 0;
        top: 0%;
        right: auto;
        bottom: auto;
    }

    .about-badges {
        gap: 14px;
    }

    .badge-card {
        font-size: 22px;
    }

    .service-card {
        min-height: auto;
    }

    .blog-body {
        padding-right: 0;
        padding-left: 0;
    }

    .request-intro {
        max-width: 100%;
    }

    .request-form .form-control {
        width: 100%;
    }

    .whatsapp-float {
        right: 16px;
    }

    .whatsapp-float img {
        width: 46px;
        height: 46px;
    }
}

/* ==========================================================
   LTR Direction Fixes
   - Arabic/RTL base styles are preserved.
   - These overrides only apply when html has dir="ltr".
   ========================================================== */

html[dir="ltr"] body {
    direction: ltr !important;
    text-align: left !important;
    font-size: 14px;
    line-height: 1.7;
}

html[dir="rtl"] body {
    direction: rtl !important;
    text-align: right !important;
}

html[dir="ltr"] .section-title h2 {
    font-size: 43px;
}

html[dir="ltr"] .nav-list > .menu-item > a {
    font-size: 15px;
    padding-inline: 11px;
}

html[dir="ltr"] .btn-primary-custom,
html[dir="ltr"] .btn-outline-custom {
    font-size: 14px;
}

html[dir="ltr"] .hero-content h1 {
    font-size: 44px;
    line-height: 1.35;
}

html[dir="ltr"] .about-content h3 {
    font-size: 22px;
}

html[dir="ltr"] .about-content .lead-text,
html[dir="ltr"] .about-content p,
html[dir="ltr"] .service-card p,
html[dir="ltr"] .blog-body p {
    font-size: 14px;
    line-height: 1.75;
}

html[dir="ltr"] .service-card h4,
html[dir="ltr"] .blog-body h5 {
    font-size: 18px;
    line-height: 1.35;
}

/* Search Modal */
html[dir="ltr"] .search-modal .search-close {
    right: 18px;
    left: auto;
}

/* Social Side */
html[dir="ltr"] .social-side {
    right: 0;
    left: auto;
    border-radius: 8px 0 0 12px;
}

/* Hero */
html[dir="ltr"] .hero-overlay {
    background: linear-gradient(254deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.35) 9%);
}

html[dir="ltr"] .hero-content {
    text-align: left;
}

/* About Section */
html[dir="ltr"] .about-bg-right {
    left: -40px;
    right: auto;
}

html[dir="ltr"] .about-bg-left {
    right: -40px;
    left: auto;
}

html[dir="ltr"] .about-img-1 {
    left: 0;
    right: auto;
}

html[dir="ltr"] .about-img-2 {
    right: 12px;
    left: auto;
}

/* Features */
html[dir="ltr"] .features-bg {
    right: 0;
    left: auto;
    object-position: 88% 55%;
}
 
 
 
/* تابلت */
 
html[dir="ltr"] .fa-arrow-left:before{
    content: "\f061";
}
html[dir="ltr"] .features-list {
    margin: 0 6px 0 auto;
}

html[dir="ltr"] .features-list .feature-text {
    text-align: left;
}

html[dir="ltr"] .features-list li:nth-of-type(1) {
    margin-inline-start: 0;
}

html[dir="ltr"] .features-list li:nth-of-type(2) {
    margin-inline-start: 10%;
}

html[dir="ltr"] .features-list li:nth-of-type(3) {
    margin-inline-start: 20%;
}

html[dir="ltr"] .features-list li:nth-of-type(4) {
    margin-inline-start: 30%;
}

/* Services & Blog Links */
html[dir="ltr"] .service-link:hover i {
    transform: translateX(4px);
}

html[dir="ltr"] .blog-more:hover i {
    transform: translateX(4px);
}

/* Request Form */
html[dir="ltr"] .request-intro {
    text-align: left;
}

html[dir="ltr"] .input-with-icon i {
    left: 22px;
    right: auto;
}

html[dir="ltr"] .request-form .form-control {
    direction: ltr;
    text-align: left;
    padding: 13px 20px 13px 50px;
    padding-top: 9px;
    padding-bottom: 9px;
}

html[dir="ltr"] .textarea-with-icon i {
    left: 22px;
    right: auto;
}

html[dir="ltr"] .textarea-with-icon .textarea-soft {
    padding-left: 52px !important;
    padding-right: 20px !important;
}

html[dir="ltr"] .service-checks .check-pill {
    text-align: left;
}

/* Footer */
html[dir="ltr"] .footer-links a {
    flex-direction: row;
    justify-content: flex-start;
}

html[dir="ltr"] .footer-contact li {
    justify-content: flex-start;
}

html[dir="ltr"] .footer-grid .col-lg-4 {
    padding-right: 34px;
    padding-left: calc(var(--bs-gutter-x) * 0.5);
}

html[dir="ltr"] .footer-grid .col-lg-2 {
    padding-left: 10px;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
}

/* Floating WhatsApp */
html[dir="ltr"] .whatsapp-float {
    left: 24px;
    right: auto;
}

/* Service Card Shape */
html[dir="ltr"] .service-card::before {
    left: 0;
    right: auto;
}

/* Mobile Navigation */
html[dir="ltr"] .mobile-nav-list {
    left: 0;
    right: auto;
    transform: translateX(-105%);
    box-shadow: 12px 0 34px rgba(22, 28, 56, 0.16);
}

html[dir="ltr"] .mobile-nav-list.trans-none {
    transform: translateX(0) !important;
}

/* Blog Small Cards */
html[dir="ltr"] .blog-card--small {
    flex-direction: row;
}

html[dir="ltr"] .blog-card--small .blog-body {
    padding: 0 0 0 16px;
}

/* Responsive LTR Fixes */
@media (max-width: 991.98px) {
    html[dir="ltr"] .featured-main {
        transform: none;
    }

    html[dir="ltr"] body {
        font-size: 13.5px;
    }

    html[dir="ltr"] .hero-content h1 {
        font-size: 26px;
        line-height: 1.42;
    }

    html[dir="ltr"] .section-title h2 {
        font-size: 24px;
    }

    html[dir="ltr"] .mobile-list .menu-item > a {
        font-size: 14px;
    }

    html[dir="ltr"] .features-list {
        margin: 0;
    }

    html[dir="ltr"] .features-list li:nth-of-type(1),
    html[dir="ltr"] .features-list li:nth-of-type(2),
    html[dir="ltr"] .features-list li:nth-of-type(3),
    html[dir="ltr"] .features-list li:nth-of-type(4) {
        margin-inline-start: 0;
    }

    html[dir="ltr"] .site-header .header-actions {
 
        flex-direction: row;
        justify-content: flex-end;
    }

    html[dir="ltr"] .mobile-search-form input {
        text-align: left;
    }

    html[dir="ltr"] .footer-grid .col-lg-4,
    html[dir="ltr"] .footer-grid .col-lg-2 {
        padding-right: calc(var(--bs-gutter-x) * 0.5);
        padding-left: calc(var(--bs-gutter-x) * 0.5);
    }
}

@media (max-width: 767.98px) {
    html[dir="ltr"] body {
        font-size: 13px;
    }

    html[dir="ltr"] .about-content {
        text-align: center !important;
    }

    html[dir="ltr"] .about-content h3 {
        font-size: 20px;
    }

    html[dir="ltr"] .about-content .lead-text,
    html[dir="ltr"] .about-content p {
        font-size: 13.2px;
    }

    html[dir="ltr"] .about-img-1 {
        left: 0;
        right: auto;
        bottom: 0;
        top: auto;
    }

    html[dir="ltr"] .about-img-2 {
        right: 12px;
        left: auto;
        top: 0;
        bottom: auto;
    }

    html[dir="ltr"] .blog-card--small {
        flex-direction: row;
    }

    html[dir="ltr"] .blog-card--small .blog-body {
        padding: 0 0 0 12px;
    }
}

@media (max-width: 575.98px) {
    html[dir="ltr"] .hero-content h1 {
        font-size: 18px;
    }

    html[dir="ltr"] .section-title h2 {
        font-size: 21px;
    }

    html[dir="ltr"] .blog-card--small {
        flex-direction: column;
    }

    html[dir="ltr"] .blog-body {
        padding-right: 0;
        padding-left: 0;
    }

    html[dir="ltr"] .hero-content {
        padding-right: 18px;
        padding-left: 18px;
    }

    html[dir="ltr"] .whatsapp-float {
        left: 16px;
        right: auto;
    }
}
.page-template-page-about .about-section .btn-primary-custom{
    display: none;
}