@media only screen and (min-width: 768px) and (max-width: 1200px) {
  h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 58px;
  }

  h2 {
    font-size: 42px;
    font-weight: 600;
    line-height: 52px;
  }

  h3 {
    font-size: 36px;
    font-weight: 600;
    line-height: 46px;
  }

  h4 {
    font-size: 30px;
    font-weight: 600;
    line-height: 40px;
  }

  h5 {
    font-size: 24px;
    font-weight: 600;
    line-height: 34px;
  }

  h6 {
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
  }

  /* Class Headings with !important */
  .f-h1 {
    font-size: 48px !important;
    line-height: 58px !important;
  }

  .f-h2 {
    font-size: 42px !important;
    line-height: 52px !important;
  }

  .f-h3 {
    font-size: 36px !important;
    line-height: 46px !important;
  }

  .f-h4 {
    font-size: 30px !important;
    line-height: 40px !important;
  }

  .f-h5 {
    font-size: 24px !important;
    line-height: 34px !important;
  }

  .f-h6 {
    font-size: 18px !important;
    line-height: 28px !important;
  }

  /* home page css code  */
  .about-university-section {
    padding: 40px 0;
  }

  .course-feature-card {
    padding: 15px;
  }

  .program-hero .hero-content {
    padding: 25px 25px 25px 0;
  }

  .program-hero .hero-left,
  .program-hero .hero-right {
    padding: 25px 0;
  }

  .container-custom {
    gap: 25px;
  }

  .program-filters button {
    padding: 15px;
    font-size: 18px;
  }

  .courses-container {
    max-width: 900px;
    max-height: 440px;
  }

  /* About page css code */

  .banner-hero-section {
    height: fit-content;
    padding: 150px 0;
  }

  .container-custom {
    gap: 25px;
  }
  .courses-container {
    gap: 20px;
  }

  .filter-course-card {
    max-width: 325px;
  }
}
@media only screen and (min-width: 1300px) and (max-width: 1499px) {
  .container-custom {
    gap: 25px;
  }
  .courses-container {
    gap: 20px;
  }

  .filter-course-card {
    max-width: 305px;
    width: calc(33.333% - 14px);
  }
}

@media only screen and (min-width: 1201px) and (max-width: 1299px) {
  .container-custom {
    gap: 20px;
  }
  .courses-container {
    gap: 15px;
  }

  .filter-course-card {
    max-width: 280px;
    width: calc(33.333% - 10px);
  }
}

