@media (max-width: 767px) {

    .herobar .herobar-title h1 {
        margin: 40px 0px;
        font-size: 1.8rem;
        text-align: center;
    }

    .upcoming-classes-stats-row {
        margin-bottom: 10px;
    }

    .herobar {
        height: 700px;
        min-height: 700px;
    }

    .herobar-main-title {
        font-size: 32px;
        font-weight: 900;
        color: #ffffff;
        margin-bottom: 25px;
        margin-top: 100px;
        line-height: 1.2;
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .herobar-subtitle {
        font-size: 23px;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.95);
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .course-slide {
        margin-bottom: 20px;
    }

    .herobar .herobar-title h3 {
        padding: 14px;
        display: block;
        font-size: 1rem;
        text-align: center;
    }

    .hp-testimonials-section {
        padding-bottom: 0 !important;
    }

    .owl-carousel .owl-nav button.owl-next,
    .owl-carousel .owl-nav button.owl-prev,
    .owl-carousel button.owl-dot {
        display: none !important;
    }

    .modern-course-hero-content {
        text-align: center;
    }

    .herobar .herobar-btn {
        text-align: center;
    }

    .mobh2 {
        font-size: 1.8rem;
        text-align: center;
    }

    .home-browse-video .col-lg-4 {
        padding: 0 10px;
    }

    #home-features .content-box {
        text-align: justify;
        margin-left: 0;
        margin-right: 0;
        padding: 10px;
    }

    #home-features .icon-box {
        float: none;
        display: block;
        text-align: center;
    }

    #home-features .feature-title {
        text-align: center;
        font-size: 1.5rem;
        line-height: 2.5rem;
    }

    .support-section {
        padding: 20px 0;
    }

    .about-us-content {
        padding: 10px;
        background: #faf9f9;
    }

    .about-us-content-img img {
        max-width: 100%;
    }

    .about-us-content h2,
    .about-us-content h3 {
        text-align: center;
    }

    .counter-section {
        padding: 10px;
    }

    .course-hero-buttons {
        justify-content: center;
        margin: 0 auto;
    }

    .course-details-title {
        font-size: 2rem;
        text-align: center;
    }

    .course-details-description {
        text-align: justify;
    }

    .course-details-badge {
        margin: 0 auto;
        display: block;
        width: max-content;
    }

    .offline-course-hero-title {
        font-size: 28px !important;
        margin-top: 20px !important;
    }

    .ytd-video iframe {
        width: 100%;
        height: 100%;
    }

    .course-listing-header {
        font-size: 1.8rem;
        text-align: center;
        line-height: 3rem;
    }

    .module-info {
        text-align: right;
    }

    .module-title {
        line-height: 1.5rem;
    }

    .mobbtn {
        margin-top: 15px;
    }

    .course-details-faq-title {
        font-size: 1.8rem;
        line-height: 2.8rem;
    }

    .contact-map iframe {
        height: 100%;
        margin-top: 13px;
    }

    .page-title h1 {
        font-size: 1.8rem;
    }

    .page-contact .contact-wrapper {
        margin-top: 40px;
    }

    .courses-hero-section h1 {
        font-size: 2rem !important;
        text-align: center;
        line-height: 3rem !important;
    }

    .courses-hero-section .hero-content p {
        font-size: 1.2rem;
        text-align: center;
    }

    .courses-hero-section .stat-card {
        min-height: 100%;
        padding: 10px 5px !important;
    }

    .courses-hero-section .stat-card h3 {
        font-size: 1.2rem !important;
    }

    .courses-hero-section .stat-card p {
        font-size: 0.65rem !important;
        line-height: 1.1;
    }

    .courses-hero-section .hero-content .badge {
        display: block;
        margin: 10px auto;
        width: max-content;
    }

    .upcoming-classes-page-title {
        font-size: 2rem;
    }

    .upcoming-classes-hero-buttons {
        justify-content: center !important;
        gap: 10px !important;
        margin-bottom: 30px !important;
        flex-wrap: nowrap !important;
    }

    .upcoming-classes-hero-buttons a {
        padding: 10px 12px !important;
        font-size: 13px !important;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: fit-content;
    }

    .upcoming-classes-hero-buttons a i {
        font-size: 14px !important;
        margin-right: 5px !important;
    }

    .blog-herobar h1 {
        font-size: 2rem;
    }

    #contact-iframe {
        height: 100%;
    }

    /* Offline Course CTA Mobile Fixes */
    .offline-course-cta-section {
        padding: 50px 0 !important;
        overflow: hidden;
    }

    .cta-content-wrapper {
        text-align: center !important;
        margin-bottom: 40px !important;
    }

    .cta-title {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    .cta-description {
        font-size: 15px !important;
    }

    .cta-features-list {
        display: inline-block !important;
        text-align: left !important;
        margin: 0 auto !important;
    }

    .cta-form-card {
        padding: 20px !important;
        border-radius: 15px !important;
    }

    .form-card-title {
        font-size: 20px !important;
    }

    .glass-input {
        padding: 10px 12px !important;
        font-size: 14px !important;
    }

    .btn-enroll-cta {
        padding: 12px !important;
        font-size: 15px !important;
    }

    /* Course Detail CTA Mobile */
    .cta-1 {
        border-left: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
        padding: 15px 0 !important;
    }

    .cta-1:last-child {
        border-bottom: none !important;
    }

    /* Course Accordion Mobile Fixes */
    .module-button-content {
        flex-wrap: nowrap !important;
        display: flex;
        align-items: center;
    }

    .module-number {
        white-space: nowrap !important;
        display: inline-block !important;
        margin-right: 10px;
    }

}

/* Fix for Small Laptops (992px to 1250px) */
@media (min-width: 992px) and (max-width: 1250px) {
    .navbar-nav .nav-item {
        margin-right: 1px !important;
    }

    .navbar-nav .nav-link {
        padding-left: 3px !important;
        padding-right: 3px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
    }

    .header-login-btn {
        padding: 5px 10px !important;
        font-size: 11px !important;
    }

    .navbar-brand img {
        max-width: 130px !important;
    }

    .herobar-main-title {
        font-size: 48px !important;
    }

    .herobar-subtitle {
        font-size: 22px !important;
        min-height: 30px !important;
    }

    /* Global Font Reduction for Laptops */
    body,
    p,
    a,
    span,
    li {
        font-size: 15px !important;
    }

    /* Footer Responsiveness */
    .footer-top {
        padding: 35px 0 !important;
    }

    .footer-title {
        font-size: 17px !important;
        margin-bottom: 12px !important;
    }

    .footer-contact-list li,
    .footer-links li a {
        font-size: 13px !important;
    }

    .footer-contact-list li a {
        word-break: break-all !important;
        line-height: 1.4 !important;
    }

    .footer-widget {
        margin-bottom: 15px !important;
    }

    /* Course Accordion Fixes */
    .module-button-content {
        flex-wrap: nowrap !important;
    }

    .module-number {
        white-space: nowrap !important;
        display: inline-block !important;
    }

    /* About Us Page Overlap Fixes */
    .about-us-content,
    #aboutwrapper {
        padding: 50px 30px !important;
    }

    .about-us-content-img img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
    }

    /* Navigation Dropdown Reduction */
    .navbar .dropdown-item,
    .navbar .dropdown-menu a {
        font-size: 0.8rem !important;
        padding: 8px 20px !important;
        letter-spacing: 0.3px !important;
    }

}

/* Fix for Uneven Font Sizes in Hero/CTA Titles */
.cta-title .text-orange,
.offline-course-hero-title .text-orange {
    font-size: inherit !important;
    font-weight: inherit !important;
}