.main-fixed-logo {
  position: fixed;
  top: 2rem;
  left: 1rem;
}
.cursor-glow-wrapper {
  pointer-events: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
}
.cursor-glow {
  position: absolute;
  z-index: 1;
  width: 50rem;
  height: 50rem;
  background: radial-gradient(var(--bs-primary), var(--bs-body-bg));
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%); /* Centers the glow on the cursor */
  filter: blur(50px);
  animation: moveRandom 20s infinite ease-in-out, pulse 2s infinite alternate ease-in-out;
  
}
@keyframes moveRandom {
  0% {
    top: 40%;
    left: 30%;
  }
  20% {
    top: 20%;
    left: 70%;
  }
  40% {
    top: 80%;
    left: 80%;
  }
  60% {
    top: 60%;
    left: 20%;
  }
  80% {
    top: 10%;
    left: 50%;
  }
  100% {
    top: 40%;
    left: 30%;
  }
}

/* Keyframes for pulse effect */
@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1.1);
  }
}
.text-primary {
  text-shadow: 1px 1px 4px rgb(0 0 0 / 28%);
}
/* == intro == */
.home-intro-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: var(--100vh);
  padding-bottom: 8%;
}
.home-intro-wrapper h2 {
  font-size: 1.25rem;
}
.intro-bg-icon-wrapper {
  opacity: 0.3;
  position: absolute;
  top: 10rem;
  right: 0;
  width: 40vw;
  overflow: hidden;
}
/* == who == */
.who-wrapper {
  font-size: 4.375rem;
  font-size: 1.5rem;
  padding-top: 4.5rem;
  padding-bottom: 3rem;
}
/* == what == */
.what-wrapper {
  padding-top: 4.5rem;
  padding-bottom: 3rem;
}
.what-wrapper .display-2 {
  margin-bottom: 0;
}
.services-wrapper {
  margin-top: 3rem;
  margin-bottom: 3rem;
}
.services-title {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-size: 1.3rem;
  font-weight: var(--fw-bold);
  margin-bottom: 1rem;
  text-shadow: 1px 1px 4px rgb(0 0 0 / 28%);
}
.services-title::after {
  content: "";
  position: absolute;
  width: 0;
  height: 6px;
  background-color: var(--bs-primary);
  transform: rotate(-10deg);
  transform-origin: center;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  z-index: -1;
  transition: width var(--ease-in-out);
}
.services-block:hover .services-title::after {
  width: 100%;
}
.services-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style-type: none;
  font-size: 1rem;
  margin-bottom: 3rem;
  transition: opacity var(--ease-in-out);
}
.services-wrapper:hover .services-block:not(:hover) .services-list {
  opacity: 0.4;
}
/* == projects == */
.projects-wrapper {
  margin-top: 5rem;
}
.project-block {
  margin-bottom: 3rem;
}
.project-block .info {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 1rem 1rem 0;
  margin-left: 1rem;
}
.project-block .info::before {
  content: "";
  position: absolute;
  top: -100%;
  bottom: 200%;
  left: 0;
  width: 1px;
  background-color: var(--bs-white);
  transition: bottom 1s ease-in-out;
}
.project-block.in-view .info::before {
  bottom: 0;
}
.project-block .info .title {
  font-weight: var(--fw-bold);
  margin-bottom: 0.5rem;
}
.project-block .info .areas {
  margin-bottom: 0;
}

/* == contacts / awards == */
.talk-wrapper {
  padding-top: 4.5rem;
}
.awards-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.contacts-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contacts-wrapper a {
  text-decoration: none;
}
.copyright-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.75rem;
}
.team-img-wrapper {
  position: relative;
}
.team-img-wrapper .logo-icon {
  position: absolute;
  z-index: 3;
  left: 1rem;
  bottom: 1rem;
  margin-left: calc(var(--bs-gutter-x) * 0.5);
}
.team-img-wrapper .show-on-hover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity var(--ease-in-out);
}
.team-img-wrapper .logo-icon:hover ~ .show-color-left .show-on-hover {
  opacity: 1;
}

@media (max-width: 767.98px) {
  .container-xxl {
    --bs-gutter-x: 8rem;
    padding-right: 1rem;
  }
  .main-fixed-logo {
    width: 2rem;
    height: auto;
  }
  .cursor-glow {
    animation: pulse 2s infinite alternate ease-in-out;
  }
  .intro-bg-icon-wrapper {
    top: 20rem;
  }
  .intro-bg-icon {
    transform-origin: top left;
    transform: scale(0.4);
  }
  .intro-bg-icon path {
    stroke-width: 3px;
  }
  .home-intro-wrapper {
    padding-bottom: 10rem;
  }
  .home-intro-wrapper .display-1 {
    font-size: 2rem;
  }
  .what-wrapper .display-2,
  .talk-wrapper .display-2 {
    font-size: 2rem;
  }
}
@media (min-width: 768px) {
  .who-wrapper {
    font-size: 2.5rem;
    padding-top: 10rem;
    padding-bottom: 6rem;
  }
  .services-title {
    font-size: 1.813rem;
  }
  .services-list {
    list-style-type: none;
    font-size: 1.25rem;
  }
  .projects-wrapper {
    margin-top: 10rem;
  }
  .project-block .info {
    position: relative;
    z-index: 1;
    font-size: 1.25rem;
  }
  .what-wrapper .display-2,
  .talk-wrapper .display-2 {
    font-size: 3rem;
  }
}
@media (min-width: 1200px) {
  .who-wrapper {
    font-size: 4rem;
    padding-right: 20rem;
  }
  .what-wrapper {
    padding-top: 10rem;
    padding-bottom: 8rem;
  }
  .what-wrapper .display-2 {
    font-size: 2.938rem;
  }
  .home-intro-wrapper .display-1 {
    max-width: 80%;
  }
}
@media (min-width: 1500px) {
  html {
    font-size: 17px;
  }
}
.text-circle-animation,
.text-arrows-animation,
.text-underline-animation {
  display: inline-block;
  position: relative;
  text-shadow: 1px 1px 8px rgb(0 0 0 / 28%);
}
.text-circle-animation svg,
.text-arrows-animation svg,
.text-underline-animation svg {
  opacity: 0;
  position: absolute;
  z-index: -1;
}
.text-circle-animation svg {
  top: 50%;
  left: 50%;
  bottom: 0;
  width: 110%;
  transform: translate(-50%, -50%);
}
.text-arrows-animation svg {
  top: 100%;
  right: -30%;
  width: 70%;
  height: auto;
}
.text-underline-animation svg {
  left: 0;
  bottom: 0;
  width: 100%;
}
.text-underline-animation::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: -1;
  height: 4px;
  width: 0;
  background-color: var(--bs-primary);
  transition: width 2s ease-in-out;
}
.text-underline-animation.in-view::after {
  width: 100%;
}
.text-circle-animation.in-view svg,
.text-arrows-animation.in-view svg {
  opacity: 1;
  animation: drawEllipse 2s ease forwards;
}
.text-arrows-animation.in-view svg {
  animation-duration: 3s;
}

/* Keyframes for the drawing animation */
@keyframes drawEllipse {
  0% {
    stroke-dasharray: 0, 1000;
    stroke-dashoffset: 500;
  }
  100% {
    stroke-dasharray: 500, 0;
    stroke-dashoffset: 0;
  }
}
