/* ===== GENERAL ===== */
body {
  font-family: 'Lora', serif;
  background-color: #212529;
  background-image: linear-gradient(rgba(0, 180, 216, 0.2), rgba(0, 180, 216, 0.2)), url("../assets/img/huma.jpg");
  background-attachment: fixed;
  background-position: center;
  background-size: cover;

}

/* ===== NAVBAR ===== */
#mainNav {
  background-color: rgba(0, 80, 216, 0.2);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1055;
}

.navbar-nav .nav-link {
  color: #f6e1c5 !important;
}

.navbar-nav .nav-link:hover {
  color: #ffffff !important;
}

/* ===== DROPDOWN ===== */
.dropdown-menu {
  background-color: #2F170F;
  border: none;
}

.dropdown-menu .dropdown-item {
  color: #f6e1c5;
}

.dropdown-menu .dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ===== HERO ===== */
.hero-section {
  padding: 6rem 0;
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

/* ===== SECTIONS ===== */
.page-section {
  padding: 5rem 0;
  background-color: rgba(0, 0, 0, 0.4);
}

/* ===== MOBILE ===== */
@media (max-width: 991px) {
  #mainNav {
    background-color: rgba(0, 80, 216, 0.2);
    backdrop-filter: blur(10px);
  }

}

/* ===== FOOTER ===== */
.site-footer {
  background-color: rgba(0, 80, 216, 0.2);
  backdrop-filter: blur(10px);
  /* mismo color institucional */
  color: #f6e1c5;
}

.text-footer {
  color: #f6e1c5;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.footer-link:hover {
  color: #f6e1c5;
  text-decoration: underline;
}

/* ===== CAROUSEL HERO ===== */
.hero-carousel {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 1rem;
  padding: 1.5rem;
}

.hero-section h1 {
  margin-bottom: 2.5rem;
  letter-spacing: 0.08em;
}

.hero-carousel .carousel-item {
  height: 480px;
}

.hero-carousel img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  background-color: #000;
  display: block;
  margin: auto;
}

.carousel-caption {
  max-width: 85%;
  margin: 0 auto;
  bottom: 1.2rem;
  text-align: center;
}

/* Modal */

.modal-bg {
  background-color: rgba(0, 79, 216, 0.421);
  backdrop-filter: blur(10px);
}

#link-acceder {
  text-decoration: none;
  color: #f1f1f1;
}

#link-acceder:hover {
  color: #212529;
  border-bottom: solid 0.125rem #f1f1f1;
  gap: var(1rem);
}

.cont-bg {
  background-color: #e7ecef !important;
}

.form-control,
.form-select {
  border: solid 2px #bfc0c0 !important;
}

.check {
  font-size: 24px;
  text-align: center;
}

@media (max-width: 768px) {
  .check {
    font-size: 18px;
    text-align: justify;  
  }
}

@media (max-width: 400px) {
  .check {
    font-size: 16px;
    text-align: justify;
  }
}

.font-table {
  font-size: 14px;
}