body {
  font-family: "Segoe UI", sans-serif;
  background: #f5f8fa;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.gallery-modal-open {
  overflow: hidden;
}

body > main,
body > #fontSize,
body > .body-wrapper,
body > .content-page-section {
  flex: 1 0 auto;
}

/* =========================
   COMMON CONTAINER
========================= */

.topbar .container,
.main-header .container,
.custom-navbar .container {
  max-width: 1320px;
  padding-left: 24px;
  padding-right: 24px;
}
.header-content {
  padding-left: 0;
}

.logo {
  height: 72px;
  width: auto;
  display: block;
}

/* =========================
   TOP BAR
========================= */

.topbar {
  background: #f3f3f3;
  border-bottom: 1px solid #dcdcdc;
}

.topbar-content {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.govt-info {
  display: flex;
  align-items: center;
}

.govt-info .hindi {
  font-size: 12px;
  font-weight: 600;
  color: #111;
  padding-right: 12px;
  white-space: nowrap;
}

.govt-info .divider {
  width: 1px;
  height: 42px;
  background: #d5d5d5;
}

.govt-info .english {
  font-size: 12px;
  padding-left: 12px;
  color: #111;
  font-weight: 500;
  white-space: nowrap;
}

.skip-link {
  font-size: 12px;
  text-decoration: none;
  color: #000;
  font-weight: 600;
  text-transform: uppercase;
}

.skip-link:hover {
  color: #000;
}

.sticky-wrapper {
  position: sticky;

  top: 0;

  z-index: 9999;

  background: #fff;
}

/* ==========================
   HEADER
========================== */

.main-header {
  background: #fff;

  padding: 10px 0;

  border-bottom: 1px solid #e5e5e5;

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.logo {
  height: 78px;

  width: auto;

  display: block;
}

.swachh-logo {
  height: 55px;

  width: auto;

  display: block;
}

.swachh-wrapper {
  display: flex;

  justify-content: center;

  align-items: center;
}

.main-header h1 {
  font-size: 2.2rem;

  font-weight: 700;

  color: #111;

  margin: 0 0 5px;

  line-height: 1.15;
}

.main-header p {
  color: #555;

  font-size: 15px;

  margin: 0;

  font-weight: 500;
}

/* ==========================
   NAVBAR
========================== */

.custom-navbar {
  background: linear-gradient(135deg, #22b573, #27c27c);

  min-height: 58px;

  padding: 0;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.navbar-menu {
  display: flex;

  align-items: center;
}

.navbar-menu .nav-item {
  position: relative;
}

.navbar-menu .nav-link {
  color: #fff !important;

  font-size: 14px;

  font-weight: 500;

  padding: 17px 24px !important;

  transition: 0.3s;
}

.navbar-menu .home-nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  text-align: center;
}

.navbar-menu .home-nav-icon {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.navbar-menu .nav-link.active {
  border-bottom: 3px solid #fff;
}

.navbar-menu .nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Divider */

.navbar-menu .nav-item:not(:last-child)::after {
  content: "";

  position: absolute;

  right: 0;

  top: 18px;

  width: 1px;

  height: 18px;

  background: rgba(255, 255, 255, 0.25);
}

/* ==========================
   DROPDOWN
========================== */

.custom-dropdown {
  display: block !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;

  opacity: 0;

  visibility: hidden;

  transform: translateY(10px);

  transition: 0.25s;

  border: none !important;

  border-radius: 0 0 12px 12px;

  min-width: 260px;

  padding: 0 !important;
  margin: 0 !important;
  z-index: 10000 !important;
  overflow: hidden;
  background: #fff !important;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.dropdown:hover .custom-dropdown {
  opacity: 1;

  visibility: visible;

  transform: translateY(0);
}

.dropdown.show .custom-dropdown,
.custom-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-dropdown .dropdown-item {
  display: block !important;
  width: 100% !important;
  min-height: 46px;
  padding: 13px 18px !important;

  border-bottom: 1px solid #f1f1f1;

  font-size: 14px;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  color: #1f2937 !important;
  background: #fff !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.custom-dropdown .dropdown-item:hover {
  background: #f1faf5 !important;
  color: #169b62 !important;
}

.custom-dropdown .dropdown-item:last-child {
  border-bottom: none;
}

/* Shared _HeaderHome / _FooterHome chrome */

.shared-site-header .container,
.shared-site-footer .container {
  max-width: 1320px;
  padding-left: 24px;
  padding-right: 24px;
}

.shared-header-row {
  min-height: 92px;
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr) 190px !important;
  align-items: center;
  gap: 22px;
  width: 100%;
  float: none !important;
  clear: none !important;
}

.shared-logo-link,
.shared-swachh-link {
  display: inline-flex !important;
  align-items: center;
  text-decoration: none;
  float: none !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
}

.shared-logo-link {
  justify-content: flex-start;
}

.shared-swachh-link {
  justify-content: flex-end;
}

.shared-site-header .header-content h1 {
  font-size: 2.1rem;
}

.shared-site-header .header-content {
  display: block !important;
  float: none !important;
  clear: none !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0;
}

.shared-site-header .logo,
.shared-site-header .swachh-logo,
.shared-site-header .shared-logo-link img,
.shared-site-header .shared-swachh-link img {
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none;
  vertical-align: middle;
}

.shared-site-header .logo {
  width: auto !important;
  height: 78px !important;
  display: block !important;
}

.shared-site-header .swachh-logo {
  width: auto !important;
  height: 55px !important;
  display: block !important;
}

.shared-site-header .main-header {
  padding: 10px 0 !important;
}

.shared-navbar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  min-height: 58px;
  display: flex !important;
  align-items: center !important;
  flex-direction: row !important;
  gap: 0;
  float: none !important;
}

.shared-navbar-menu .nav-link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  line-height: 1.2 !important;
  text-decoration: none;
}

.shared-navbar-menu .nav-item {
  float: none !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

.shared-navbar-menu .custom-dropdown {
  display: block !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  z-index: 10000;
  width: max-content !important;
  min-width: 260px !important;
  background: #fff !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.shared-navbar-menu .dropdown:hover .custom-dropdown,
.shared-navbar-menu .dropdown:focus-within .custom-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.shared-site-footer {
  margin-top: auto !important;
  flex-shrink: 0;
}

.shared-site-footer .footer-main,
.shared-site-footer .footer-links,
.shared-site-footer .footer-bottom {
  clear: none !important;
}

/* Arrow Animation */

.dropdown-toggle::after {
  transition: 0.3s;
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

/* ==========================
   MOBILE
========================== */

@media (max-width: 991px) {
  .sticky-wrapper {
    position: relative;
  }

  .main-header h1 {
    font-size: 1.4rem;
  }

  .logo {
    height: 55px;
  }

  .swachh-logo {
    height: 40px;
  }

  .navbar-menu {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar-menu .nav-item::after {
    display: none;
  }

  .custom-dropdown {
    display: none;

    opacity: 1;

    visibility: visible;

    transform: none;
  }

  .dropdown.show .custom-dropdown {
    display: block;
  }
}
.hero-section {
  position: relative;
  height: 430px;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroBannerFade 24s infinite;
}

.hero-slider img:nth-child(1) {
  animation-delay: 0s;
}

.hero-slider img:nth-child(2) {
  animation-delay: 6s;
}

.hero-slider img:nth-child(3) {
  animation-delay: 12s;
}

.hero-slider img:nth-child(4) {
  animation-delay: 18s;
}

@keyframes heroBannerFade {
  0%,
  100% {
    opacity: 0;
  }

  5%,
  25% {
    opacity: 1;
  }

  30% {
    opacity: 0;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

.hero-section .container {
  position: relative;
  z-index: 5;
  max-width: 1320px;
  height: 100%;
}

.hero-wrapper {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

/* LEFT */

.hero-left {
  width: 58%;
}

.gov-badge {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 50px;
  background: rgba(34, 181, 115, 0.15);
  border: 1px solid rgba(34, 181, 115, 0.35);
  color: #fff;
  font-size: 13px;
  margin-bottom: 20px;
}

.hero-left h1 {
  font-size: 64px;
  line-height: 1.05;
  font-weight: 800;
  color: #fff;
  margin-bottom: 15px;
}

.hero-left h1 span {
  display: block;
  color: #79f6af;
}

.hero-left p {
  color: #fff;
  font-size: 17px;
  line-height: 1.8;
  max-width: 650px;
  margin-bottom: 25px;
}

.hero-btns {
  display: flex;
  gap: 15px;
}

.btn-primary-custom {
  background: #fff;
  color: #111;
  padding: 15px 30px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 700;
}

.btn-outline-custom {
  border: 1px solid #22b573;
  color: #fff;
  padding: 15px 30px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
}

/* RIGHT */

.hero-right {
  width: 380px;
}

.updates-card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border-radius: 24px;
  padding: 20px;
}

.updates-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.updates-header h3 {
  color: #fff;
  font-size: 22px;
  margin: 0;
}

.live-badge {
  background: #ff3f3f;
  color: #fff;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 12px;
}

.update-box {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
}

.update-box h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 4px;
}

.update-box span {
  color: #d8ffe7;
  font-size: 13px;
}

.view-all {
  display: block;
  text-align: center;
  color: #79f6af;
  text-decoration: none;
  margin-top: 10px;
}

/* KPI */

/* ===================================
   PREMIUM KPI SECTION
=================================== */

.stats-strip {
  background: linear-gradient(135deg, #0f8f57 0%, #22b573 100%);

  position: relative;
  overflow: hidden;
}

.stats-strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;

  background: linear-gradient(
    90deg,
    #ffffff,
    rgba(255, 255, 255, 0.3),
    #ffffff
  );
}

.stats-grid {
  max-width: 1320px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

/* KPI CARD */

.stat {
  position: relative;

  padding: 28px 15px;

  text-align: center;

  transition: 0.3s ease;
}

/* Divider */

.stat:not(:last-child)::after {
  content: "";

  position: absolute;

  right: 0;
  top: 50%;

  transform: translateY(-50%);

  width: 1px;
  height: 55px;

  background: rgba(255, 255, 255, 0.18);
}

/* Hover */

.stat:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Number */

.stat h3 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 6px;

  color: #fff;

  letter-spacing: 0.5px;

  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

/* Label */

.stat p {
  color: rgba(255, 255, 255, 0.88);

  font-size: 13px;

  font-weight: 500;

  margin: 0;

  letter-spacing: 0.2px;
}

/* Optional Small Icon */

.stat-icon {
  width: 44px;
  height: 44px;

  margin: 0 auto 10px;

  border-radius: 12px;

  background: rgba(255, 255, 255, 0.12);

  backdrop-filter: blur(8px);

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;

  font-size: 18px;
}

@media (max-width: 991px) {
  .hero-section {
    height: auto;
  }

  .hero-wrapper {
    flex-direction: column;
    padding: 60px 0;
  }

  .hero-left,
  .hero-right {
    width: 100%;
  }

  .hero-left h1 {
    font-size: 42px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ==========================================
   ABOUT + CITIZEN SERVICES SECTION
========================================== */

.about-services-section {
  background: #f8fbf9;
  padding: 34px 0 36px;
}

.about-services-section .container {
  max-width: 1320px;
}

.about-services-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(360px, 430px);
  align-items: start;
  justify-content: center;
  gap: 46px;
}

.about-main,
.quick-access-panel {
  min-width: 0;
}

.leadership-panel {
  margin: 0 0 22px;
}

.minister-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  margin: 0;
}

.minister-card {
  text-align: center;
}

.minister-card img {
  width: 147px;
  max-width: 100%;
  height: 141px;
  object-fit: cover;
  object-position: top center;
  display: block;
  border: 1px solid #d8e4dd;
  border-radius: 12px;
  margin: 0 auto 12px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.minister-card h3 {
  color: #020617;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 4px;
}

.minister-card p {
  color: #475569;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  margin: 0;
}

/* Heading Label */

.section-tag {
  position: relative;
  padding-left: 14px;
  color: #22b573;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.section-tag:before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 4px;
  height: 22px;
  border-radius: 10px;
  background: #22b573;
}

/* Headings */

.about-services-section h2,
.service-title {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 14px;
}

/* Description */

.section-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 20px;
  max-width: 800px;
  text-align:justify;
}

/* ==========================================
   FEATURE GRID
========================================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.feature-card {
  background: #f1faf5;
  border: 1px solid #e8f3ec;
  border-radius: 14px;

  padding: 14px 16px;
  min-height: 78px;

  display: flex;
  align-items: flex-start;
  gap: 12px;

  transition: 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: #22b573;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

/* Icon */

.icon-box {
  width: 38px;
  height: 38px;
  min-width: 38px;

  border-radius: 10px;

  background: #dff7e8;

  color: #22b573;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 14px;
}

/* Feature Content */

.feature-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 3px;
}

.feature-card p {
  font-size: 13px;
  line-height: 1.45;
  color: #64748b;
  margin: 0;
}

/* ==========================================
   SERVICES
========================================== */

.service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card {
  background: #fff;

  border: 1px solid #e5e7eb;

  border-radius: 12px;

  padding: 14px 18px;

  min-height: 74px;

  display: flex;
  align-items: center;

  gap: 14px;

  text-decoration: none;

  transition: 0.25s ease;
}

.service-card:hover {
  border-color: #22b573;
  transform: translateX(4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

/* Service Icon */

.service-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;

  border-radius: 12px;

  background: #22b573;

  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
}

/* Service Content */

.service-content {
  flex: 1;
}

.service-content h4 {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 2px;
}

.service-content p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

/* Arrow */

.service-card span {
  font-size: 22px;
  color: #94a3b8;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 991px) {
  .about-services-section {
    padding: 40px 0;
  }

  .about-services-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .minister-grid {
    grid-template-columns: 1fr;
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
  }

  .minister-card img {
    width: 160px;
    height: 185px;
  }

  .about-services-section h2,
  .service-title {
    font-size: 20px;
  }

  .section-desc {
    font-size: 13px;
  }

  .service-card {
    min-height: auto;
  }
}
.footer-modern {
  margin-top: auto;

  background: #0f172a;

  color: #fff;
}

/* Main Area */

.footer-main {
  padding: 18px 0 12px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 20px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-left p {
  margin: 0;

  font-size: 14px;

  color: #cbd5e1;

  line-height: 1.7;
}

.footer-left strong {
  color: #fff;
}

/* Stats */

.footer-right {
  display: flex;

  gap: 18px;
}

.footer-stat {
  display: flex;

  align-items: center;

  gap: 8px;

  background: rgba(255, 255, 255, 0.05);

  padding: 8px 14px;

  border-radius: 10px;
}

.footer-stat i {
  color: #22b573;

  font-size: 15px;
}

.footer-stat span {
  font-size: 12px;

  color: #cbd5e1;
}

.footer-stat strong {
  display: block;

  color: #fff;

  font-size: 14px;
}

/* Links */

.footer-links {
  display: flex;

  justify-content: left;

  gap: 25px;

  padding: 12px 0;
}

.footer-links a {
  color: #cbd5e1;

  text-decoration: none;

  font-size: 13px;

  transition: 0.3s;
}

.footer-links a:hover {
  color: #22b573;
}

/* Bottom */

.footer-bottom {
  text-align: center;

  padding: 10px;

  background: #020617;

  font-size: 12px;

  color: #94a3b8;
}

/* Responsive */

@media (max-width: 991px) {
  .footer-main {
    flex-direction: column;

    text-align: center;
  }

  .footer-right {
    flex-wrap: wrap;

    justify-content: center;
  }

  .footer-links {
    flex-wrap: wrap;

    gap: 15px;
  }
}
.portal-guide-section {
  max-width: 1300px;
  margin: 42px auto;
  padding: 40px;
  background: #fff;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.photo-gallery-section {
  max-width: 1300px;
  margin: 42px auto;
  padding: 40px;
  background: #fff;
  border: 1px solid #e5eee9;
  border-radius: 24px;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.07);
}

.faq-gallery-section {
  max-width: none;
  margin: 0 0 28px;
  padding: 0 0 26px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid #edf3ef;
}

.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.gallery-header h2 {
  margin: 16px 0 10px;
  color: #0f172a;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
}

.gallery-header h2 span {
  color: #22b573;
}

.gallery-header p {
  max-width: 720px;
  margin: 0;
  color: #52647d;
  font-size: 15px;
  line-height: 1.75;
}

.gallery-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  background: #22b573;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.2s ease;
}

.gallery-link:hover {
  background: #169b62;
  color: #fff;
  transform: translateY(-1px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(2, minmax(0, 0.85fr));
  grid-auto-rows: 190px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #eaf7f0;
  border: 1px solid #dcebe4;
  cursor: pointer;
}

.gallery-feature {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-caption {
  position: absolute;
  left: 16px;
  right: auto;
  bottom: 16px;
  max-width: calc(100% - 32px);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 2px rgba(0, 0, 0, 0.9);
  transition: 0.2s ease;
}

.gallery-caption:before {
  content: "";
  width: 7px;
  height: 7px;
  border: 2px solid #fff;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.gallery-item:hover .gallery-caption,
.gallery-item:focus .gallery-caption {
  background: transparent;
  transform: translateY(-2px);
}

.photo-gallery-page {
  max-width: 1240px;
}

.gallery-page-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 230px;
}

.gallery-page-grid .gallery-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:focus {
  outline: 3px solid rgba(34, 181, 115, 0.35);
  outline-offset: 3px;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: rgba(2, 6, 23, 0.88);
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.gallery-modal:not(.active) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

.gallery-modal.active {
  display: flex;
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.gallery-modal-content {
  width: min(100%, 1180px);
  max-height: calc(100vh - 68px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.gallery-modal-content img {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  background: #fff;
}

.gallery-modal-caption {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.gallery-modal-caption:before {
  content: "";
  width: 8px;
  height: 8px;
  border: 2px solid #7ff0b7;
  border-radius: 2px;
}

.gallery-modal-close {
  position: fixed;
  top: 22px;
  right: 28px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #0f172a;
  font-size: 32px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
  transition: 0.2s ease;
}

.gallery-modal-close:hover {
  background: #22b573;
  color: #fff;
}

.gallery-modal-nav {
  position: fixed;
  top: 50%;
  z-index: 10001;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  transform: translateY(-50%);
  transition: 0.2s ease;
}

.gallery-modal-nav:hover {
  background: #22b573;
  color: #fff;
}

.gallery-modal-prev {
  left: 28px;
}

.gallery-modal-next {
  right: 28px;
}

/* ==========================================
   PUBLIC INNER PAGES
========================================== */

.public-inner-page {
  background: #f5f8fa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.public-inner-page main {
  flex: 1 0 auto;
}

.register-section,
.complaint-status-section {
  background: #f5f8fa;
  padding: 36px 16px 48px;
}

.register-card,
.status-card {
  width: min(100%, 1180px);
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e5eee9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.07);
}

.register-header,
.status-header {
  background: linear-gradient(135deg, #22b573, #169b62);
  padding: 20px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-icon,
.status-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.inner-header-content h2 {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 5px;
}

.inner-header-content p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  margin: 0;
}

.register-alerts {
  padding: 18px 26px 0;
}

.register-alerts:empty {
  display: none;
}

.register-body,
.status-body {
  padding: 24px 26px;
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) minmax(260px, 1fr) 210px;
  gap: 18px;
  align-items: end;
}

.status-body {
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 1fr) 190px minmax(190px, 0.8fr) 170px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 650;
  color: #1f2937;
}

.input-box,
.input-wrap {
  position: relative;
}

.input-box i,
.input-wrap i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #22b573;
  font-size: 15px;
  z-index: 1;
}

.input-box input,
.input-wrap input,
.captcha-wrapper input,
.captcha-wrap input {
  width: 100%;
  height: 46px;
  border: 1px solid #dfe7e3;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font-size: 14px;
  outline: none;
  transition: 0.2s ease;
}

.input-box input,
.input-wrap input {
  padding: 0 14px 0 44px;
}

.captcha-wrapper input,
.captcha-wrap input {
  padding: 0 14px;
}

.input-box input:focus,
.input-wrap input:focus,
.captcha-wrapper input:focus,
.captcha-wrap input:focus {
  border-color: #22b573;
  box-shadow: 0 0 0 4px rgba(34, 181, 115, 0.12);
}

.captcha-wrapper,
.captcha-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 126px;
  gap: 10px;
}

.captcha-image-btn {
  height: 46px;
  border: 1px solid #dfe7e3;
  border-radius: 12px;
  background: #f7faf8;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.captcha-image-btn img {
  max-width: 100%;
  height: 38px;
  object-fit: contain;
  display: block;
}

.btn-wrap,
.btn-group {
  display: flex;
  width: 100%;
}

.register-btn,
.send-btn,
.secondary-action-btn,
.table-action-btn {
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: 0.2s ease;
}

.register-btn,
.send-btn {
  width: 100%;
  min-height: 46px;
  padding: 0 18px;
  background: #22b573;
  color: #fff;
}

.register-btn:hover,
.send-btn:hover {
  background: #169b62;
  color: #fff;
  transform: translateY(-1px);
}

.register-btn:disabled,
.send-btn:disabled,
.secondary-action-btn:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.secondary-action-btn {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #d9e5df;
  background: #fff;
  color: #0f172a;
}

.secondary-action-btn:hover {
  border-color: #22b573;
  color: #169b62;
}

.resend-wrap {
  width: 100%;
}

.register-features {
  padding: 14px 26px;
  border-top: 1px solid #edf3ef;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  background: #fbfefc;
}

.feature-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 500;
}

.feature-item i {
  color: #22b573;
}

.complaint-results {
  padding: 0 26px 26px;
}

.complaint-results-header {
  border-top: 1px solid #edf3ef;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.complaint-results-header .section-tag {
  display: inline-block;
  margin-bottom: 6px;
}

.complaint-results-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.complaint-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e5eee9;
  border-radius: 14px;
}

.complaint-table {
  min-width: 920px;
  margin: 0;
  vertical-align: middle;
}

.complaint-table thead th {
  background: #f1faf5;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid #dfece5;
  padding: 14px;
}

.complaint-table tbody td {
  color: #334155;
  font-size: 13px;
  padding: 14px;
  border-color: #edf3ef;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8f8ef;
  color: #158452;
  font-weight: 700;
  font-size: 12px;
}

.table-action-btn {
  min-height: 34px;
  padding: 0 12px;
  background: #22b573;
  color: #fff;
}

.table-action-btn:hover {
  background: #169b62;
}

.complaint-detail-modal {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
}

.complaint-detail-modal .modal-header {
  background: #22b573;
  color: #fff;
  border: 0;
}

.complaint-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.complaint-detail-grid > div {
  border: 1px solid #edf3ef;
  border-radius: 12px;
  background: #fbfefc;
  padding: 12px;
}

.complaint-detail-grid .wide {
  grid-column: 1 / -1;
}

.complaint-detail-grid strong,
.complaint-detail-grid span {
  display: block;
}

.complaint-detail-grid strong {
  color: #0f172a;
  font-size: 12px;
  margin-bottom: 4px;
}

.complaint-detail-grid span {
  color: #475569;
  font-size: 13px;
}

.detail-subtitle {
  color: #0f172a;
  font-weight: 700;
}

.comment-list .list-group-item {
  border-color: #edf3ef;
}

.content-page-section {
  background: #f5f8fa;
  padding: 36px 16px 48px;
}

.content-card {
  width: min(100%, 1180px);
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e5eee9;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.07);
}

.content-card-header {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 22px;
  border-bottom: 1px solid #edf3ef;
  margin-bottom: 22px;
}

.content-card-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 14px;
  background: #e3f8ec;
  color: #22b573;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
}

.content-card-header .section-tag {
  display: inline-block;
  margin-bottom: 8px;
}

.content-card-header h1 {
  color: #0f172a;
  font-size: 28px;
  font-weight: 750;
  line-height: 1.2;
  margin: 0 0 8px;
  text-transform: none;
}

.content-card-header p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid #e5eee9;
  border-radius: 14px;
  background: #fbfefc;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
  padding: 16px 18px;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #22b573;
  font-size: 22px;
  font-weight: 600;
}

.faq-item[open] summary:after {
  content: "-";
}

.faq-answer {
  border-top: 1px solid #edf3ef;
  padding: 14px 18px 16px;
}

.faq-answer p {
  color: #475569;
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}

.empty-state {
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  color: #64748b;
  padding: 24px;
  text-align: center;
  background: #fff;
}

.about-system-card {
  max-width: 1240px;
}

.about-system-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: start;
}

.about-system-main h2,
.about-update-header h2 {
  color: #0f172a;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 14px;
}

.about-system-main > p {
  color: #475569;
  font-size: 15px;
  line-height: 1.85;
  margin: 0 0 14px;
}

.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.about-feature {
  padding: 18px;
  border: 1px solid #e2f1e9;
  border-radius: 16px;
  background: linear-gradient(180deg, #f7fffb 0%, #eefaf4 100%);
}

.about-feature i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #dff7eb;
  color: #19a866;
  font-size: 21px;
  margin-bottom: 14px;
}

.about-feature h3 {
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 8px;
}

.about-feature p {
  color: #52647d;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.about-update-panel {
  border-radius: 18px;
  padding: 22px;
  background: linear-gradient(145deg, #0f8f57 0%, #12243a 100%);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.16);
}

.about-update-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.about-update-header .section-tag,
.about-update-header h2 {
  color: #fff;
}

.about-update-list {
  display: grid;
  gap: 12px;
}

.about-update-item {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.about-update-date {
  display: inline-flex;
  color: #bff7d8;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.about-update-item h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 7px;
}

.about-update-item p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}

.about-update-item small {
  display: inline-block;
  margin-top: 10px;
  color: #dfffe9;
  font-size: 12px;
  font-weight: 700;
}

.mobile-app-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.mobile-logo-panel {
  border: 1px solid #e5eee9;
  border-radius: 18px;
  min-height: 240px;
  background: #fbfefc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-logo-panel img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.mobile-app-content h2 {
  color: #0f172a;
  font-size: 24px;
  font-weight: 750;
  margin: 0 0 12px;
}

.mobile-app-content p {
  color: #475569;
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 22px;
}

.mobile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.app-download-btn {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 0;
  background: #22b573;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}

.app-download-btn:hover {
  color: #fff;
  background: #169b62;
}

.app-download-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

@media (max-width: 1199px) {
  .status-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .register-section,
  .complaint-status-section {
    padding: 24px 12px 36px;
  }

  .register-body,
  .status-body {
    grid-template-columns: 1fr;
  }

  .complaint-results-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-app-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .register-header,
  .status-header {
    padding: 18px;
  }

  .register-body,
  .status-body,
  .register-alerts,
  .complaint-results {
    padding-left: 18px;
    padding-right: 18px;
  }

  .captcha-wrapper,
  .captcha-wrap {
    grid-template-columns: 1fr;
  }

  .captcha-image-btn {
    width: 126px;
  }

  .complaint-detail-grid {
    grid-template-columns: 1fr;
  }

  .content-card {
    padding: 20px;
  }

  .content-card-header {
    flex-direction: column;
  }

  .content-card-header h1 {
    font-size: 24px;
  }
}

.guide-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 30px;
  background: #22b57315;
  color: #22b573;
  font-size: 14px;
  font-weight: 600;
}

.guide-left h2 {
  margin: 18px 0;
  font-size: 42px;
  line-height: 1.2;
  color: #1f2937;
}

.guide-left h2 span {
  color: #22b573;
}

.guide-left p {
  color: #6b7280;
  line-height: 1.8;
  margin-bottom: 25px;
}

.guide-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

.guide-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.guide-item i {
  color: #22b573;
}

.guide-btn {
  border: none;
  background: #22b573;
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
}

.guide-btn i {
  margin-right: 8px;
}

.video-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.video-card img {
  width: 100%;
  display: block;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #22b573;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 10px 30px rgba(34, 181, 115, 0.35);
}

/* Modal */

.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.video-modal.active {
  display: flex;
}

.modal-content {
  width: 90%;
  max-width: 1100px;
  position: relative;
}

.modal-content video {
  width: 100%;
  border-radius: 15px;
  background: #000;
  max-height: 85vh;
}

.close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

/* Mobile */

@media (max-width: 991px) {
  .about-system-layout {
    grid-template-columns: 1fr;
  }

  .portal-guide-section {
    grid-template-columns: 1fr;
    padding: 25px;
  }

  .photo-gallery-section {
    margin: 28px 14px;
    padding: 24px;
    border-radius: 18px;
  }

  .faq-gallery-section {
    margin: 0 0 24px;
    padding: 0 0 22px;
    border-radius: 0;
  }

  .gallery-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .gallery-header h2 {
    font-size: 28px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 165px;
  }

  .gallery-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-page-grid .gallery-feature {
    grid-column: 1 / -1;
    grid-row: span 2;
  }

  .gallery-feature {
    grid-column: 1 / -1;
    grid-row: span 2;
  }

  .gallery-modal {
    padding: 18px 70px;
  }

  .gallery-modal-nav {
    width: 46px;
    height: 46px;
  }

  .gallery-modal-prev {
    left: 12px;
  }

  .gallery-modal-next {
    right: 12px;
  }

  .guide-left h2 {
    font-size: 30px;
  }

  .guide-features {
    grid-template-columns: 1fr;
  }

  .play-btn {
    width: 70px;
    height: 70px;
    font-size: 22px;
  }
}

@media (max-width: 575px) {
  .about-feature-grid {
    grid-template-columns: 1fr;
  }

  .about-update-header {
    flex-direction: column;
  }

  .photo-gallery-section {
    padding: 18px;
  }

  .gallery-header h2 {
    font-size: 24px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 190px;
  }

  .gallery-page-grid .gallery-feature,
  .gallery-feature {
    grid-column: auto;
    grid-row: span 1;
  }

  .gallery-modal {
    padding: 70px 16px 24px;
  }

  .gallery-modal-content img {
    max-height: calc(100vh - 180px);
  }

  .gallery-modal-nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .gallery-modal-prev {
    left: calc(50% - 58px);
  }

  .gallery-modal-next {
    right: calc(50% - 58px);
  }
}
