/*===========================
  teams css 
===========================*/
.team-style-one {
  position: relative;
  margin-top: 30px;
  box-shadow: var(--shadow-2);
  border-radius: 8px;
  overflow: hidden;
  -webkit-transition: all 0.4s ease-out 0s;
  -moz-transition: all 0.4s ease-out 0s;
  -ms-transition: all 0.4s ease-out 0s;
  -o-transition: all 0.4s ease-out 0s;
  transition: all 0.4s ease-out 0s;
}

.team-style-one:hover {
  box-shadow: var(--shadow-4);
}

.team-style-one .team-image img {
  width: 100%;
}

.team-style-one .team-content {
  padding: 20px 15px;
  width: 100%;
  background-color: var(--white);
}

.team-style-one .team-content .name {
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  color: var(--black);
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .team-style-one .team-content .name {
    font-size: 20px;
  }
}

.team-style-one .team-content .sub-title {
  font-size: 15px;
  line-height: 24px;
  color: var(--dark-3);
  margin-top: 2px;
  display: block;
}

.team-style-one .team-content .social {
  margin-top: 12px;
}

.team-style-one .team-content .social li {
  display: inline-block;
  margin: 0 4px;
}

.team-style-one .team-content .social li a {
  font-size: 16px;
  color: var(--gray-1);
  height: 35px;
  width: 35px;
  text-align: center;
  line-height: 35px;
  border: 1px solid var(--gray-4);
  border-radius: 50%;
  -webkit-transition: all 0.4s ease-out 0s;
  -moz-transition: all 0.4s ease-out 0s;
  -ms-transition: all 0.4s ease-out 0s;
  -o-transition: all 0.4s ease-out 0s;
  transition: all 0.4s ease-out 0s;
}

.team-style-one .team-content .social li a:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: transparent;
}

span {
  font-weight: bold;
  color: #000000;
}

.img-comodin {
  border-radius: 50%;
}

.banner {
  position: relative;
  height: 600px;
  /* Ajusta según sea necesario */
  margin: 0;
  /* Elimina márgenes */
  padding: 0;
  /* Elimina padding */
  overflow: hidden;
  /* Evita desbordamiento */
}

/* Espacio por defecto para pantallas grandes */
.banner {
  margin-bottom: 30px;
}

/* Para pantallas pequeñas (móviles) */
@media (max-width: 576px) {
  .banner {
    margin-bottom: 15px;
    /* Menos espacio en pantallas pequeñas */
    height: 200px;
    /* Ajusta la altura si es necesario */
  }
}

/* Para pantallas medianas (tabletas) */
@media (min-width: 577px) and (max-width: 768px) {
  .banner {
    margin-bottom: 20px;
    /* Espacio intermedio para tabletas */
    height: 500px;
    /* Ajusta la altura si es necesario */
  }
}

/* Para pantallas grandes (escritorios) */
@media (min-width: 769px) {
  .banner {
    margin-bottom: 30px;
    /* Espacio mayor para pantallas grandes */
  }
}


.banner-image {
  position: relative;
  /* Necesario para el pseudo-elemento */
}

.banner-image img {
  width: 100%;
  /* Asegura que la imagen ocupe todo el ancho del contenedor */
  height: auto;
  /* Mantiene la proporción de la imagen */
}

/* Pseudo-elemento para el overlay de opacidad */
.banner-image::after {
  content: "";
  /* Necesario para mostrar el pseudo-elemento */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Color negro con opacidad del 50% */
  z-index: 1;
  /* Asegura que esté encima de la imagen pero debajo del texto */
}

.titulo-banner {
  position: absolute;
  /* Posiciona el texto sobre la imagen y el overlay */
  top: 50%;
  /* Centra verticalmente */
  left: 50%;
  /* Centra horizontalmente */
  transform: translate(-50%, -50%);
  /* Ajusta el centro del texto */
  color: white;
  /* Color del texto */
  z-index: 2;
  /* Asegura que esté encima del overlay */
}

.banner-image h2 {
  color: white;
  position: absolute;
  z-index: 2;
  top: 40%;
  /* Centra verticalmente */
  left: 50%;
  /* Centra horizontalmente */
  transform: translate(-50%,-50%);
}