/* language-switcher.php */

.language-switcher {
  display: inline-flex;
  gap: 8px;
  border: solid 1px #fff;
  border-radius: 90px;
  padding: 4px;
}

.language-switcher-item {
  padding: 8px 16px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 16px;
  color: #fff;
  transition: 0.2s;
  text-transform: uppercase;
}

.language-switcher-item.active {
  background-color: rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.language-switcher-item:hover {
  color: var(--e-global-color-accent);
}

.language-switcher-item.active:hover {
  color: #fff;
}

/* Menu Blur */
.sbi-menu {
  transition: background-color 0.3s, backdrop-filter 0.3s;
}

.sbi-menu.blur {
  background-color: rgba(250, 250, 250, 0.1);
  backdrop-filter: blur(10px);
}

/*column expanstion About Us*/
.sbi-columns {
  display: flex;
  width: 100%;
  height: 320px;
  gap: 32px;
}

.sbi-columns .sbi-column {
  flex: 2;
  padding: 32px 16px;
  transition: all 0.15s ease-out;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #f5f5f5;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.sbi-columns .sbi-column.expanded {
  flex: 4;
}

.sbi-columns .sbi-column:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    181deg,
    rgba(9, 10, 35, 0) 0%,
    rgba(9, 10, 35, 1) 100%
  );
  z-index: 1;
  opacity: 0.8;
  transition: all 0.6s ease;
}

.sbi-columns .sbi-column:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(9, 10, 35, 0) 0%,
    rgba(9, 10, 35, 1) 100%
  );
  z-index: 1;
  opacity: 0;
  transition: all 0.6s ease;
}

.sbi-columns .sbi-column.expanded:after {
  background: linear-gradient(
    180deg,
    rgba(9, 10, 35, 1) 0%,
    rgba(9, 10, 35, 1) 100%
  );
  opacity: 0.7;
}

.sbi-role {
  color: #f5f5f5;
  font-family: "Atyp Display", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2rem;
  margin-bottom: 8px;
  z-index: 2;
}

.sbi-columns .sbi-column h2 {
  margin-bottom: 16px;
  margin-top: 0;
  font-family: "Atyp Text", Sans-Serif;
  font-size: 24px;
  color: #f5f5f5;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2em;
  z-index: 2;
  max-width: 50%;
}

.sbi-columns .sbi-column.expanded h2 {
  max-width: 100%;
}

.sbi-columns .sbi-column p {
  display: block;
  margin: 0;
  color: #f5f5f5;
  font-family: "Atyp Display", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2em;
  letter-spacing: 0;
  max-height: 0;
  opacity: 0;
  z-index: 2;
}

.sbi-columns .sbi-column.expanded p {
  display: block;
  max-height: 320px;
  opacity: 1;
  animation: columnsText 1s ease;
}

.sbi-columns .sbi-column.column-1 {
  background-image: url(/wp-content/uploads/2025/06/photo-1.jpg);
  background-size: cover;
  background-position: center;
}

.sbi-columns .sbi-column.column-2 {
  background-image: url(/wp-content/uploads/2025/06/photo-4.jpg);
  background-size: cover;
  background-position: center;
}

.sbi-columns .sbi-column.column-3 {
  background-image: url(/wp-content/uploads/2025/06/photo-2.jpg);
  background-size: cover;
  background-position: center;
}

.sbi-columns .sbi-column.column-4 {
  background-image: url(/wp-content/uploads/2025/06/photo-3.jpg);
  background-size: cover;
  background-position: center;
}

@media only screen and (max-width: 1024px) {
  .sbi-columns .sbi-column.expanded p {
    display: block;
    max-height: 250px;
  }

  .sbi-columns {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 1200px;
    gap: 24px;
  }

  .sbi-columns .sbi-column h2 {
    font-size: 20px;
  }

  .sbi-columns .sbi-column h2 {
    margin-bottom: 0px;
  }

  .sbi-columns .sbi-column.expanded h2 {
    margin-bottom: 32px;
  }
}

@keyframes columnsText {
  0% {
    opacity: 0;
    max-height: 0px;
  }
  60% {
    opacity: 0;
    max-height: 0px;
  }
  100% {
    opacity: 1;
    max-height: 320px;
  }
}