@media (max-width: 1200px) {
  .left-text-banner-section {
    min-height: 400px;
  }

  .user-profile-account-form .form-group {
    margin-bottom: 20px;
  }

  .user-profile-account-form .form-row {
    gap: 0px;
  }

  /* form page css code  */
  .tour-heading-box {
    bottom: 0;
    left: 0;
    padding: 25px 15px;
  }

  .tour-form-section {
    padding: 40px 0;
  }

  /* blog detail page css code */

  .home-short-blog-box {
    padding: 20px 0 40px 0;
  }

  .blog-post-show-box .blog-title {
    font-size: 22px !important;
    line-height: 32px !important;
  }

  .blog-post-show-box .blog-card {
    margin-bottom: 10px !important;
  }
  .blog-post-show-box .blog-content {
    padding: 25px 0 0 0 !important;
  }
  .blog-post-show-box .blog-img-box img {
    width: 100%;
    object-fit: cover;
  }

  /* contact page css code */

  .contact-banner-section .bfirst-box {
    padding: 30px 25px 30px 0px;
  }

  .about-university-section.top-section {
    padding: 40px 0 80px 0;
    margin-top: 0;
  }

  .user-profile-section {
    padding-top: 50px;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .program-hero {
    flex-direction: column;
    min-height: auto;
    padding: 3rem 1rem;
  }

  .program-hero .hero-left,
  .program-hero .hero-right {
    min-height: auto;
    width: 100%;
  }

  .program-hero .hero-right {
    order: -1;
    margin-bottom: 2rem;
  }

  .program-hero .program-grid {
    max-width: 100%;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    aspect-ratio: auto;
    gap: 10px;
  }

  .container-custom {
    flex-direction: column;
    margin: 0;
    gap: 5px;
  }

  .program-filters {
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 1rem 1rem 1rem;
    border-radius: 0 0 15px 15px;
    margin-bottom: 30px;
    box-shadow: none;
  }

  .program-filters button {
    width: auto;
    margin-bottom: 0;
    padding: 8px 15px;
    font-size: 1rem;
    border-radius: 30px;
    border-bottom: none;
    text-align: center;
    white-space: nowrap;
  }

  .courses-container {
    max-height: none;
    justify-content: center;
  }

  .filter-course-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .filter-course-card img {
    height: 100%;
  }

  .about-university-section,
  .about-history-section,
  .mission-section,
  .about-image-scale-section {
    padding: 45px 0;
  }

  .about-detail-top-box {
    flex-direction: column;
    gap: 15px;
    padding-bottom: 0px;
    border-bottom: 1px solid #ddd;
  }

  .goverenance-top-title {
    width: 100%;
    border: none;
    border-bottom: 1px solid #741818;
  }

  .about-heading,
  .about-desc {
    width: 100%;
    border-right: none;
    padding-right: 0;
    padding-left: 0;
  }

  .mission-left-box,
  .mission-right-box {
    flex: 1 1 100%;
    padding: 0 !important;
    border-right: none !important;
  }

  .about-point-detail-box .row,
  .about-history-section .row {
    flex-direction: column;
  }

  .about-history-img-box,
  .side-img-box {
    min-height: 300px;
    padding: 60px 0 !important;
  }

  .about-content-block {
    padding-left: 0;
    margin-top: 30px;
  }

  .about-content-block .about-stats-box {
    padding: 15px;
  }

  .about-stats-bar .row > div:last-child {
    border-bottom: none;
  }

  .about-image-scale-section .items-handle-box {
    flex-direction: column;
  }

  .about-image-scale-section .left-item-box {
    min-height: 300px;
  }

  .about-image-scale-section .left-item-box,
  .about-image-scale-section .right-item-box {
    width: 100%;
    padding: 40px 20px !important;
    border-radius: 6px;
  }

  .main-section-interested-box {
    padding: 30px 0;
  }

  .home-short-blog-box .hero-large {
    height: 260px;
  }

  .home-short-blog-box .small-card {
    height: 200px;
  }

  .home-short-blog-box .tag-pill {
    top: 12px;
    padding: 5px 18px;
    font-size: 18px;
  }

  .users-profile-page {
    flex-direction: column;
    margin: 20px 0;
    gap: 10px;
  }

  .users-profile-page .user-profile-sidebar {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
  }

  .user-profile-main-content {
    padding: 0;
  }

  .form-title-main-section {
    padding: 90px 0 36px;
    margin-top: 96px;
  }

  .form-title-main-section .form-hero-title {
    top: -140px;
    /* slightly less overlap */
    letter-spacing: 1px;
  }

  .form-title-main-section .btn-pill {
    padding: 20px 28px;
    font-size: 17px;
    gap: 16px;
  }

  .user-checkout-wrap .checkout-summary-panel {
    margin-top: 22px;
  }

  /* contact page css code */

  .contact-banner-section .bfirst-box .banner-cta-box {
    gap: 20px;
    margin-top: 40px;
  }

  .contact-detail-box {
    padding: 35px 0;
  }

  .contact-detail-box .top-fixed-title {
    position: relative;
    top: 14px;
  }

  .contact-detail-box .first-box {
    border: none;
    border-top: 1px solid #797979;
    padding: 25px 0;
    margin: 0;
  }

  .contact-detail-box .second-box {
    border: none;
    border-top: 1px solid #797979;
    padding: 25px 0 0 0;
    margin: 0;
  }

  .contact-detail-box .third-box {
    border: none;
    border-top: 1px solid #797979;
    padding: 25px 0;
    margin: 0;
  }

  .contact-title-text-box {
    padding: 40px 0;
  }
}

/* Mobile version media query code */
@media only screen and (min-width: 0px) and (max-width: 767px) {
  /* footer page css code */
  .footer-bottom-payimg-box .text-box {
    border: none !important;
  }

  h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 42px;
  }

  h2 {
    font-size: 28px;
    font-weight: 600;
    line-height: 38px;
  }

  h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 34px;
  }

  h4 {
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
  }

  h5 {
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
  }

  h6 {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
  }

  /* Class Headings with !important */
  .f-h1 {
    font-size: 32px !important;
    line-height: 42px !important;
  }

  .f-h2 {
    font-size: 28px !important;
    line-height: 38px !important;
  }

  .f-h3 {
    font-size: 24px !important;
    line-height: 34px !important;
  }

  .f-h4 {
    font-size: 20px !important;
    line-height: 30px !important;
  }

  .f-h5 {
    font-size: 18px !important;
    line-height: 26px !important;
  }

  .f-h6 {
    font-size: 16px !important;
    line-height: 24px !important;
  }

  /* home page css code */

  .left-text-banner-section {
    padding: 60px 0;
    color: white;
    height: auto;
  }

  .left-text-banner-section .banner-btn-box a {
    font-size: 18px;
    padding: 15px 35px;
  }

  .course-feature-card {
    padding: 0 0 55px 0;
    border: none;
  }

  .course-short-details-section .course-feature-card {
    padding: 0 !important;
    border: none;
  }

  .course-feature-icon {
    padding: 0 0 20px 0;
  }

  .course-feature-text {
    min-height: unset;
  }

  .program-hero {
    padding: 0 1rem;
  }

  .banner-hero-section {
    height: auto;
    padding: 80px 0;
  }

  .program-hero .hero-content {
    padding: 0 0 25px 0;
  }

  .program-hero .hero-title {
    font-size: 32px;
  }

  .program-hero .program-grid .program-tile {
    font-size: 16px;
  }

  .program-hero .hero-left {
    padding: 25px 0;
  }

  .program-hero .hero-right {
    padding: 15px 10px 10px 10px;
    margin-bottom: 0;
  }

  .program-hero .hero-cta {
    padding: 12px 18px;
    margin-top: 25px;
  }

  .filter-enroll-btn {
    padding: 10px 28px !important;
  }

  .home-short-blog-box .card-link-cta {
    font-weight: 600;
    font-size: 20px;
  }

  /* about page css code */

  .about-stats-bar .bbox {
    border-left: none;
    border-right: none;
  }

  .about-stats-bar .stat-item {
    padding: 15px 10px;
    border-bottom: 1px solid #af2944;
  }

  .form-title-main-section {
    padding: 64px 0 28px;
    /* tighter vertical space */
    margin-top: 72px;
  }

  .form-title-main-section .form-hero-title {
    position: static;
    /* no absolute on small screens */
    top: auto;
    margin-top: -18px;
    /* give a hint of “overlap” feel */
    font-size: clamp(2.5rem, 14vw, 72px);
  }

  .form-title-main-section .form-hero-sub {
    padding: 16px 0 28px;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 16px;
  }

  .form-title-main-section .btn-pill {
    padding: 16px 22px;
    font-size: 16px;
    gap: 12px;
  }

  .form-title-main-section .visit-link {
    margin-top: 10px;
    font-size: 15px;
  }

  /* Checkout page css code 767 */

  .user-checkout-wrap .checkout-summary-panel .user-checkout-details-row,
  .user-checkout-wrap .checkout-summary-panel .user-checkout-details {
    flex-direction: column;
  }

  .user-checkout-wrap .checkout-summary-panel .kv-sep {
    display: none;
  }

  .user-checkout-wrap .checkout-summary-panel .orders-repart-box {
    flex-direction: column;
  }

  .user-checkout-wrap .checkout-summary-panel .thumb {
    width: 100%;
  }

  /* my account page css code */

  .user-profile-main-content .user-profile-application-detail-row {
    flex-direction: column;
  }

  .user-profile-main-content .kv-sep {
    display: none;
  }

  .course-top-filters button {
    font-size: 18px;
    padding: 12px 18px;
    width: fit-content;
  }

  .about-image-scale-section .items-handle-box {
    flex-direction: column;
  }

  .about-image-scale-section .left-item-box,
  .about-image-scale-section .right-item-box {
    width: 100%;
  }

  .about-image-scale-section .right-item-box {
    padding: 40px 20px;
  }

  .main-section-interested-box .details-box {
    background: #bde1ff;
    padding: 60px 0;
  }

  .main-error-box h1 {
    font-size: 5.5rem;
  }

  .main-error-box {
    padding: 100px 0;
  }
}

