@media (max-width: 480px) {
  .container-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
  }

  header .logobox {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .footer-list {
    grid-template-columns: 1fr;
  }

  #offeringTabs {
    grid-template-columns: repeat(1, 1fr);
  }

  .advertisementParentSection img {
    height: auto;
  }

  .advertisementParentSection>.advertisementChildSection {
    height: auto;
    min-height: auto;
  }

  .custom-mobile-log {
    width: 50%;
  }

  .logo-div img {
    width: 108px;
  }

}

@media(max-width:560px) {
  .container-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
  }

  h2 {
    font-size: 0.6rem;
  }

  h3,
  h4,
  h5,
  h6 {
    font-size: 0.6rem;
  }

  .visionbox h2 {
    font-size: 0.6rem !important;
    line-height: 16px !important;
  }

  .navigationSection {
    bottom: -100% !important;
    width: 90%;
    margin: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    border-radius: 0;
  }

  .custom-container .innernav {
    border-radius: 0;
  }

  .Innerbaner .innerbox {
    bottom: 10%
  }
}

/* Responsive */
@media (max-width: 768px) {
  .footer-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: var(--primary-color);
    margin-top: 10px;
    gap: 1rem;

  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    color: var(--white);
    font-size: 14px;
  }

  .dropdown {
    position: static;
    border: none;
  }

  li:hover>.dropdown {
    display: none;
  }

  .dropdown-toggle.active+.dropdown {
    display: block;
    background-color: #d9f2f25c;
  }

  nav {
    background-color: var(--primary-color);
  }

  header ul.parent_menu_list>li.active-parent p.menu_title {
    color: var(--white);
  }

  .main_menu_home .nav-links li button {
    width: 95%;
    justify-content: space-between;
  }

  header ul.parent_menu_list>li.active-parent a {
    justify-content: start;
    color: var(--white);
  }

  header ul.parent_menu_list>li.active-parent a p {

    color: var(--white);
  }

  .main_menu_home .nav-links li {
    justify-content: space-between;
    display: block;
    text-align: left !important;
  }

  header ul.parent_menu_list>li.active-parent button {
    justify-content: left;
  }

  .main_menu_home .nav-links .submenu_dropdown a {
    font-size: .85rem;
  }

  .main_menu_home .menu-item {
    min-width: unset;
    max-width: unset;
  }

  .govtext {
    font-size: 16px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .ministry-name-45 {
    font-size: 18px !important;
  }

  p {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  #offeringTabsContent ul li {
    gap: 2rem;
  }

  .recentDocument {
    padding-left: 0;
  }

  .advertisementParentSection {
    display: flex;
    gap: 2rem !important;
    flex-direction: column;
  }

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

  }

  .footerHeading {
    text-align: left !important;
    padding: 1rem 0;
  }

  .footer-image {
    justify-content: left !important;
    padding-bottom: 1rem;
  }

  .main_menu_home .dropdown {
    position: relative;
  }

  /* .submenu_dropdown >li:first-child {
    padding: 0 !important;
  } */

  .colRecentDocument {
    min-height: unset;
  }

  #banner-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }

  header ul.parent_menu_list p.menu_title {
    color: #fff;
  }

  header ul.parent_menu_list>li button svg * {
    fill: #fff;
  }

  footer .footer-list ul li a {
    font-size: 14px;
  }

  #banner-swiper .paginationPausebtn {
    justify-content: center;
    padding: 2px;
  }

  #banner-swiper .paginationPausebtn #pause-btn {
    font-size: 12px;
    width: 32px;
    height: 32px;
  }

  .pm-quote-box img {
    max-width: 50%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .custom-pm {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 992px) {
  h2 {
    font-size: 0.8rem;
  }

  h3,
  h4,
  h5,
  h6 {
    font-size: 0.6rem;
  }

  .visionbox h2 {
    font-size: 1rem !important;
    line-height: 20px !important;
  }

  .aboutcontent ol li,
  .aboutcontent ul li {
    font-size: 0.8rem;
  }

  .custom-mobile-log img {
    width: 60px;
  }

  .mobile-btn {
    position: absolute;
    top: 0;
    left: 100%;
    transform: translate(-120%, 0%);
  }

  .nav-links.show {
    display: flex;
  }

  header ul.parent_menu_list>li.active-parent p.menu_title {
    font-size: 1rem;
  }

  header ul.parent_menu_list p.menu_title {
    font-size: 1rem;
  }

  .main_menu_home .nav-links .submenu_dropdown a {
    font-size: 0.8rem;
  }

  .nav-links {
    margin: 0;
    column-gap: 1rem;
  }

  .footer-image {
    justify-content: left !important;
    padding-bottom: 1rem;
  }

  .main_menu_home .menu-item {
    max-width: unset;
    min-width: unset;
    width: 100%;
  }



  .colRecentDocument {
    min-height: 100px;
  }

  .recentDocument {
    padding: 0px 1rem;
  }

  .filterField {
    max-width: 100%;
  }

  .custom-flex-wrap {
    display: block;
  }

  .perPageField {
    max-width: 100%;
  }

  .searchField {
    margin-top: 8px;
    max-width: 100%;
  }

  .tableheader {
    display: none;
  }

  .announcementbox {
    padding: 12px 20px;
    margin-bottom: 10px;
  }



  .Innerbaner .innerbox .pagename {
    font-size: 0.6rem;
  }

  .navigationSection {
    bottom: -50%;
  }

  .innerbox nav {
    background: transparent;
  }

  .custom-container .innernav {
    padding: 2px;
    margin-top: -70px;
  }

  .nav-arrow {
    font-size: 1.5rem;
    padding: 0 10px;
    height: 24px;
    width: 25px;
  }

  .innernav .nav-link {
    font-size: 0.6rem;
    padding: 6px;
  }

  .navigationSection ul.nav li.nav-item a.nav-link.active::before {
    width: 14px;
    height: 14px;
  }

  .Innerbaner .innerbox .breadcrumb li a {
    font-size: 0.6rem;
  }

  .download-outline-btn svg {
    margin-right: 12px;
  }

  .download-btn {
    padding: 4px 6px;
  }

  #pagination-wrapper nav {
    background: transparent;
  }

  .file-size-font {
    font-size: 0.9rem;
  }

  .navigationSection ul.nav li.nav-item a.nav-link.active::before {
    left: 20%;
  }

  .directoryBox .departmentBadge {
    width: 100%;
  }

  .directoryBox svg {
    width: 20px;
    height: 20px;
  }

  .directoryBox .name {
    margin: 0;
    padding-bottom: 5px;
  }

  .directoryBox {
    padding: 6px 10px;
    row-gap: 10px;
    margin: 0 2px;
  }

  .our-team-list-subheader {
    display: none;
  }

  .stickyBox {
    position: static;
  }

  .visionbox {
    padding: 14px;
  }

  .aboutcontent h2 {
    font-size: 0.9rem;
  }

  .right-section-paragraph .accordion {
    padding: 0px 8px;
  }

  #our_organisation .card .card-header .card-img-top {
    width: 140px;
  }

  #our_organisation .card h5.card-title {
    font-size: 16px;
  }

  #our_organisation .card .card-body {
    padding: 14px;
    max-height: 237px;
    min-height: 210px;
  }

  .annoucement-box h2 {
    font-size: 14px;
  }

  .layoutshift-about .minister_link {
    font-size: 18px;
  }

  .layoutshift-about .minister_link svg {
    width: 30px;
    height: 30px;
  }

  .about-section-layout-3 .about-section-left .about-btn {
    font-size: 1rem;
  }

  .about-section-layout-3 .about-section-left .about-btn svg {
    margin-right: 8px;
  }

  /* Hide off-canvas by default */
  .main_menu_home {
    position: fixed;
    top: 0;
    left: -100%;
    /* hidden off-screen */
    width: 250px;
    height: 100%;
    background: #fff;
    transition: left 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }

  /* When active */
  .main_menu_home.active {
    left: 0;
  }

  .menu-close {
    background-color: var(--primary-color);
    display: flex;
    justify-content: end;
  }

  .menu-close button {
    background: #fff;
    border: 1px solid #814747;
    font-size: 1.5rem;
    padding: 0px 16px;
    border-radius: 0;
  }
}

