/* #region HERO */
/* HERO SECTION */
.hero-section {
  position: relative;
  min-height: 92vh;
  margin-top: 8vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  direction: rtl;
  padding: 40px 60px;
  overflow: hidden;
}
.hero-section-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-section-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.57) 35%,
    rgba(0, 0, 0, 0.25) 100%
  );
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}
.hero-content {
  max-width: 650px;
  color: #ffffff;
}
.hero-text {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.4;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}
.hero-content p {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #f3eeee !important; /* أو #1a1a1a لقراءة مريحة وتباين ممتاز */
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.call-us-b {
  background-color: #41c665; /* لون الخلفية (يمكنك تغييره ليتناسب مع لون موقعك الأخضر أو الأزرق) */
  border: none;
  border-radius: 8px; /* حواف دائرية أنيقة */
  padding: 15px 30px;
  cursor: pointer;
  transition: all 0.3s ease; /* تأثير انسيابي عند المرور بالماوس */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.call-us-b a {
  /* color: #ffffff; لون النص أبيض */
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  /* display: block; */
  text-decoration: none;
  color: #f7f4f4;
}

/* تأثير عند الوقوف بالماوس على الزر */
.call-us-b:hover {
  background-color: #48cb81; /* لون أغمق عند التمرير */
  transform: translateY(-2px); /* ارتفاع بسيط للأعلى للتفاعل */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  color: #f9f9f9;
}
.btn-hero {
  background-color: #133874;
  color: #ffffff;
  padding: 10px 30px;
  border: none;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.btn-hero:hover {
  background-color: #126ca0;
}
@media (max-width: 768px) {
  .hero-section {
    justify-content: center;
    padding: 30px 20px;
  }
  .hero-content {
    text-align: center;
    .hero-overlay {
      background-color: rgba(0, 0, 0, 0.65);
    }
    .hero-text {
      font-size: 2.2rem;
    }
    .hero-content p {
      font-size: 1rem;
      line-height: 1.6;
    }
  }
}
/* #endregion */

/* #region MAIN */
.main-section {
  width: 100%;
  padding: 40px 0;
  background-color: #ffffff;
  direction: rtl;
}
.flex-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}
.main-card {
  background: linear-gradient(to bottom, #f1f3f9 55%, #1591d4 100%);
  border: 1px solid #0b4c66;
  border-radius: 24px;
  flex: 1;
  padding: 35px 15px 25px 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 3px 10px rgba(11, 76, 102, 0.02);
  box-sizing: border-box;
}
.card-icon-placeholder {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-icon-placeholder img,
.card-icon-placeholder i {
  width: 100%;
  height: 100%;
  font-size: 36px;
  color: #0a394c;
  object-fit: contain;
}
.main-card h2 {
  font-size: medium;
  color: #151414;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.9;
}
.main-card p {
  font-size: 14.5px;
  color: #222222 !important; /* أو #1a1a1a لقراءة مريحة وتباين ممتاز */
  line-height: 1.6;
  font-weight: bold;
  /* margin: 0; */
}
.main-card {
  transition: all 0.3s ease-in-out;
}
.main-card:hover {
  transform: translateY(-8px);
  border-color: #75c1de;
  box-shadow: 0 10px 20px rgba(18, 18, 18, 0.12);
  cursor: pointer;
}
.main-card:hover .card-icon-placeholder img,
.main-card:hover .card-icon-placeholder i {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}
@media (max-width: 992px) {
  .flex-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 95%;
  }
  .main-card {
    flex: unset;
    width: 45%;
  }
}
@media (max-width: 576px) {
  .main-card {
    width: 100%;
  }
}
h2 {
  display: flex;
  justify-content: center;
  text-align: center;
  color: #184c8f;
  font-weight: 600;
  font-size: 2.26rem;
}
/* #endregion */

/* #region SERVICES */
/* ==================== SERVICES SECTION STYLES ==================== */

.services-section {
  width: 100%;
  padding: 60px 20px;
  background: linear-gradient(to bottom, #f0f1f5 55%, #9eacb4 100%);
  direction: rtl;
}

.services-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.services-main-title {
  display: flex;
  justify-content: center;
  text-align: center;
  color: #184c8f;
  font-weight: 700;
  font-size: 2.26rem;
  margin-bottom: 45px;
}

/* التقسيم: 4 كروت في السطر على الشاشات الكبيرة */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* تصميم الكارد */
.service-card {
  background-color: #ffffff;
  border-radius: 20px;
  border: 1px solid #e1e8ed;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: #75c1de;
  box-shadow: 0 10px 22px rgba(11, 76, 102, 0.12);
}

/* حاوية صورة الكارد */
.service-img-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #f1f3f9;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.05);
}

/* محتوى الكارد النصي */
.service-content {
  padding: 20px 18px 25px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1;
}

.service-title {
  font-size: 1.15rem;
  color: #184c8f;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.9rem;
  color: #1f1e1e;
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* زر طلب الخدمة */
.service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #1b477a;
  color: #ffffff;
  padding: 9px 22px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.service-btn:hover {
  background-color: #126ca0;
  transform: scale(1.03);
}

/* صورة الأيقونة داخل الزرار */
.service-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
  color: white;
}

.service-btn:hover img {
  transform: translateX(-3px);
}

/* تجاوب الشاشات */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
.textservice {
  text-align: center;
  max-width: 800px;
  margin: 50px auto 20px auto;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.8;
  color: #091a21;
}
/* #endregion */

/* #region WHY CHOOSE US */
/* ========================================================= */
/* ==================== WHY CHOOSE US SECTION ==================== */
/* ========================================================= */

.why-us-section {
  width: 100%;
  padding: 50px 20px;
  background-color: #1c749d; /* خلفية بيضاء نقية */
}

.why-us-container {
  display: flex;
  gap: 40px;
  margin: 0 auto;
  align-items: stretch;
  max-width: 1500px;
}

/* القسم الأيمن (الكروت والنصوص) */
.why-us-content {
  flex: 1.4;
  display: flex;
  flex-direction: column;
}

.why-us-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 25px;
  /* font-size: xx-small; */
}

.why-us-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.why-us-badge img {
  width: 25px;
  height: 25px;
}

.why-us-title {
  color: #ffffff;
  font-size: 2.1rem;
  font-weight: 800;
  margin: 0;
}

/* شبكة الكروت بـ CSS Grid لتوزيع 6 أعمدة متساوية */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}
.why-card {
  background-color: #e1eff3; /* خلفية بيضاء نقية */
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  grid-column: span 2;
}
.why-card:hover {
  background-color: rgba(255, 255, 255, 0.14);
}
.why-card.why-card-bottom {
  grid-column: span 3;
}

.why-card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.why-card h3 {
  color: #0f172a !important; /* لون كحلي/أسود غامق */
  font-size: medium;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.7;
}

.why-card p {
  color: #222222 !important; /* أو #1a1a1a لقراءة مريحة وتباين ممتاز */
  font-size: large;
  line-height: 1.9;
}

.why-us-image-wrapper {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
}

.why-us-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1024px) {
  .why-us-container {
    flex-direction: column;
  }
  .why-us-image-wrapper {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .why-us-grid {
    grid-template-columns: 1fr;
  }
  .why-card,
  .why-card.why-card-bottom {
    grid-column: span 1;
  }
}
/* #endregion */

/* #region DISCLAIMER */
.disclaimer {
  text-align: center;
  background: linear-gradient(to bottom, #7297ac, #126ca0);
  /* border-radius: 20px; */
  padding: 3vh 0px;
  font-size: 20px;
  font-weight: 500;
  line-height: 2.9;
  color: #f9f2f2;
}
@media (max-width: 768px) {
  .disclaimer {
    font-size: 0.9rem;
  }
}

/* #endregion */
img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
