*{
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;

  
}
html {
scroll-behavior: smooth;
}
body {

  font-size: 24px;
  background-color: #f4f4f492;
}

a
{
text-decoration: none;

}

 

.servicesheader{


background-image: linear-gradient(rgba(118, 118, 118, 0.5), rgba(0, 0, 0, 0.5)),url(../images/serviceshero.jpg);
object-fit: cover;
object-position: center;
margin-top: 127px;
background-size: cover;


height: 30vmax;

position: relative;


}



.servicesheader .content{
 
 
text-align: center;

color: #fff;
}
.servicesheader .content h2{
padding-top: 10%;
margin-bottom: 60px;
}
.services{
  width: 100%;
  padding: 70px 0;
  height: 100%;
  
  background-color: #e0e0e052;
}

.service-box{

  width:100%;
  display: flex;
flex-wrap: wrap ;
justify-content: space-around;

margin: auto;

}

.service-box a{
  color: #fff;
}
.single-service{
  flex-basis:32%;
  text-align: center;
  margin-bottom: 20px;
  color: #fff;
 position: relative;
 text-decoration: none;

}
.single-service img{
width: 70%;
  border-radius: 3px;
 
}
.overlay{
  width: 70%;
  height: 98.5%;
  position: absolute;
  top: 0;
  left: 15%;
 
  border-radius: 3px;
  cursor:pointer;
  background:linear-gradient(to bottom, rgba(72, 76, 97, 0) 0%, rgba(72, 76, 97, 0.8) 75%); 
  opacity: 0;
  transition: 1s;
  overflow: hidden;
}

.single-service:hover .overlay{
opacity: 1;
}

.service-description{
  width: 70%;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
opacity: 0;
transition: 1s;
}



.single-service:hover .service-description{
bottom: 10%;
opacity: 1;

}

.serviceHeader{



  margin-top: 127px;

  
  height: 30vmax;
  
  position: relative;
  
  
  
  }
  
  .serviceHeader img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the entire section */
    z-index: 1; /* Places the image behind the content */
}
  
  .serviceHeader .content{
   
    position: relative; /* Allows z-index to take effect */
    z-index: 2; /* Places the content above the image */
    color: white; /* Change text color for contrast */
    text-align: center; /* Center the text */
    padding: 20px;
  }
  .serviceHeader .content h2{
  padding-top: 10%;
  
  }
  .serviceHeader .content p{
  ali
    width:30%;
    margin-left: 20%;
    margin-right: 20%;
    }
    .serviceContent{
      width: 100%;
      padding: 70px 0;
      height: 100%;
      
      background-color: #e0e0e052;
    }
    
    .serviceContent h1{
    text-align: center;
    margin-bottom: 50px;
    }
    .serviceContent h5{
      margin-left: 19%;
      margin-bottom: 50px;
      }
    .serviceContent h3{
      text-align: left;
      margin-left: 150px;
      margin-right: 50px;
      margin-bottom: 50px;
      }
    .serviceContent ul{
      margin-left: 20%;
      
      }
      .serviceContent li{
        margin-bottom: 5px;
        
        }
  
        .services-read-more {
          width: 100%;
          padding: 70px 0;
          height: 100%;
          
          background-color: #e0e0e052;
        }
        .services-read-more h1{
          text-align: center;
        margin-bottom: 50px;
        }
        .services-read-more p{
          margin-left: 20%;
          margin-right: 15%;
        }
  @media (max-width: 1050px) {
    body {
      
      font-size: 24px;
      background-color: #f4f4f492;
    }
    .serviceHeader{
  
  
      background-image: linear-gradient(rgba(118, 118, 118, 0.5), rgba(0, 0, 0, 0.5));
      
      background-size: cover;
      background-position: center;
      height: 40vh;
      align-self: center;
      margin-top: -60px;
      position: relative;
      
      
      }
      
      .serviceContent h5{
        margin: 20px;
    
        }
        .serviceContent h3{
          margin: 20px;
      
          }
        .serviceContent ul{
        margin: 40px;
          
          }
      
      .serviceHeader .content{
       
        font-size: 1rem;
      text-align: center;
      
      color: #fff;
      }
      .serviceHeader .content p{
        ali
          width:30%;
          margin-top: 15px;
          margin-left: 5%;
          margin-right: 5%;
          }
      .serviceHeader .content h2{
      padding-top: 10vh;
      }
      nav .fa-solid {
        display: flex;
        justify-content: right;
        color: #2D292A;
        margin: 10px;
        font-size: 30px;
        cursor: pointer;
    }
    
  }

@media (max-width: 1050px) {
  body {
    
    font-size: 24px;
    background-color: #f4f4f492;
  }
  .servicesheader{


    background-image: linear-gradient(rgba(118, 118, 118, 0.5), rgba(0, 0, 0, 0.5)),url(../images/serviceshero.jpg);
    
    background-size: cover;
    background-position: right;
    height: 40vh;
    align-self: right;
    margin-top: -10px;
    position: relative;
    
    
    }
    
    
    
    .servicesheader .content{
     
      font-size: 1rem;
    text-align: center;
    
    color: #fff;
    }
    .servicesheader .content h2{
    padding-top: 10vh;
    }
    nav .fa-solid {
      display: flex;
      justify-content: right;
      color: #2D292A;
      margin: 10px;
      font-size: 30px;
      cursor: pointer;
  }

  .single-service{
flex-basis: 100%;
margin-bottom: 30px;
margin-left: 0.3rem;
margin-right: 0.3rem;
position: relative;
  }
  .single-service img{
    width: 90%;
      border-radius: 3px;
     
    }

.overlay{
  width: 100%;
  height: 99%;
  position: absolute;
  top: 0;
 left:0;
  border-radius: 3px;
  cursor:pointer;
  background:linear-gradient(to bottom, rgba(72, 76, 97, 0) 0%, rgba(72, 76, 97, 0.8) 75%); 
  opacity: 0;
  transition: 1s;
}
  .single-service:hover .service-description{
    bottom: 5% !important;
    
    }

    .service-description{
      width: 70%;
      font-size: 1rem;
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
    opacity: 0;
    transition: 1s;
    }
}





