body {
  margin-top: 50px; /* Ajusta este valor según la altura del navbar */
}

.logo {
  max-height: 45px;
  display: block;
}
/* Estilos banner */
.banner {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  min-height: 350px;
  transition: background-image 0.5s ease-in-out;
  position: relative; /* necesario para el overlay */
}

/* Agrega el overlay con opacity 50% */
.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.393);
  z-index: 1;
}

.banner > .container {
  position: relative;
  z-index: 2; /* para que el contenido quede por encima del overlay */
}

.banner h1 {
  /* Estilos para el texto del banner */
  color: white;
  font-weight: normal bold;
  padding: 20px;
  font-size: 2.5em;
}

.banner h2 {
  /* Estilos para el subtítulo del banner */
  color: white;
  font-weight: normal bold;
  text-align: center;
  padding: 10px;
  font-size: 1.5em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.banner h3 {
  /* Estilos para el subtítulo del banner */
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 1.2em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.banner p {
  /* Estilos para el párrafo del banner */
  color: white;
  font-weight: normal bold;
  font-size: 1.2em;
}

.titulo-destacado {
  text-align: left;
  border-left: 4px solid #c8ced9;
  padding-left: 16px;
  margin-top: 60px;
}
.titulo-destacado h1,
.titulo-destacado p {
  margin: 0 0 1rem 0;  /* Márgenes inferiores iguales */
  text-align: left !important; /* Forzar alineación a la izquierda */
  padding: 0;
}
.text-white {
  color: #fff !important;
}

.text-italic {
  font-style: italic;
}

.separator {
  height: 1px;
  background-color: #ccc;
  margin: 10px 0;
  width: 100%;
}
/* Estilos personalizados para el card */
.custom-card {
  border: none; /* El tema premium puede usar bordes sutiles o ninguno */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  background-color: #fff;
}

.custom-card:hover {
  transform: translateY(-5px);
}

/* Contenedor de la imagen superior con overlay */
.card-img-top-wrapper {
  position: relative;
}

.card-img-top-wrapper img {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  width: 100%;
  display: block;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.card-img-top-wrapper:hover .overlay {
  opacity: 1;
}

.overlay-text {
  color: #fff;
  font-size: 1.25rem;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

/* Botón personalizado */
.custom-btn {
  border-radius: 25px;
  padding: 0.5rem 1.5rem;
  transition: background-color 0.3s ease;
}

.custom-btn:hover {
  background-color: #0056b3;
}

.text-white-stable {
  color: #ffffff !important;
}

.card {
  position: relative;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 360px;
  transition: transform 0.3s ease;
  margin: 0 auto;
}

.card:hover {
  transform: translateY(-5px);
}

/* La imagen ya tiene altura fija */
.card-img-top img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Posicionamos la icon-container de forma absoluta alineada a la izquierda.
     Se usa left con un valor ajustable y se mantiene el desplazamiento vertical.
  */
.icon-container {
  position: absolute;
  top: 200px; /* Valor igual a la altura de la imagen */
  left: 20px; /* Se alinea hacia la izquierda */
  transform: translateY(-50%); /* Solo desplaza verticalmente */
  z-index: 2;
}

/* Se mantiene el estilo existente del ícono */
.icon-container .icon-xl {
  padding: 3rem;
  /* otras reglas que uses, por ejemplo, borde, background, etc. */
}

/* Ajustes del contenido de la tarjeta */
.card-body {
  padding: 20px; /* o el valor que desees */
}
.icon-shape {
  width: 50px; /* Tamaño fijo del contenedor */
  height: 50px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.icon-shape img {
  width: 30px; /* Tamaño del SVG */
  height: 30px;
  filter: brightness(0) invert(1); /* Convierte el SVG a blanco */
}

.acro-container {
  width: 100%;
  box-sizing: border-box;
  background-color: rgb(33, 37, 41); /* Color de fondo del contenedor */
  color: white; /* Para que el texto sea visible */
  padding: 20px;
  text-align: center;
  font-size: 1.2em;
}

.aliados-container {
  width: 100%;
  box-sizing: border-box;
  background-color: #020617; /* Color de fondo del contenedor */
  color: white; /* Para que el texto sea visible */
  padding: 20px;
  text-align: center;
  font-size: 1.2em;
  margin: 0;
}

.card-body > h2.text-center {
  margin-top: 16px;
}

.sin-hipervinculo {
  text-decoration: none;
  color: inherit; /* Mantiene el color del texto */
  border: none;
}

/* css: hexagon-pattern.css */
/* Contenedor que tendrá el patrón de cuadrados con efecto fade */
.hexagon-pattern {
  position: relative;
  overflow: hidden;
  background-color: #fff; /* Color de fondo base */
}

/* Pseudo-elemento para el patrón de cuadrados con fade en top y bottom */
.hexagon-pattern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* SVG inline que dibuja el contorno de un cuadrado sin relleno */
  background-image: url("../icons/hexagono.svg");
  background-repeat: repeat;
  background-size: 70px 70px;
  
  /* Máscara lineal para aplicar fade tanto en la parte superior como en la inferior */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
  
  z-index: 0;
  pointer-events: none;
}

/* Contenido que se mantiene encima del patrón */
.hexagon-pattern-content {
  position: relative;
  z-index: 1;
}

.navbar .dropdown-menu {
  right: 0 !important;
  left: auto !important;
  transform: translateX(0) !important;
}


/* MENU DESPLEGABLE PERSONALIZADO 
.dropdown-menu a {
  text-decoration: none;
  color: #000000;
}
.dropdown-menu a .d-flex {
  transition: all 0.5s;
}
.dropdown-menu .col-sm-6:nth-child(1) a:hover .d-flex {
  background-color: var(--bs-warning-bg-subtle);
}
.dropdown-menu .col-sm-6:nth-child(2) a:hover .d-flex {
  background-color: var(--bs-danger-bg-subtle);
}
.dropdown-menu .col-sm-6:nth-child(3) a:hover .d-flex {
  background-color: var(--bs-success-bg-subtle);
}
.dropdown-menu .col-sm-6:nth-child(4) a:hover .d-flex {
  background-color: var(--bs-secondary-bg-subtle);
}
.dropdown-menu .col-sm-6:nth-child(5) a:hover .d-flex {
  background-color: var(--bs-tertiary-bg);
}
.dropdown-menu .col-sm-6:nth-child(6) a:hover .d-flex {
  background-color: var(--bs-info-bg-subtle);
}
@media only screen and (min-width: 992px) {
  .dropdown-menu {
    width: 55vw;
  }
  .dropdown:hover .dropdown-menu {
    display: flex;
  }
  .dropdown-menu.show {
    display: flex;
  }
}

*/