html, body {
  height: 100%;
  margin: 0;
}

.carousel-fullscreen {
  height: calc(100vh - 70px); /* Ajusta 70px si tu navbar es más alto o más bajo */
  overflow: hidden;
}

.carousel-inner,
.carousel-item {
    height: 800px;
    object-fit: contain;
    background-color: #333; /* Gris claro */
    display: flex;
}

.carousel-item img {
    max-height: 100%;
    object-fit: contain;
}

.carousel-item::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.2); /* Nivel de oscurecimiento */
    z-index: 2;
    pointer-events: none;
}

.carousel-caption-custom {
  position: absolute;
  top: 20%;
  left: 10%;
  z-index: 3;
  color: white;
  text-align: left;
}

.carousel-caption-custom h1 {
  font-size: 3rem;
  font-weight: bold;
}

.carousel-caption-custom p {
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* Botones */
.carousel-caption-custom .btn {
  margin-top: 1.5rem;
  margin-right: 1rem;
  font-weight: 600;
}

.logo-fixed {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 200px; /* Ajusta según tamaño deseado */
  z-index: 10;
}

.custom-rectangle {
  height: 50px;                     /* Ajusta la altura según lo necesites */
  background-color: #fcb813;        /* Color amarillo estilo GESS */
  width: 50%;                       /* Ancho del rectángulo (ajustable) */
  margin: 0px auto;      /*Sube el bloque ligeramente y centra */
  border-radius: 8px;               /* Esquinas redondeadas */
  box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Sombra opcional para realce */
  z-index: 1;
  position: relative;
}

/* Carriusel 2*/
 .carousel2-wrapper {
      width: 80%;
      overflow: hidden;
      position: relative;
    }

    .carousel2-track {
      display: flex;
      transition: transform 0.5s ease;
    }

    .carousel2-item-custom {
      min-width: 33.3333%;
      flex-shrink: 0;
      padding: 10px;
    }

    .carousel2-item-custom img {
      width: 60%;
        margin: auto;
        display: block;
      border-radius: 10px;
    }

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
  display: none;
  position: absolute;
}

/* Mostrar submenú al hacer hover */
.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

.navbar-nav .nav-link,
.dropdown-menu .dropdown-item {
  font-size: 0.875rem;
}

.linea-naranja {
      height: 4px;
      background-color: #ef7c00;
      margin-top: 10px;
    }

.green-card {
      background-color: #00966C; /* o el color exacto de la imagen */
      color: white;
      padding: 40px;
      height: 100%;
      display: flex;
      align-items: center;
    }
    .green-card p {
      margin: 0;
      font-weight: bold;
      font-size: 1.2rem;
    }
    .video-container {
      position: relative;
      width: 100%;
      padding-top: 56.25%; /* 16:9 aspect ratio */
    }
    .video-container iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }
.aparecer-desde-abajo {
  opacity: 0;
  transform: translateY(30px);
  animation: aparecer 1s ease-out forwards;
  animation-delay: 0.3s; /* opcional */
}

@keyframes aparecer {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

a img {
  transition: all 0.3s ease; /* transición suave */
}

/* Efecto hover solo para la imagen de Instagram */
a[href*="instagram.com"] img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(228,64,95,0.7));
}

/* Efecto hover para LinkedIn */
a[href*="linkedin.com"] img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(10,102,194,0.7));
}

.card-hover {
  transition: transform 0.3s, box-shadow 0.3s;
}

.card-hover:hover {
  transform: translateY(-8px); /* se levanta */
  box-shadow: 0 8px 20px rgba(0,0,0,0.2); /* sombra */
}

.bandera-circular, bandera-vacia {
    width: 28px;          /* tamaño de la bandera */
    height: 28px;
    border-radius: 50%;   /* hace la imagen circular */
    object-fit: cover;    /* ajusta la imagen dentro del círculo */
    border: 0px solid #ccc; /* borde opcional */
}