/* =========================
   SERVICES SECTION 2.0
========================= */
*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.services {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background-color: #f8f9fa;
           
    }


    .cards-container {
      display: flex;
      flex-direction: row;        /* left to right (this is the default, but explicit is clearer) */
      justify-content: center;
      padding: 30px 0px 20px 30px;
      gap: 30px;
      flex-wrap: wrap;
      flex:auto;
      margin: 0 auto;
    }
    .service-card {
  background: white;
  border-radius: 15px;
  
  position: relative;
  width: 100%;
  max-width: 320px;
  height: auto;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.service-card:hover {
      transform: translateY(-10px);
    }


.card-header {
  background-color: #1b5640;
  color: white;
  padding: 15px;
  align-items: center;
  font-size: 1.1rem;
        /* don't let flex children push wider than card */
}

.card-header h1 {
   min-width: 0;
  flex: 1;
  width: 100%;
  font-size: 1.1rem;     /* h1 defaults to a large size — likely a big culprit */
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.card-body {
  padding: 18px;
  color: #333;
  line-height: 1.7;
  font-size: 1.00rem;
  position: relative;
  border-bottom: 3px solid #1e7e34;
  width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;   /* explicitly override any inherited nowrap */
}
/*
  .service-card {
      background: white;
      border-radius: 15px;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
      position: relative;
      width: 100%;      
      max-width: 320px;
        
      height: auto;
      overflow:hidden;
      justify-content: left;
      transition: transform 0.3s ease;
      direction: initial;
  }

    .service-card:hover {
      transform: translateY(-10px);
    }

     .card-header {
    background: #070217;
      background-color: #1b5640;
      color: white;
      padding: 15px;
      display: flex;
      align-items: center;
      font-size: 1.1rem;
      font-weight: 600;
    }
    .card-header h1{
        text-align: center;
    }
  
    .card-body {
      padding: 18px;
      color: #333;
      line-height: 1.7;
      font-size: 1.00rem;
      position: relative;
      border-bottom: 3px solid #1e7e34;
    }
*/
/* Responsive */

@media(max-width:1480px){
  

}

@media(max-width:1024px){

}
@media(max-width:920px){

}
@media(max-width:768px){

}

@media(max-width:420px){
  .cards-container {
      padding: 30px 0px 20px 0px;

    }
}
@media(max-width:370px){
  .cards-container {
      padding: 10px 0px 10px 0px;

    }
    

}