@media screen and (min-width: 1500px) {
  /*.swiper {*/
  /*  width: 100%!important;*/
  /*  padding: 0px 150px;*/
/*}*/
}
@media screen and (min-width: 1600px) {
  /*.swiper {*/
  /*  width: 100%!important;*/
  /*  padding: 0px 150px;*/
/*}*/
}
@media screen and (max-width: 1024px) {
  .container {
    width: 90%;
  }
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.7rem;
  }
  h3 {
    font-size: 1.4rem;
  }
  h4 {
    font-size: 1.2rem;
  }

  /* ============== NAVBAR ======== */

  nav button {
    display: inline-block;
    background: transparent;
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
  }
  nav button#close-menu-btn {
    display: none;
  }
  .nav__menu {
    position: fixed;
    top: 0;
    height: 100%;
    background: black;
    width: 18rem;
    display: none;
    z-index: 10;
    overflow-y: scroll;
    left: -100%;
    animation: animateNavItems 200ms linear forwards;
  }
  .nav__menu li {
    width: 100%;
    border-bottom: 1px solid #6f6666;
  }
  @keyframes animateNavItems {
    0% {
      left: -100%;
    }
    25% {
      left: -75%;
    }
    50% {
      left: -50%;
    }
    75% {
      left: -25%;
    }

    100% {
      left: 0;
    }
  }
  .nav__menu li:nth-child(2) {
    animation-delay: 0ms;
  }
  .nav__menu li:nth-child(3) {
    animation-delay: 0ms;
  }
  .nav__menu li:nth-child(4) {
    animation-delay: 0ms;
  }
  .nav__menu li a {
    height: 5.8rem;
    width: 100%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav__menu li a:hover {
    background: #2e3267;
    color: #fff;
  }

  header {
    /* height: 52vh; */
    /* margin-bottom: 5rem; */
  }
  .header__container {
    gap: 0;
    padding-bottom: 3rem;
  }
  .categories {
    height: auto;
  }
  .categories__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .categories__left {
    margin-left: 0;
  }
  .courses {
    margin-top: 0;
  }
  .course__container {
    grid-template-columns: 1fr 1fr;
  }
  .video-gallery-container {
    width: 100%;
  }

  .video-gallery-container .video-gallery {
    flex-direction: column;
  }
  .video-gallery .all-videos {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .footer__container {
    grid-template-columns: 1fr 1fr;
  }
  .about__achievements {
    margin-top: 2rem;
  }
  .about__achievemets-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .about__achievements-left {
    width: 80%;
    margin: 0 auto;
  }
  .team__container {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .team__member {
    padding: 1rem;
  }
  .contact {
    padding-bottom: 0;
  }
  .contact__container {
    gap: 1.5rem;
    margin-top: 3rem;
    height: auto;
    padding: 1.5rem;
  }
  .contact__aside {
    width: auto;
    padding: 1.5rem;
    bottom: 0;
  }
  .contact__form {
    align-self: center;
    margin-right: 1.5rem;
  }
  .dashboard-head {
    flex-direction: column;
    grid-gap: 30px;
  }
  .dashboard-body {
    display: grid;
  }
  .dashboard-active {
    display: none;
  }

  .course-ordered-box {
    /* width: 55%; */
    border: 1px solid #cdcdcd;
    margin-bottom: 30px;
  }
  .course-ordered-box-body > img {
    width: 100%;
  }

  .course-ordered-box-body {
    display: block;
  }
  ul.category-option {
    padding-top: 0;
    position: relative;
    background: #147579;
  }

  .category-option > a > li {
    width: 100%;
    border-bottom: none;
    text-align: center;
    background: none;
  }

  ul.category-option > a {
  border-bottom: 1px solid #919191;
  }
}

@media screen and (max-width: 900px) {
  .video-gallery-container {
    width: 100%;
  }
}
/* ==============MOBILE  MEDIA QUERIES*/

@media screen and (max-width: 600px) {
  .container {
    width: 94%;
  }
  .nav__menu {
    right: 3%;
  }
  header {
    margin-top: 30px;
    padding: 0;
  }
  .header__container {
    margin-top: 0;
    text-align: center;
    flex-direction: column;
    gap: 25px;
  }

  .header__left p {
    margin-bottom: 1.3rem;
  }
  .categories__right {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }
  .categories {
    padding: 1rem;
    border-radius: 1rem;
  }
  .category__icon {
    display: inline-block;
    margin-top: 4px;
  }
  .course__container {
    grid-template-columns: 1fr;
  }
  .video-gallery-container .video-gallery {
    flex-direction: column;
  }
  .video-gallery .all-videos {
    display: grid;
    grid-template-columns: 1fr;
  }
  .video-gallery .thumbnail {
    width: 100%;
    height: unset;
  }
  .footer__container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .footer__1 p {
    margin: 1rem auto;
  }
  .footer__socials {
    justify-content: center;
  }
  .achievement__card {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }
  .team__container {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }
  .team__member {
    padding: 0;
  }
  .team__member p {
    margin-bottom: 1.5rem;
  }
  .contact__container {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 0;
    padding: 0;
  }
  .contact__form {
    margin: 0 1.5rem 3rem;
  }
  .form__name {
    flex-direction: column;
  }
  .course {
    margin: 10px;
    }
  .course-details-col {
    flex-direction: column-reverse;
  }
  .course-details-col-1 {
    width: 100%;
  }
  .course-details-col-2 {
    width: 100%;
    position: relative;
  }
  .price-box {
    position: fixed!important;
    width: 100%;
    left: 0;
    background: white;
    bottom: 0;
    top: unset;
  }
  .dashboard {
    display: none;
  }
  .mobile-dashboard {
    display: flex;
    padding: 6px 40px;
    align-items: center;
    grid-gap: 5px;
    background: none;
    color: black;
    border: 1px solid #ededed;
  }
  .form-title > h3 {
    font-size: 24px;
  }
  .form-title > span {
    font-size: 20px;
  }
  .mobile-dashboard > img {
    width: 30px;
    border-radius: 50%;
  }
  nav {
    box-shadow: 1px 1px 30px -22px black;
  }
  .dashboard-head {
    align-items: center;
  }
  .dashboard-body {
    display: block;
  }
  .dashboard-active {
    display: none;
  }

  .course-ordered-box {
    width: 100%;
    border: 1px solid #cdcdcd;
    margin-bottom: 30px;
  }
  .course-ordered-box-body > img {
    width: 100%;
  }

  .course-ordered-box-body {
    display: block;
  }
  .course-ordered-box-body-content > a {
    padding: 5px;
  }

  .course-ordered-box-title > h3 {
    font-size: 16px;
  }
  .dashboard-head-right > a {
    font-size: 12px;
  }
  i.fa-solid.fa-rectangle-xmark.close-btn {
    right: -25%;
  }

  .payment-popup {
    width: 100%;
    transform: translate(0%, 50%);
  }

  button#copyBtn {
    padding: 8px;
  }
  .course-category-list {
    text-align: left;
}
section.courses>h2 {
  font-size: 23px;
}
.team__member-image img {
  padding: 15px;
  min-height: 135px;
}
.team__member-info>h4 {
  font-size: 15px;
  margin: 0;
}

.team__member-info>p {
  font-size: 12px;
  margin: 8px 0;
}
}
