@media (min-width: 993px) {



    .main-header .nav-item:hover>.dropdown,

    .main-header .dropdown li:hover>.submenu {

        display: block;

    }



    .main-header .nav-link:hover,

    .main-header .nav-link.active {

        background: rgba(255, 255, 255, 0.05);

        color: var(--secondary-color);

    }



    .main-header .dropdown li a:hover {

        background: #fafafa;

        color: var(--secondary-color);

    }



    #close-nav {

        display: none;

    }

}



@media (max-width: 1399px) {

    :root {

        --sec-gap: 80px;

    }

    .about-section h2 span {
        font-size: 37px;
    }

}



@media (max-width: 1199px) {

    .main-header .logo-text h3 {

        font-size: 38px;

    }



    .main-header .logo-text p {

        font-size: 13px;

    }



    .main-header .nav-link {

        padding: 14px 12px;

        font-size: 12px;

    }



    .main-header .nav-link svg {

        font-size: 11px;

        margin-left: 4px;

    }



    .main-header .btn_nav .primary_btn {

        padding: 10px 12px;

        font-size: 12px;

    }



    .main-header .dropdown li a {

        padding: 10px 15px;

        font-size: 12px;

    }



    .main-header .dropdown {

        min-width: 180px;

    }



    h1 {

        font-size: 55px;

    }



    .banner-content p {

        font-size: 16px;

        margin-bottom: 20px;

        max-width: 600px;

    }



    .banner-content .primary_btn {

        padding: 20px 35px;

        font-size: 15px;

    }



    .about-section .img-main {

        height: 320px;

        border-radius: 0 50px;

        border: dashed 3px var(--primary-color);

        padding: 5px;

    }



    .about-section .img-secondary {

        border-radius: 0 50px;

        border: dashed 3px var(--secondary-color);

        padding: 5px;

    }



    .title h6 {

        font-size: 14px;

    }



    .banner-content h1 {

        margin-bottom: 10px;

    }



    h6,

    h2 {

        margin-bottom: 10px;

    }



    h2 {

        font-size: 40px;

    }



    .counter-icon-wrap {

        width: 80px;

        height: 80px;

        font-size: 25px;

        border: 3px solid var(--white-color);

        margin-bottom: 25px;

    }



    .counter-box p {

        font-size: 16px;

        margin-bottom: 0;

    }



    .course-content h5 {

        font-size: 20px;

    }



    .course-content p {

        margin-bottom: 20px;

    }



    .course-item {

        max-width: 400px;

    }



    .course-content {

        padding: 25px 15px;

    }



    .why_us_img {

        height: 450px;

        max-width: 420px;

        margin-right: 0;

    }



    .why_us_text_wrp ul {

        gap: 10px;

    }



    .why_us_text_wrp ul li {

        width: calc(50% - 5px);

    }



    .card-thumb {

        height: 200px;

    }



    .subject_tag {

        padding: 8px 15px;

        font-size: 12px;

        font-weight: 500;

    }



    .card-body-alt h4 {

        font-size: 18px;

        line-height: 1;

        margin-bottom: 10px;

    }



    .course-card-alt .primary_btn {

        padding: 12px 15px;

        font-size: 12px;

        text-transform: capitalize;

        margin-top: 5px;

    }



    .course-card-alt p {

        font-size: 15px;

        line-height: 1.5;

        margin-bottom: 10px;

    }



    .card-body-alt {

        padding: 15px;

    }



    .course-details h3 {

        font-size: 22px;

    }



    .sidebar-widget {

        padding: 15px;

    }



    .feature-list li {

        font-size: 14px;

        line-height: 1.2;

    }



    .feature-list li svg {

        margin-right: 4px;

    }



    .related-item {

        column-gap: 10px;

        padding: 10px;

    }



    .related_thumb {

        width: 100px;

        height: 80px;

    }



    .course-details p:not(:last-of-type) {

        margin-bottom: 20px;

    }



    .course-details .course_img_sml {

        width: 100%;

        height: 200px;

    }

    .about-section h2 span {
        font-size: 30px;
    }

}



