footer {
  margin-top:-50px;
  display: flex;
  flex-direction: column;
  background: $medium-green;
  border-radius: 100px 100px 0 0;


  .footer-faq {
    background-color: #367845;
    // clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    border-radius: 50px 50px 0 0;
    padding: 60px 20px 80px 20px;

    .footer-faq-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      flex: 1;

      @media (min-width: $breakpoint_lg) {
        display: flex;
        align-items: center;
        gap: 80px;
        margin: 0 auto;
        box-sizing: border-box;
      }
    
      .footer-faq__img {
        
      }
  
      .footer-faq__block {
        display: flex;
        align-items: center;
        flex-direction: column;
        text-align: center;
        
        @media (min-width: $breakpoint_lg) {
          align-items: flex-start;
          text-align: left;
        }
      }
  
      @media (min-width: $breakpoint_lg) {
        font-size: 1.25rem;
        flex-direction: row;
        max-width: calc(1540px + 60px); // max width plus the padding left & right
        padding: 80px 60px 80px 60px;
        gap: 80px;
        border-radius: 100px 100px 0 0;
        margin-bottom: 55px;
      }
    }

    &::after {
      content: "";
      position: absolute;
      width: 100%;
      height: 100px;
      left: 0;
      background: url('/static/svg/cms_plugins/wave_footer.svg') repeat-x;
      background-size: cover;
      animation: wave-animation 10s linear infinite;
      
      @media (min-width: $breakpoint_sm)  {
        animation: wave-animation 5s linear infinite;
      }
    }

  
    @keyframes wave-animation {
      from {
        background-position: 0px bottom;
      }
      to {
        background-position: 100vw bottom; /* Adjust to match SVG width */
      }
    }
  }

  .footer-info {
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 50px 20px;
    

    div {
      display: flex;
      flex-direction: column;

      small {
        margin: 20px 0;
      }
    }

    @media (min-width: $breakpoint_lg) {
      flex-direction: row;
      justify-content: space-between;
      align-items: flex-start;
      align-self: stretch;
      padding: 80px 80px;
      max-width: calc(1540px + 80px); // max width plus the padding left & right
      width: 100%;
      box-sizing: border-box;
      gap: 20px;
      margin: 0 auto;
    }

    .footer-info__socials {
      display: flex;
      flex-direction: row;
      gap: 20px;
      margin-top: 40px;
    }
  }

  .footer-links {
    display: flex;
    flex-direction: column-reverse;
    gap: 40px;
    padding: 50px 20px;

    .footer-links__pages {
      display: flex;
      flex-direction: column-reverse;
      gap: 40px;

      div {
        display: flex;
        flex-direction: column;
        gap: 40px;

        a {
          display: flex;
        }
      }

      @media (min-width: $breakpoint_lg) {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;

        div {
          flex-direction: row;
          align-items: center;
          justify-content: flex-start;
        }
      }
    }

    @media (min-width: $breakpoint_lg) {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      align-self: stretch;
      padding: 60px 80px;
      max-width: calc(1540px + 80px); // max width plus the padding left & right
      box-sizing: border-box;
      width: 100%;
      margin: 0 auto;
    }

    .footer-links__logos {
      display: flex;
      flex-direction: row;
      gap: 20px;

      .beisheim-logo {
        height: 45px;
        flex-shrink: 0;
      }

      .zi-logo {
        width: 70px;
        height: 35px;
        flex-shrink: 0;
      }

      .mhfa-logo {
        width: 50px;
        height: 46.212px;
        flex-shrink: 0;
      }

      @media (min-width: $breakpoint_sm) {
        .beisheim-logo {
          height: 90px;
        }

        .zi-logo {
          width: 129px;
          height: 65px;
        }

        .mhfa-logo {
          width: 80px;
          height: 74.56px;
        }
      }

      @media (min-width: $breakpoint_lg) {
        align-items: center;
        justify-content: flex-end;
        gap: 40px;
      }
    }
  }
}