.work-container {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: 'IBM Plex Sans', sans-serif;

  .intro-section.work-intro-section {
    background-image: url(/images/Work.png);
  }

  .services-section {
    padding: 4rem 2rem;

    .sevices-container {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      justify-content: space-between;

      .services-left {
        flex: 1;
        justify-content: start;

        .services-sidebar {
          background-color: var(--theme-light-bg);
          border-radius: 35px;
          padding: 2rem;
          text-align: start;
        }

        .all-services-btn {
          color: var(--theme-white);
          background-color: var(--theme-primary-dark);
          border-radius: 25px;
          padding: 8px 16px;
          margin-bottom: 1rem;
          font-size: 16px;
        }

        .MuiListItemButton-root {
          background-color: rgba(14, 48, 44, 0.05);
          border: none;

          border-radius: 25px;
          margin-bottom: 8px;
        }
        .MuiListItemButton-root.Mui-selected {
          background-color: var(--theme-primary-dark);
          color: var(--theme-white);
          .MuiListItemIcon-root {
            color: var(--theme-white);
          }
        }
      }

      .services-right {
        flex: 3;

        h2 {
          color: var(--theme-primary-dark);
          font-family: var(--font-technomat);
        }

        .filter-section {
          display: flex;
          align-items: center;
          justify-content: space-between;

          @media (max-width: 768px) {
            display: grid;
            justify-content: center;
          }
        }

      .filter-sort-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap; 
        gap: 24px;
      }

      .filter-sort-bar span {
          font-weight: 500;
          margin-right: 4px;
      }

      .mui-select {
        min-width: 160px;
      }

      .mui-select .MuiOutlinedInput-notchedOutline {
        border-color: none !important;
        border-radius: 8px;
      }

      .mui-select:hover .MuiOutlinedInput-notchedOutline {
        border: 2px solid #004940 !important;
        border-color:#004940 !important;
      }

      .mui-select.Mui-focused .MuiOutlinedInput-notchedOutline {
        border: 2px solid #004940 !important;
      }

      .mui-select-menu {
        border: 2px solid var(--theme-primary-dark) !important;
        border-radius: 8px !important;
        overflow: hidden;
      }

      .mui-select .MuiSelect-select {
        padding: 6px 12px;
        font-size: 0.9rem;
      }
        
      @media (max-width: 768px) {
        .filter-sort-bar {
          flex-direction: column;
          align-items: stretch; 
          gap: 16px;
        }

        .filter-sort-bar > div {
          display: flex;
          flex-direction: column;
          align-items: flex-start;
          width: 100%;
          gap: 8px;
        }

          .filter-sort-bar span {
            margin-right: 0;
            margin-bottom: 4px;
          }

          .filter-sort-bar .mui-select {
            width: 100%;
            min-width: unset;
          }
        }

        .services-box {
          background-color: #eff7f2;
          border-radius: 35px;
          padding: 2rem;
          margin-bottom: 3rem;

          .services-title {
            display: flex;

            h2 {
              font-family: 'IBM Plex Sans', sans-serif;
            }

            img {
              margin-right: 1rem;
            }
          }
        }
        .projects-container {
          width: 100%;

          a {
            text-decoration: none;
            color: inherit;
          }

          .projects-list {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;

            @media (max-width: 768px) {
              grid-template-columns: repeat(1, 1fr);
            }
          }

          .project-card {
            background-color: var(--theme-white);
            border-radius: 12px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            padding: 1.5rem;
            text-align: left;
            cursor: pointer;

            img {
              width: 100%;
              border-radius: 35px;
            }

            h4 {
              text-transform: uppercase;
              font-weight: bold;
              color: #252626;

              img {
                width: 12px;
                height: 12px;
                margin-right: 5px;
              }
            }

            h3 {
              margin-bottom: 0.5rem;
              color: #666666;
              font-weight: normal;
              text-transform: uppercase;
            }

            p {
              color: var(--theme-primary-dark);
              margin-bottom: 2rem;
              font-weight: 500;
            }

            .card-footer {
              display: flex;
              align-items: center;
              justify-content: space-between;

              .category-item {
                background-color: var(--theme-light-bg);
                border-radius: 35px;
                padding: 6px 12px;
                width: fit-content;
                display: flex;
                align-items: center;

                img {
                  width: 1rem;
                  padding-right: 5px;
                  height: auto;
                }
              }

              .status {
                display: flex;
                align-items: center;
                gap: 6px;
                text-transform: capitalize;

                .status-dot {
                  width: 8px;
                  height: 8px;
                  border-radius: 50%;
                  display: inline-block;
                }

                .planned {
                  background-color: #ffcc00;
                }

                .ongoing {
                  background-color: #4caf50;
                }

                .finished {
                  background-color: #f44336;
                }
              }
            }
            .view-project-btn {
              background-color: var(--theme-white);
              border: none;
              color: #252626;
              cursor: pointer;
              transition: background-color 0.3s;
              font-size: 14px;
              justify-content: center;
              display: flex;
              font-weight: bold;
              font-family: 'IBM Plex Sans', sans-serif;
              img {
                width: 1rem;
                margin-left: 5px;
              }
            }
          }
        }
      }
    }
  }

  @media (max-width: 1024px) {
    .services-section {
      padding: 2rem 1.5rem;
    }
  }

  @media (max-width: 768px) {
    .sevices-container {
      flex-direction: column;
    }

    .services-left,
    .services-right {
      flex: 1 1 100%;
      width: 100%;
    }

    .projects-list {
      grid-template-columns: repeat(1, 1fr);
    }

    .project-card {
      flex: 1 1 100%;
    }
  }
}
