.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.about-footer-section {
  min-height: 100vh;
  background-color: rgba(0, 0, 0, 0.13);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 100;
  margin-top: 5rem;
}

.underline {
  position: relative;
  bottom: 15vh;
  width: 1.8px;
  height: 40px;
  background-color: rgba(13, 13, 13, 0);
  overflow: visible;
  padding-bottom: 5px;
  z-index: 100;
  left: 50%;
  transform: translateX(-50%);
}

.underline::before {
  content: "";
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(
    to top,
    transparent 0%,
    rgba(255, 255, 255, 1),
    transparent 100%
  );
  animation: anmUnd 2s linear infinite;
}

@keyframes anmUnd {
  0% {
    bottom: 100%;
    opacity: 0;
  }
  25% {
    bottom: 50%;
    opacity: 0.5;
  }
  50% {
    bottom: 0%;
    opacity: 1;
  }
  75% {
    bottom: -50%;
    opacity: 1;
  }
  100% {
    bottom: -100%;
    opacity: 0.2;
  }
}

.about-container {
  max-width: 999px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 100;
  padding: 0 1rem;
  box-sizing: border-box;
}

.about-space {
  height: 20vh;
  width: 100%;
  background: transparent;
}

.about-bg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #131517;
  border-radius: 13px;
  border: 1.3px solid transparent;
  margin-bottom: 2rem;
  position: relative;
  z-index: 100;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding: 2rem 2rem;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.about-bg:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.about-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  color: rgba(255, 255, 255, 1);
  font-weight: 700;
  margin-bottom: 0.75rem;
  margin-top: 0;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 10;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.about-secondary-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: rgba(255, 255, 255, 0.6);
  font-weight: 700;
  margin-bottom: 1.5rem;
  margin-top: 0;
  letter-spacing: -0.015em; 
  position: relative;
  z-index: 10;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.about-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.95rem, 3vw, 1.1rem);
  color: rgba(255, 255, 255, 1);
  margin-bottom: 1.25rem;
  margin-top: 0;
  position: relative;
  z-index: 10;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.about-description {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 10;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.about-hover {
  transition: color 0.3s ease-in-out, background-color 0.1s ease-in-out;
}

.about-hover:hover {
  background-color: rgba(255, 255, 255, 1);
  color: rgba(0, 0, 0, 1);
}

@media (max-width: 768px) {
  .about-footer-section {
    padding: 1.5rem 1rem;
  }

  .about-spacer {
    height: 13vh;
  }
  
  .about-description {
    line-height: 1.7;
  }

  .about-container {
    padding: 0 1rem;
  }

  .about-bg {
    padding: 1.75rem 1.25rem;
  }

  .about-description {
    line-height: 1.7;
    padding: 0 0.5rem;
    max-width: 100%;
  }

  .about-subtitle {
    margin-bottom: 1rem;
  }

  .underline {
    bottom: 15vh;
  }
}

@media (max-width: 480px) {
  .about-footer-section {
    padding: 1rem 0.75rem;
  }

  .about-spacer {
    height: 7.5vh;
  }

  .underline {
    bottom: 13vh;
  }

  .about-container {
    padding: 0 0.75rem;
  }

  .about-bg {
    padding: 1.5rem 1rem;
  }

  .about-description {
    padding: 0 0.25rem;
    max-width: 100%;
  }

  .about-hero {
    margin-bottom: 1.5rem;
  }

  .about-subtitle {
    margin-bottom: 0.85rem;
  }
}

@media (max-width: 340px) {
  .underline {
    display: none;
  }
}