@media only screen and (max-width : 2500px) {
    .page-wrapper {
        overflow: hidden;
    }

}

@media only screen and (max-width : 2500px) {
    .page-wrapper {
        overflow: hidden;
    }

}

/* ==========================================================================
   Responsive Improvements (Mobile & Tablet)
   ========================================================================== */

@media only screen and (max-width: 991px) {
    .landing_page {
        /* height: 560px !important; */
        height: 86vh !important;
    }

    /* Text Alignment - Centering for mobile/tablet */
    .atf-section-title,
    .atf-section-title .title,
    .atf-section-title p,
    .atf-section-title .sub-title,
    .atf-hero-content,
    .atf-hero-content .title,
    .atf-hero-content p,
    .atf-single-skill,
    .atf-skill-content,
    .atf-about-wrapper-in,
    .atf-about-wrapper-in .atf-section-title,
    .atf-single-course,
    .atf-course-content,
    .atf-course-inner-title,
    .atf-course-lesson,
    .testimonial,
    .testimonial p.description,
    .testimonial-inner-content,
    .testimonial-inner-title,
    .testimonial-inner-title .testimonial-title,
    .testimonial-inner-title .post,
    .process-body,
    .atf-social-section .atf-section-title,
    .social-timeline-header,
    .atf-video-gallery-section .atf-section-title,
    .atf-contact-area .atf-section-title,
    .atf-contact-details,
    .atf-contact-address,
    .atf-single-footer,
    .atf-copyright-text,
    .atf-cta-content,
    .atf-partners-section .atf-section-title {
        text-align: center !important;
        justify-content: center !important;
    }

    .atf-section-title .sub-title {
        display: inline-flex;
    }

    .atf-hero-content p {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .atf-about-inner {
        text-align: left;
        /* Keep internal list items left-aligned but centered as a block */
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    .atf-contact-details {
        flex-direction: column;
    }

    .atf-contact-icon {
        margin-right: 0 !important;
        margin-bottom: 15px;
    }

    /* Button Stacking */
    .atf-course-btn-group,
    .atf-cta-buttons {
        flex-direction: column !important;
        align-items: center !important;
        width: 100%;
    }

    .atf-course-btn-group .atf-themes-btn,
    .atf-cta-buttons a,
    .atf-cta-buttons button {
        width: 100% !important;
        max-width: 350px;
        margin-right: 0 !important;
        margin-left: 0 !important;
        margin-bottom: 15px;
        text-align: center;
    }

    .atf-course-btn-group .atf-themes-btn:last-child,
    .atf-cta-buttons a:last-child {
        margin-bottom: 0;
    }

    /* Layout Review Fixes */
    .atf-about-img-area {
        margin-bottom: 40px;
    }

    .atf-single-skill {
        flex-direction: column;
        padding: 30px 20px;
    }

    .atf-skill-icon {
        margin-bottom: 20px;
    }

    .atf-course-btn-group {
        gap: 0 !important;
    }

    .testimonial-inner-content {
        flex-direction: column;
    }

    .testimonial-inner-content .pic {
        margin-right: 0 !important;
        margin-bottom: 15px;
    }

    .social-timeline-header {
        flex-direction: column;
        gap: 15px;
    }

    .social-timeline-header .atf-themes-btn {
        width: 100%;
    }

    .atf-footer-area .atf-single-footer {
        margin-bottom: 40px;
        margin-left: 0 !important;
    }

    .atf-footer-social-icon {
        justify-content: center;
    }

    /* Course Details Refinements */
    .course-meta-box {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .course-meta-content {
        margin-right: 0 !important;
    }

    .nav-tabs {
        justify-content: center !important;
    }

    .nav-tabs .nav-link {
        margin-bottom: 5px;
        font-size: 14px;
        padding: 8px 12px;
    }

    .atf-course-details-tab-nav .nav-tabs {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        background: #141417 !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding: 6px !important;
        border-radius: 8px !important;
        width: 100% !important;
        max-width: 450px !important;
        margin: 0 auto 30px !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        gap: 2px !important;
    }

    .atf-course-details-tab-nav .nav-tabs .nav-link {
        background: transparent !important;
        border: none !important;
        color: rgba(255, 255, 255, 0.6) !important;
        padding: 10px 16px !important;
        border-radius: 8px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        text-align: left !important;
        margin: 0 !important;
        width: calc(100% - 6px) !important;
        max-width: 100% !important;
        transition: all 0.3s ease !important;
        box-shadow: none !important;
        justify-content: flex-start !important;
    }

    .atf-course-details-tab-nav .nav-tabs .nav-link:hover {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.04) !important;
    }

    .atf-course-details-tab-nav .nav-tabs .nav-link.active {
        background: #892a7c !important;
        color: #ffffff !important;
        box-shadow: 0 4px 20px rgba(137, 42, 124, 0.4) !important;
    }

    .atf-course-details-tab-nav .nav-tabs span#productTabMarker {
        display: none !important;
    }

    .atf-share-social-list {
        flex-wrap: wrap;
        justify-content: center;
    }

    .atf-share-social-list li {
        flex: none !important;
        width: 45px;
    }

    .atf-brochure-card {
        margin-top: 30px;
    }

    .course-tabs-wrapper {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        background: #141417 !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding: 6px !important;
        border-radius: 8px !important;
        width: 100% !important;
        max-width: 450px !important;
        margin: 0 auto 15px !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        gap: 2px !important;
    }

    .course-tab-btn {
        background: transparent !important;
        border: none !important;
        color: rgba(255, 255, 255, 0.6) !important;
        padding: 8px 16px !important;
        border-radius: 8px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        text-align: left !important;
        margin: 0 !important;
        width: calc(100% - 6px) !important;
        max-width: 100% !important;
        transition: all 0.3s ease !important;
        box-shadow: none !important;
    }

    .course-tab-btn:hover {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.04) !important;
    }

    .course-tab-btn.active {
        background: #892a7c !important;
        color: #ffffff !important;
        box-shadow: 0 4px 20px rgba(137, 42, 124, 0.4) !important;
    }

    .batches-wrapper {
        flex-direction: column !important;
    }

    .batch-swiper-nav {
        flex-direction: row !important;
        margin-right: 0 !important;
        margin-bottom: 15px;
        gap: 15px;
    }

    .floating-badge {
        display: none !important;
    }

    .atf-hero-content .sub-title {
        display: none !important;
    }

    .atf-hire-content,
    .event-bar,
    .blogpost-meta-box,
    .atf-course-details-review-statics {
        flex-direction: column !important;
        gap: 20px;
        align-items: center !important;
        text-align: center !important;
    }
}

