@import 'fonts.css';

img {
  pointer-events: none;
}
body {
  text-wrap: wrap;
  background: rgb(245, 245, 245);
}

.section-btns {
  margin-bottom: 60px;
}

.hero-section {
width: 100%;
  min-height: 0;
  max-width: none;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
  background-size: cover;
  background-position: center;
  padding-top: 270px;
  padding-bottom: 25px;
  color: white;
  font-family: "Inter", sans-serif;
  position: relative;
}

.hero-section .container {
      /*max-width: 1280px;*/
}

.background-image {
  z-index: -1;
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.content-wrapper {
  position: relative;
  max-width: 1580px;
  margin: 0 auto;
}

.main-title {
  color: white;
  font-family: Inter;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 25px;
}



/*----------------------*/
.section-director {
  padding: 70px 0;

}

.director-container {
  display: flex;
  justify-content: space-between;
    /*min-height: 350px;*/
  aspect-ratio: 3.2/1;
  position: relative;
  background: white;
    border-radius: 15px;
}

.director-image {
  width: 40%;
  /*height: 100%;*/
}

.director-name-block {
  padding-top: 20px;
  width: 20%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.director-contacts-block{
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  width: 35%;
}
.director-name-info {
  color: rgb(0, 0, 0);
  font-family: Inter;
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 20px;
  }

.director-name {
  color: rgb(0, 0, 0);
  font-family: Inter;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.director-contact-name {
  color: rgb(116, 116, 116);
  font-family: Inter;
  font-size: 12px;
  font-weight: 500;
}

.director-name-contact {
  color: rgb(0, 0, 0);
  font-family: Inter;
  font-size: 20px;
  font-weight: 300;
}

.director-name-contact:not(:last-child) {
  margin-bottom: 15px;
}



/*------------------------*/
.section-managers {
  padding: 70px 0;
}

.managers-container {
  padding: 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 5%;
  background: white;
  border-radius: 15px;
}

.manager {
  width: 30%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.manager:not(:last-child) {
  margin-bottom: 40px;
}

.manager-image {
      aspect-ratio: 1.3 / 1;
  width: 100%;
  /*height: 40%;*/
  margin-bottom: 20px;
}

/*------------------------*/
.section-btns-container {
  display: flex;
  justify-content: space-between;
}

.manager-btn {
  line-height: 1;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48%;
  color: rgb(255, 255, 255);
  font-family: Inter;
  font-size: 15px;
  font-weight: 500;
  border-radius: 15px;
  padding: 27px 80px;
  background: rgb(237, 87, 89);
}

@media (max-width: 991px) {
  .main-title {
    font-size: 38px;
  }

  .director-name {
    font-size: 16px;
  }

  .director-name-info {
    font-size: 16px;
  }

  .director-contact-name {
    font-size: 10px;
  }

  .director-name-contact {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .director-container {
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
  }

  .director-image {
    width: 100%;
    aspect-ratio: 1.36 / 1;
  }

  .director-name-block {
    width: 100%;
  }

  .director-contacts-block {
    width: 100%;
  }

  .manager {
    width: 46%;
  }

  .managers-container {
    padding: 30px 20px;
  }

  .section-btns-container {
    flex-direction: column;
     gap: 20px;
  }

  .manager-btn {
    width: 100%;
    padding: 10px 30px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding-top: 140px;
  }

  .section-director {
    padding: 40px 0;
  }

  .director-name {
    font-size: 12px;
  }

  .director-name-info {
    font-size: 10px;
    margin-bottom: 8px;
  }

  .director-contact-name {
    font-size: 8px;
  }

  .director-name-contact {
    font-size: 12px;
  }

  .section-managers {
    padding: 40px 0;
  }

  .manager {
    width: 100%;
  }

  .manager-btn {
    font-size: 12px;
    padding: 8px 20px;
  }

  .director-name-contact:not(:last-child) {
  margin-bottom: 10px;
}
  .main-title {
    font-size: 26px;
  }
}