@media (max-width: 992px) {

    .main-header .top-bar {

        display: none;

    }



    .main-header .menu-btn {

        display: flex;

        justify-content: space-between;

        align-items: center;

        padding: 10px 0;

    }



    .main-header .nav-links {

        position: fixed;

        top: 0;

        right: -300px;

        width: 300px;

        height: 100vh;

        background: var(--primary-color);

        flex-direction: column;

        justify-content: flex-start;

        align-items: flex-start;

        padding: 70px 20px 50px;

        transition: right 0.3s ease-in-out;

        overflow-y: auto;

        z-index: 9999;

    }



    .main-header .nav-links.active {

        right: 0;

    }



    .main-header .nav-link {

        padding: 15px 0;

    }



    .main-header .close-x {

        position: absolute;

        top: 20px;

        right: 20px;

        color: var(--white-color);

        font-size: 28px;

        cursor: pointer;

    }



    .main-header .dropdown,

    .main-header .submenu {

        position: static;

        width: 100%;

        background: var(--white-color);

        display: none;

        box-shadow: none;

    }



    .main-header .nav-item {

        position: relative;

        width: 100%;

    }



    .main-header .dropdown li {

        border-color: var(--primary-color);

    }



    .main-header .dropdown li a {

        color: var(--primary-color);

        padding-left: 20px;

    }



    .main-header .btn_nav .primary_btn {

        padding: 15px 20px;

    }



    .main-header .has-sub.open>.submenu {

        border-top: 1px solid var(--primary-color);

    }



    .main-header .submenu li a {

        padding-left: 40px;

        background: transparent;

    }



    .main-header .btn_nav {

        margin-top: 20px;

    }



    .main-header .nav-item.open>.dropdown,

    .main-header .has-sub.open>.submenu {

        display: block;

    }



    .map-container {

        min-height: 350px;

    }



    .main-header .logo {

        display: none;

    }



    .main-header .branding {

        text-align: left;

    }



    .counter-section .row>*:not(:last-child) .counter-box {

        border-right: none;

    }



    .main-header .menu-btn>a {

        max-width: 80px;

    }



    .main-header .menu-btn svg {

        font-size: 30px;

    }



    .image-collage-wrapper {

        position: relative;

        padding-right: 0;

    }



    .about-section .img-main {

        height: 320px;

        width: 70%;

    }



    .about-section .img-secondary {

        width: 55%;

        bottom: -50px;

    }



    .about-content {

        margin-top: 20px;

    }



    :root {

        --sec-gap: 60px;

    }



    .courses-carousel-sec .title,

    .facilities-sec .title,

    .testimonials-sec .title,

    .recruiters-sec .title,

    .course-list-sec .title,

    .gallery-tabs {

        margin-bottom: 40px;

    }



    .course-slider .slick-dots {

        bottom: -30px;

    }



    .course-slider.slick-dotted.slick-slider {

        margin-bottom: 30px;

    }



    .main-footer .footer-info-bar .row {

        padding: 30px 0;

    }



    .why_us_text_wrp {

        margin-top: 40px;

    }



    .main-footer .info-box p,

    .main-footer .info-box a {

        font-size: 12px;

        line-height: 1.3;

        margin-bottom: 0;

        max-width: 100%;

    }



    .main-footer .ftr_logo {

        gap: 15px;

        margin-bottom: 15px;

    }



    .main-footer .ftr_desc {

        margin-bottom: 0;

        max-width: 550px;

    }



    .main-footer .footer-main h5 {

        margin-bottom: 25px;

    }



    .chairman-img-wrapper {

        margin-right: 0;

        max-width: 400px;

        margin-bottom: 40px;

    }



    .custom-pagination .page-link {

        width: 40px;

        height: 40px;

        font-weight: 500;

    }



    .course-details-sidebar {

        display: flex;

        flex-wrap: wrap;

        gap: 20px;

    }



    .sidebar-widget+.sidebar-widget {

        margin-top: 0;

    }



    .course-details-sidebar .sidebar-widget {

        width: calc(50% - 10px);

    }



    /*  */

}



@media (max-width: 768px) {

    .gallery {

        column-count: 2;

    }

}



