/* NOTE: Global Reset, :root variables, and .site-wrap styles
   are now handled globally by header.php.
 */

.aptly-about-banner-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;

  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      #010518 0%,
      #03081f 0%,
      #04102f 13.09%,
      #17407b 44.2%,
      #3672b3 63.38%,
      #90c5ee 82.18%,
      #90c5ee 100%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
  background-blend-mode: overlay;
  color: white;
  font-family: "Poppins", sans-serif;
}

.aptly-about-banner-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 1.5px,
    transparent 1px
  );
  background-size: 18px 18px;
  opacity: 0;
  pointer-events: none;
  animation: aptlyAboutFadeIn 2s ease-out forwards 0.2s;
}

.aptly-about-content-wrapper {
  position: relative;
  z-index: 10;
  padding-top: 8rem;
  padding-bottom: 8rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Hero base: style.css. Section overrides (color, animation) below. */
.aptly-about-banner-section .aptly-hero-heading {
  color: white;
  margin-left: 0;
  max-width: 100%;
  opacity: 0;
  transform: translateY(80px);
  animation: aptlyAboutSlideUpFade 0.6s ease-out 0.15s forwards;
}

.aptly-about-banner-section .aptly-hero-description {
  color: white;
  max-width: 1000px;
  margin-left: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(80px);
  animation: aptlyAboutSlideUpFade 0.6s ease-out 0.25s forwards;
}

.aptly-waves-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  line-height: 0;
}
.aptly-waves-svg {
  width: 100%;
  height: 15vh;
  min-height: 100px;
  max-height: 150px;
  display: block;
}
.aptly-parallax-g > use {
  animation: aptlyAboutMoveForever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5)
    infinite;
}
.aptly-parallax-g > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.aptly-parallax-g > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.aptly-parallax-g > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.aptly-parallax-g > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes aptlyAboutMoveForever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}

.aptly-about-info-section {
  width: 100vw;
  background-color: transparent;
  overflow-x: hidden;
  background-color: #f7f7f7;
}

.aptly-about-info-inner {
  width: 100%;
  padding-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.25rem;
}

.aptly-about-info-left {
  flex: 0 0 160px;
  opacity: 0;
}

.aptly-about-info-right {
  flex: 1;
  min-width: 300px;
  opacity: 0;
}

.aptly-about-info-heading {
  margin: 0;
  max-width: 24rem;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  background: linear-gradient(
    90deg,
    #8918d2 -230%,
    #486ad2 -59.45%,
    #08bbd2 39.71%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.aptly-about-info-text {
  margin: 0;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  color: #1f2937;
}

.aptly-about-info-text .font-medium {
  font-weight: 700;
  color: #000;
}

@keyframes aptlyAboutFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes aptlyAboutSlideUpFade {
  from {
    opacity: 0;
    transform: translateY(80px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes aptlyAboutSlideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes aptlyAboutSlideInFromRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.aptly-about-anim-left.is-visible {
  animation: aptlyAboutSlideInFromLeft 0.8s ease-out forwards;
}
.aptly-about-anim-right.is-visible {
  animation: aptlyAboutSlideInFromRight 0.8s ease-out forwards 0.2s;
}

@media (min-width: 1441px) {
  .aptly-about-info-heading {
    font-size: 24px;
  }
  .aptly-about-info-text {
    font-size: 16px;
    line-height: 1.6;
  }
  .aptly-about-info-left {
    flex: 0 0 200px;
  }
}

@media (max-width: 768px) {
  .aptly-about-info-section {
    display: none;
  }

  .aptly-about-content-wrapper {
    text-align: left;
  }

  .aptly-about-heading {
    font-size: 38px;
    margin-bottom: 32px;
    line-height: 1.4;
    margin-left: 0;
  }

  .aptly-about-description {
    font-size: 20px;
    line-height: 1.8;
  }
}

@media (max-width: 480px) {
  .aptly-about-heading {
    font-size: 28px;
  }
  .aptly-about-description {
    font-size: 15px;
    line-height: 1.8;
  }
}
