* {
  font-family: "Poppins";
  font-style: normal;
  margin: 0;
  padding: 0;
}


.banner {
  .banner-img {
    width: 100%;
    height: 100%;
    position: relative;

    .banner-context {
      position: absolute;
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #ffffff;
      background-color: #0000006b;

      h1,
      h5 {
        position: absolute;
      }

      h1 {
        font-size: 5vw;
        margin-bottom: 15vh;
        font-weight: 600;
      }

      p {
        font-size: 1.7vw;
        font-weight: 500;
        margin-top: 5vh;

      }
    }

    img {
      width: 100%;
      height: 55vh;
      object-fit: cover;
    }
  }
}

.course {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2vw;

  h1 {
    font-weight: 600;
    font-size: 3vw;
    text-align: center;
  }
}

.filter-course {
  .filter-button {
    justify-content: space-between;
    display: flex;
    gap: 2vw;

    a {
      padding: 0.5vw 3vw;
      color: #3197A8;
      text-decoration: none;
      border-radius: 7px;
      border: 1px solid #3197A8;

      &.active {
        background-color: #3197A8;
        color: white;
      }
    }
  }
}


.course-cards {
  display: flex;
  gap: 20px;
}

.current-course {
  width: 27vw;
  display: flex;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: 2vw;
  flex-direction: column;
}

.course-img {
  width: 100%;
  height: 30vh;
}

.course-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.course-dec {
  padding: 2vw;
}

.course-dec h3 {
  font-weight: 600;
  font-size: 1.5vw;
}

.course-dec p {
  font-size: 1vw;
}


.enq-btn {
  display: flex;
  justify-content: center;
  border: 1px solid #3197A8;
  transition: background-color 0.3s ease;
  border-radius: 5px;
  cursor: pointer;

  &:hover {
    background-color: #3197A8;

    button {
      color: #ffffff;
    }
  }

  button {
    color: #3197A8;
    background: none;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    font-size: 1vw;
    font-weight: 500;
    width: 100%;
    padding: 0.5vw 1.5vw;

    &:hover {
      color: #ffffff;
    }
  }
}
.filter-button a.active {
    color: #ff5733;
    font-weight: bold;
}

.current-course {
    display: block;
}

.current-course[data-category="mobile"],
.current-course[data-category="backend"] {
    display: none;
    }

@media (min-width: 320px) and (max-width: 668px) {

  .banner {

    display: none;

    .banner-img {
      .banner-context {
        h1 {
          font-size: 7vw;
        }

        p {
          font-size: 5vw !important;
          font-weight: 500;
          margin-top: unset !important;
        }
      }

      img {
        height: 25vh;
      }
    }
  }

  .course {
    h1 {
      font-size: 7vw;
    }

    p {
      font-size: 4vw;
    }
  }

  .filter-course {
    .filter-button {

      justify-content: space-between;
      display: flex;
      gap: 2vw;

      a {
        padding: 0.5vw 3vw;
        color: #3197A8;
        text-decoration: none;
        border-radius: 7px;
        border: 1px solid #3197A8;

        &.active {
          background-color: #3197A8;
          color: white;
        }
      }
    }
  }

  .course-cards {
    flex-direction: column;
    gap: unset;
  }

  .current-course {
    width: 70vw;
    margin-top: 4vw;
  }


  .course-dec {
    padding: 2vw;

    h3 {
      font-weight: 600;
      font-size: 5vw;
    }

    p {
      font-size: 3vw;
    }
  }

  .enq-btn {
    padding: 2vw 5vw;



    button {

      font-size: 3vw;

      &:hover {
        color: #ffffff;
      }
    }
  }
}

@media (min-width: 668px) and (max-width: 1024px) {
  .banner {
    .banner-img {
      .banner-context {
        h1 {
          font-size: 7vw;
        }

        p {
          font-size: 5vw !important;
          font-weight: 500;
          margin-top: unset !important;
        }
      }

      img {
        height: 25vh;
      }
    }
  }

  .course {
    h1 {
      font-size: 7vw;
    }
  }

  .filter-course {

    .filter-button {
      justify-content: space-between;
      display: flex;
      gap: 2vw;

      a {
        padding: 0.5vw 3vw;
        color: #3197A8;
        text-decoration: none;
        border-radius: 7px;
        border: 1px solid #3197A8;

        &.active {
          background-color: #3197A8;
          color: white;
        }
      }
    }
  }

  .course-cards {
    display: flex;
    gap: 20px;
  }

  .current-course {
    width: 27vw;
    display: flex;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 2vw;
    flex-direction: column;
  }

  .course-img {
    width: 100%;
    height: 30vh;
  }

  .course-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
  }

  .course-dec {
    padding: 2vw;
  }

  .course-dec h3 {
    font-weight: 600;
    font-size: 1.5vw;
  }

  .course-dec p {
    font-size: 1vw;
  }

  .enq-btn {
    padding: 0.5vw 1.5vw;
    display: flex;
    justify-content: center;
    border: 1px solid #3197A8;
    transition: background-color 0.3s ease;
    border-radius: 5px;

    &:hover {
      background-color: #3197A8;

      button {
        color: #ffffff;
      }
    }

    button {
      color: #3197A8;
      background: none;
      border-radius: 5px;
      cursor: pointer;
      border: none;
      font-size: 1vw;
      font-weight: 500;

      &:hover {
        color: #ffffff;
      }
    }
  }
}


.err {
    color: red;
    font-size: 10px;
    display: block;
}