@media (max-width: 767px) {

    .main-header .logo-group {

        display: none;

    }



    .logo-text {

        width: 100%;

        text-align: center;

    }



    .main-header .logo-text h3 {

        font-size: 35px;

    }



    .main-header .menu-btn>a {

        max-width: 65px;

    }



    .main-header .menu-btn {

        padding: 5px 0;

    }



    h1 {

        font-size: 40px;

    }



    h2 {

        font-size: 35px;

    }



    .about-section .primary_btn {

        margin-top: 30px;

    }



    .banner-content p {

        font-size: 14px;

        margin-bottom: 20px;

        max-width: 600px;

    }



    .banner-content .primary_btn {

        padding: 15px 25px;

        font-size: 15px;

    }



    .main-banner .slide-item {

        height: 100%;

    }



    .counter-section .row {

        row-gap: 35px;

    }



    .counter-icon-wrap {

        width: 60px;

        height: 60px;

        font-size: 22px;

        border: 3px solid var(--white-color);

        margin-bottom: 20px;

    }



    .counter-section h2 {

        margin-bottom: 10px;

    }



    .counter-box p {

        font-size: 15px;

    }



    .counter-section .row>* {

        width: 50%;

    }



    :root {

        --sec-gap: 50px;

    }



    .primary_btn {

        gap: 5px;

        padding: 15px 20px;

        font-size: 14px;

    }



    .course-item {

        max-width: 380px;

    }



    .courses-carousel-sec .title,

    .facilities-sec .title,

    .testimonials-sec .title,

    .recruiters-sec .title,

    .course-list-sec .title,

    .curriculum-modern .title,

    .gallery-sec .title,

    .admission-sec-main .title {

        margin-bottom: 30px;

    }



    .course-img-box {

        max-width: 100%;

        height: 220px;

    }



    .facility-card h4 {

        font-size: 18px;

        margin-bottom: 10px;

    }



    .why-us-sec .title p {

        margin-bottom: 0;

        margin-top: 10px;

    }



    .main-footer .info-box {

        border: none;

    }



    body {

        font-size: 15px;

    }



    .chairman-sec .name-tag h5 {

        font-size: 20px;

        margin-bottom: 10px;

    }



    .chairman-sec .name-tag p {

        font-size: 12px;

    }



    .card-thumb {

        height: 150px;

    }



    .course-card-alt p {

        font-size: 13px;

    }



    .card-body-alt h4 {

        font-size: 16px;

        line-height: 1;

        margin-bottom: 5px;

    }



    .card-body-alt {

        padding: 10px;

    }



    .main-course-img {

        margin-bottom: 15px;

    }



    .course-details .course_img_sml {

        width: 100%;

        height: 150px;

    }



    .custom-accord .accordion-button {

        font-size: 15px;

    }



    .related_thumb {

        width: 120px;

        height: 80px;

    }



    .course-details-sidebar .sidebar-widget {

        width: 100%;

    }



    .gender-wrap {

        width: 100%;

    }



    .enrol-section .icon-badge {

        margin-top: -40px;

    }



    .gallery-tabs {

        margin-bottom: 25px;

    }



    .admission-sec-main .admission-form {

        padding: 30px;

    }



    .map-container {

        min-height: 300px;

    }



    .faq-section .title h2 {

        margin-bottom: 15px;

    }



    .admission-sec-main .upload-section {

        margin-bottom: 30px;

    }



    .main-banner .slide-item .primary_btn {

        bottom: 50px;

    }



    .banner-slider .slick-dots {

        bottom: 25px;

    }

}



@media (max-width: 575px) {

    .main-banner .slide-item {

        height: 100%;

    }



    .main-header .logo-text h3 {

        font-size: 25px;

    }



    .main-footer .footer-info-bar {

        margin-bottom: 0;

    }



    .main-footer .footer-main {

        padding: var(--sec-gap) 0 0;

    }



    .main-header .logo-text p {

        font-size: 12px;

    }



    .inner-banner {

        min-height: 300px;

    }



    .course-list-sec .row>* {

        width: 50%;

    }



    .course-details h3 {

        font-size: 20px;

    }



    .course-details h3 {

        font-size: 20px;

        margin-bottom: 10px;

    }



    .enrol-section h3 {

        font-size: 22px;

    }



    .custom-input {

        padding: 10px 15px;

        font-size: 14px;

        border-radius: 5px;

    }



    .course-details .course_img_sml {

        height: 120px;

    }



    .contact-sec h2 {

        margin-bottom: 25px;

    }



    .faq-section .title p {

        margin-bottom: 10px;

    }



    .admission-sec-main .admission-form {

        padding: 20px 15px 30px;

    }



    .admission-sec-main .upload-section {

        margin-bottom: 25px;

        padding: 10px !important;

    }



    .upload-box {

        padding: 10px !important;

    }



    .admission-sec-main .no-image-preview {

        width: 50px;

        height: 50px;

        background: #eee;

        display: flex;

        align-items: center;

        justify-content: center;

        border-radius: 4px;

        font-size: 20px;

        flex: 0 0 auto;

    }



    .admission-sec-main .primary_btn input[type="submit"] {

        font-size: 14px;

    }



    .help-item {

        gap: 5px;

        padding: 10px 15px;

        font-size: 14px;

    }



    .help-options {

        gap: 10px;

    }

}



