/* Estilos para el nuevo Hero moderno */
section.modern-hero {
  background: url('../images/fondo.png') no-repeat center bottom !important;
  background-size: cover !important;
  background-position: center bottom !important;
  background-repeat: no-repeat !important;
  background-color: transparent !important;
  padding: 0 !important;
  position: relative;
  overflow: hidden;
  min-height: 750px;
  display: flex;
  align-items: center;
  margin-top: 120px;
  width: 100%;
}

/* Anular estilos de modern.css */
section.modern-hero::before,
section.modern-hero::after {
  display: none !important;
}

.modern-hero {
  background: url('../images/fondo.png') no-repeat center center;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent !important;
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 750px;
  display: flex;
  align-items: center;
  margin-top: 120px;
  width: 100%;
}

.hero-overlay {
  display: none;
}

.modern-hero .container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  padding: 0 25px;
}

.modern-hero .hero-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 0;
}

.hero-text {
  max-width: 600px;
  z-index: 1;
  text-align: left;
  margin-left: 0;
  padding-left: 20px;
}

.modern-hero h1 {
  font-size: 65px;
  font-weight: 700;
  margin-bottom: 35px;
  line-height: 1.1;
  color: white;
  text-transform: none;
  text-align: left;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.modern-hero p {
  font-size: 18px;
  margin-bottom: 50px;
  line-height: 1.5;
  color: white;
  letter-spacing: 0.8px;
  font-weight: 400;
  text-align: left;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}
.hero-buttons {
  text-align: left;
  display: flex;
  justify-content: flex-start;
}

.btn-primary {
  background-color: #ffde59;
  color: #333;
  border: 2px solid #ffde59;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary:hover {
  background-color: #053679;
  color: white;
  border-color: #053679;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(5, 54, 121, 0.3);
}

/* Media queries para responsive */
@media (max-width: 992px) {
  .modern-hero .hero-content {
    text-align: center;
    justify-content: center;
  }
  
  .hero-text {
    max-width: 100%;
  }
  
  .modern-hero h1 {
    font-size: 55px;
  }

  .modern-hero p {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .modern-hero {
    min-height: 650px;
    padding: 80px 0;
    margin-top: 140px;
  }
  
  .modern-hero h1 {
    font-size: 42px;
  }
  
  .modern-hero p {
    font-size: 16px;
    letter-spacing: 0.5px;
    line-height: 1.4;
  }
  
  .modern-hero p br {
    display: none;
  }
}
