/*** Why Us ***/
.whyus-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
  row-gap: 0.5rem;
}

.whyus-item {
  display: flex;
  column-gap: 1rem;
}

.whyus-item i {
  color: var(--primario);
  font-size: 2rem;
}

.whyus-item p {
  font-size: 1.25rem;
  font-weight: 600;
}

/*** Services Start ***/
.service .service-item {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  transition: 0.1s;
  z-index: 1;
}

.service .service-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.19);
  scale: 1.02;
}

.service .service-item .service-img img {
  transition: 0.5s;
}

.service .service-item:hover .service-img img {
  transform: scale(1.2);
}

.service .service-item::after {
  content: "";
  width: 100%;
  height: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.5s;
  z-index: 2;
}

.service .service-item:hover:after {
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.service .service-item .service-content {
  position: absolute;
  width: 100%;
  height: auto;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  transition: 0.3s;
  opacity: 0;
  z-index: 3;
}

.service .service-item:hover .service-content {
  opacity: 1;
}

.service .service-item:hover .service-content a.fs-4 {
  color: var(--dark);
  transition: 0.3s;
}

.service .service-item:hover .service-content a.fs-4:hover {
  color: var(--bs-secondary);
}

.service .service-item .service-tytle {
  position: absolute;
  width: 100%;
  height: 80px;
  bottom: 0;
  right: 0;
  background: var(--primario);
  color: var(--white);
  display: flex;
  transition: 0.3s;
  z-index: 3;
}

.service .service-item:hover .service-tytle {
  margin-right: -100%;
}

/*** Projects Start ***/
.project .project-item .project-img {
  position: relative;
}

.project .project-item .project-img::after {
  content: "";
  position: absolute;
  width: 70%;
  height: 70%;
  top: 0;
  left: 0;
  background: var(--primario);
  z-index: -1;
}

.project .project-item .project-content a.h4 {
  transition: 0.5s;
}

.project .project-item:hover .project-content a.h4:hover {
  color: var(--bs-secondary);
}

/* Equipo */
.team .team-item {
  position: relative;
  z-index: 1;
}

.team .team-item .team-img {
  position: relative;
  overflow: hidden;
}

.team .team-item .team-img::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, .2);
  transition: 0.5s;
  z-index: 2;

}

.team .team-item:hover .team-img::after {
  height: 100%;
}

.team .team-item .team-img .team-icon {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  transform: scale(-1);
  margin-bottom: 100%;
  background: transparent;
  transition: 0.5s;
  opacity: 0;
  z-index: 5;
  
}

.team .team-item:hover .team-img .team-icon {
  transform: scale(1);
  margin-bottom: 0;
  opacity: 1;
}

.team .team-item .team-border-style-1,
.team .team-item .team-border-style-2 {
  width: 50%;
  height: 50%;
  position: absolute;
  background: var(--primario);
  transition: 0.5s;
  z-index: -1;
}

.team .team-item .team-border-style-1 {
  top: 0;
  left: 0;
}

.team .team-item .team-border-style-2 {
  right: 0;
  bottom: 0;
}

.team .team-item .team-border-style-3,
.team .team-item .team-border-style-4 {
  width: 0;
  height: 0;
  position: absolute;
  background: var(--primario);
  transition: 0.5s;
  z-index: -1;
}

.team .team-item .team-border-style-3 {
  top: 0;
  right: 0;
}

.team .team-item .team-border-style-4 {
  left: 0;
  bottom: 0;
}

.team .team-item:hover .team-border-style-1,
.team .team-item:hover .team-border-style-2 {
  width: 0%;
  height: 0%;
}

.team .team-item:hover .team-border-style-3,
.team .team-item:hover .team-border-style-4 {
  width: 50%;
  height: 50%;
}