@media (max-width: 480px) {

    .gallery {

        column-count: 1;

    }



    .award-badge {

        right: 0;

    }



    .why_us_text_wrp ul li {

        width: 100%;

    }



    .testimonial-card {

        padding: 25px;

    }



    .user-img-wrap img {

        width: 65px;

        height: 65px;

    }



    h5 {

        font-size: 18px;

        letter-spacing: 0;

    }



    .testi_user .user-info span {

        font-size: 13px;

    }



    .about-section .img-main {

        height: 240px;

        width: 65%;

    }



    .about-section .img-secondary {

        width: 60%;

        bottom: -40px;

    }



    .about-section .img-secondary,

    .about-section .img-main {

        border-radius: 0 30px;

    }



    .about-section .img-main img,

    .about-section .img-secondary img {

        border-radius: 0 25px;

    }



    .award-badge span.badge-img {

        font-size: 40px;

        margin-bottom: 15px;

    }



    .banner-content {

        padding-block: 50px;

    }



    .award-badge {

        width: 270px;

        padding: 25px;

    }



    .about-section .icon-text h5 {

        font-size: 17px;

        letter-spacing: 0;

    }



    .about-content {

        margin-top: 10px;

    }



    .why_us_img {

        height: 400px;

        max-width: 100%;

        margin-right: 0;

        padding-right: 50px;

    }



    .main-header .logo-text p {

        font-size: 10px;

    }



    .course-item {

        max-width: 350px;

    }



    .course-content {

        padding: 20px 15px;

    }



    .course-content p {

        margin-bottom: 15px;

        line-height: 1.3;

    }



    .course-content h5 {

        font-size: 18px;

        margin-bottom: 5px;

    }



    :root {

        --sec-gap: 40px;

    }



    .why-us-sec .title {

        margin-bottom: 20px;

    }



    .inner-banner {

        min-height: 250px;

    }



    .chairman-img-wrapper {

        max-width: 350px;

        margin-bottom: 40px;

    }



    .chairman-sec .name-tag h5 {

        font-size: 18px;

        margin-bottom: 10px;

    }



    .chairman-sec .text_wrp p {

        font-style: italic;

        margin-bottom: 10px;

    }



    #backToTop {

        bottom: 15px;

        right: 15px;

        width: 40px;

        height: 40px;

        font-size: 15px;

    }



    .course-list-sec .row>* {

        width: 100%;

    }



    .card-thumb {

        height: 180px;

    }



    .custom-pagination .page-link {

        width: 35px;

        height: 35px;

        font-weight: 500;

        font-size: 15px;

    }



    .gallery-sec .tab-btn {

        padding: 10px 25px;

        margin: 0 2px;

        font-size: 12px;

    }



    .course_bnr h1 {

        font-size: 30px;

        text-transform: capitalize;

    }



    .course_bnr .breadcrumb-item {

        font-size: 13px;

    }



    .course_bnr .breadcrumb-item .mx-2 {

        margin-inline: 2px !important;

    }



    .main-footer .footer-main .container {

        padding-inline: 30px;

    }



    .main-header .menu-btn>a {

        max-width: 55px;

    }



    .main-header .nav-links {

        padding: 70px 30px 50px;

    }

    .about-section h2 span {
        font-size: 25px;
    }

}



@media (max-width: 375px) {

    h1 {

        font-size: 35px;

    }



    .title h6 {

        font-size: 12px;

    }



    h2 {

        font-size: 30px;

    }



    h6,

    h2 {

        margin-bottom: 5px;

    }



    .about-section .inn_content {

        margin-top: 15px;

        row-gap: 15px;

    }



    body {

        font-size: 14px;

    }



    .about-section .title {

        margin-bottom: 10px;

    }



    .primary_btn {

        gap: 5px;

        padding: 14px 15px;

        font-size: 12px;

    }



    .counter-icon-wrap {

        width: 50px;

        height: 50px;

        font-size: 20px;

        border: 2px solid var(--white-color);

        margin-bottom: 15px;

    }



    .counter-section h2 {

        margin-bottom: 5px;

    }



    .about-section .img-main {

        height: 200px;

    }



    .facility-icon {

        width: 70px;

        height: 70px;

        margin: 0 auto 15px;

        font-size: 25px;

    }



    .facility-card {

        padding: 25px 15px;

        border-radius: 10px;

    }



    .why_us_img {

        height: 320px;

    }



    .main-footer .ftr_desc {

        font-size: 14px;

        line-height: 1.5;

    }



    .main-footer .sitemap-links a {

        font-size: 14px;

        padding-bottom: 2px;

    }



    .main-footer .sitemap-links {

        row-gap: 10px;

    }



    .main-footer .social-icons {

        gap: 10px;

        margin-top: 20px;

    }



    .main-header .menu-btn>a {

        max-width: 55px;

    }



    .main-header .menu-btn svg {

        font-size: 25px;

    }



    /*.about-section .quote-icon {*/

    /*    bottom: -20px;*/

    /*    font-size: 40px;*/

    /*}*/



    .main-footer .ftr_btm p {

        font-size: 12px;

    }



    .about-section .quote-box {

        padding: 15px !important;

    }



    .about-section .primary_btn {

        margin-top: 20px;

    }

    .about-section h2 span {
        font-size: 24px;
    }

}