@media (max-width: 991px) {
  .container-box {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
  }

  #menu-toggle {
    display: block;
  }

  .menu-close {
    display: block;
  }

  .mobile-btn {
    display: block;
  }
}

@media (min-width: 992px) {
  #menu-toggle {
    display: none;
  }

  .main_menu_home {
    position: static;
    width: auto;
    height: auto;
    left: 0;
    display: block;
    transition: none;
  }

  .menu-close {
    display: none;
  }

  .mobile-btn {
    display: none;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .custom-pm img {
    width: 246px;
    height: 246px;
  }

  .pm-quote-box blockquote.headline p {
    font-size: 1.2rem;
  }

  .pm-quote-box .miniter-title,
  .pm-quote-box .event-date {
    font-size: 0.8rem;
  }

  .text-about-ministry p {
    font-size: 1rem;
  }

  .homepageSubHead {
    font-size: 18px;
  }

  .homepageSubHead svg {
    width: 24px;
  }

  .importantlinklist a {
    font-size: 0.8rem;
  }

  .importantlinklist li a svg {
    width: 10px;
    height: 10px;
  }

  .recentDocumentsCardsTitle {
    font-size: 14px;
    font-weight: bold;
  }

  #offeringTabs .nav-link {
    font-size: 14px;
  }

  .view-more-link-2 {
    padding: 6px;
  }

  .view-more-link-2 svg {
    width: 12px;
  }

  .Innerbaner .innerbox .pagename {
    font-size: 0.8rem;
  }

  .aboutcontent h2 {
    font-size: 1rem;
  }

  .directoryBox .connect {
    font-size: 14px;
  }

  .aboutcontent p {
    font-size: 0.8rem;
  }

  header .logobox svg {
    min-width: 29px;
    max-width: 30px;
  }

  .main_menu_home .nav-links li button {
    padding: 6px 8px;
  }

  header .logobox img {
    min-width: 54px;
    max-width: 60px;
  }

  header .logobox .govtext.h2,
  header .logobox h2.govtext,
  header .logobox p.govtext {
    font-size: 0.9rem;
    line-height: 6px;
  }

  header .logobox .ministry-indian {
    font-size: 0.8rem;
    line-height: 16px;
    padding-top: 4px;
  }

  header .logobox .ministry-name-45.h2,
  header .logobox h2.ministry-name-45,
  header .logobox p.ministry-name-45 {
    line-height: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    padding-top: 4px;
  }

  .header-2.header-list svg {
    width: 20px;
    height: 20px;
  }

  header ul.parent_menu_list>li.active-parent p.menu_title {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
  }

  header ul.parent_menu_list>li.active-parent:first-child a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    bottom: 0px;
    left: 0;
    z-index: -1;
  }

  header ul.parent_menu_list p.menu_title {
    font-size: 0.8rem;
    font-weight: 500;
  }

  .main_menu_home .menu-item {
    min-width: 100px;
    max-width: 150px;
  }

  .main_menu_home .dropdown {
    min-width: 150px;
  }

  .main_menu_home ul.parent_menu_list>li:first-child a {
    padding: 6px 8px;
  }

  .main_menu_home .nav-links .submenu_dropdown a {
    font-size: 0.6rem;
  }

  a {
    font-size: 0.5rem;

  }

  a[data-bs-original-title] {
    font-size: 0.7rem;
  }
}

@media (min-width: 1100px) and (max-width: 1536.5px) {
  .main_menu_home .menu-item {
    min-width: 100px;
    max-width: 220px;
  }
}