#new_header {
    position: relative;
    overflow: hidden;
    padding: 60px 0 100px 0!important;
}
.hero-img {
    position: absolute;
    width: 100%;
    height: 100%; /* <-- AÑADE ESTO */
    object-fit: cover;
    z-index: -1; /* z-index muy bajo innecesario, con -1 basta */
    filter: brightness(0.5);
    top: 0;
    left: 0;
}
.box_header {
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    align-content: flex-start;
    width: 85%;
}
#new_header .hero-content h1 {
    font-size: clamp(3rem,5vw,5rem);
    line-height: 1.3;
    margin-bottom: 60px;
    font-weight: 700;
    color: white !important;
}
#new_header .hero-content p {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: white !important;
}
#new_header .cta-btn {
    background-color: #e2542a;
    padding: 15px 55px;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
}

.info-section {
    padding: 0rem 1rem 4rem 1rem;
}
.info-container {
  gap: 2rem;
}
.info-content {
  flex: 1 1 500px;
}
.info-images {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}
.info-images.single-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
  border-radius: 10px;
}
.info-button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border: 2px solid #000;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  background: transparent;
  transition: all 0.3s ease;
  color: #000;
}
.info-button:hover {
  background: #000;
  color: #fff;
}
.btn-close {
    position: absolute;
    right: 12px;
    padding: 5px;
    z-index: 1;
}




.gallery-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.gallery-slider__wrapper {
  display: flex;
  scroll-snap-type: x mandatory;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.gallery__item {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
}

.gallery__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 15px;
}

.gallery-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  padding: 0.5rem 1rem;
  z-index: 2;
}

.gallery-slider__nav.left {
  left: 10px;
}

.gallery-slider__nav.right {
  right: 10px;
}

.gallery-slider__dots {
  text-align: center;
  margin-top: 0.5rem;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: #333;
}





#opinion .opinion-tarjeta {
    background: #fff;
}
#opinion .rounded-circle {
    object-fit: cover;
}





@media (max-width: 576px){
    .breadcrumbs{
        display: none;
    }
    .box_header {
        justify-content: center !important;
        margin: auto;
        text-align: center;
        width: 95%;
    }
    .gallery-slider__arrows label {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) and (max-width: 991px){
    #submit_box {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .info-container {
        flex-direction: column;
      }
    .info-images {
        width: 100%;
    }
    .info-images img {
        width: 100%;
        height: auto;
        aspect-ratio: auto;
    }
    .modal-info-school > .modal-dialog{
        max-width: 95%;
    }
}

