@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&family=Tajawal:wght@400;700&display=swap');

:root {
  --primaryColor: #0A6FAE;
  --middleColor: #393E46;
  --helperColor: #053758;
  --lightHelper: #58585A;
  --hrColor: #A9B5DF;
  --transparentColor: rgba(0, 0, 0, 0.699);
  --shadow: rgba(189, 188, 188, 0.514);
  /* --------------------------------- */
  --whatsappColor: #25D366;
  --white: #ffff;
  --blue: #1877F2;
  --green: #25D366;
  --gray: #f8f8f8;
  --container-width: 1340px;
  --header-height: 90px;
  /* 👈 غيّر الرقم حسب الارتفاع اللي تحبه */

}
body::-webkit-scrollbar {
    width: 8px
}

body::-webkit-scrollbar-track {
    background-color: transparent
}

body::-webkit-scrollbar-thumb {
    background-color: var(--lightHelper);
    background-image: linear-gradient(0deg, var(--lightHelper) 0%, var(--helperColor) 100%);
    border-radius: 5px
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', 'Tajawal', sans-serif;
}

a {
    text-decoration: none;
    transition: all 0.5s;

}

ul {
    list-style: none;
}
.services-title{
  text-align: center;
  margin-bottom: 60px;
}
.services-title h2,.services-title h1 {
  font-size: 40px;
  margin-bottom: 15px;
  display: inline-block;
  position: relative;
  padding-bottom: 8px;
}
.services-title h2::after,.services-title h1::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  border: var(--helperColor) ;
  height: 3px;
  background: var(--primaryColor);
  border-radius: 2px;
}
.services-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 3 كروت جنب بعض */
  gap: 30px;
  max-width: 90%;
  margin: 40px auto;
}

.services-col {
  display: contents; /* عشان نشيل فكرة الأعمدة ونخلي الكروت تتوزع في الشبكة */
}
  
  .service-card {
    background: #fff;
    justify-items: center;
    /* align-content: center; */
    text-align: center;
    border-radius:100px 0px 0px 0px;;
    /* padding: 30px; */
    box-shadow:  0 8px 20px rgba(0,0,0,0.08);
    flex: 1; /* يخلي الكروت كلها نفس الارتفاع */
  }

  .card-data{
    padding: 30px;
  }
  .last-serv{
    grid-template-columns: repeat(2, 1fr); /* 3 كروت جنب بعض */
    max-width: 50%;

  }
  .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(--primaryColor);
    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 0px 0px 0px;
    background: transparent;
  }
  .icon-box img {
    width:100%;
    object-fit: cover;
    height: 250px;
    border-radius:100px 0px 0px 0px;
    background: transparent;
  }
 .icon-box-2 {
    width:100%;
    height: 500px;
    border-radius:10px;
    background: transparent;
  }
.icon-box-2 img {
    width:100%;
    object-fit: cover;
    height: 100%;
    border-radius:10px;
    background: transparent;
  }
  /* -------- Responsive -------- */
@media (max-width: 992px) {
    
    .services-section {
      grid-template-columns: repeat(1, 1fr); /* صف فيه كرتين */

      }
      .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;
      }
      .last-serv{
        grid-template-columns: repeat(1, 1fr); /* 3 كروت جنب بعض */
        max-width: 100%;
    
      }
}
@media (max-width: 576px) {
    
    .service-card h3 {
        font-size: 22px;
        margin: 10px 0 ;
      }
      
      .service-card p {
        font-size: 16px;
      }
      .services-section {
        grid-template-columns: 1fr; /* كارت واحد تحت التاني */
      }
      .icon-box {
        height: 220px;
      }
      .icon-box img {
        height: 220px;
      }
    }