/* Import Arabic Fonts */
@import url("https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Cairo:wght@300;400;600;700&display=swap");

@font-face {
  font-family: "HelveticaArabi";
  src: url("fonts/alfont_com_هلفيتيكا-عربي-.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Palestine";
  src: url("fonts/alfont_com_Palestine-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Elgharib-Lifta-Black-Line";
  src: url("fonts/alfont_com_Elgharib-Lifta-Black-Line.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

    /* إعدادات عامة */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'HelveticaArabi', sans-serif;
      direction: rtl;
      background-color: #ffffff;
    }

@media (max-width: 767px) {
  .main-content .row {
    flex-direction: column;
    align-items: center;
  }

  .consultation-card,
  .consultation-form {
    width: 100%;
    margin-bottom: 30px;
  }
}
/* جعل الكرت والفورم بنفس الطول داخل الصف */
.consultation-card,
.consultation-form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* التحكم في تموضع العمود داخل الصف */
.main-content .row > div {
  display: flex;
  flex-direction: column;
}

    /* Main Content */
    .main-content {
      min-height: 80vh;
      padding: 60px 0;
    }

    .page-title {
      text-align: center;
      margin-bottom: 50px;
      color: #1a1a2e;
      font-weight: 700;
      font-size: 2.5rem;
      position: relative;
    }

    .page-title::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 100px;
      height: 4px;
      background: #0A2C38;
      border-radius: 2px;
    }

    /* Consultation Cards */
    .consultation-card {
      background: white;
      border-radius: 20px;
      padding: 40px 30px;
      text-align: center;
      box-shadow: 0 10px 30px rgba(0,0,0,0.1);
      transition: all 0.3s ease;
      height: 800px !important;
        margin-top: 60px; /* عدّل الرقم حسب الحاجة */

      border: 2px solid transparent;
    }
.section-title {
  font-size: 2rem;
  font-weight: 700;
        font-family: 'HelveticaArabi', sans-serif;

  position: relative;
  color: #1a1a2e;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 4px;
  background: #0A2C38;
  border-radius: 2px;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  position: relative;
  color: #1a1a2e;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 4px;
  background: #0A2C38;
  border-radius: 2px;
}
/* تحكم في خلفية السكشن */
.related-consultations {
  padding: 60px 0;
  background-color: #ffffff; /* ← يمكنك تغييره لأي لون آخر */
}
.related-consultations .card-title {
  font-family: 'Palestine', sans-serif; /* ← غيّر الخط حسب رغبتك */
  font-weight: 700;
  font-size: 1.1rem;
}

.related-consultations .card-text {
  font-family: 'HelveticaArabi', serif; /* ← يمكنك تغييره */
  font-size: 0.95rem;
  color: #666;
}

/* حركة عند المرور على البطاقة */
.related-consultations .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-consultations .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

    .consultation-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 40px rgba(0,0,0,0.15);
      border-color: #0A2C38;
    }

    .consultation-icon {
      font-size: 4rem;
      margin-bottom: 20px;
      background:#0A2C38;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .business-card .consultation-icon {
      color: #0A2C38;
    }

    .legal-card .consultation-icon {
      color: #0A2C38;
    }

    .health-card .consultation-icon {
      color: #0A2C38;
    }

    .consultation-title {
      font-size: 1.8rem;
      font-weight: 700;
      margin-bottom: 15px;
      color: #1a1a2e;
    }

    .consultation-description {
      color: #666;
      line-height: 1.8;
      margin-bottom: 25px;
      font-size: 1.1rem;
    }

    .consultation-features {
      list-style: none;
      padding: 0;
      margin-bottom: 30px;
    }

    .consultation-features li {
      padding: 8px 0;
      color: #555;
      position: relative;
      padding-right: 25px;
    }

    .consultation-features li::before {
      content: '✓';
      position: absolute;
      right: 0;
      color: #28a745;
      font-weight: bold;
    }

    .btn-consultation {
      background: #0A2C38;
      border: none;
      color: white;
      padding: 12px 30px;
      border-radius: 25px;
      font-weight: 600;
      transition: all 0.3s ease;
      text-decoration: none;
      display: inline-block;
    }

    .btn-consultation:hover {
      transform: scale(1.05);
      box-shadow:#8a9498;
      color: white;
    }

    /* Consultation Form */
 .consultation-form {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-top: 60px;

  height: 800px !important; /* أو قيمة محددة مثل */
}
.consultation-form:hover {
  border: 2px solid #0A2C38;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

    .form-title {
      text-align: center;
      color: #1a1a2e;
      font-weight: 700;
      font-size: 2rem;
      margin-bottom: 30px;
    }

    .form-group {
      margin-bottom: 25px;
    }

    .form-label {
      font-weight: 600;
      color: #333;
      margin-bottom: 8px;
      display: block;
    }

    .form-control {
      border: 2px solid #e9ecef;
      border-radius: 10px;
      padding: 12px 15px;
      font-size: 1rem;
      transition: all 0.3s ease;
    }

    .form-control:focus {
      border-color: #0A2C38;
    }

    .form-select {
      border: 2px solid #e9ecef;
      border-radius: 10px;
      padding: 12px 15px;
      font-size: 1rem;
      transition: all 0.3s ease;
    }

    .form-select:focus {
      border-color: #0A2C38;
    }

    .btn-submit {
      background: linear-gradient(135deg, #1a1a2e, #16213e);
      border: none;
      color: white;
      padding: 15px 40px;
      border-radius: 25px;
      font-weight: 600;
      font-size: 1.1rem;
      transition: all 0.3s ease;
      width: 100%;
    }

    .btn-submit:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 20px rgba(26, 26, 46, 0.3);
    }
