/* About us page */

#hero-about{
  position: relative;
  max-height: 85vh;
  min-height: 500px;
}

.hero-about-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  pointer-events: none;
  z-index: 1;
  margin: 0 auto; 
}

#hero-about .about-content{
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;       
  text-align: center;

  max-width: 650px;
  margin: 0 auto;
  padding: 0 16px;
  color: #fff;
}

#hero-about .about-content h1{
  font-size: clamp(38px, 4.5vw, 61px);
  margin-bottom: 12px;
  line-height: 1.15;
  text-shadow: 0 4px 18px rgba(0,0,0,0.45);
}

#hero-about .about-content p{
  font-size: 18px;
  margin: 0 0 18px;
  opacity: 0.95;
}

#group_photo{ 
  display: block;
  margin: auto;
}

#About_us_title{
  padding: 50px;
  text-align: center;
  text-wrap: balance;
  max-width: 900px;
  margin: 0 auto;
  font-size: 50px;
}

#About_us_text{
  padding: 50px;
  text-align: center;
  text-wrap: balance;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  #About_us_title {
    font-size: 28px;
    padding: 24px 16px;
  }
  #About_us_text {
    padding: 24px 16px;
  }
}

.title_card{
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

span{
  margin: 0 auto;
  font-size: 20px;
  text-wrap: balance;
  max-width: 200px;
  text-align: center;
}

.about-content img{
  min-height: 40px;
  max-width: 600px;
  min-width: 200px;
}

/*-- Hero background image --*/

.background_img {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  object-position: center 35%; /* increase % to shift further down */
}

/*-- Services hero section --*/

.inner-section-ser {
  background: var(--background);
  padding: 50px 20px;
  padding-bottom: 200px;
  margin: 0px auto;
  max-width: 1200px;
}

#hero-ser {
  position: relative;   
  overflow: hidden;     
  pointer-events: none;
  z-index: 1;
}

#hero-ser::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* adjust 0.55 to taste */
  z-index: 1;
}

#hero-ser .inner-section-ser {
  position: relative;
  z-index: 2;
  background: none;
  padding-top: 25vh;
  padding-bottom: 15vh;
  border: 0px;
  display: flex;
  justify-content: center;
}

#hero-ser .content-ser {
  position: relative;
  max-width: 650px;
  z-index: 3;
  color: #fff;
  padding-bottom: 10px;
  text-align: center;
  pointer-events: auto;
}

#hero-ser .content-ser h1 {
  font-size: clamp(35px, 4vw, 58px);
  margin: 0 0 12px;
}

#hero-ser .content-ser p {
  font-size: 18px;
  margin: 0 0 18px;
  opacity: 0.95;
}

/*----------------------------------------*/

#team_div{
  display: flex;
  justify-content: center;
}

.team_photos{
  width: 220px;        
  height: 220px;       
  object-fit: cover;
  padding: 20px;
  max-width: 200px;
  border-radius: 14px; 
}

@media (max-width: 1000px) {
  #team_div{
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
  }
}

@media (max-width: 566px) {
  #team_div{
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
  }
}