/* Specific adjustments for mobile standard & small */
@media only screen and (max-width: 575px) {
    .atf-section-title .title {
        font-size: 28px !important;
    }

    .atf-hero-content .title {
        font-size: 32px !important;
    }

    .breadcrumb-title {
        font-size: 26px !important;
        line-height: 1.4 !important;
    }

    .breadcrumb-spacing {
        padding-top: 110px !important;
        padding-bottom: 60px !important;
    }

    /* .landing_page {
        height: 450px !important;
    } */

    .atf-hero-btn,
    .atf-hero-btn-area {
        flex-direction: column !important;
        align-items: center !important;
        width: 100%;
    }

    .atf-hero-btn .atf-themes-btn {
        width: 100% !important;
        max-width: 350px;
        margin-right: 0 !important;
        margin-left: 0 !important;
        margin-bottom: 15px;
        text-align: center;
    }

    .atf-hero-btn .atf-themes-btn:last-child {
        margin-bottom: 0;
    }

    .atf-single-course {
        margin-bottom: 30px;
    }

    .process-card {
        flex-direction: column;
        text-align: center;
    }

    .step-marker-container {
        margin-bottom: 20px;
    }
}

/* Adjustments for widths below 390px */
@media only screen and (max-width: 389px) {
    .atf-section-title .title {
        font-size: 24px !important;
    }

    .atf-themes-btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .atf-contact-form {
        padding: 20px 15px;
    }
}

