:root {
  --bs-body-bg: white
  --bs-body-color: white;
  --accent: #e3b032ff;
  --accent-hover: white;
  --body: #00007f;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 4em;
}

hr{
  color: var(--accent);
  opacity: 0.65;
  margin: auto;
}

i {
  margin-right: 0.3rem;
  opacity: 0.9;
}

h5 {
  font-weight: normal;
}

header {
  --bs-bg-opacity: 1;
  background-color: #002d99 !important;
}

.bg-popover {
  background-color: white;
}

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  margin: 0 0.5rem;
  transition: color 0.2s;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.bloque {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-menu {
  --bs-btn-bg: var(--accent);
  --bs-btn-color: var(--body);
  --bs-btn-padding-x: 1.5rem;
  --bs-btn-padding-y: 0.5rem;
  --bs-btn-border-radius: 1rem;
}

.btn-menu:hover {
  background:var(--accent-hover);
  color:var(--body);
}

.btn-close {
  filter: invert(1);
  opacity: 0.8;
}

.derecha {
  justify-content: flex-end;
}

.derecha,
.footer,
.izquierda {
  display: flex;
  align-items: center;
}

.fondo {
  background: rgba(255,255,255,0.4);
  border-radius: 15%;
}

.footer {
  flex-shrink: 0;
  padding: 1rem 0;
  margin-top: auto;
}

.icono {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin: 0 0.5rem 0.35rem;
  display: block;
}

.icono:hover {
  filter: brightness(0) saturate(100%) invert(76%) sepia(57%) saturate(646%) hue-rotate(0deg);
  /* filter: brightness(0) saturate(100%); */
}

.izquierda {
  justify-content: flex-start;
}

.navbar {
  min-height: 56px;
}

.nav-link {
  --bs-nav-link-color:var(--accent-hover);
  --bs-nav-link-hover-color:var(--body);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.25rem;
  transition: background 0.2s, color 0.2s;
}

.nav-link.active {
  background:var(--body);
  color:var(--accent-hover);
}

.nav-link:hover {
  background: var(--accent);
  color: var(--body);
}

.navbar-title {
  overflow-x: auto;
  white-space: nowrap;
  color: white;
}

.offcanvas {
  --bs-offcanvas-bg: rgba(0, 45, 153, 0.60);
  --bs-offcanvas-color:var(--accent-hover);
}

.progress {
  position: relative;
  height: 2rem;
  background: rgba(255,255,255,0.5);
  margin-top: 1.5rem;
}

.progress-avance-texto {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: 0.8rem;
  color: var(--accent-hover);
  font-weight: 700;
}

.popover {
  --bs-popover-header-color: white;
  --bs-popover-header-bg:var(--body);
  --bs-popover-header-padding-x: 1.5em;
  --bs-popover-body-color: black;
}

.telefono {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

@media (max-height: 700px) {
  .navbar { padding-top: 0.4rem; padding-bottom: 0.4rem; }
  .footer { padding: 0.6rem 0; }
}

/*  */
.carousel {
  margin-top: 3%;
}

.carousel-indicators [data-bs-target] {
  background-color:var(--body);
}

.carousel-caption {
  background-color: rgba(0, 0, 127, 0.45);
  padding: 2%;
  border-radius: 2em;
}

/* Cards de Galeria */
.gallery-title {
  color: var(--body);
  text-align: center;
}

.profile-card {
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0, 45, 153, 0.8);
  overflow: hidden;
  border: none;
  transition: box-shadow 0.3s;
}

.profile-card:hover {
  box-shadow: 0 8px 25px rgba(0, 45, 153, 0.8);
}

.profile-card .card-img-top {
  height: 180px;
  object-fit: cover;
}

.profile-card img {
  height: 180px;
  width: 100%;
}

.profile-card .card-title {
  color:var(--body);
  font-weight: 700;
  font-size: 1rem;
}

.profile-card .card-text {
  font-size: 0.9rem;
  color:var(--body);
}

/* Tabla de Descripcion */
.accordion {
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff' stroke='%23212529' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed) {
  color: var(--bs-accordion-active-color);
  background-color: #e3b032ff;
}

/* .table {
  --bs-table-color:var(--accent-hover);
}

.table-striped-columns>:not(caption)>tr>:nth-child(2n) {
  --bs-table-color-type:var(--accent-hover);
} */

/* Tabla de info */
.contacto-page-title {
  color: var(--body);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.contacto-tabla {
  width: 100%;
  margin-bottom: 1rem;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  height: 100%;
}

.contacto-tabla th {
  background: #ffc107;
  color: #00007f;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.75rem 1rem;
  text-align: left;
  border: none;
}

.contacto-tabla td {
  padding: 1rem;
  /* background: #002d99; */
  color: #000;
  font-size: 0.95rem;
  border: 1px solid #ffc107;
  border-top: none;
}

.contacto-tabla th i {
  margin-right: 0.5rem;
}