:root {
  --main-color: #4b4a50;
  --second-color: #e1e1e1;
  --third-color: #d33516;
  --black-color: #000000;
  --white-color: #ffffff;
  --background-color: rgba(192, 192, 192, 0.2);
  --placeholder-color: #a1a1a1;
  --box-shadow: rgba(0, 0, 0, 0.2) 0px 9px 32px;
}

@media (max-width: 576px) {}

@media (max-width: 768px) {
  .navbar-brand {
    width: auto !important;
  }

  .counter-grid {
    border-radius: 0;
  }

  .about-section {
    height: 100%;

    .img-one {
      img {
        height: 400px !important;
        width: 100%;
      }
    }

    .img-two {
      display: none;
    }
  }



  .projects-section {
    .project-card {
      img {
        height: 450px;
      }
    }

    height: 100%;

    .tab-content {
      position: relative;
      width: 100%;
    }
  }

  .counter-grid {
    gap: 5px;

    .counter-box {
      background-color: var(--second-color);
      width: 200px;
      height: 200px;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;

      transition: transform 0.3s ease;

      &:nth-child(odd) {
        background-color: var(--second-color) !important;
        position: relative;
      }

      &:nth-child(even) {
        background-color: var(--black-color) !important;
        position: relative;

        h3 {
          font-size: 28px;
          font-weight: 700;
          color: var(--white-color);
          margin: 0;
        }

        p {
          font-size: 16px;
          color: var(--white-color);
          margin: 0;
        }
      }
    }
  }

  .footer-title {
    transform: translateX(0px) !important;
  }

  .content-area {
    .btns {
      display: flex;
      justify-content: space-between;
      padding: 40px 20px;
    }
  }
}

@media (max-width: 991px) {}

@media (max-width: 992px) {}

@media (max-width: 1200px) {
  .about-section {
    .img-one {
      img {
        height: 100% !important;
        width: 100%;
      }
    }

    .header-section {
      h3 {
        font-size: 40px;
      }
    }

    .img-two {
      bottom: -25px;
      background-color: transparent;
    }

    p {
      font-size: 16px;
    }

    li {
      font-size: 15px;
      color: #555151;
    }
  }

  .value-box h3 {
    font-size: 18px;
    width: 80%;
    position: relative;
    letter-spacing: 1px;
  }

  .value-box .big-number {
    font-size: 130px;
    position: absolute;
    top: 0;
    left: 40px;
    transform: translate(-50%, -50%);
    color: var(--third-color);
    font-weight: bold;
    z-index: -1;
  }

  .projects-section {
    height: 100%;

    .project-card {
      img {
        height: 450px;
      }
    }

    .tab-content {
      position: relative;
      width: 100%;
    }
  }
}

@media (min-width: 992px) {
  .counter-section {
    .container {
      position: relative;
      transform: translateX(100px);
      display: flex;
      justify-content: center;

      .counter-grid {
        .counter-box {
          width: 260px;
          height: 260px;
          border-radius: 50%;
          display: flex;
          justify-content: center;
          align-items: center;
          flex-direction: column;
          transition: transform 0.4s ease;
          cursor: pointer;

          h3 {
            font-size: 30px;
            font-weight: 700;
            color: var(--black-color);
            margin: 10px 0;
          }

          p {
            font-size: 18px;
            color: var(--black-color);
            margin: 0;
          }

          &:nth-child(2) {
            transform: translateX(-75px);
          }

          &:nth-child(3) {
            transform: translateX(-150px);
          }

          &:nth-child(4) {
            transform: translateX(-220px);
          }

          &:nth-child(odd) {
            background-color: var(--second-color) !important;
            position: relative;
          }

          &:nth-child(even) {
            background-color: var(--black-color) !important;
            position: relative;

            h3 {
              font-size: 30px;
              font-weight: 700;
              color: var(--white-color);
              margin: 10px 0;
            }

            p {
              font-size: 18px;
              color: var(--white-color);
              margin: 0;
            }
          }

          &:hover {
            &:nth-child(1) {
              transform: translateX(-75px);
            }

            &:nth-child(2) {
              transform: translateX(-120px);
            }

            &:nth-child(3) {
              transform: translateX(-200px);
            }
          }
        }
      }
    }
  }

 
  [dir="rtl"] .counter-section {
    .container {
      transform: translateX(-100px);
    }

    .container .counter-grid .counter-box {
      width: 260px;
      height: 260px;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      transition: transform 0.4s ease;
      cursor: pointer;

      h3 {
        font-size: 30px;
        font-weight: 700;
        color: var(--black-color);
        margin: 10px 0;
      }

      p {
        font-size: 18px;
        color: var(--black-color);
        margin: 0;
      }

      &:nth-child(2) {
        transform: translateX(75px) !important;
      }

      &:nth-child(3) {
        transform: translateX(150px);
      }

      &:nth-child(4) {
        transform: translateX(220px);
      }

      &:nth-child(odd) {
        background-color: var(--second-color) !important;
        position: relative;
      }

      &:nth-child(even) {
        background-color: var(--black-color) !important;
        position: relative;

        h3 {
          font-size: 30px;
          font-weight: 700;
          color: var(--white-color);
          margin: 10px 0;
        }

        p {
          font-size: 18px;
          color: var(--white-color);
          margin: 0;
        }
      }

      &:hover {
        &:nth-child(1) {
          transform: translateX(75px);
        }

        &:nth-child(2) {
          transform: translateX(120px) !important;
        }

        &:nth-child(3) {
          transform: translateX(200px);
        }
      }
    }
  }
}

@media (min-width: 1200px) {}