@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');

.directors h1, h2, h3, p{
  font-family: "Montserrat";
}

.header {
  position: relative; /* Position relative to contain the pseudo-element */
  text-align: center;
  padding: 40px 0; /* Padding only on top and bottom */
  color: #fff;
  height: 24rem;
  overflow: hidden; /* Ensures content doesn't overflow */
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../images/promotors/sairaworld-directors-background-image.jfif");
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(2.5px) brightness(0.5); /* Adjust blur and brightness for tint */
  z-index: 0; /* Ensure it's behind the content */
}

.header h1 {
  position: absolute; /* Use absolute positioning */
  top: 50%; /* Position vertically at the center */
  left: 50%; /* Position horizontally at the center */
  transform: translate(-50%, -50%); /* Center the element */
  z-index: 1; /* Higher z-index to ensure it appears above */
  margin: 0; /* Remove default margin */
}


.header h1{
  font-size: 2rem;
  font-weight: 800;
}

.directors{
  display: flex;
  flex-direction: column;
  padding: 40px;
  gap: 20px;
}
.directors img{
  max-width: 12rem;
}
.directors h1{
  font-size: 1.5rem;
}
.director{
  display: flex;
  flex-direction: row;
  gap: 40px;
}
.chairman, .dir{
  display: flex;
  gap: 20px;
  flex-direction: row;
  align-items: center;
}
.director  img{
  border-left: 6px solid navy;
  padding: 10px;
}
.chairman  img{
  border-left: 6px solid red;
  padding: 10px;
}
.directors h2{
  font-size: 1.5rem;
  color: red;
  font-weight: 800;
}
.directors h3{
  font-size: 1.2rem;
  color: navy;
  font-weight: 600;
}
.directors p{
  font-size: 0.8rem;
}
@media (max-width: 1300px) {
  .director{
    flex-direction: column;
  }
}
@media (max-width: 800px) {
  .header h1{
    font-size: 1rem;
  }
  .directors img{
    max-width: 6rem;
  }
  .directors h2{
    font-size: 1rem
  }
  .directors h3{
    font-size: 0.8rem;
  }
  .directors p{
    font-size: 0.5rem;
  }
  .header{
    height: 12rem;
  }
}