main section {
  margin-bottom: 2rem;

  .container {
    padding: 0;
  }
}

section.about-us-section-header .header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;

  > span {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.375rem 0.5rem;
    color: #008c45;
    background-color: #008c4621;
    border-radius: 50px;
  }

  h1 {
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 700;
    color: #035c2f;
    text-align: center;
  }

  p {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
  }

  .header-section-image {
    width: 100%;
    max-height: 300px;
    overflow: hidden;
    border-radius: 0.5rem;
    position: relative;
    box-shadow: 0px 4px 8px 0px #0000001a;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }

    div {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(
        90deg,
        rgba(3, 92, 47, 0.468) 40%,
        rgba(255, 255, 255, 0.597) 100%
      );

      span {
        position: absolute;
        bottom: 0;
        left: 0;
        padding: 0.75rem;

        h2 {
          font-size: 1.5rem;
          font-weight: 700;
          color: #fff;
        }

        p {
          font-size: 0.875rem;
          color: #fff;
        }
      }
    }
  }

  @media (min-width: 768px) {
    padding: 2rem 0;

    h1 {
      font-size: 2.5rem;
    }

    p {
      font-size: 1.125rem;
    }

    .header-section-image {
      max-height: 400px;
    }
  }

  @media (min-width: 1024px) {
    h1 {
      font-size: 3.75rem;
    }

    p {
      font-size: 1.25rem;
      line-height: 1.75rem;
    }

    .header-section-image {
      max-height: 600px;
    }
  }
}

section.about-us-section-history {
  margin-bottom: 2rem;

  .container {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);

    > p {
      font-size: 0.875rem;
      line-height: 1.5;
      color: #1f2937;
      margin-top: 1rem;
    }
  }

  .header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;

    > div {
      width: 100%;

      h2 {
        position: relative;
        font-size: 1.75rem;
        line-height: 1.3;
        font-weight: 700;
        color: #035c2f;
        margin-bottom: 1rem;

        &:after {
          content: "";
          position: absolute;
          left: 0;
          bottom: -0.5rem;
          height: 0.25rem;
          width: 15%;
          border-radius: 9999px;
          background-color: #00944a;
          transition: width 0.3s ease;
        }
      }

      p {
        font-size: 0.875rem;
        line-height: 1.6;
        color: #374151;
        margin-bottom: 0.5rem;

        span {
          font-weight: 700;
          color: #035c2f;
        }
      }
    }

    img {
      width: 100%;
      height: auto;
      max-height: 250px;
      object-fit: cover;
      object-position: center;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease;

      &:hover {
        transform: scale(1.02);
      }
    }
  }

  .main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;

    div:nth-child(1),
    div:nth-child(2) {
      width: 100%;
    }

    div:nth-child(2) img {
      width: 100%;
      height: auto;
      max-height: 300px;
      object-fit: cover;
      border-radius: 8px;
      margin-top: 1rem;
    }

    .timeline-item {
      position: relative;
      padding-left: 1.75rem;
      padding-bottom: 1.75rem;
      transition: all 0.3s ease;

      &:hover {
        transform: translateX(5px);
      }

      span {
        display: block;
        font-size: 1rem;
        line-height: 1.4;
        font-weight: 600;
        color: #035c2f;
        margin-bottom: 0.5rem;
      }

      p {
        font-size: 0.875rem;
        line-height: 1.6;
        color: #374151;
      }

      &:before {
        content: "";
        position: absolute;
        left: 0;
        top: 0.35rem;
        height: 0.65rem;
        width: 0.65rem;
        border-radius: 9999px;
        background-color: #00944a;
        z-index: 2;
        transition: all 0.3s ease;
      }

      &:after {
        content: "";
        position: absolute;
        left: 5.5px;
        top: 1rem;
        height: calc(100% - 1rem);
        width: 0.125rem;
        background-color: #e0f7e9;
      }

      &:last-child:after {
        display: none;
      }
    }
  }

  @media (min-width: 640px) {
    .header {
      img {
        max-height: 300px;
      }
    }

    .main {
      div:nth-child(2) img {
        max-height: 350px;
      }
    }
  }

  @media (min-width: 768px) {
    margin-bottom: 3rem;

    .container {
      padding: 2rem;
      border-radius: 14px;

      > p {
        font-size: 1rem;
      }
    }

    .header {
      > div {
        h2 {
          font-size: 2rem;

          &:after {
            width: 12%;
          }
        }

        p {
          font-size: 1rem;
        }
      }

      img {
        max-height: 350px;
      }
    }

    .main {
      .timeline-item {
        span {
          font-size: 1.125rem;
        }

        p {
          font-size: 1rem;
        }
      }
    }
  }

  @media (min-width: 1024px) {
    .container {
      padding: 3rem;
      border-radius: 16px;
    }

    .header {
      flex-direction: row;
      gap: 2rem;
      margin-bottom: 2rem;

      > div {
        width: 60%;

        h2:after {
          width: 8%;
        }
      }

      img {
        width: 40%;
        max-height: none;
      }
    }

    .main {
      flex-direction: row;
      gap: 2rem;

      div:nth-child(2) {
        img {
          margin-top: 0;
          height: 100%;
          max-height: none;
        }
      }
    }
  }

  @media (min-width: 1280px) {
    .header {
      > div {
        width: 66.666667%;
      }

      img {
        width: 33.333333%;
      }
    }
  }
}

