body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f4f6f8;
}

/* ==== NAVBAR ==== */
.navbar {
  /*background-color: #0047AB;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  position: sticky;
  top: 0;
  z-index: 2000;*/
  background:#ffffff;
  color:#004882;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:.7rem 1.5rem;
  box-shadow:0 2px 6px rgba(0,0,0,.2);
}
.navbar-brand img {
  width: 100%;
}
.navbar-nav .nav-link {
  color: #004882 !important;
  padding: .6rem 1rem;
}
.navbar-nav .nav-link:hover {
  color: #fbb816 !important;
}
.dropdown-menu {
  background: #7d848d;
  border: none;
  border-radius: 8px;
}
.dropdown-item {
  color: #fff;
}
.dropdown-item:hover {
  background: #ffffff;
  color: #004882;
  border-radius: 6px;
}

/* ==== SLIDER ==== */
.carousel-item img {
  width: 100%;
  height: auto; /* autoajuste en móvil */
  display: block;
}

/* En pantallas grandes, fijamos altura */
@media (min-width: 992px) {
  .carousel-item img {
    max-height: auto;
    object-fit: cover;
  }
}

/* ==== Texto del slider ==== */
.carousel-caption {
  background: rgba(0, 0, 0, 0.45);
  border-radius: 10px;
  padding: 15px 25px;
  max-width: 80%;
  margin: 0 auto;
}

.carousel-caption h5 {
  font-size: 1.8rem;
  font-weight: 600;
}

.carousel-caption p {
  font-size: 1.1rem;
}

/* ==== Ajustes responsivos para móvil ==== */
@media (max-width: 768px) {
  .carousel-caption {
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.35);
    bottom: 15px !important;
    max-width: 90%;
  }

  .carousel-caption h5 {
    font-size: 1.2rem;
    line-height: 1.3;
  }

  .carousel-caption p {
    font-size: 0.9rem;
    line-height: 1.3;
  }
}

@media (max-width: 480px) {
  .carousel-caption {
    padding: 8px 12px;
    bottom: 10px !important;
  }

  .carousel-caption h5 {
    font-size: 1rem;
  }

  .carousel-caption p {
    font-size: 0.8rem;
  }
}