/* =========================================================
   VB-G RAM-G RESPONSIVE SYSTEM
   File : vbg-responsive.css
========================================================= */
/* =====================================================
   LARGE DEVICE
===================================================== */
@media (max-width:1399.98px) {
  .gov-header-wrap {
    gap: 10px;
  }
}
/* =====================================================
   DESKTOP
===================================================== */
@media (min-width:992px) {
  .dropdown:hover > .dropdown-menu {
    display: block;
  }
  .dropdown-submenu .submenu {
    position: absolute;
    top: -8px;
    left: 100%;
    display: none;
    min-width: 240px;
  }
  .dropdown-submenu:hover > .submenu {
    display: block;
  }
  .dropdown-submenu > .dropdown-toggle::after {
    margin-left: 12px;
    transform: rotate(-90deg);
  }
}
/* =====================================================
   TABLET
===================================================== */
@media (max-width:1199.98px) {
  .gov-header-wrap {
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 8px;
  }
  .gov-search {
    order: 3;
    width: 100%;
    max-width: 100%;
    display: flex !important;
  }
  .hero-title, .vision-content h2, .section-title h2, .about-content h2 {
    font-size: 42px;
  }
  .hero-title {
    font-size: 52px;
  }
  .hero-subtitle {
    font-size: 26px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
/* =====================================================
   TABLET SMALL
===================================================== */
@media (max-width:991.98px) {
  /*.partner-logo {
    width: 180px;
    height: 90px;
  }*/
  .partner-logo img {
    max-height: 60px;
  }
  .partner-track {
    animation-duration: 12s;
  }
  .hero-badges {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-section {
    min-height: auto;
  }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .82) 100%);
  }
  .hero-title {
    font-size: 46px;
  }
  .hero-image {
    min-height: auto;
    margin-top: 30px;
    border-bottom-left-radius: 60px;
  }
  .about-wrap {
    min-height: auto;
    overflow: inherit;
    border-radius: 0;
    background: transparent;
    color: inherit;
  }
  .about-overlay {
    background:
      linear-gradient(180deg, rgba(34, 74, 170, .92) 0%, rgba(34, 74, 170, .78) 100%);
  }
  .about-content {
    padding: 50px 25px;
  }
  .vision-card {
    min-height: 480px;
  }
  .vision-side {
    margin-top: 30px;
  }
  /* =================================
       MOBILE NAVBAR
    ================================= */
  .navbar-collapse {
    padding: 10px;
    border-radius: 18px;
    background:
      linear-gradient(180deg, #1e4fb7 0%, #163985 100%);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .20);
    border: 1px solid rgba(255, 255, 255, .08);
  }
  .navbar-nav {
    gap: 6px;
  }
  .nav-item {
    width: 100%;
  }
  .nav-link {
    width: 100%;
    padding: .95rem 1rem !important;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .05);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    backdrop-filter: blur(6px);
  }
  .nav-link:hover, .nav-link.active {
    background: rgba(255, 255, 255, .16);
    color: #fff;
  }
  .nav-link::after {
    display: none;
  }
  .dropdown-menu {
    position: static !important;
    transform: none !important;
    width: 100%;
    margin-top: 6px;
    margin-bottom: 4px;
    padding: 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .06);
    box-shadow: none;
    backdrop-filter: blur(10px);
  }
  .dropdown-item {
    display: flex;
    align-items: center;
    padding: .72rem .85rem;
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
  }
  .dropdown-item:hover, .dropdown-item:focus {
    background: rgba(255, 255, 255, .14);
    color: #fff;
  }
  .dropdown-submenu .submenu {
    position: static;
    display: block;
    margin-top: 8px;
    margin-left: 10px;
    padding-left: 8px;
    border-left: 2px solid rgba(255, 255, 255, .10);
    background: transparent;
    box-shadow: none;
  }
}
/* =====================================================
   MOBILE
===================================================== */
@media (max-width:767.98px) {
  .gov-header-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .gov-brand, .portal-brand {
    width: 100%;
  }
  .gov-right-group {
    width: 100%;
    justify-content: space-between;
  }
  .gov-brand__title {
    font-size: 16px;
  }
  .portal-brand__title {
    width: 100%;
    max-width: 100vw;
  }
  .swachh-logo img {
    max-height: 52px;
  }
  .section-space {
    padding: 30px 0;
  }
  .hero-title, .vision-content h2, .section-title h2, .about-content h2 {
    font-size: 34px;
  }
  .hero-title {
    font-size: 38px;
  }
  .hero-subtitle {
    font-size: 22px;
  }
  .hero-desc {
    font-size: 16px;
    line-height: 1.7;
  }
  .attendance-card {
    padding: 24px 22px 0;
  }
  .attendance-title {
    font-size: 34px;
  }
  .attendance-subtitle {
    font-size: 14px;
  }
  .attendance-stat-content h4 {
    font-size: 42px;
  }
  .attendance-stat-content p {
    font-size: 18px;
  }
  .about-feature-grid {
    grid-template-columns: 1fr;
  }
  .gallery-lg {
    min-height: 320px;
  }
  .gallery-sm {
    min-height: 220px;
  }
  .section-title-lg {
    padding-top: 36px;
    margin-bottom: 36px;
  }
  .section-bg-title {
    font-size: 72px;
    letter-spacing: -2px;
  }
}
/* =====================================================
   SMALL MOBILE
===================================================== */
@media (max-width:575.98px) {
  .partner-logo {
    /*width: 120px;
    height: 70px;*/
    border-radius: 50px;
  }
  .partner-logo img {
    max-height: 50px;
  }
  .partner-track {
    gap: 16px;
    animation-duration: 8s;
  }
  .gov-brand, .portal-brand {
    align-items: flex-start;
  }
  .gov-brand__logo img {
    height: 48px;
  }
  .portal-brand__logo img {
    max-height: 54px;
  }
  .gov-right-group {
    flex-direction: column;
    align-items: flex-start;
  }
  .navbar {
    padding-block: .4rem;
  }
  .navbar-collapse {
    padding: 12px;
  }
  .nav-link {
    padding: .88rem .9rem !important;
    font-size: 14px;
  }
  .dropdown-item {
    padding: .7rem .8rem;
    font-size: 13px;
  }
  .latest-wrap {
    flex-direction: column;
    align-items: stretch;
  }
  .latest-title {
    width: 100%;
    justify-content: center;
    padding: 8px 12px;
  }
  .latest-marquee {
    width: 100%;
    min-height: 42px;
    padding: 10px 14px;
    font-size: 14px;
  }
  .hero-section {
    padding-block: 30px;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-logo {
    max-height: 85px;
  }
  .attendance-title {
    font-size: 28px;
  }
  .attendance-stat-content h4 {
    font-size: 34px;
  }
  .attendance-stat-content p {
    font-size: 16px;
  }
  .section-bg-title {
    font-size: 56px;
  }
  .section-title-lg h2 {
    font-size: 30px;
  }
}