@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none !important;
    transition: 0.2s linear;
    border: none;
    outline: none;
    overflow-x: none;
    font-family: 'Montserrat', sans-serif;
  }
  
  .main_color{
    color: #800020;
  }
  
  html {
    font-size: 62.5%;
  }

   /* ----------- about section starts ------------- */

   .service_first{  
    background:url('/pics/bg3.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 8rem;
    width: 100%;
    margin-top: 8rem;
  }

  .service_container{
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .service_text_container{
    
    width: 60%;
  }

  .service_text_container h1{
    font-size: 4.8rem;
    font-weight: 700;
    /* color: white; */
    position: relative;
    text-align: center;
  }

  .service_text_container p{
    /* color: white; */
    font-size: 2rem;
    margin-top: 1.5rem;
    text-align: center;
    line-height: 1.8;
  }

  /* ------------- Team Cards sections -------------- */

  .team_cards{
    padding: 10rem 0;
  }

  .tcard_container{
    padding: 5rem 3rem;
    border-radius: 1rem;
    height: 100%;
    cursor: pointer;
  }
  
  .tcard_container:hover{
    transform: scale(1.03);
  box-shadow: 5px 5px 18px 6px #e0d9d9;
  }

  .tcard_container h2{
    font-size: 1.8rem;
    font-weight: 600;
  }
  .tcard_container p{
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.8;
  }

 .icon_span i{
  font-size: 2.5rem;
  margin: 0 0.7rem;
 }

 .icon_span i:hover{
  transform: scale(1.2);
 }



 
/* --------------------------- --------------------- */

@media (max-width: 992px) {
  html {
    font-size: 55%;
    scroll-padding-top: 8rem;
    
  }
  .service_text_container{    
    width: 90%;
  }

  .team_cards{
    padding: unset;
  }

  .tcard_container{
    padding: 2rem 3rem;
  }

  .contact{
    padding: 2rem 0;
  }
}


@media (max-width: 500px) {
  html {
    font-size: 45%;
  }

  .service_first{
    padding: 1.5rem;
  }
}