.our-services-section {
  display: flex;
  flex-direction: column;
  height: 50rem;
  background: url("../assets/ourServices/ourServicesBackgroundSmallDevice.webp");
  background-size: cover;
  align-items: center;
  padding: 0.8rem .8rem 1.60rem 0.8rem ;
  margin-top: 1.2rem;
}
.our-services-section__head-btn {
  background-color: white;
  color: var(--brandClr);
  font-size: 0.416rem;
  height: 1.45rem;
  font-size: .7rem;
  font-weight: 500;
  /* line-height: 1.05rem; */
  display: flex;
  align-items: center;
  border-radius: .2rem;
  padding:.2rem .5rem;
}


.our-services-section__cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem 1rem;
  margin-top: 1.6rem;
}
.our-services-section__card {
  width: 8.6rem;
  height: 9.5rem;
  background-color: white;
  /* margin-top: 1rem; */
  border-radius: 0.4rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.our-services-section__image-container {
  height: 7rem;
  background-color: #FDFDFD;
}


.our-services-section__form-btn {
  flex-grow: 1;
  font-size: 0.7rem;
  font-weight: 500;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  color: #282828;
}
.our-services-section__form-btn p {
  width: 6.7rem;
}
.our-services-section__card:last-child .our-services-section__form-btn p {
  width: 7rem;
}

.our-services-section__form-btn:hover{
  background-color: var(--brandClr);
  color: #ffffff;
}
.our-services-section__form-btn{
}

@media screen and (min-width: 768px) {
  .our-services-section {
    height: 21.70rem;
    background: url("../assets/ourServicesBackground.webp");
    background-size: cover;
    /* padding: 0.4rem; */
    padding: .75rem;
    margin-top: 1rem;
  }
  .our-services-section__head-btn {
    font-size: 0.37rem;
    height: .72rem;
    border-radius: .08rem;
    padding: .08rem .20rem;
  }
  .our-services-section__cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.33rem 0.41rem;
    margin-top: 2.41rem;
  }
  .our-services-section__card {
    width: 6.14rem;
    height: 6rem;
    background-color: white;
    border-radius: 0.16rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .our-services-section__card:last-child >button >p{
    width: 4.33rem;
  }

  .our-services-section__image-container {
    height: 4.16rem;
    background-color: grey;
  }

  .our-services-section__form-btn {
    flex-grow: 1;
    font-size: 0.416rem;
    font-weight: 500;
    
  }
  .our-services-section__form-btn >p {
    width: 4.56rem;
  }
  
}
