/* Container padding and top margin */
.custom-padding {
  padding: 40px 4rem 0 4rem;
}

/* Increase padding on larger screens */
@media (min-width: 768px) {
  .custom-padding {
    padding-left: 6rem;
    padding-right: 6rem;
  }
}

/* Image sizes */
.img1 {
  width: 100%;
  height: 390px;
  object-fit: cover;
}
.img2 {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.img3 {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.img4 {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  transition: all 0.3s ease;
}

/* Add vertical spacing between each Bootstrap row */
.row {
  margin-bottom: 2rem;
}

/* Responsive adjustments for small screens */
@media (max-width: 1000px) {
  .custom-padding {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Make big images scale naturally */
  .img1, .img2, .img3 {
    height: auto;
  }

  /* Stack the team section text and images vertically */
  .team-text-col {
    order: 1;
    width: 100% !important;
    margin-bottom: 1rem;
  }
  .team-images-col {
    order: 2;
    width: 100% !important;
    display: flex !important;
    justify-content: center;
  }

  /* Make 3 team images line up horizontally */
  .team-section-images {
    flex-direction: row !important;
    gap: 15px;
  }

  /* Smaller images on small devices */
  .img4 {
    width: 120px;
    height: 120px;
  }
}
.about-banner {
  position: relative;
  width: 100%;
  height: 70vh;
  background: url('../extractimage/about us top  header.jpg') no-repeat center center/cover;
  padding-top: 80px; /* offset for navbar */
  text-shadow: 0 2px 4px rgba(0,0,0,0.7);
}

.about-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4); /* black tint with 40% opacity */
  backdrop-filter: blur(3px); /* subtle blur effect */
  z-index: 1;
}

.about-banner > div {
  position: relative;
  z-index: 2; /* ensure text appears above the overlay */
}


/* Responsive text */
.about-banner h1 {
  font-size: 3rem;
}
.about-banner p {
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .about-banner h1 {
    font-size: 2rem;
  }
  .about-banner p {
    font-size: 1rem;
  }
}
.container {
    max-width: 1100px;
    padding-left: 40px;
    padding-right: 40px;
    margin-top: 20px;
}

