@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&family=Tajawal:wght@400;700&display=swap');

:root {
  --primaryColor: #212223;
  --middleColor: #F6672A;
  --helperColor: #223651;
  --lightHelper: #bbd9ff;
  --hrColor: rgb(222, 184, 135);
  --transparentColor: rgba(0, 0, 0, 0.699);
  --shadow: rgba(189, 188, 188, 0.514);
  /* --------------------------------- */
  --whatsappColor: #25D366;
  --white: #ffff;
  --blue: #1877F2;
  --green: #25D366;
  --gray: #f8f8f8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Cairo', 'Tajawal', sans-serif;
}

a {
  text-decoration: none;
}

.services-title {
  text-align: center;
  margin-bottom: 60px;
}

.services-title h2 {
  font-size: 40px;
  margin-bottom: 15px;
  display: inline-block;
  position: relative;
  padding-bottom: 8px;
}

.services-title h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  border: var(--helperColor);
  height: 3px;
  background: var(--middleColor);
  border-radius: 2px;
}

.services-section {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 80%;
  margin: 40px auto;
}

.services-col {
  display: flex;
  flex-direction: column;
  gap: 25px;
  flex: 1;
}

.service-card {
  background: #fff;
  justify-items: center;
  /* align-content: center; */
  text-align: center;
  border-radius: 100px 10px 100px 10px;
  ;
  /* padding: 30px; */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  flex: 1;
  /* يخلي الكروت كلها نفس الارتفاع */
}

.card-data {
  padding: 30px;
}

.service-card h3 {
  font-size: 29px;
  margin: 12px 0 10px;
  color: var(--helperColor);
}

.service-card p {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  margin: 0;
}

.featured-card {
  background: var(--lightHelper);
  color: #fff;
}

.featured-card p,
.featured-card h3 {
  color: #fff;
}

.featured-card .icon-box img {
  object-fit: contain;
}

.icon-box {
  width: 100%;
  height: 250px;
  border-radius: 100px 10px 10px 10px;
  background: transparent;
}

.icon-box img {
  width: 100%;
  object-fit: cover;
  height: 250px;
  border-radius: 100px 10px 10px 10px;
  background: transparent;
}

/* -------- Responsive -------- */
@media (max-width: 992px) {

  .services-section {
    flex-direction: column;
    width: 85%;
    margin: 0 auto;
  }

  .middle-col {
    margin-top: 0;
  }

  .featured-card {
    order: 0;
  }

  .service-card h3 {
    font-size: 47px;
    margin: 32px 0 30px;
  }

  .service-card p {
    font-size: 36px;
  }

  .icon-box {
    height: 420px;
  }

  .icon-box img {
    height: 420px;
  }
}

@media (max-width: 576px) {

  .service-card h3 {
    font-size: 27px;
    margin: 10px 0;
  }

  .service-card p {
    font-size: 22px;
  }

  .icon-box {
    height: 220px;
  }

  .icon-box img {
    height: 220px;
  }
}