@media (max-width: 567px) {
  .user-profile-main-content .users-application-details {
    flex-direction: column;
  }

  /*Course Filter Main Box Css*/

  .course-top-filters {
    gap: 14px;
    margin-bottom: 30px;
    flex-direction: column;
    align-items: center;
  }

  .course-top-filters button {
    font-size: 16px;
    width: 100%;
  }

  .about-university-section,
  .about-history-section,
  .mission-section,
  .about-image-scale-section {
    padding: 35px 0;
  }

  .about-stats-bar .stat-item {
    padding: 10px 0;
    font-size: 0.9rem;
  }

  .about-stats-bar .stat-item h2 {
    font-size: 2rem;
  }

  .about-content-block .about-stats-box h3 {
    font-size: 1.5rem;
  }

  .about-content-block .about-stats-box p {
    font-size: 13px;
  }

  .about-image-scale-section .left-item-box .quote-box {
    font-size: 1rem;
    padding: 10px 20px;
  }

  .right-item-box h5 {
    font-size: 1rem;
    line-height: 1.4;
  }

  .simple-link {
    font-size: 14px;
  }

  .mission-details-box {
    padding: 30px 0 0 0;
  }

  .mission-item-one,
  .mission-item-two {
    text-align: center;
  }

  .mission-left-box .col-md-12.mb-5,
  .mission-right-box .col-md-12.mb-5 {
    margin: 2rem 0 !important;
  }

  .mission-box img {
    margin-top: 10px;
    max-width: 70%;
  }

  .banner-hero-section h1 {
    font-size: 2rem;
  }

  .banner-para-box {
    font-size: 1rem;
  }

  .user-profile-section .profile-pic {
    display: flex;
    gap: 10px;
    align-items: start;
    flex-direction: column;
  }
}

/* Small screens */
@media (max-width: 480px) {
  .main-course-detail-section .curriculum-accordion .accordion-button {
    padding: 0.8rem 0.9rem;
  }

  .main-course-detail-section .curriculum-list .list-group-item {
    padding: 0.75rem 0.9rem;
  }
}

@media (max-width: 399px) {
  .form-title-main-section .form-hero-title {
    font-size: clamp(2.25rem, 18vw, 56px);
    margin-top: -10px;
  }

  .form-title-main-section .btn-pill {
    padding: 14px 18px;
    font-size: 15px;
    gap: 10px;
  }

  .course-purchase-box .purchase-course-card .course-purchase-meta li {
    font-size: 0.95rem;
  }
}
