
@media (max-width: 1199px) {
    .instructors-grid {
        column-gap: 20px;
    }

    .instructor-item {
        gap: 10px;
    }

    .instructor-image-wrap {
        flex-basis: 72px;

        width: 72px;
        height: 72px;
    }

    .category-slider {
        padding-left: 45px;
        padding-right: 45px;
    }

    .category-icon {
        width: 60px;
        height: 60px;
    }
     .navbar-nav .nav-link {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .header-right {
        gap: 5px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

}


@media (max-width: 991px) {

     .courses-page-section {
        padding: 45px 0 60px;
    }

    .course-sidebar {
        padding-right: 0;
    }

    .filter-box {
        padding: 15px;
    }

    .listing-course-image {
        height: 150px;
    }

    .statistics-section {
        padding: 15px 0 65px;
    }

    .statistics-box {
        padding: 22px 15px;
    }

    .stat-item {
        padding: 15px;
    }

    /* Vertical dividers */

    .col-lg-3:nth-child(2) .stat-item::after {
        display: none;
    }

    .col-lg-3:nth-child(1) .stat-item::after,
    .col-lg-3:nth-child(3) .stat-item::after {
        display: block;
    }

     .instructors-section {
        padding: 65px 0;
    }

    .instructors-content {
        max-width: 650px;

        margin: 0 auto 45px;

        text-align: center;
    }

    .instructors-grid {
        max-width: 650px;

        margin: auto;
    }

    .subscribe-box {
        padding: 0 30px;
    }

    .subscribe-image {
        height: 160px;
    }

    .subscribe-image img {
        height: 150px;
    }

    .subscribe-content {
        padding: 25px 0 30px;
    }

    .subscribe-content h2 {
        font-size: 23px;
    }
 .courses-section {
        padding: 65px 0;
    }

    .course-tabs {
        gap: 20px;

        overflow-x: auto;

        justify-content: flex-start;

        padding: 0 10px;

        white-space: nowrap;
    }

    .course-tab {
        flex: 0 0 auto;
    }

     .top-courses-section {
        padding: 60px 0;
    }

    .top-courses-visual {
        min-height: 420px;

        margin-bottom: 30px;
    }

    .top-courses-content {
        max-width: 650px;

        padding-left: 0;

        margin: 0 auto;
    }

    .top-courses-content h2 {
        font-size: 32px;
    }

    .category-section {
        padding: 60px 0;
    }

    .category-slider {
        border-radius: 35px;

        padding: 30px 40px;
    }

    .category-card h5 {
        white-space: normal;
    }
    .hero-banner-shape {
        width: 480px;
        right: -30px;
        top: 20px;
    }

    .navbar-collapse {
        background: #ffffff;
        padding: 20px;
        margin-top: 10px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(30, 30, 90, 0.08);
    }

    .navbar-nav {
        margin-bottom: 15px;
    }

    .header-right {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .hero-section {
        padding: 60px 0;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto 40px;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        display: flex;
        justify-content: center;
    }

    .hero-image-wrapper {
        min-height: 350px;
    }
    .pro-instructor-section {
        padding: 65px 0;
    }

    .pro-instructor-image {
        min-height: 380px;
    }

    .pro-instructor-content {
        max-width: 650px;

        margin: auto;
    }

    .pro-instructor-content h2 {
        font-size: 31px;
    }

     .learning-journey-section {
        padding: 65px 0;
    }

    .journey-cta {
        min-height: 210px;
    }
     .latest-news-section {
        padding: 65px 0;
    }
    .main-footer {
        padding-top: 60px;
    }

    .footer-about {
        margin-bottom: 15px;
    }

    .course-details-section {
        padding: 50px 0 65px;
    }

    .course-sidebar-card {
        margin-top: 15px;
    }

}


@media (max-width: 767px) {

    .courses-page-section {
        padding: 35px 0 50px;
    }

    .course-toolbar {
        flex-direction: column;

        align-items: flex-start;

        gap: 10px;
    }

    .sort-area {
        width: 100%;

        justify-content: flex-end;
    }

    .listing-course-image {
        height: 190px;
    }

}

@media (max-width: 575px) {

    #courseGrid.course-list-view
    .listing-course-card {
        flex-direction: column;
    }

    #courseGrid.course-list-view
    .listing-course-image {
        width: 100%;
        height: 180px;
    }

    .course-toolbar {
        margin-bottom: 15px;
    }

    .sort-area {
        justify-content: space-between;
    }

    .listing-course-image {
        height: 180px;
    }

    .listing-course-body {
        padding: 10px 12px 13px;
    }

    .listing-course-body h3 {
        font-size: 12px;
    }
    .course-breadcrumb {
        font-size: 8px;
    }

    .course-detail-banner {
        height: 190px;
    }

    .course-detail-title {
        font-size: 17px;
    }

    .course-tabs {
        flex-wrap: wrap;
    }

    .course-tab {
        padding: 7px 13px;
    }

    .course-tab-content {
        padding: 17px;
    }

    .main-footer {
        padding-top: 50px;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        margin-top: 35px;

        gap: 10px;
    }

    .footer-bottom-links {
        gap: 12px;
    }

    .back-to-top {
        right: 15px;
        bottom: 15px;

        width: 38px;
        height: 38px;
    }
     .latest-news-section {
        padding: 50px 0;
    }

    .blog-image {
        height: 200px;
    }

    .blog-content {
        padding: 17px;
    }

    .blog-content h3 {
        font-size: 15px;
    }

    .learning-journey-section {
        padding: 50px 0;
    }

    .learning-feature {
        padding: 22px 18px;
    }

    .journey-cta {
        min-height: 250px;

        padding: 30px 20px;
    }

    .journey-cta-content {
        max-width: 60%;
    }

    .journey-cta-content h3 {
        font-size: 20px;
    }

    .journey-cta-image {
        width: 42%;
    }

    .pro-instructor-section {
        padding: 50px 0;
    }

    .pro-instructor-image {
        min-height: 300px;
    }

    .pro-image-circle {
        width: 250px;
        height: 250px;
    }

    .pro-main-image {
        width: 290px;
    }

    .experience-badge {
        left: 0;
        bottom: 15px;

        padding: 9px 12px;
    }

    .experience-badge strong {
        font-size: 18px;
    }

    .pro-instructor-content h2 {
        font-size: 27px;
    }

    .pro-instructor-content > p {
        font-size: 12px;
    }

     .statistics-section {
        padding: 10px 0 50px;
    }

    .statistics-box {
        border-radius: 12px;

        padding: 12px 8px;
    }

    .stat-item {
        padding: 15px 5px;
    }

    .stat-item h2 {
        font-size: 22px;
    }

    .stat-item p {
        font-size: 9px;
    }

    .stat-item::after {
        height: 38px;
    }

     .instructors-section {
        padding: 50px 0;
    }

    .instructors-content h2 {
        font-size: 27px;
    }

    .instructors-content p {
        font-size: 12px;
    }

    .instructors-grid {
        grid-template-columns: 1fr;

        row-gap: 22px;
    }

    .instructor-item {
        padding: 8px 10px;

        border-bottom: 1px solid #eeeeF4;
    }

    .instructor-image-wrap {
        width: 65px;
        height: 65px;

        flex-basis: 65px;
    }

    .subscribe-section {
        padding-bottom: 55px;
    }

    .subscribe-box {
        padding: 0 20px;

        border-radius: 0;
    }

    .subscribe-image {
        height: 145px;
    }

    .subscribe-image img {
        height: 135px;
    }

    .subscribe-content {
        text-align: center;

        padding: 15px 0 30px;
    }

    .subscribe-content h2 {
        font-size: 21px;
    }

    .subscribe-content p {
        font-size: 10px;
    }

    .subscribe-form {
        flex-direction: column;

        width: 100%;
    }

    .subscribe-input {
        width: 100%;
    }

    .subscribe-btn {
        width: 100%;
    }

     .courses-section {
        padding: 50px 0;
    }

    .course-tabs {
        gap: 18px;

        margin-bottom: 25px;
    }

    .course-card-image {
        height: 200px;
    }

    .course-card-body {
        padding: 15px;
    }

    .top-courses-section {
        padding: 45px 0;
    }

    .top-courses-visual {
        min-height: 300px;
    }

    .about-main-image {
        width: 100%;
    }

    .live-class-label {
        top: 20px;
        right: 5px;

        transform: scale(0.75) rotate(7deg);
    }

    .about-play-button {
        width: 62px;
        height: 62px;

        font-size: 27px;
    }

    .enrolled-card {
        left: 0;
        bottom: 5px;

        min-width: 220px;

        padding: 10px 12px;
    }

    .enrolled-title strong {
        font-size: 16px;
    }

    .enrolled-title span {
        font-size: 13px;
    }

    .student-avatars img {
        width: 32px;
        height: 32px;
    }

    .top-courses-content h2 {
        font-size: 27px;
    }

    .category-section {
        padding: 50px 0;
    }

    .section-heading h2 {
        font-size: 23px;
    }

    .section-heading p {
        font-size: 12px;
        padding: 0 15px;
    }

    .category-slider {
        padding: 25px 35px;

        border-radius: 25px;
    }

    .category-icon {
        width: 58px;
        height: 58px;
    }

    .category-icon img {
        width: 30px;
        height: 30px;
    }

    .category-card h5 {
        font-size: 11px;
    }

    .category-card span {
        font-size: 9px;
    }

    .category-arrow {
        width: 27px;
        height: 27px;
    }
     .hero-banner-shape {
        width: 390px;
        right: -35px;
        top: 35px;
    }


    .main-header .navbar {
        min-height: 65px;
    }

    .logo {
        width: 110px;
    }

    .hero-section {
        padding: 45px 0;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-image {
        width: 320px;
    }

    .hero-circle {
        width: 250px;
        height: 250px;
        right: 30px;
    }

    .hero-floating-card {
        left: 0;
        top: 60px;
    }

    .hero-arrow {
        width: 60px;
        height: 60px;
        right: 0;
        top: 40px;
    }

}
