#agorix-top {
  padding: var(--content-spacing);
}

#agorix-top > .eg-container > .eg-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
}

#agorix-top > .eg-container > .eg-wrapper > .left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#agorix-top .left > .description {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 1rem;
}

#agorix-top .left > .description > h2 {
  color: var(--agora-blue);
  font-size: var(--font-36);
  font-weight: 700;
}

#agorix-top .left > .description > p {
  color: var(--agora-grey);
  font-size: var(--font-16);
  font-weight: 400;
  line-height: var(--line-26);
}

#agorix-top .left > .numbers {
  display: flex;
  align-items: center;
  justify-content: start;
  flex-wrap: wrap;
  gap: 1rem;
}

#agorix-top .left > .numbers > .box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--agora-white-2);
  border-radius: 100px;
  padding: 0.5rem 1.5rem;
  min-width: 330px;
  justify-content: space-evenly;
}

#agorix-top .left > .numbers > .box > .group {
  display: flex;
  align-items: center;
}

#agorix-top .left > .numbers > .box > .group > .icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

#agorix-top .left > .numbers > .box > .group > p {
  color: var(--agora-black);
  font-size: var(--font-60);
  font-weight: 700;
  line-height: 1;
}

#agorix-top .left > .numbers > .box > .group > sup {
  font-size: var(--font-20);
  font-weight: 700;
}

#agorix-top .left > .numbers > .box > span {
  color: var(--agora-black);
  font-size: var(--font-16);
  font-weight: 400;
}

#agorix-top > .eg-container > .eg-wrapper > .right > img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

#agorix-gallery {
  padding: var(--content-spacing);
}

#agorix-gallery > .eg-container > .eg-wrapper {
  display: grid;
  grid-template-columns: var(--col-3);
  grid-auto-rows: 1fr;
  gap: 1rem;
}

#agorix-gallery > .eg-container > .eg-wrapper > .box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--agora-white-2);
  border-radius: 10px;
}

#agorix-gallery > .eg-container > .eg-wrapper > .box::after {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1rem;
  right: 1rem;
  bottom: 1rem;
  width: calc(100% - 2rem);
  height: calc(100% - 2rem);
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  opacity: 0;
  transition: 0.3s;
}

#agorix-gallery > .eg-container > .eg-wrapper > .box::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-image: url("data:image/svg+xml, %3Csvg width='40' height='40' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath id='Vector' d='M7 10H10M10 10H13M10 10V7M10 10V13M15 15L21 21M10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10C17 13.866 13.866 17 10 17Z' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' %3E%3C/path%3E%3C/svg%3E%0A");
  background-size: contain;
  width: 40px;
  height: 40px;
  z-index: 1;
  opacity: 0;
  transition: 0.3s;
}

#agorix-gallery > .eg-container > .eg-wrapper > .box:hover::after,
#agorix-gallery > .eg-container > .eg-wrapper > .box:hover::before {
  opacity: 1;
}

#agorix-gallery .box > img {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 63/47;
  object-fit: cover;
  object-position: center;
}

#agorix-tabs {
  padding: var(--content-spacing);
}

#agorix-tabs > .eg-container > .eg-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

#agorix-tabs > .eg-container > .eg-wrapper > .heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.5rem;
}

#agorix-tabs .heading > h2 {
  color: var(--agora-blue);
  font-size: var(--font-36);
  font-weight: 700;
}

#agorix-tabs .heading > i {
  color: var(--agora-blue);
  font-size: var(--font-20);
  font-weight: 400;
}

#agorix-tabs .heading > p {
  color: var(--agora-grey);
  font-size: var(--font-16);
  font-weight: 400;
  line-height: var(--line-26);
  width: 75%;
}

@media (max-width: 1400px) {
  #agorix-top > .eg-container > .eg-wrapper {
    grid-template-columns: 2fr 1.5fr;
  }
  #agorix-top .left > .numbers > .box {
    min-width: 300px;
  }
  #agorix-tabs > .eg-container > .eg-wrapper {
    align-items: unset;
  }
}

@media (max-width: 1200px) {
  #agorix-top > .eg-container > .eg-wrapper {
    grid-template-columns: var(--col-6);
  }
}

@media (max-width: 992px) {
  #agorix-top > .eg-container > .eg-wrapper {
    grid-template-columns: var(--col-12);
  }
  #agorix-gallery > .eg-container > .eg-wrapper {
    grid-template-columns: var(--col-4);
  }
}

@media (max-width: 768px) {
  #agorix-gallery > .eg-container > .eg-wrapper {
    grid-template-columns: var(--col-6);
  }
}

@media (max-width: 576px) {
  #agorix-gallery > .eg-container > .eg-wrapper {
    gap: 0.5rem;
  }
  #agorix-gallery > .eg-container > .eg-wrapper > .box {
    padding: 0.5rem;
  }
  #agorix-gallery > .eg-container > .eg-wrapper > .box::after {
    width: calc(100% - 1rem);
    height: calc(100% - 1rem);
    left: 0.5rem;
    top: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
  }
  #agorix-gallery > .eg-container > .eg-wrapper > .box::before {
    width: 30px;
    height: 30px;
  }
  #agorix-tabs .heading > p {
    width: 100%;
  }
}

@media (max-width: 380px) {
  #agorix-top .left > .numbers > .box {
    min-width: unset;
    width: 100%;
  }
}
