/**
 * Inner page heroes: same banner image, overlay, min-heights and type scale as About Us.
 * Linked from header after head styles so it wins over page-local .hire-dotnet-hero / etc.
 */

html body .about-hero.about-page {
  position: relative;
  min-height: 510px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: url("../images/hire-deve-banne.png") center center / cover no-repeat !important;
}

/* Case Studies listing page only (case-studies.php sets body.case-studies-anim-page). */
html body.case-studies-anim-page .about-hero.about-page {
  background: url("../images/case-stu-banner.png") center center / cover no-repeat !important;
}

/* Services main page only (services.php sets body.wam-services-page). */
html body.wam-services-page .about-hero.about-page {
  background: url("../images/service-bann.png") center center / cover no-repeat !important;
}

/* About Us page only (about-us.php sets body.wam-about-us-page). */
html body.wam-about-us-page .about-hero.about-page {
  background: url("../images/about-bann.png") center center / cover no-repeat !important;
}

/* Contact Us page only (contact-us.php sets body.wam-contact-us-page). */
html body.wam-contact-us-page .about-hero.about-page {
  background: url("../images/contact-bann.png") center center / cover no-repeat !important;
}

/* Hire .NET backend developer page only (hire-dev-back-dot-net-developer.php). */
html body.wam-hire-back-dot-net-page .about-hero.about-page {
  background: url("../images/net-hire-banner.png") top / cover no-repeat !important;
}

/* Hire GraphQL developer page only (hire-dev-back-graphql-developer.php). */
html body.wam-hire-back-graphql-page .about-hero.about-page {
  background: url("../images/graphql-banne.png") top center / cover no-repeat !important;
}

/* html body .about-hero.about-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(26, 26, 26, 0.85) 100%);
  z-index: 1;
} */

html body .about-hero.about-page .container {
  position: relative;
  z-index: 2;
}

html body .about-hero.about-page .row.justify-content-center {
  justify-content: flex-start;
}

html body .about-hero.about-page .row.text-center {
  text-align: left;
}

html body .about-hero.about-page h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  text-align: left;
  line-height: 1.2;
}

html body .about-hero.about-page .about-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  flex-wrap: wrap;
}

html body .about-hero.about-page .about-breadcrumb a,
html body .about-hero.about-page .about-breadcrumb span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  text-decoration: none;
}

html body .about-hero.about-page .about-breadcrumb a:hover {
  color: #ff6b00;
}

html body .about-hero.about-page .about-breadcrumb .separator {
  opacity: 0.6;
}

@media (max-width: 1199.98px) {
  html body .about-hero.about-page h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 991.98px) {
  html body .about-hero.about-page {
    min-height: 350px;
  }
  html body .about-hero.about-page h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 767.98px) {
  html body .about-hero.about-page {
    min-height: 300px;
  }
  html body .about-hero.about-page h1 {
    font-size: 1.875rem;
  }
}

@media (max-width: 575.98px) {
  html body .about-hero.about-page h1 {
    font-size: 1.5rem;
  }
  html body .about-hero.about-page .about-breadcrumb a,
  html body .about-hero.about-page .about-breadcrumb span {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  html body .about-hero.about-page h1 {
    font-size: 22px;
  }
}
