@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&family=Tajawal:wght@400;700&display=swap');


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;
}
.serve-all{
    background:#F3F4F6;
      color: #000000 !important;
}
.serve-all h3{
      color: #000000 !important;
}

.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: flex;
  flex-direction: row;
  gap: 30px;
  max-width: 90%;
  margin: 40px auto;
  background:#F3F4F6;
  color: #000000;
  align-items: stretch;
}

.services-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}
  
  .service-card {
    background: #fff;
    justify-items: center;
    text-align: center;
    border-radius:10px;
    box-shadow:  0 8px 20px rgba(0,0,0,0.08);
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .card-data{
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .card-btn-wrap {
    margin-top: auto;
    padding-top: 16px;
    text-align: left;
  }

  .service-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 22px;
    background: var(--primaryColor);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border-radius: 20px;
    border: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .service-card-btn:hover {
    opacity: 0.85;
    transform: scale(1.04);
    color: #fff;
  }
  .last-serv{
    grid-template-columns: repeat(2, 1fr); /* 3 كروت جنب بعض */
    max-width: 50%;

  }
  .service-card h3 {
    font-size: 29px;
    margin: 12px 0 10px;
    text-align: right;
  color: #000000 !important;
  }
  
 .service-card p {
    font-size: 18px;
    font-weight: 500;
    color: #000000 ;
    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:10px;
    background: transparent;
  }
  .icon-box img {
    width:100%;
    object-fit: cover;
    height: 250px;
    border-radius:10px;
    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 {
      flex-direction: column;
      max-width: 95%;
      }
      .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);
        max-width: 100%;
    
      }
}
@media (max-width: 576px) {
    
    .service-card {
        
        margin: 10px  ;
        
      }
    
    .service-card h3 {
        font-size: 22px;
        margin: 10px 0;
        color: #000000;
      }
      
      .service-card p {
        font-size: 16px;
      }
      .services-section {
        flex-direction: column;
        max-width: 95%;
      }
      .icon-box {
        height: 220px;
      }
      .icon-box img {
        height: 220px;
      }
    }