section.about-us-section-info-card {
  margin-bottom: 2rem;

  .container > div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    justify-content: center;

    .card {
      width: 100%;
      padding: 1.25rem;
      border-radius: 12px;
      background-color: #fff;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;

      &:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
      }

      h3 {
        font-size: 1.75rem;
        line-height: 1.3;
        color: #035c2f;
        margin-bottom: 1.5rem;
        position: relative;

        &:after {
          content: "";
          position: absolute;
          left: 0;
          bottom: -0.5rem;
          height: 0.25rem;
          width: 25%;
          border-radius: 9999px;
          background-color: #00944a;
          transition: width 0.3s ease;
        }
      }

      > div {
        display: flex;
        flex-direction: column;
        gap: 1rem;
      }

      .card-value {
        div {
          display: flex;
          gap: 0.75rem;
          align-items: flex-start;
          margin-bottom: 0.75rem;

          i {
            min-width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            font-style: normal;
            background-color: #008c45;
            color: #fff;
            padding: 0.5rem;
            border-radius: 50%;
          }

          p {
            font-size: 0.875rem;
            line-height: 1.5;
            color: #374151;
            margin: 0;
          }
        }
      }
    }
  }

  @media (min-width: 576px) {
    .container > div {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (min-width: 768px) {
    margin-bottom: 3rem;

    .container > div {
      gap: 1.5rem;

      .card {
        padding: 1.5rem;

        h3 {
          font-size: 2rem;

          &:after {
            width: 20%;
          }
        }

        .card-value div p {
          font-size: 1rem;
        }
      }
    }
  }

  @media (min-width: 992px) {
    .container > div {
      grid-template-columns: repeat(3, 1fr);

      .card {
        h3 {
          font-size: 2.25rem;
          line-height: 1.2;

          &:after {
            width: 18%;
          }
        }
      }
    }
  }

  @media (min-width: 1200px) {
    .container > div {
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      justify-content: space-between;

      .card {
        width: 100%;
        max-width: 380px;
      }
    }
  }
}

section.about-us-section-structure {
  h2 {
    position: relative;
    font-size: 1.75rem;
    line-height: 1.2;
    font-weight: 700;
    color: #035c2f;
    margin-bottom: 1.5rem;

    &:after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -0.5rem;
      height: 0.25rem;
      width: 15%;
      border-radius: 9999px;
      background-color: #00944a;
    }
  }

  .cards {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0.75rem;

    .card-item {
      position: relative;
      width: 100%;
      height: 280px;
      border-radius: 8px;
      overflow: hidden;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      span {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
          90deg,
          rgba(3, 92, 47, 0.468) 40%,
          rgba(255, 255, 255, 0.597) 100%
        );
        font-weight: 500;
        color: #fff;
        font-size: 0.875rem;
        display: flex;
        align-items: flex-end;
        padding: 0.75rem;
      }
    }
  }

  @media (min-width: 768px) {
    h2 {
      font-size: 2rem;

      &:after {
        width: 10%;
      }
    }

    .cards {
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;

      .card-item {
        height: 380px;
      }
    }
  }

  @media (min-width: 1024px) {
    h2 {
      font-size: 2.25rem;
      line-height: 2.5rem;

      &:after {
        width: 8%;
      }
    }

    .cards {
      display: flex;
      gap: 1rem;

      .card-item {
        width: 276px;
        height: 276px;
      }
    }
  }
}

section.about-us-section-policy {
  .container {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0px 4px 8px 0px #0000001a;
  }

  #quality-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding: 1.5rem;

    h2 {
      position: relative;
      font-size: 1.75rem;
      line-height: 1.2;
      font-weight: 700;
      color: #035c2f;

      &:after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -0.5rem;
        height: 0.25rem;
        width: 15%;
        border-radius: 9999px;
        background-color: #00944a;
      }
    }

    p {
      font-size: 0.875rem;
      span {
        font-weight: 700;
        color: #035c2f;
      }
    }

    h3 {
      font-size: 1.125rem;
      line-height: 1.5;
      font-weight: 700;
      color: #035c2f;
    }

    #quality-container-items {
      display: flex;
      flex-direction: column;
      gap: 1rem;

      .quality-item {
        display: flex;
        gap: 0.75rem;
        width: 100%;

        i {
          font-size: 0.875rem;
          color: #035c2f;
        }

        h4 {
          font-size: 0.875rem;
          font-weight: 600;
          color: #035c2f;
        }

        p {
          font-size: 0.875rem;
          color: #374151;
        }
      }
    }
  }

  #quality-container-image {
    width: 100%;
    order: -1;

    img {
      width: 100%;
      height: 300px;
      object-fit: cover;
    }
  }

  @media (min-width: 768px) {
    #quality-container {
      h2 {
        font-size: 2rem;
      }

      p {
        font-size: 1rem;
      }

      h3 {
        font-size: 1.25rem;
      }

      #quality-container-items {
        flex-direction: row;
        flex-wrap: wrap;

        .quality-item {
          width: calc(50% - 0.5rem);

          h4,
          p {
            font-size: 1rem;
          }
        }
      }
    }

    #quality-container-image {
      img {
        height: 400px;
      }
    }
  }

  @media (min-width: 1024px) {
    .container {
      flex-direction: row;
    }

    #quality-container {
      width: 50%;
      padding: 3rem;

      h2 {
        font-size: 2.25rem;
        line-height: 2.5rem;

        &:after {
          width: 8%;
        }
      }

      #quality-container-items {
        .quality-item {
          i {
            font-size: 1rem;
          }
        }
      }
    }

    #quality-container-image {
      width: 50%;
      order: 0;

      img {
        height: 100%;
      }
    }
  }
}
