@media only screen and (max-width: 1366px) {
    section.home-banner .carousel-caption {
        position: absolute;
        transform: translateY(-50%);
        top: 49%;
        left: 9%;
    }

    /* section.home-banner .sec-para {
        width: 71% !important;
    }     */

    section.home-banner .caption-1 {
        left: 51%;
        transform: translateY(-58%);
    }

    section.home-banner .caption-2 {
        left: 51%;
        transform: translateY(-50%);
    }

    section.home-banner .carousel-caption .innovative {
        width: 62%;
    }

    section.home-banner .caption {
        top: 51%;
    }

    section.project .card .offer {
        top: 12px;
        right: 19px;
    }

    section.author-body .book {
        width: 452px;
    }
}

@media only screen and (max-width: 1024px) {
    section.home-banner .desk-view img {
        object-position: 61%;
    }

    section.home-banner .text-1 {
        width: 100%;
    }

    section.home-banner .carousel-caption h2 {
        font-size: 2rem;
    }

    section.home-banner .carousel-caption .innovative {
        width: 100%;
    }
}


@media only screen and (max-width: 991px) {
    header .caret {
        display: inline-block;
        width: 0;
        height: 0;
        margin-left: 2px;
        vertical-align: middle;
        border-top: 4px dashed;
        border-top: 4px solid;
        border-right: 4px solid transparent;
        border-left: 4px solid transparent;
    }

    header .dropdown-toggle::after {
        display: none;
    }

    header .dropdown-menu {
        display: none;
    }

    /* section.skills .card-title {
        font-size: 16px;
    } */

    section.review .card {
        width: 100%;
    }

    .navbar-light .navbar-nav .nav-link:hover::after {
        display: none;
    }

    section.event-card {
        margin-bottom: 0 !important;
        margin-top: 0 !important;
    }

    section.about-us .para-3 {
        padding-top: 2.5rem !important;
    }

    section.home-banner .desk-view img {
        height: 48vh;
        object-position: 61%;
    }

    section.home-banner .text-1 {
        width: 100%;
    }

    section.home-banner .carousel-caption h2 {
        font-size: 2rem;
    }

    section.home-banner .carousel-caption .innovative {
        width: 100%;
    }

    section.home-banner .caption-1 {
        left: 25%;
        right: 10%;
    }
}

@media only screen and (max-width: 768px) {
    section.home-banner .caption-2 {
        left: 36%;
        transform: translateY(-44%);
    }

    section.other-banner img {
        object-position: 80%;
        height: 27vh;
    }

    section.other-banner .mentor-banner {
        object-position: 31% !important;
    }

    section.other-banner .training-img {
        object-position: 17%;
    }

    section.other-banner .contact-img {
        object-position: 32%;
    }

    section.other-banner .banner-content h2 {
        font-size: 22px !important;
    }

    section.about-us .about-content {
        margin-top: 2rem !important;
    }

    section.about {
        padding: 4rem 0 4rem 0;
    }

    section.about-us {
        padding: 4rem 0;
    }

    section.service {
        padding: 3rem 0 4rem 0;
    }

    section.project {
        padding: 3rem 0 4rem 0;
    }

    section.project .card .offer {
        top: 8px;
        right: 13px;
    }

    section.partner {
        padding: 3rem 0 4rem 0;
    }

    section.contact-us {
        padding: 3rem 0 4rem 0;
    }

    section.event-card {
        padding: 4rem 0 4rem 0 !important;
    }

    section.service-page {
        padding: 4rem 0 !important;
    }

    section.author-body {
        padding: 4rem 0;
    }

    section.category {
        padding: 3rem 0;
    }

    section.more-books {
        padding-bottom: 4rem;
    }

    section.training-body {
        padding: 4rem 0;
    }

    section.blog {
        padding: 4rem 0;
    }

    section.blog-detail {
        padding: 4rem 0;
    }

    section.other-banner .event-img {
        object-position: 29%;
    }

    section.service-page {
        padding: 4rem 0 !important;
    }

}

@media only screen and (max-width: 767px) {
    section.banner .caption h1 {
        font-size: 1.6rem;
    }

    section.banner .caption p {
        width: 66%;
    }
}

@media only screen and (max-width: 600px) {
    section.category .public {
        height: 300px !important;
    }

    section.event-card .card img {
        height: 302px;
    }

    section.book-details .book-image img {
        height: 308px;
    }

    section.all-product .card-img {
        padding: 1rem 1rem;
    }

    section.all-product .card-img img {
        height: 333px;
    }

    section.all-product .card .offer {
        top: 17px;
        right: 24px;
    }

    section.all-product .card-title {
        height: auto;
    }

    section.project .card {
        height: 480px !important;
    }

    dotlottie-player {
        width: 100% !important;
        transform: translate(0, -67px) !important;
    }

    section.about p {
        text-align: start;
    }

    p, a, li {
        font-size: 14px;
    }

    .text_box {
        width: 87%;
    }

    section.about .about_img {
        width: 87%;
    }

    section.about .about-para {
        letter-spacing: 4px;
        transform: translate(9px, 7px);
    }
}

@media only screen and (max-width: 576px) {
    section.home-banner .carousel-caption h2 {
        font-size: 18px;
        font-weight: bold;
    }

    section.home-banner .desk-view img {
        height: 63vh;
        object-position: 72%;
    }

    section.home-banner .carousel-caption p {
        width: 100%;
    }

    section.about .para-1 {
        padding-top: 0.5rem !important;
    }

    section.about-us .para-1 {
        padding-top: 1rem !important;
    }

    section.about h2 {
        font-size: 2.3rem;
    }

    section.project .card-img {
        padding: 1rem;
    }

    section.project .card-img img {
        width: 185px;
        height: auto;
    }

    section.project .card-body {
        padding: 1rem;
    }

    section.project .card .offer {
        right: 24px;
    }

    section.project .btn-4 {
        padding: 1px 20px;
    }

    /* section.project .btn-5 {
        padding: 1px 12px;
    } */

    section.project .price {
        font-size: 1.1rem;
    }

    section.advisor-body h2 {
        font-size: 1.3rem !important;
    }

    section.training-body h2 {
        font-size: 1.3rem !important;
    }

    section.sample-agenda a {
        padding: 5px;
        width: 168px;
    }

    section.author-body h2 {
        font-size: 1.3rem !important;
    }

    section.full-list .full {
        font-size: 20px !important;
    }

    section.full-list .accordion-button {
        font-size: 14px;
    }

    section.other-banner .training-img {
        object-position: 29%;
    }

    section.other-banner .banner-content h2 {
        font-size: 24px !important;
    }

    section.other-banner img {
        height: 38vh;
    }

}

@media only screen and (max-width: 480px) {
    section.home-banner .carousel-caption {
        transform: translateY(-38%);
    }

    section.home-banner .last-img {
        object-position: 42%;
    }

    section.home-banner .carousel-indicators [data-bs-target] {
        width: 7px;
        height: 7px;
    }

    section.home-banner .carousel-indicators {
        margin-bottom: 5px;
    }
}

@media only screen and (max-width: 375px) {
    section.home-banner .carousel-caption {
        transform: translateY(-60%);
    }
}

@media only screen and (max-width: 320px) {
    section.newsletter .form-control {
        width: 210px;
    }
}