/* ==========================================
   قسم عن الشركة - About Section
   ========================================== */
.about-section {
  padding: 40px 20px;
  margin-top: 10vh;
  background-color: #7daedc;
  direction: rtl;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #e5e9f0;
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* عمود المحتوى */
.about-content {
  flex: 1;
  text-align: right;
}

/* الشارة الصغيرة العلوية */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0b4553;
  font-size: 0.95rem;
  font-weight: bold;
  margin-bottom: 20px;
}

/* العنوان الرئيسي */
.about-content h2 {
  color: #103943;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 20px;
}

/* النص الوصفي */
.about-content p {
  color: #090909;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* عمود الصورة */
.about-image {
  flex: 1.1;
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  display: block;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  object-fit: cover;
}

/* ==========================================
   التجاوب مع الشاشات الصغيرة والموبايل (Responsive)
   ========================================== */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column-reverse; /* الصورة أولاً أو النص أولاً */
    text-align: center;
    gap: 30px;
  }

  .about-content h2 {
    font-size: 1.6rem;
  }

  .section-tag {
    justify-content: center;
  }

  .about-content p {
    font-size: 0.95rem;
  }
}
.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 h3 {
  font-size: 16.5px;
  color: #151414;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.9;
}
.main-card p {
  font-size: 14.5px;
  color: #151414;
  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;
}
.why-us-section {
  width: 100%;
  padding: 50px 20px;
  background-color: #0d5c75;
}

.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: rgba(255, 255, 255, 0.08);
  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: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.why-card p {
  color: #8fc8e7;
  font-size: 0.82rem;
  line-height: 1.5;
}

.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;
  }
}
.disclaimer {
  text-align: center;
  background-color: #2a5360;
  /* border-radius: 20px; */
  padding: 3vh 0px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.8;
  color: #fbf7f7;
}
@media (max-width: 768px) {
  .disclaimer {
    font-size: 0.7rem;
  }
}
img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
