.hero-layout {
  position: relative;
  width: 100%;
  height: max-content;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  /* Fixed background */
  background: url("../../assets/about-us/main-bg.webp") no-repeat
    center center fixed;
  background-size: cover;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35); /* dark overlay for contrast */
    z-index: 1;
  }

  /* Glassmorphic content wrapper */
  .text-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 3rem;
    text-align: center;

    .title {
      font-size: clamp(2rem, 5vw, 3rem);
      font-weight: 700;
      margin-bottom: 2rem;
      color: var(--color-primary);
    }

    .about-us-content p {
      font-size: 1.05rem;
      line-height: 1.8;
      color: var(--color-text-white);
      margin-bottom: 1rem;
    }

    .about-features {
      margin-top: 2rem;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem;

      .feature {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 1rem;
        padding: 1rem 1.5rem;
        min-width: 180px;
        transition: transform 0.3s ease, box-shadow 0.3s ease,
          background 0.3s ease;

        &:hover {
          transform: translateY(-5px);
          box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
          background: rgba(255, 255, 255, 0.2);
        }

        h3 {
          color: var(--color-primary);
          font-weight: 700;
          margin-bottom: 0.3rem;
        }

        p {
          font-size: 0.95rem;
          color: var(--color-text-white);
        }
      }
    }

    .about-us-page-btn a {
      display: inline-block;
      background-color: var(--color-primary);
      color: var(--color-text-white);
      padding: 0.5rem 1.5rem;
      border-radius: 0.5rem;
      transition: all 0.3s ease;

      &:hover {
        background-color: var(--color-primary-hover);
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
      }
    }
  }

  /* Background collage overlay */
  .background-collage .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
  }

  /* Scroll animations */
  .animate-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
  }

  .animate-visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Responsive */
  @media (max-width: 768px) {
    padding: 4rem 1rem;

    .text-content {
      padding: 1.5rem 2rem;
    }

    .about-features {
      flex-direction: column;
      gap: 0.5rem;

      .feature {
        min-width: 100%;
      }
    }
  }
}
