@media screen and (min-width: 320px) and (max-width: 768px) {
}

@media screen and (min-width: 1020px) and (max-width: 1441px) {
  .hd-container {
    padding-left: 75px;
    padding-right: 75px;
  }

  .hero__content {
    padding-top: 120px;
    gap: 75px;
    min-height: calc(100vh - 162px);
  }

  .hero__heading {
    font-size: 68px;
  }
  .about__card--dark p {
    font-size: 20px;
  }
  .about__card--dark .card-footer span {
    font-size: 20px;
  }
  .about__description {
    font-size: 22px;
    line-height: 39.8px;
  }
  .exams__heading,
  .exam-cats__heading,
  .courses__heading,
  .library__heading {
    font-size: 46px;
    line-height: 1.18;
  }
  .course-feature__highlights {
    grid-template-columns: 1fr;
  }
  .course-feature__img {
    width: 50%;
  }
}

@media screen and (min-width: 2000px) {
}

@media screen and (max-width: 1020px) {
}

@media screen and (max-width: 700px) {
}

@media (resolution: 1.25dppx) {
  .hero__heading {
    font-size: 67px;
  }
  .hero__content {
    padding-top: 100px;
    gap: 70px;
  }
  .course-feature__img {
    width: 45%;
  }
  .course-feature__desc {
    font-size: 16px;
  }
  .course-feature__highlights {
    grid-template-columns: 1fr;
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  :root {
    --spacing-section: 80px;
    --spacing-section-x: 40px;
  }

  .navbar__links,
  .navbar__cta {
    display: none;
  }
  .navbar__hamburger {
    display: flex;
  }
  .navbar__mobile {
    display: flex;
    position: absolute;
    width: 100%;
  }
  .navbar {
    position: relative;
  }

  .hero__content {
    padding: 120px 40px 40px;
    gap: 60px;
  }
  .hero__heading {
    font-size: 52px;
    line-height: 60px;
  }

  .about__top {
    flex-direction: column;
    gap: 24px;
  }
  .about__description {
    max-width: 100%;
    font-size: 18px;
    line-height: 33px;
  }
  .about__card--dark p {
    font-size: 18px;
    line-height: 33px;
  }
  .about__card--dark .card-footer span {
    font-size: 18px;
    line-height: 33px;
  }
  .about__cards {
    flex-wrap: wrap;
    justify-content: center;
  }
  .about__card--dark,
  .about__card--image,
  .about__card--stats {
    width: 100%;
    max-width: 520px;
  }
  .about__card--image {
    height: 320px;
    min-height: 320px;
  }
  .about__stats-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
  }
  .about__stat {
    width: 45%;
  }

  .exams__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .exams__filters {
    width: 100%;
    flex-wrap: wrap;
  }

  .exam-cats__heading {
    font-size: 36px;
  }

  .courses__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .course-feature {
    flex-direction: column;
    gap: 32px;
  }
  .course-feature__img {
    width: 100%;
    height: 340px;
  }
  .course-feature__highlights {
    grid-template-columns: 1fr;
    gap: 16px 0;
  }

  .library__grid {
    padding: 0 40px;
  }
  .library__tabs-wrap {
    padding: 60px 40px 0;
  }

  .footer__inner {
    padding: 0 40px;
  }
  .footer__nav {
    flex-wrap: wrap;
    gap: 32px;
    justify-content: flex-start;
    margin-top: 0;
  }
  .footer__col {
    min-width: 140px;
    padding: 0;
  }
  .footer__bottom {
    padding: 25px 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-section: 60px;
    --spacing-section-x: 20px;
  }

  .section-padding-lg {
    padding: 75px 0 !important;
  }

  .navbar {
    padding: 0 20px;
  }
  .navbar__logo img {
    height: 39px;
  }
  .navbar__hamburger {
    background-color: #fff !important;
  }

  .hero__inner {
    margin: 0 12px;
    /* border-radius: 24px; */
  }
  .hero__content {
    padding: 60px 20px 40px;
    gap: 75px;
    min-height: calc(100vh - 332px);
  }
  .hero__heading {
    font-size: 36px;
    line-height: 44px;
    letter-spacing: -1px;
  }
  .hero__badge {
    font-size: 12px;
    letter-spacing: 2px;
  }
  .hero__reviews {
    flex-direction: column;
    align-items: center;
    gap: 46px;
  }
  .hero__review-item {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
  }
  .hero__cta-btn {
    width: 100%;
    justify-content: center;
  }

  .section-badge {
    font-size: 12px;
    letter-spacing: 2px;
  }
  .about__numbers-title {
    font-size: 20px;
  }
  .about__stats-row {
    gap: 44px;
  }
  .about__stat {
    width: 100%;
  }
  .about__stat-num {
    font-size: 40px;
  }

  .exams__heading,
  .exam-cats__heading,
  .courses__heading,
  .library__heading {
    font-size: 32px;
  }
  .exams__filters {
    flex-direction: column;
    width: 100%;
  }
  .search-input,
  .filter-select-wrap {
    width: 100%;
  }

  .course-feature__img {
    height: 220px;
  }
  .course-feature__title {
    font-size: 24px;
  }
  .course-feature__highlights {
    grid-template-columns: 1fr;
  }
  .course-feature__footer {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .course-feature__pricing {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .enroll-btn {
    width: 100%;
    justify-content: center;
  }

  .library__grid {
    padding: 0 20px;
  }
  .library__tabs {
    gap: 4px;
    padding: 6px 8px;
  }
  .library__tab {
    padding: 10px 14px;
    font-size: 14px;
  }
  .library__tabs-wrap {
    padding: 60px 20px 0;
  }

  .footer__inner {
    padding: 0 20px;
  }
  .footer__nav {
    flex-direction: column;
  }
  .footer__bottom {
    padding: 24px 20px;
    font-size: 14px;
  }
  .footer__col-title {
    font-size: 20px;
  }

  /* Mobile card adjustments */
  .exam-card {
    padding: 20px;
  }
  .exam-card__title {
    font-size: 20px;
    max-width: 100%;
  }
  .exam-card__btn {
    height: 48px;
    font-size: 14px;
  }

  .course-card__title {
    font-size: 20px;
  }
  .course-card__tag {
    padding: 6px 14px;
    font-size: 14px;
  }

  .btn-outline,
  .btn-primary {
    height: 48px;
    font-size: 14px;
    padding: 10px 20px;
  }

  /* Nav arrows mobile */
  .courses__header-right {
    max-width: 100%;
  }
  .nav-arrows {
    gap: 16px;
  }

  .page-banner {
    margin: 0 12px;
  }
  .banner-title {
    font-size: 38px !important;
  }
  .section-title {
    font-size: 32px !important;
  }
  .about-serve-section .mission-card {
    flex-direction: column;
        padding: 32px 24px;
        align-items: flex-start;
        box-shadow: none;
        margin-bottom: unset;
        margin-top: 32px;
  }
  .about-serve-section .mission-card p {
    width: 100%;
  }
  .service-main-card {
    padding: 42px 24px;
    position: static;
    margin-bottom: 32px;
  }
}

@media (max-width: 576px) {
  .hero__heading {
    font-size: 28px;
    line-height: 36px;
  }

  .about__card--dark {
    padding: 28px 24px;
  }
  .about__card--dark p {
    font-size: 16px;
    line-height: 28px;
  }
  .about__card--dark .card-footer span {
    font-size: 16px;
  }
  .about__card--stats .stat-number {
    font-size: 50px;
  }
  .about__card--stats .stat-label {
    font-size: 20px;
  }

  .exams__heading,
  .exam-cats__heading,
  .courses__heading,
  .library__heading {
    font-size: 26px;
  }

  .exam-cat-card {
    padding: 16px;
  }
  .exam-cat-card__icon {
    width: 60px;
    height: 60px;
  }
  .exam-cat-card__name {
    font-size: 15px;
  }

  .course-feature {
    padding: 16px;
    border-radius: 20px;
  }

  .footer__col-title {
    font-size: 18px;
    margin-bottom: 16px;
  }
  .footer__col ul li a {
    font-size: 15px;
  }
  .footer__tagline {
    font-size: 15px;
  }
}
