/* Contact Page Hero Section - Unique class to avoid conflicts with main hero */
.hero_section-contact {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
  margin-top: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark-navy) 100%);
}

.hero_section-contact .hero_background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero_section-contact .hero_background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center; /* ✅ ensures the top part of the image stays visible */
  opacity: 0.35; 
  animation: slowZoom 25s infinite alternate ease-in-out;
  transform: translateY(-5%); /* ✅ small upward shift to reveal more top content */
}

@keyframes slowZoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

.hero_section-contact .hero_overlay {
  position: absolute;
  top: 0;
  left: 0;
  /* width: 100%; */
  height: 100%;
   background: rgba(45, 129, 162, 0.85);
  z-index: 2;
}

.hero_section-contact .hero_content-contact {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  animation: fadeInUp 1s ease-out;
}

.hero_section-contact .hero_title-contact {
  font-size: 3.5rem;
  margin-bottom: 1.2rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
  font-weight: 700;
  animation: slideInDown 1s ease-out;
}

.hero_section-contact .hero_subtitle-contact {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero_section-contact .hero_breadcrumb {
  margin-top: 2rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero_section-contact .hero_breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.hero_section-contact .hero_breadcrumb a:hover {
  color: white;
  text-decoration: underline;
}

.hero_section-contact .hero_breadcrumb span {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.5);
}

/* Animation Keyframes */
@keyframes slideInDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Map Section */
.map_section {
  padding: 60px 0;
  background: var(--light-blue);
}

.map_section iframe {
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

/* Responsive adjustments for contact hero */
@media (max-width: 992px) {
  .hero_section-contact {
    height: 60vh;
    min-height: 450px;
  }
  
  .hero_section-contact .hero_title-contact {
    font-size: 3rem;
  }
  
  .hero_section-contact .hero_subtitle-contact {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .hero_section-contact {
    height: 55vh;
    min-height: 400px;
  }
  
  .hero_section-contact .hero_title-contact {
    font-size: 2.5rem;
  }
  
  .hero_section-contact .hero_subtitle-contact {
    font-size: 1.1rem;
  }
  
  .hero_section-contact .hero_breadcrumb {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero_section-contact {
    height: 50vh;
    min-height: 350px;
  }
  
  .hero_section-contact .hero_title-contact {
    font-size: 2rem;
  }
  
  .hero_section-contact .hero_subtitle-contact {
    font-size: 1rem;
    padding: 0 15px;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .hero_section-contact .hero_background img {
    animation: none;
  }
  
  .hero_section-contact .hero_content-contact,
  .hero_section-contact .hero_title-contact,
  .hero_section-contact .hero_subtitle-contact,
  .hero_section-contact .hero_breadcrumb {
    animation: none;
  }
}

