@charset "utf-8";

/* Banner */
.main-bnn {
    display: block;
    position: relative;
    max-width: 100%;
    margin: 100px auto 0px;
    padding: 27px 46px 0;
  }
  .main-bnn .bnn {
    display: block;
    position: relative;
    padding-bottom: 47.2%;
    border-radius: 15px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.69) 83.06%), url(../img/bnn-home.webp) top / cover no-repeat lightgray;
  }
  .main-bnn img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
  }
  .main-bnn .info {
      position: absolute;
      left: 89px;
      right: 99px;
      z-index: 2;
      bottom: 49px;
      display: flex;
      justify-content: space-between;
  }
  .main-bnn .info > div {
      max-width: 800px;
  }
  .main-bnn .info h1 {
      color: #FFF;
      font-family: "Montserrat", sans-serif;
      font-size: 27px;
      font-style: normal;
      font-weight: 700;
      line-height: 30px;
      margin: 0 0 18px;
      max-width: 510px;
  }
  .main-bnn .info p {
      color: #FFF;
      font-family: "Montserrat", sans-serif;
      font-size: 18px;
      font-style: normal;
      font-weight: 400;
      line-height: 30px;
  }

 .info .right{
    align-content: end;
  }

  .info .left{
    }

  @media (max-width: 1418px) {
      .main-bnn {
          padding: 25px 15px 0;
      }
  }
  @media (max-width: 1200px) {
      .main-bnn .info > div {
          max-width: 600px;
      }
  }
  @media (max-width: 991px) {
      .main-bnn .info {
          flex-direction: column;
          align-items: flex-start;
          left: 40px;
          right: 40px;
          bottom: 20px;
      }
     .main-bnn .info > div {
         padding:0;
      }
      .main-bnn .info h1 { 
          font-size: 22px;
          line-height: 1.2em;
          margin: 0 0 10px;
      }
      .main-bnn .info p { 
          font-size: 14px;
          line-height: 1.4em;
          margin: 0 0 15px;
      }
  }
  @media (max-width: 768px) {
      .main-bnn .bnn {
          padding-bottom: 80%;
      }
  }
  @media (max-width: 484px) {
      .main-bnn .bnn {
          padding-bottom: 160%;
      }
  }

/*services*/

  .services-section {
    padding: 25px 38px;
    background: #fff;
  }



  .services-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-content: space-between;
    justify-content: space-evenly;
  }
  
  .service-card {
    flex: 1 1 calc(25% - 20px);
    background-color: #000;
    background-size: cover;
    background-position: center;
    height: 180px;
    border-radius: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  .service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);  
    transition: background 0.3s ease;
  }
  
  .service-card:hover::before {
    background: rgba(0, 0, 0, 0.7);
  }
  
  .service-content {
    position: relative;
    text-align: center;
    padding: 20px;
    color: #fff;
  }
  
  .service-content h3 {
    color: #FFC107;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 900;
    line-height: 30px;  
    margin:0;
  }
  
  .service-link {
    flex: 1 1 calc(33% - 20px);
    max-width: calc(33% - 20px);
    text-decoration: none;
    display: block;
    border-radius: 20px;
  }
  
  .service-content span {
    color: #FFF;
    text-align: center;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;  
  }
  
 
  
  @media (max-width: 991px) {
    .service-card {
      flex: 1 1 calc(50% - 20px);
      /* max-width: calc(50% - 20px); */
    }
  }
  
  @media (max-width: 575px) {
    .service-card {
      flex: 1 1 100%;
      max-width: 100%;
    }
  }
  

  
 @media (max-width: 1200px) {
  .services-section {
    padding: 25px 08px;
     
  }
}

@media (max-width: 676px) {
 .services-wrapper {
    flex-flow: column;
   
 }

  .service-link {
        max-width:100%; 
  }
  
}