/* Split Hero Section Styles */
.hero-section {
  min-height: 70vh;
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Ensure the row takes full width */
.hero-section .row {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Make each column exactly 50% on desktop */
.hero-section .col-md-6 {
  width: 50%;
  padding: 0;
}

.hero-image {
  position: relative;
  min-height: 70vh;
  width: 96%;
  margin-left: 2%;
  margin-right: 2%;
  border: 1px solid var(--rio-primary);
  border-radius: 20px;
  overflow: hidden;
  padding: 0.4em;
}

.hero-logo {
  max-width: 250px;
  width: 80%;
  height: auto;
  object-fit: contain;
  z-index: 1;
  position: relative;
}

@media (max-width: 768px) {
  .hero-logo {
    max-width: 170px;
  }
}

.hero-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  margin: 0.4em;
}

/* Make sure content area has enough height on mobile */
@media (max-width: 767px) {
  .hero-section .col-md-6 {
    width: 100%; /* Full width on mobile */
  }
  
  .hero-section .col-md-6:last-child {
    min-height: 50vh;
  }
  
  .hero-image {
    min-height: 40vh;
  }
}
