@media(max-width:1200px) {
    .main-menu .nav-menu-wrapper {
        flex: 1;
        text-align: left;
        margin-left: 0px;
    }

    .main-menu ul li a {
        font-size: 15px;
        font-weight: 700;
        padding: 9px !important;
    }
}

@media (max-width: 991px) {

    .main-menu ul ul li>a {
        position: relative;
        padding: 12px 20px 12px 38px;
        /* space for arrow */
        border-radius: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
    }

    /* Left arrow icon */
    .main-menu ul ul li>a::before {
        content: '\f105';
        /* Font Awesome arrow */
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 14px;
        color: var(--primary-color);
    }

    /* Remove border from last item */
    .main-menu ul ul li:last-child>a {
        border-bottom: none;
    }

    /* Mobile hover / tap effect */
    .main-menu ul ul li>a:hover {
        background: rgba(0, 96, 239, 0.08);
        padding-left: 42px;
    }

    .hero-point {
        display: flex;
        gap: 10px;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .about-us-img-2 {
        right: 16px;
    }

    .about-us-img-2 img {
        /* aspect-ratio: 6 / 0.04; */
        /* width: 300px; */
        height: 213px;
    }

    .main-point {
        display: inline-flex;
        align-items: center;
        gap: 1px;
        padding: 5px 7px;
    }

    .main-point p {
        margin: 0;
        font-size: 14px;
    }

    .footer-links-list {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px 0;
        width: auto;
    }

}


@media (max-width:768px) {
    .page-header-box h1 {
        font-size: 32px;
    }

    .services-details h1,
    .course-details h1 {
        font-size: 36px;
    }

    .services-details h2,
    .course-details h2 {
        font-size: 34px;
        font-weight: 600;
    }

    .services-details h3,
    .course-details h3 {
        font-size: 28px;
        font-weight: 600;
    }

    .re-main {
        font-size: 11px;
        font-weight: 700;
        color: var(--accent-color);
        margin: 0 4px 0 0;
    }

    .hero-reviw {
        padding: 0px 10px;
        gap: 6px;
    }

    .main-reviw i {
        font-size: 12px;
    }

    .main-reviw:first-child {
        padding-right: 7px;
    }

    .course-details h1 {
        font-size: 36px;
        color: var(--dark-color);
    }

    .course-details h2 {
        font-size: 32px;
        color: var(--dark-color);
    }

    .course-details h3 {
        font-size: 28px;
        color: var(--dark-color);
    }
}

@media (max-width:575px) {


    .services-details h1,
    .course-details h1 {
        font-size: 34px;
    }

    .services-details h2,
    .course-details h2 {
        font-size: 30px;
        font-weight: 600;
    }

    .services-details h3,
    .course-details h3 {
        font-size: 26px;
        font-weight: 600;
    }

    .expertise-item {
        padding: 3px 5px !important;
    }

    .expertise-image {
        width: 50px;
        height: 50px;
    }

    .about-us-img-2 {
        right: 16px;
    }

    .about-us-img-2 img {
        height: 180px;
    }

    .footer-links-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .rounde-20 img {
        border-radius: 30px;
        height: 500px;
    }

    .footer-contact-info h3 {
        margin-top: 40px !important;
    }

    .footer-contact-info h3,
    .footer-contact-info p {
        text-align: center;
    }

    .footer-links-item {
        text-align: center;
    }

    .footer-title {
        text-align: center;
    }

    .footer-social-links ul {
        display: flex;
        justify-content: center;
    }

    .about-experience-box {
        position: absolute;
        top: 0px;
    }
}

@media(max-width:475px) {
    .expertise-image {
        width: 35px;
        height: 35px;
    }

    .expertise-content p {
        font-weight: 500;
        text-transform: capitalize;
        color: var(--primary-color);
        margin: 0;
        font-size: 14px;
    }

    .expertise-image img {
        width: 24px;
        height: 24px;
    }

    .about-us-img-2 img {
        height: 160px;
    }
}


@media(max-width:400px) {

    .about-us-img-2 img {
        height: 130px;
        width: 130px;
    }

    .about-us-img-2 {
        right: 21px;
        bottom: 16px;
    }
}

@media(max-width:375px) {

    .about-us-img-2 img {
        height: 120px;
    }

    .about-us-img-2 {
        right: 21px;
        bottom: 16px;
    }
}


@media (max-width: 624px) {

    .course-details table,
    .services-details table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        font-size: 12px;
    }

    .course-details table th,
    .course-details table td,
    .services-details table th,
    .services-details table td {
        white-space: nowrap;
        /* Prevent wrapping */
    }
}