/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--primary-blue);
  overflow: visible;
  padding: 5rem 0 7rem;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 16s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.25) 100%);
  z-index: 1;
}

.hero-slanted-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  background: #f26522;
  transform: skewX(-12deg);
  transform-origin: top left;
  z-index: 2;
  box-shadow: 15px 0 35px rgba(0, 0, 0, 0.25);
}

.hero-slanted-bg::after {
  content: "";
  position: absolute;
  top: 0;
  right: -2px;
  width: 140px;
  height: 100%;
  background: linear-gradient(90deg, rgba(239, 125, 32, 1) 0%, rgba(239, 125, 32, 0) 100%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content {
  max-width: 550px;
  color: #FFFFFF;
}

.hero-badge {
  background-color: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
}

.hero-content h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-content p {
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-hero-white {
  background-color: #FFFFFF;
  color: var(--accent-orange);
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-md);
  transition: all 0.25s ease;
}

.btn-hero-white:hover {
  transform: translateY(-2px);
  background-color: #F8F9FA;
  box-shadow: var(--shadow-lg);
}

.btn-hero-outline {
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #FFFFFF;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
}

.btn-hero-outline:hover {
  background-color: #FFFFFF;
  color: var(--accent-orange);
}

/* Hero Intersection Cards */
.hero-intersection-container {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  z-index: 10;
  width: 100%;
}

.intersection-badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.badge-card {
  background: var(--card-bg);
  color: var(--dark-text);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  border-top: 4px solid var(--accent-orange);
  transition: transform 0.3s ease;
}

.badge-card:hover {
  transform: translateY(-4px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  display: inline-block;
  opacity: 0.8;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

.badge-info h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  color: var(--accent-orange);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.badge-info p {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-blue);
  line-height: 1.2;
}

/* Hero Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content p,
.hero-badge {
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

.hero-actions {
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
  opacity: 0;
}


/* Hero Background Carousel Container */
.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Slide Setup & Fade Effect */
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
}

/* Image Fit */
.carousel-slide .hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}