/* ===== CONTACT HERO / BREADCRUMB ===== */
.contact-hero {
  position: relative;
  min-height: 260px;              /* breadcrumb-style height */
  padding: 4rem 1.5rem 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  text-align: center;
  overflow: hidden;
  background: #0e75c2;            /* fallback blue */
}

/* Bouncing background image */
.contact-hero::before {
  content: "";
  position: absolute;
  inset: -20%;                   /* a bit larger so it can move */
  background-image: url("../banners/bn-05.jpg"); /* your image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.9;
  transform: translateY(0);
  animation: heroFloat 16s ease-in-out infinite alternate;
  z-index: 0;
}

/* Blue overlay for readability */
.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    #0e75c2 (12, 71, 131, 0.72),
  );
  mix-blend-mode: multiply;
  z-index: 0;
}

/* Inner container */
.contact-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
}

/* Content animation base state */
.contact-hero-content {
  max-width: 640px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* When hero is in view */
.contact-hero.in-view .contact-hero-content {
  opacity: 1;
  transform: translateY(0);
}

/* Big, bold, wide heading */
.contact-hero-title {
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

/* Breadcrumb */
.contact-breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;

  font-size: 0.95rem;
  font-weight: 500;
  color: #d8e9ff;
}

.contact-breadcrumb a {
  color: #ffffff;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.08rem;
  transition: color 0.2s ease;
}

.contact-breadcrumb a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: #0e75c2;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.contact-breadcrumb a:hover {
  color: #d75600;
}

.contact-breadcrumb a:hover::after {
  transform: scaleX(1);
}

.crumb-separator {
  color: #9fb8d8;
}

.crumb-current {
  color: #0a9446;
  font-weight: 600;
}

/* Background float animation */
@keyframes heroFloat {
  0% {
    transform: translateY(-10px) scale(1.02);
  }
  50% {
    transform: translateY(6px) scale(1.04);
  }
  100% {
    transform: translateY(-4px) scale(1.03);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .contact-hero {
    min-height: 220px;
    padding: 3.2rem 1.2rem 2.6rem;
  }

  .contact-hero-title {
    font-size: 2.1rem;
  }

  .contact-breadcrumb {
    font-size: 0.9rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    padding: 2.8rem 1rem 2.4rem;
  }

  .contact-hero-title {
    font-size: 1.9rem;
    letter-spacing: 0.03em;
  }
}