@media screen and (min-width:1200px) and (max-width:1399px) {
    .atf-section-title .title {
        font-size: 44px;
    }

    .atf-hero-content .title {
        font-size: 55px;
    }

    .process-body br {
        display: none;
    }

    .atf-slider-content .title {
        font-size: 55px;
    }

    .atf-slider-content .title span svg {
        display: none;
    }

    .atf-hero-content .title span svg,
    .atf-section-title span svg {
        display: none;
    }

    .dn-1200 {
        display: none;
    }

    .breadcrumb-title {
        font-size: 50px;
    }

    .atf-header-bottom-right.header-2 {
        gap: 0px;
    }

    .atf-single-skill .title {
        font-size: 19px;
    }

    p {
        font-size: 15px;
    }

    .atf-course-lesson {
        text-align: center;
    }

    .atf-social-list {
        justify-content: center;
        padding: 20px 20px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .atf-slider-content .description {
        font-size: 16px;
    }

    h3 {
        font-size: 20px ! important;
    }
}

@media screen and (min-width:992px) and (max-width:1199px) {
    .atf-section-title .title {
        font-size: 40px;
    }

    .atf-hero-content .title {
        font-size: 50px;
    }

    .breadcrumb-title {
        font-size: 44px;
    }

    .hero-frame img {
        right: 120px;
    }

    .dn-1200 {
        display: none;
    }

    .atf-single-skill .title {
        font-size: 20px;
    }

    p {
        font-size: 15px;
    }

    .step-marker {
        display: none;
    }

    .atf-single-skill {
        flex-direction: column;
    }

    .process-text br {
        display: none;
    }

    .process-body.ml-35 {
        margin-left: 0;
    }

    .post-comment {
        display: none !important;
    }

    .event-categories {
        display: none;
    }

    .atf-social-list {
        justify-content: center;
        padding: 20px 20px;
        flex-wrap: wrap;
        gap: 10px;
    }

    h3 {
        font-size: 20px ! important;
    }
}

@media only screen and (max-width : 1199px) {
    .mt-xl-40 {
        margin-top: 40px;
    }

    .mb-xl-40 {
        margin-bottom: 40px;
    }

    .bg-image-right:before {
        display: none;
    }

    .atf_choose_content p {
        display: none;
    }

    .atf-slider-content .title span svg {
        display: none;
    }

    .atf-hero-content .title span svg,
    .atf-section-title span svg {
        display: none;
    }

    .about1-list-icon {
        width: 30px;
    }
}

@media only screen and (max-width:991px) {
    .mt-lg-40 {
        margin-top: 40px;
    }

    .mb-lg-40 {
        margin-bottom: 40px;
    }

    .atf-section-padding {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    p {
        font-size: 15px;
    }

    .atf-slider-content .description {
        font-size: 15px;
    }

    h3 {
        font-size: 20px ! important;
    }

    .step-marker {
        display: none;
    }

    .process-body.ml-35 {
        margin-left: 0;
    }

    .atf-single-skill .title {
        font-size: 20px;
    }

    .atf-hero-content .title {
        font-size: 40px;
        letter-spacing: 0;
    }

    .atf-mailchamp-title .title {
        text-align: center;
    }

    .atf-social-heading {
        margin-bottom: 6px;
    }

    .blogpost-title {
        font-size: 28px;
    }

    .blogpost-comment-title {
        font-size: 28px;
    }

    .atf_team-about-title h2 {
        font-size: 28px;
    }

    .atf-course-details-curriculum ul li {
        flex-wrap: wrap;
    }

}

@media screen and (min-width:768px) and (max-width:1024px) {
    .atf-hero-area.atf_attach_bg {
        background-position: left center;
    }

    .atf-single-slider.atf_attach_bg {
        background-position: left center;
    }

    .atf-section-title .title span svg,
    .atf-slider-content .title span svg,
    .atf-hero-content .title span svg {
        display: none;
    }

    .event-categories {
        display: none;
    }

    .atf-social-list {
        justify-content: center;
        padding: 20px 20px;
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media only screen and (max-width:767px) {
    /* .landing_page {
        height: 480px !important;
    } */

    .mt-xl-40 {
        margin-top: 30px;
    }

    .mb-xl-40 {
        margin-bottom: 30px;
    }

    .mt-lg-40 {
        margin-top: 30px;
    }

    .mb-lg-40 {
        margin-bottom: 30px;
    }

    .atf-course-lesson {
        text-align: center;
    }

    .atf-hire-content.d-flex.align-items-center.justify-content-between {
        flex-wrap: wrap;
        gap: 30px;
    }

    .atf_attach_bg_1.landing {
        background-position: left center;
    }

    .atf-mailchamp-title .title {
        text-align: center;
        font-size: 28px;
    }

    /* Mobile Responsive Card Fixes */
    .atf-single-skill {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: left !important;
        padding: 15px 18px !important;
        gap: 15px !important;
        margin: 8px 0 !important;
    }

    .atf-single-skill .atf-skill-icon {
        margin-bottom: 0 !important;
        flex-shrink: 0 !important;
    }

    .atf-single-skill .atf-skill-icon i {
        font-size: 20px !important;
        width: 46px !important;
        height: 46px !important;
        line-height: 46px !important;
        border-radius: 8px !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
    }

    .atf-single-skill .atf-skill-content {
        text-align: left !important;
    }

    .atf-single-skill .title {
        font-size: 15px !important;
        margin-bottom: 2px !important;
        line-height: 1.2 !important;
    }

    .atf-single-skill .title a {
        font-size: 15px !important;
    }

    .atf-single-skill .describtion {
        font-size: 12px !important;
        line-height: 1.3 !important;
        margin-bottom: 0 !important;
    }

    /* Why Reinforce Section Mobile Spacing Fixes */
    .atf-about-img-area {
        margin-bottom: 20px !important;
    }

    #about .mt-xl-40 {
        margin-top: 10px !important;
    }

    #about .description {
        margin-top: 15px !important;
        margin-bottom: 20px !important;
    }

    /* Our Popular Courses Section Mobile Adjustments */
    #course.atf-section-padding {
        padding-top: 35px !important;
        padding-bottom: 35px !important;
    }

    .atf-section-title .title {
        font-size: 28px !important;
        line-height: 1.3 !important;
        letter-spacing: 0 !important;
    }

    .slick-arrow-2 .slick-arrow {
        top: 35% !important;
        transform: translateY(-50%) !important;
        height: 36px !important;
        width: 36px !important;
        font-size: 14px !important;
        z-index: 10 !important;
        background: rgba(255, 255, 255, 0.85) !important;
        border-color: var(--atf-thm-color) !important;
        color: var(--atf-thm-black) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Center course slider navigation arrows vertically relative to the card on mobile */
    .atf__course_slider_active.slick-arrow-2 .slick-arrow {
        top: 42% !important;
    }

    .slick-arrow-2 .slick-arrow:hover {
        background: var(--atf-thm-color) !important;
        color: #ffffff !important;
        border-color: var(--atf-thm-color) !important;
    }

    .slick-arrow-2 .slick-prev {
        left: 5px !important;
        right: auto !important;
    }

    .slick-arrow-2 .slick-next {
        right: 5px !important;
        left: auto !important;
    }

    .atf-single-course {
        max-width: 330px !important;
        margin: 0 auto 10px !important;
        border: 1px solid #ffffff !important;
    }

    .home-page-main .atf-single-course {
        max-width: 380px !important;
    }

    .atf-course-img img {
        /* height: 160px !important; */
        object-fit: contain !important;
    }

    .atf-course-teacher img {
        width: 56px !important;
        height: 56px !important;
        border-width: 2px !important;
        bottom: 5px !important;
        right: 10px !important;
    }

    .atf-course-content {
        padding: 12px 15px !important;
    }

    .atf-course-author-meta {
        justify-content: center !important;
        margin-top: 8px !important;
    }

    .atf-course-inner-title h3 {
        font-size: 15px !important;
        line-height: 1.3 !important;
        margin-top: 3px !important;
    }

    .atf-course-inner-title span {
        font-size: 14px !important;
        font-weight: 500 !important;
    }

    .atf-course-price {
        margin-top: 10px !important;
        padding-top: 10px !important;
    }

    .atf-course-price span {
        font-size: 14px !important;
    }

    .atf-course-lesson {
        padding: 5px 0 0 !important;
        margin-top: 5px !important;
    }

    .atf-course-lesson span {
        font-size: 11px !important;
        padding-right: 5px !important;
        margin-right: 5px !important;
    }

    /* Testimonial Cards Mobile Alignments */
    .testimonial {
        padding: 20px !important;
        border: 1px solid #ffffff !important;
    }

    .testimonial-content {
        justify-content: center !important;
        align-items: center !important;
        flex-direction: column !important;
        padding-bottom: 15px !important;
        margin-bottom: 15px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .testimonial-inner-content {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .testimonial-inner-content .pic {
        margin-right: 0 !important;
        margin-bottom: 12px !important;
        display: inline-block !important;
    }

    .testimonial-inner-title {
        text-align: center !important;
    }

    .testimonial .testimonial-title {
        font-size: 18px !important;
        text-align: center !important;
    }

    .testimonial .post {
        font-size: 13px !important;
        text-align: center !important;
    }

    .testimonial .post::before {
        display: none !important;
    }

    .testimonial .description {
        font-size: 14px !important;
        line-height: 1.5 !important;
        text-align: center !important;
        margin-top: 10px !important;
    }

    .testimonial-course-title {
        text-align: center !important;
        margin-top: 15px !important;
    }

    .testimonial-course-title .title {
        font-size: 14px !important;
    }

    /* Spacing between testimonial heading and card slider */
    #testimonial .atf-section-title {
        margin-bottom: 45px !important;
    }
}

@media only screen and (max-width:575px) {
    .atf-search-form {
        display: none;
    }

    .atf-single-slider.atf_attach_bg_1 {
        background-position: top center;
    }

    .atf-section-title {
        margin-bottom: 30px;
    }

    .blogpost-comment-avater img {
        margin-bottom: 15px;
    }

    .atf-section-title .sub-title {
        font-size: 12px !important;
        padding: 4px 12px !important;
        gap: 2px !important;
    }

    .atf-section-title .sub-title .large-dot {
        width: 6px !important;
        height: 6px !important;
    }

    .atf-section-title .sub-title .small-dot {
        width: 3px !important;
        height: 3px !important;
    }
}

@media screen and (min-width:320px) and (max-width:479px) {
    .atf-newsletter-title .title {
        font-size: 24px;
    }

    .atf-section-title .title {
        font-size: 28px;
    }

    .atf-hero-content .title {
        font-size: 28px !important;
    }

    .atf-hot-area .hot-wrapper .hot-content h2 {
        font-size: 28px;
    }

    .atf-social-list {
        justify-content: center;
        padding: 20px 20px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .about1-list-icon {
        width: 40px;
    }

    .atf-hero-btn-area {
        gap: 25px;
        flex-wrap: wrap;
    }

    .event-categories {
        display: none;
    }

    .atf-faq-accordion .card .card-header button {
        font-size: 16px;
        line-height: 1.4;
    }

    .atf-contact-form {
        padding: 25px 30px;
    }

    .rating-card {
        display: none ! important;
    }

}

/* Training Batches: Mobile Horizontal Swiper (< 768px only) */
@media only screen and (max-width: 767px) {

    .landing_page .atf-hero-btn a.atf-themes-btn,
    .atf-header-area .atf-themes-btn,
    #topcatigories .atf-hero-btn a.atf-themes-btn,
    .atf-cta-buttons a,
    #course .atf-themes-btn,
    .atf-gallery-view-btn {
        min-width: 204px !important;
        min-height: 48px !important;
        width: auto !important;
        height: auto !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px 15px !important;
        box-sizing: border-box !important;
        text-align: center !important;
        white-space: normal !important;
        line-height: 1.3 !important;
    }

    .breadcrumb-spacing {
        padding-top: 130px !important;
        padding-bottom: 70px !important;
    }

    .batches-wrapper {
        flex-direction: column !important;
        position: relative !important;
    }

    .batch-swiper-nav {
        position: absolute !important;
        top: calc(50% + 15px) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        pointer-events: none !important;
        z-index: 20 !important;
        margin: 0 !important;
        padding: 0 5px !important;
    }

    .batch-swiper-prev,
    .batch-swiper-next {
        pointer-events: auto !important;
        width: 38px !important;
        height: 38px !important;
        font-size: 14px !important;
    }

    .batches-swiper {
        height: auto !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-top: 55px !important;
        padding-bottom: 20px !important;
        overflow: visible !important;
    }

    .batches-swiper .swiper-slide {
        display: flex !important;
        justify-content: center !important;
        height: auto !important;
    }

    .batches-swiper .process-card {
        max-width: 340px !important;
        width: 100% !important;
        margin: 0 auto !important;
        position: relative !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-radius: 12px !important;
    }

    .batches-swiper .step-marker-container {
        position: absolute !important;
        top: 0 !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 10 !important;
    }

    .batches-swiper .step-marker {
        display: flex !important;
        background-color: var(--atf-thm-base) !important;
        color: var(--atf-thm-black) !important;
        width: 130px !important;
        height: 52px !important;
        border-radius: 8px !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5) !important;
        font-size: 13px !important;
    }

    .batches-swiper .step-marker span {
        font-size: 20px !important;
    }

    .batches-swiper .process-body {
        margin-left: 0 !important;
        padding: 55px 20px 20px 20px !important;
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .batches-swiper .process-title {
        text-align: center !important;
        font-size: 17px !important;
        margin-bottom: 15px !important;
        width: 100% !important;
    }

    .batches-swiper .process-title a {
        display: block !important;
        text-align: center !important;
    }

    .batches-swiper .batch-meta {
        margin-top: 15px !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        font-size: 14px !important;
    }

    .batches-swiper .batch-meta .d-flex {
        justify-content: center !important;
        width: 100% !important;
        flex-wrap: wrap !important;
    }

    /* Social Timeline Section Mobile Adjustments */
    .atf-social-section {
        padding: 40px 0 !important;
    }

    .social-slider-active .slick-slide {
        padding: 0 6px !important;
    }

    .atf-social-section .social-timeline-card {
        max-width: 450px !important;
        margin: 0 auto !important;
        padding: 16px !important;
        border-radius: 12px !important;
        height: 480px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        box-sizing: border-box !important;
    }

    .atf-social-section .social-timeline-header {
        padding-bottom: 10px !important;
        margin-bottom: 12px !important;
        flex-shrink: 0 !important;
    }

    .atf-social-section .social-timeline-body {
        height: 380px !important;
        min-height: 380px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        overflow: hidden !important;
        width: 100% !important;
        flex-grow: 1 !important;
    }

    .fb-page-container,
    .fb-page-container iframe,
    .fb-iframe-responsive {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        height: 380px !important;
        min-height: 380px !important;
    }

    .youtube-feed-scrollable,
    .instagram-feed-scrollable {
        max-height: 250px !important;
    }

    .social-slider-active .slick-list {
        height: auto !important;
    }

    .social-slider-active .px-3 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Video Gallery Section Space Reductions */
    .atf-video-gallery-section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .atf-video-gallery-section .mb-45 {
        margin-bottom: 20px !important;
    }

    /* Contact Section Title Centering on Mobile */
    .contact-page-main .atf-contact-area {
        padding-top: 15px !important;
    }

    .atf-contact-area .atf-section-title {
        margin-right: 0 !important;
        text-align: center !important;
    }

    .atf-contact-area .atf-section-title .title {
        text-align: center !important;
        font-size: 26px !important;
        line-height: 1.3 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 340px !important;
    }

    .atf-contact-area .atf-section-title p {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 360px !important;
        padding-right: 0 !important;
    }

    /* Footer Left-Alignment and Spacing Optimization on Mobile */
    .atf-footer-area .atf-section-padding {
        padding-top: 25px !important;
        padding-bottom: 15px !important;
    }

    .atf-footer-area .atf-single-footer {
        text-align: left !important;
        margin-left: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 24px !important;
        padding-left: 10px !important;
    }

    .atf-footer-area .atf-single-footer h3,
    .atf-footer-area .atf-single-footer h3 a,
    .atf-footer-area .atf-single-footer h3 img {
        margin-left: 0 !important;
        margin-right: auto !important;
        text-align: left !important;
    }

    .atf-footer-area .describtion {
        margin-top: 0px !important;
    }

    .atf-footer-area .atf-footer-social-icon {
        justify-content: flex-start !important;
        margin-top: 15px !important;
    }

    .atf-footer-area .atf-list-menu li {
        justify-content: flex-start !important;
    }

    .atf-footer-area .atf-list-menu li a {
        margin-bottom: 12px !important;
    }

    .atf-footer-area .atf-contact-details {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        text-align: left !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        padding-bottom: 10px !important;
        margin-bottom: 10px !important;
        margin-top: 0 !important;
    }

    .atf-footer-area .atf-contact-details:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .atf-footer-area .atf-contact-icon.style1 {
        width: 36px !important;
        height: 36px !important;
        line-height: 36px !important;
        background: var(--atf-thm-color) !important;
        border-radius: 6px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-right: 12px !important;
        margin-bottom: 0 !important;
        margin-top: 2px !important;
        flex-shrink: 0 !important;
    }

    .atf-footer-area .atf-contact-icon.style1 i {
        font-size: 13px !important;
        color: #ffffff !important;
    }

    .atf-footer-area .atf-contact-address {
        text-align: left !important;
        flex-grow: 1 !important;
    }

    .atf-footer-area .atf-contact-address h3 {
        color: #ffffff !important;
        font-size: 14px !important;
        line-height: 1.2 !important;
        font-weight: 600 !important;
        margin-bottom: 2px !important;
        margin-top: 0 !important;
        text-align: left !important;
    }

    .atf-footer-area .atf-contact-address p {
        color: #ccc !important;
        font-size: 12.5px !important;
        line-height: 1.4 !important;
        margin-bottom: 0 !important;
        text-align: left !important;
    }

    .atf-footer-area .atf-copyright-text {
        padding: 15px 0 !important;
    }

    /* Floating Contact Menu Responsive */
    .floating-contact-menu {
        bottom: 20px !important;
        left: 20px !important;
    }

    .floating-contact-menu .contact-item {
        width: 42px !important;
        height: 42px !important;
        font-size: 18px !important;
    }

    .floating-contact-menu .contact-menu-toggle {
        width: 48px !important;
        height: 48px !important;
        font-size: 20px !important;
    }

    /* Scroll to Top Button Responsive */
    .scroll-to-top {
        bottom: 20px !important;
        right: 20px !important;
        width: 48px !important;
        height: 48px !important;
        font-size: 18px !important;
    }

    /* About, Home, Course Details, Gallery & Contact Page Mobile Layout Alignment */
    .about-page-main .container,
    .home-page-main .container,
    .course-details-page-main .container,
    .gallery-page-main .container,
    .contact-page-main .container {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }

    .about-page-section .atf-about-wrapper-in {
        padding: 0 !important;
    }

    .about-page-section .atf-about-wrapper-in .atf-section-title {
        display: flex !important;
        flex-direction: column !important;
        text-align: left !important;
    }

    .about-page-section .atf-about-wrapper-in .atf-section-title .sub-title {
        align-self: center !important;
        margin-bottom: 15px !important;
    }

    .about-page-section .atf-about-wrapper-in .atf-section-title .title {
        text-align: left !important;
        font-size: 22px !important;
        line-height: 1.35 !important;
        margin-top: 5px !important;
        margin-bottom: 15px !important;
        width: 100% !important;
    }

    .about-page-section .atf-about-wrapper-in .atf-section-title p {
        text-align: left !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-top: 10px !important;
        margin-bottom: 15px !important;
        width: 100% !important;
    }

    /* Counter Grid Mobile Responsive Overrides */
    .counter_grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 12px !important;
        width: 100% !important;
        margin-top: 25px !important;
    }

    .counter {
        width: calc(50% - 6px) !important;
        max-width: 145px !important;
        min-width: 130px !important;
        padding: 15px 8px !important;
        border-radius: 12px !important;
        margin-bottom: 0 !important;
    }

    .counter .counter-icon {
        font-size: 24px !important;
        margin: 0 0 5px !important;
    }

    .counter h3 {
        font-size: 13px !important;
        line-height: 1.3 !important;
        margin: 0 0 8px !important;
        font-weight: 600 !important;
    }

    .counter .counter-value,
    .counter .counter_plus {
        font-size: 20px !important;
        line-height: 20px !important;
    }

    /* About Mission Section Mobile Left-Alignment Overrides */
    .about-mission-section .atf-section-title {
        display: flex !important;
        flex-direction: column !important;
        text-align: left !important;
        align-items: flex-start !important;
    }

    .about-mission-section .atf-section-title .sub-title {
        align-self: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .about-mission-section .atf-section-title .title {
        text-align: left !important;
        font-size: 24px !important;
        line-height: 1.35 !important;
        width: 100% !important;
    }

    .about-mission-section .atf-section-title p {
        text-align: left !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
        width: 100% !important;
    }

    /* FAQ (Q&A Sessions) Heading Mobile Override */
    .atf-faq-area .atf-section-title .title {
        font-size: 24px !important;
        line-height: 1.3 !important;
        letter-spacing: -0.5px !important;
    }

    /* FAQ (Q&A Sessions) Answer Paragraph and List Items Mobile Override */
    .atf-faq-accordion .card-body,
    .atf-faq-accordion .card-body p,
    .atf-faq-accordion .card-body ul li {
        font-size: 13px !important;
        line-height: 1.55 !important;
    }

    /* Hamburger Mobile Menu Spacing Optimization */
    .atf-hamburger {
        padding: 25px 20px !important;
    }

    .atf-hamburger-header {
        margin-bottom: 2px !important;
        padding-bottom: 15px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .atf-hamburger-menu {
        padding-left: 0 !important;
        margin-bottom: 0 !important;
    }

    .atf-hamburger-menu ul li>a {
        padding: 10px 16px !important;
    }

    /* Certificates Mobile View Overrides */
    .atf-certificate-area {
        padding: 40px 0 !important;
    }

    .atf-certificate-area .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .atf-certificate-area .atf-contact-form {
        padding: 24px 20px !important;
        border-radius: 20px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .breadcrumb-area,
    .gallery-hero-area,
    .breadcrumb-cover-bg,
    .atf_attach_bg,
    .atf_attach_bg_1 {
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }

    .breadcrumb-area,
    .gallery-hero-area {
        height: 560px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .course-details-breadcrumb-sub-title {
        max-width: 140px !important;
    }

    .course-thumb img {
        border: 3px solid #ffffff !important;
    }

}

@media (min-width: 768px) and (max-width: 1399.98px) {

    .atf-menu-btn .atf-themes-btn,
    .atf-menu-btn .atf-themes-btn span {
        white-space: nowrap !important;
        padding: 10px !important;
        font-size: 11px !important;
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    /* .atf-main-menu>nav>ul>li {
        margin-right: 12px !important;
    } */

    .atf-main-menu>nav>ul>li>a {
        font-size: 14px !important;
    }
}

@media (min-width: 768px) and (max-width: 1350px) {
    .slick-arrow-2 .slick-prev {
        left: -30px !important;
        right: auto !important;
    }

    .slick-arrow-2 .slick-next {
        right: -30px !important;
        left: auto !important;
    }
}

/* Custom batches images swiper mobile & tablet height overrides */
@media only screen and (max-width: 991px) {
    .batches-images-swiper {
        height: 400px !important;
        margin-top: 30px !important;
    }
}

@media only screen and (max-width: 767px) {
    .batches-images-swiper {
        height: 300px !important;
        margin-top: 20px !important;
    }

    /* .batches-images-swiper .swiper-slide img {
        object-fit: contain !important;
    } */
}

/* Lightcase Video/Iframe Modal Responsive Overrides for Mobile and Tablet (up to 767px) */
@media only screen and (max-width: 767px) {

    html[data-lc-type=iframe] #lightcase-case,
    html[data-lc-type=video] #lightcase-case {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        width: 90vw !important;
        height: auto !important;
        max-width: 90vw !important;
        max-height: 80vh !important;
    }

    html[data-lc-type=iframe] #lightcase-content,
    html[data-lc-type=video] #lightcase-content {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        border: 2px solid #FF9924 !important;
        border-radius: 12px !important;
        background-color: #141417 !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8) !important;
    }

    html[data-lc-type=iframe] #lightcase-content .lightcase-contentInner,
    html[data-lc-type=video] #lightcase-content .lightcase-contentInner {
        width: 100% !important;
        height: 0 !important;
        padding-top: 56.25% !important;
        /* 16:9 Aspect Ratio */
        position: relative !important;
        background-color: #141417 !important;
    }

    html[data-lc-type=iframe] #lightcase-content iframe,
    html[data-lc-type=video] #lightcase-content video {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        border-radius: 10px !important;
        border: none !important;
    }


    /* Make sure other navigation arrows don't conflict or are hidden for single video modal */
    html[data-lc-type=iframe] a[class*=lightcase-icon-].lightcase-icon-prev,
    html[data-lc-type=iframe] a[class*=lightcase-icon-].lightcase-icon-next,
    html[data-lc-type=video] a[class*=lightcase-icon-].lightcase-icon-prev,
    html[data-lc-type=video] a[class*=lightcase-icon-].lightcase-icon-next {
        display: none !important;
    }
}