.hero {
    background-color: #000;
    width: 100%;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 20px 130px;
    position: relative;
    text-align: center;
    box-sizing: border-box;
  }
  
  .curve-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
  }
  
  .curve-container svg {
    position: relative;
    display: block;
    width: 100%;
    height: 90px;
  }
  
  .curve-container .shape-fill {
    fill: #FFFFFF;
  }
  
  .hero-logo {
    width: 100%;
    max-width: 400px;
    display: block;
    z-index: 3;
    opacity: 0;
    transition: opacity 1.75s ease-in;
  }
  
  .hero-logo.visible {
    opacity: 1;
  }
  
  .hero-motto {
    color: #fff;
    font-size: 1.5rem;
    margin-top: 50px;
    max-width: 660px;
    letter-spacing: -0.5px;
    padding: 0 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 4;
  }
  
  .line {
    opacity: 0;
    transition: opacity 3.75s ease-in;
    margin: 0;
    margin-top: 15px;
    word-wrap: break-word;
  }
  
  .line.visible {
    opacity: 1;
  }
  
  .line.slow {
    transition-duration: 6s;
    margin-top: 15px;
  }

  section {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    box-sizing: border-box;
  }
  
  #services {
    background: none;
    margin: 0 auto;
    padding: 60px 20px 30px;
    text-align: center;
    position: relative;
    z-index: 10;
    width: 100%;
  }
  
  #contact {
    background: none;
    margin: 0 auto;
    padding: 30px 20px;
    text-align: center;
  }
  
  .gif-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .gif-track {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-color: #f5f5f5;
  }
  
  .gif-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    object-fit: contain;
    background-color: #ffffff;
    z-index: 1;
  }
  
  .gif-image.active {
    opacity: 1;
    z-index: 2;
  }
  
  .gif-caption-container {
    position: relative;
    margin-top: 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .gif-caption {
    position: absolute;
    width: 100%;
    font-style: italic;
    opacity: 0;
    transition: opacity 1s ease;
    text-align: center;
    font-size: 16px;
    line-height: 1.4;
    color: #333;
  }
  
  .gif-caption.active {
    opacity: 1;
  }
  
  .indicators {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 6px;
  }
  
  .indicator {
    width: 10px;
    height: 10px;
    border: 1px solid black;
    border-radius: 50%;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .indicator.active {
    background-color: black;
    width: 12px;
    height: 12px;
  }
  
  h2 {
    margin-bottom: 20px;
  }
  
  .mirrored-curve-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background-color: #000;
  }
  
  .mirrored-curve-container svg {
    position: relative;
    display: block;
    width: 100%;
    height: 90px;
    transform: rotate(180deg);
  }
  
  .mirrored-curve-container .shape-fill {
    fill: #FFFFFF;
  }

  @media (max-width: 440px) {
    .hero-logo {
      max-width: calc(100vw - 40px);
    }
  }
  
  @media (max-width: 768px) {
    .hero-motto {
      font-size: 1.2rem;
    }
    .hero {
      min-height: 500px;
    }
    .curve-container svg {
      height: 70px;
    }

    .mirrored-curve-container svg {
      height: 70px;
    }
  }