/* About Page Header Hero Section with Text Overlay */

.about-header-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover !important;
  background-position: center !important;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-bottom: 40px;
  background-attachment: fixed;
}

.about-header-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  display: none; /* Gradient is in inline style */
}

.about-header-hero .about-section {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 40px;
  max-width: 1000px;
}

.about-header-hero .about-section h1 {
  color: white !important;
  font-weight: 700;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.7);
  line-height: 1.4;
  margin-bottom: 20px !important;
}

.about-header-hero .about-section h3 {
  color: #e0e0e0 !important;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 992px) {
  .about-header-hero {
    min-height: 400px;
  }

  .about-header-hero .about-section {
    padding: 30px;
  }

  .about-header-hero .about-section h1 {
    font-size: 28px;
  }

  .about-header-hero .about-section h3 {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .about-header-hero {
    min-height: 350px;
  }

  .about-header-hero .about-section {
    padding: 20px;
  }

  .about-header-hero .about-section h1 {
    font-size: 24px;
  }

  .about-header-hero .about-section h3 {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .about-header-hero {
    min-height: 300px;
  }

  .about-header-hero .about-section {
    padding: 15px;
  }

  .about-header-hero .about-section h1 {
    font-size: 20px;
  }

  .about-header-hero .about-section h3 {
    font-size: 13px;
  }
}
