/* Hero Slide Images */
.hero-slide:nth-child(4) {
  background-image: url('images/hero-slide-5.png');
}

/* Hero Overlay Enhancement */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7));
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  z-index: 3 !important;
  position: relative;
}

.hero-nav {
  z-index: 4 !important;
}

/* Section Content Layouts */
.section-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 2rem;
}

.section-content-reverse {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 2rem;
}

.section-image {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.section-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.section-image:hover img {
  transform: scale(1.05);
}

.section-text {
  padding: 1rem 0;
}

/* CTA Background */
.cta-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cta-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.8), rgba(255, 140, 0, 0.8));
  z-index: 2;
}

.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 3;
}

/* Mobile Responsive for Section Images */
@media (max-width: 768px) {
  .section-content,
  .section-content-reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-image img {
    height: 250px;
  }
}