@media (max-width: 1200px) {
    .features {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 1351px) and (max-width: 1520px) {
    .hero .hero-details .hero-btn {
        font-size: 30px;
    }
    .hero .hero-details.yellow {
        padding-right: 65px;
    }
    .subscribe-popup {
        width: 32%;
        left: 34%;
    }
}
@media (min-width: 1701px) and (max-width: 2000px) {
    .container-xxl {
        max-width: 80% !important;
    }
}
@media (min-width: 1400px) and (max-width: 1700px) {
    .container-xxl {
        max-width: 95% !important;
    }
    .poetry .poetry-box .poetry-img {
        height: 365px;
    }
}
@media (min-width: 1200px) and (max-width: 1399px) {
    .video-gallery .video-thumb img {
        height: 125px;
    }
    .poetry .poetry-box .poetry-img {
        height: 340px;
    }
}
@media (min-width: 1200px) and (max-width: 1350px) {
    .hero .hero-details.yellow {
        padding: 35px 70px;
    }
    .hero .hero-details .hero-btn {
        font-size: 30px;
    }
    .features .f-block p {
        font-size: 22px;
    }

    .features .f-block h3 {
        font-size: 14px !important;
    }
    .services .service-shape h3 {
        font-size: 16px !important;
    }
    .subscribe-popup {
        width: 32%;
        left: 32%;
    }
    .poetry .poetry-box .poetry-img {
        height: 315px;
    }
    .media-gallery .media-item iframe {
        height: 114px;
    }
}

@media (min-width: 1168px) and (max-width: 1199px) {
    .hero .hero-details .hero-btn {
        font-size: 30px;
    }
    .hero .hero-details h2 {
        font-size: 20px !important;
    }
    .hero .hero-details.yellow {
        padding-right: 65px;
    }
    .subscribe-popup {
        width: 32%;
        left: 32%;
    }
    .poetry .poetry-box .poetry-img {
        height: 315px;
    }
}
@media (max-width: 1167px) {
    .hero .hero-details .hero-btn {
        font-size: 24px;
    }
    .facilities .search-center {
        margin-top: 30px;
        height: auto;
    }
    .pledge .modal-dialog {
        max-width: 80%;
    }
    .subscribe-popup {
        left: 25%;
        width: 45%;
    }
    .citizen iframe {
        height: 500px;
    }
}

@media (min-width: 993px) and (max-width: 1167px) {
    .hero .hero-details {
        display: block;
        padding: 15px 25px 35px;
    }
    .hero .hero-details h2 {
        margin-bottom: 28px;
    }
    .hero .hero-details.green {
        padding-left: 10%;
    }
    .features .f-block p {
        font-size: 24px;
    }

    .features .f-block h3 {
        margin-bottom: 18px;
    }

    .about-us .whats-new-box {
        height: 100%;
    }

    .facilities .centers {
        height: auto;
        margin-top: 20px;
        margin-bottom: 0;
    }

    .media-gallery .media-item iframe {
        height: 86px;
    }

    .services .service-shape {
        padding: 25px 40px;
        height: 200px;
    }

    .services .service-shape h3 {
        font-size: 15px !important;
    }

    .services .service-shape p {
        font-size: 12px;
    }

    .services .service-shape-box .shape1 {
        height: 200px;
        padding: 17px;
    }

    .services .service-shape-box .icon-shape {
        position: absolute;
        bottom: -7px;
        right: -28px;
        max-width: 169px;
    }

    .message .msg-big-box .msg-box {
        flex: 1 30%;
    }

    .newsletter .signup form {
        width: 80%;
    }

    .pages-banner h1 {
        font-size: 42px !important;
    }

    .pages-banner img {
        max-width: 680px;
    }
    .poetry .poetry-box .poetry-img {
        height: 265px;
    }
    .gia-cards .card-body i {
        font-size: 50px;
    }
    .gia-cards .card-body h5 {
        font-size: 15px !important;
    }
    .searchbox .input-group {
        width: 75%;
    }
}
/* Tablets landscape (992px ↓) */
@media (max-width: 992px) {
    h1 {
        font-size: 24px !important;
    }
    h2 {
        font-size: 20px !important;
    }

    h3 {
        font-size: 16px !important;
    }

    p {
        font-size: 14px;
    }
    .bhashini-dropdown-content {
        inset: 100% 0 auto auto !important;
        z-index: 9999 !important;
    }
    .header .navbar-nav {
        text-align: left !important;
    }

    .header.navbar-expand-lg .offcanvas .offcanvas-body {
        padding: 10px 0;
        border-top: 1px solid #fff;
    }

    .header.navbar-expand-lg .navbar-nav .nav-link {
        padding: 10px 22px;
        font-size: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    .navbar-nav .dropdown-menu {
        background-color: #e6f7ef;
        border-radius: 0;
        border: none;
    }

    .navbar-nav .dropdown-menu .dropdown-item {
        color: #2c6e60;
        font-size: 14px;
        border-bottom: 1px solid rgba(44, 110, 96, 0.5);
        padding: 8px 36px;
        text-wrap: auto;
    }
    .header .dropdown-submenu .dropdown-menu li:last-child .dropdown-item {
        border-bottom: 1px solid rgba(44, 110, 96, 0.5) !important;
    }
    .header .dropdown-submenu .dropdown-menu .dropdown-item {
        background-color: #dcffdc;
        padding: 8px 16px 8px 50px;
    }
    .facilities .centers {
        margin-top: 20px;
        height: auto;
        margin-bottom: 0;
    }
    .searchbox .input-group {
        width: 90%;
    }

    .searchbox .input-group .form-control {
        background-color: #fff;
        padding: 2px 10px;
        font-size: 12px;
    }

    .searchbox .input-group-text {
        background-color: #fff;
        padding: 2px 10px;
    }

    .offcanvas-header {
        width: 100%;
        justify-content: space-between;
        padding: 8px !important;
    }

    .offcanvas {
        background-color: #2c6e60 !important;
        max-width: 80% !important;
    }

    .offcanvas-title {
        color: #fff !important;
        font-size: 18px;
    }

    .btn-close {
        filter: brightness(0) invert(1) !important;
        -webkit-filter: brightness(0) invert(1) !important;
        opacity: 1 !important;
    }
    .alert-box .btn-close {
        filter: none !important;
    }
    .hero .hero-details h2 {
        margin-bottom: 22px;
    }
    .hero .hero-details.green {
        padding-left: 10%;
    }
    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-us .about-box {
        margin-bottom: 20px;
    }

    .facilities {
        padding: 30px 0;
    }

    .newsletter .signup {
        padding: 20px;
    }

    .footer .social-media {
        justify-content: center;
    }

    .pages-banner h1 {
        font-size: 34px !important;
    }

    .pages-banner img {
        max-width: 640px;
    }
    .pledge .modal-dialog {
        max-width: 80%;
    }
    .paper-article .paper-article-box .content-box {
        width: 75%;
    }
    .poetry .poetry-box .poetry-img {
        height: 265px;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .hero .hero-details {
        display: block;
    }
    .services .service-shape {
        width: 423px;
        height: 146px;
        padding: 14px 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .services .service-shape h3 {
        font-size: 11px !important;
    }

    .services .service-shape p {
        font-size: 9px;
    }

    .services .service-shape-box .shape1 {
        width: 228px;
        height: 146px;
        outline: #fff solid 14px;
        padding: 0;
    }

    .services .service-shape-box .icon-shape {
        bottom: -3px;
        right: -17px;
        max-width: 109px;
    }
    .contact-us img {
        max-width: 100%;
    }
    .contact-us form .captcha-section {
        width: 100%;
        margin-bottom: 12px;
    }
    .forum .forum-box img {
        width: 165px;
        height: 165px;
        margin-top: -112px;
    }
}
@media (max-width: 767px) {
    .hero .hero-details {
        padding: 20px 25px 30px;
        width: 100%;
        clip-path: none !important;
        justify-content: space-between;
    }
    .hero .hero-details.green {
        margin-left: 0;
        padding: 20px 25px 30px;
    }
}
@media (min-width: 577px) and (max-width: 767px) {
    .services .service-shape {
        height: 146px;
        padding: 14px 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .services .service-shape h3 {
        font-size: 11px;
    }

    .services .service-shape p {
        font-size: 10px;
    }

    .services .service-shape-box .shape1 {
        height: 146px;
        outline: #fff solid 14px;
        width: 145px;
        padding: 0;
    }

    .services .service-shape-box .icon-shape {
        bottom: -3px;
        right: -17px;
        max-width: 109px;
    }
}

/* Tablets portrait (768px ↓) */
@media (max-width: 768px) {
    .hero .hero-details .hero-btn {
        font-size: 26px;
    }

    .features .f-block p {
        font-size: 18px;
    }

    .features {
        padding: 40px 0 0;
    }

    .features .f-block {
        padding: 16px;
    }

    .facilities .search-center {
        margin-top: 25px;
        height: auto;
    }

    .newsletter .signup form {
        width: 80%;
    }
    .subscribe-popup {
        left: 18%;
        width: 65%;
    }
    .footer p {
        margin-bottom: 30px !important;
        text-align: center;
    }

    .footer .qr-code p {
        margin-bottom: 4px !important;
    }

    .pages-banner {
        padding: 56px 0;
    }

    .pages-banner img {
        max-width: 560px;
    }

    .pages-banner h1 {
        font-size: 28px !important;
    }
    .pledge .modal-dialog {
        max-width: 90%;
    }

    .gallery-modal .modal-footer {
        max-height: fit-content;
    }
    .gallery-modal .modal-footer h5,
    .gallery-modal .modal-footer p {
        font-size: 14px;
    }
    .gallery-modal .arrow-btn {
        font-size: 13px;
        padding: 5px 10px;
    }
    .questions .details {
        padding: 58px 28px;
        text-align: left !important;
    }
    .questions .details img {
        right: 5px;
    }
    .questions .details .detail-box {
        width: 80%;
    }
    .video-intern .video-intern-box video {
        height: 200px;
    }
    .poetry .poetry-box {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .paper-article .paper-article-box .content-box {
        width: 65%;
    }
    .activity .activity-box .flip-details ul li {
        margin-bottom: 6px;
        font-size: 14px;
    }
    .citizen iframe {
        height: 500px;
    }
    .forum .forum-box img {
        width: 150px;
        height: 150px;
        margin-top: -105px;
    }
    .toll-form button.end-0 {
        right: 10px !important;
    }
}
@media (min-width: 577px) and (max-width: 767px) {
    .video-gallery .video-thumb img {
        height: 118px;
    }
    .contact-us img {
        position: relative;
    }
    .paper-article .paper-article-box .content-box::after {
        left: 75px;
    }
    .programs .programs-details p {
        word-break: break-all;
    }
    .forum .forum-box img {
        width: 165px;
        height: 165px;
    }
}
/* Mobile (576px ↓) */
@media (max-width: 576px) {
    .top-head .top-head-content {
        gap: 8px;
    }

    .top-head .top-head-content p {
        font-size: 12px;
    }

    .top-head .top-head-content ul li img {
        max-width: 18px;
    }

    .logo-section .logo .name h1 {
        font-size: 10px !important;
    }

    .logo-section .logo .name p {
        font-size: 7px;
    }

    .logo-section .logo img {
        max-width: 38px;
        max-height: 40px;
    }

    .logo-section .logo .name {
        margin-left: 7px;
    }

    .logo-section .helpline {
        padding: 6px 6px 8px;
    }

    .logo-section .helpline p {
        font-size: 9px;
    }

    .logo-section .helpline .help-btn {
        font-size: 10px;
        padding: 2px 8px;
    }
    .hero .hero-details h2 {
        font-size: 16px !important;
    }
    .hero .hero-details {
        width: 100%;
        padding: 25px 25px;
    }
    .hero .hero-details.green {
        margin-left: 0;
    }
    .hero .hero-details .hero-btn {
        font-size: 16px;
    }

    .features {
        padding: 40px 0 0;
    }

    .features .f-block {
        padding: 12px;
    }

    .features .f-block .avtar {
        width: 70px;
        height: 70px;
        padding: 16px;
    }

    .features .f-block h3 {
        font-size: 13px !important;
    }

    .about-us .about-box {
        text-align: center;
    }
    .about-us .about-box .about-content p {
        text-align: justify;
    }
    .about-us .about-box .about-content p:last-child {
        margin-bottom: 30px !important;
    }

    .facilities .centers {
        margin-top: 20px;
        height: auto;
    }

    .facilities .centers img {
        max-width: 55%;
    }

    .facilities .legend {
        height: auto;
        margin-top: 20px;
    }

    .facilities .legend ul li {
        font-size: 14px;
        margin-bottom: 14px;
    }

    .facilities .search-center {
        margin-top: 36px;
        height: auto;
    }

    .facilities .centers .content .center-no {
        font-size: 42px;
    }

    .facilities .search-center .form-block {
        height: auto;
    }

    .facilities .search-center .form-block h4 {
        font-size: 20px;
    }

    .facilities .search-center .form-block form .search-btn {
        padding: 8px 30px;
        font-size: 14px;
    }

    .media-gallery h2 {
        margin-bottom: 10px;
    }
    .media-gallery .media-item iframe {
        height: 200px;
    }
    .services .service-shape-box {
        flex-direction: column;
        margin-bottom: 30px;
    }

    .services .service-shape-box .shape1 {
        padding: 38px;
        width: 140px;
        height: 140px;
        margin-bottom: -78px;
        margin-left: 33px;
        outline: #fff solid 10px;
    }

    .services .service-shape-box .icon-shape {
        right: -25px;
        bottom: -6px;
        max-width: 125px;
    }

    .services .service-shape {
        padding: 24px;
        width: 100%;
        border-radius: 60px;
        height: fit-content;
    }

    .services .service-shape h3 {
        font-size: 16px !important;
        margin-top: 82px;
        margin-left: 0;
    }

    .services .service-shape p {
        font-size: 14px;
        margin-left: 0;
    }

    .message .msg-big-box .msg-box {
        min-width: auto;
        flex: 1 1 100%;
    }

    .message .msg-big-box .msg-box h4 {
        font-size: 16px;
    }

    .message .msg-big-box .msg-box span {
        font-size: 14px;
        line-height: 1.3;
    }

    .message .msg-big-box .msg-box p {
        font-size: 15px;
    }

    .newsletter .signup form {
        width: 100%;
    }

    .newsletter .signup {
        padding: 30px 20px;
    }
    .newsletter .signup p {
        font-size: 14px;
    }

    .newsletter .signup form .form-control {
        padding: 10px;
    }
    .newsletter .signup form .refresh-btn {
        padding: 6px 19px;
        font-size: 16px;
        margin-right: 8px;
        height: 42px;
    }
    .subscribe-popup h6 {
        font-size: 18px;
    }
    form .captcha-wrapper {
        flex-direction: row;
        margin-bottom: 20px;
    }
    form .captcha-img {
        height: 42px;
    }
    form .refresh-btn {
        height: 42px;
    }
    .subscribe-popup {
        left: 5%;
        width: 95%;
        padding: 28px;
    }
    .footer {
        padding: 25px 0;
    }

    .footer ul {
        margin-bottom: 30px !important;
    }
    .footer ul li a {
        font-size: 14px;
    }
    .footer h6 {
        font-size: 16px;
    }

    .footer p {
        margin-bottom: 30px !important;
    }

    .footer .qr-code {
        margin-bottom: 30px;
    }

    /* =============== About NMBA ============== */
    .pages-banner {
        padding: 40px 0;
    }

    .pages-banner h1 {
        font-size: 30px !important;
    }

    .pages-banner img {
        position: relative;
        margin-bottom: -22px;
    }

    .pages-banner h2 {
        font-size: 32px !important;
    }

    .about-content .content-box h2 {
        font-size: 20px;
    }

    .about-content .content-box p {
        font-size: 14px;
    }

    /* =============== About NMBA End ============== */
    .stakeholders .stakeholder-box h3 {
        font-size: 16px;
    }

    .policies img {
        margin-bottom: -22px;
    }

    .contact-us img {
        max-width: 100%;
        position: relative;
        margin-top: 28px;
    }

    .carousel-control-prev-icon {
        width: 1rem !important;
        height: 1rem !important;
    }

    .carousel-control-next-icon {
        width: 1rem !important;
        height: 1rem !important;
    }

    .carousel-indicators {
        margin-bottom: 0 !important;
    }

    .carousel-indicators [data-bs-target] {
        width: 10px !important;
        height: 10px !important;
    }

    .pledge .modal-dialog {
        max-width: 100%;
    }

    .pledge .modal-header h4 {
        font-size: 14px;
    }

    .pledge .modal-body {
        padding: 20px 25px 23px 25px;
    }
    .pledge .modal-body p {
        text-align: justify;
    }
    .breadcrumb-section .breadcrumb {
        padding: 12px 14px !important;
    }
    .breadcrumb-section .breadcrumb .breadcrumb-item a {
        font-size: 12px;
    }
    .breadcrumb-section .breadcrumb .breadcrumb-item {
        font-size: 12px;
    }
    .breadcrumb-section
        .breadcrumb
        .breadcrumb-item
        + .breadcrumb-item::before {
        margin: 0 8px;
    }
    .custom-btn p {
        font-size: 12px;
    }
    .email-box .input-group-text {
        height: 45px;
        padding: 6px 12px;
        font-size: 22px;
    }
    .email-box .form-control {
        height: 45px;
        font-size: 14px;
    }
    .email-box .email-btn {
        height: 45px;
        padding: 10px 14px;
        height: 45px;
        font-size: 14px;
    }
    .video-gallery .video-thumb img {
        height: 196px;
    }
    .poetry .poetry-box {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .poetry .poetry-box .poetry-img {
        height: auto;
    }
    .paper-article .paper-article-box .content-box::after {
        width: 60px;
        left: 65px;
    }
    .paper-article .paper-article-box .img-box {
        height: 130px;
        width: 130px;
    }
    .paper-article .paper-article-box .img-box img {
        width: 75px;
        height: 75px;
    }
    .paper-article .paper-article-box .content-box p {
        text-align: justify;
    }
    .creative-post .media-item {
        height: auto;
    }
    .login .form-box {
        padding: 40px 40px !important;
    }
    .search-center img {
        margin-top: 0 !important;
    }
    .search-center .form-box .send-btn {
        padding: 8px 28px;
        font-size: 14px;
    }
    .feedback .rating-group {
        gap: 4px 12px;
    }
    .citizen iframe {
        height: 300px;
    }
    .forum .forum-box img {
        width: 150px;
        height: 150px;
        margin-top: -130px;
    }
    .faq .accordion-button {
        font-size: 14px;
    }
    .otp-input .otp-field {
        width: 50px;
        height: 50px;
        border-radius: 10px;
    }
    .gia-cards .card-body i { 
        font-size: 48px;
    }
    .gia .card-header h2,
    .gia .card-header span {
        font-size: 16px !important;
    }
    .gia .card-header span {
        text-align: right !important;
    }
    .popup-bg {
        margin-top: -65%;
    }
    .sm-icons{
        top: 15%;
    }
    .sm-icons ul li a {
        width: 30px;
        height: 30px;
        line-height: 30px;
    }
    .sm-icons ul li a i{
        font-size: 12px;
    }
}
@media (max-width: 400px) {
    .paper-article .paper-article-box .content-box::after {
        width: 30px;
        left: 56px;
    }
    .paper-article .paper-article-box .img-box {
        height: 90px;
        width: 115px;
    }
    .paper-article .paper-article-box .content-box {
        width: 80%;
    }
    .paper-article .paper-article-box .img-box img {
        width: 52px;
        height: 55px;
    }
}
@media (max-width: 320px) {
    .pages-banner h1 {
        font-size: 24px !important;
    }

    .top-head .top-head-content ul li img {
        max-width: 14px;
    }

    .top-head .top-head-content ul li {
        padding: 0 6px;
    }

    .top-head .top-head-content p {
        font-size: 10px;
    }
    .logo-section .helpline .help-btn {
        font-size: 7px;
        padding: 2px 4px;
    }
    .logo-section .helpline p {
        font-size: 7px;
    }

    .logo-section .logo .name h1 {
        font-size: 9px;
    }
    .hero .hero-details h2 {
        font-size: 15px !important;
    }
    .features .f-block {
        padding: 12px 6px;
    }
    .features .f-block .avtar {
        width: 60px;
        height: 60px;
    }

    .features .f-block h3 {
        font-size: 12px !important;
    }
    .media-gallery .media-item iframe {
        height: 145px;
    }
    .newsletter form .captcha-section {
        display: block;
    }

    .newsletter .signup form .captcha-img {
        width: 100%;
        height: 40px;
    }

    .newsletter .signup form .refresh-btn {
        height: 40px;
    }
    .footer ul li a {
        font-size: 13px;
    }
    .video-gallery .video-thumb img {
        height: 145px;
    }
    .poetry .poetry-box {
        grid-template-columns: repeat(1, 1fr);
    }
    .time p {
        font-size: 12px;
    }
    .popup-bg {
        margin-top: -90%;
    }
}
