:root {
  --color-bg: #eef3f8;
  --color-surface: #ffffff;
  --color-text: #1f2937;
  --color-muted: #4b5563;
  --color-primary: #0b5cab;
  --color-primary-dark: #084a8a;
  --color-accent: #0a8754;
  --color-danger: #c84630;
  --color-gold: #f5b700;
  --color-sky: #e8f4ff;
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --radius: 12px;
  --max-width: 1100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Segoe UI", Tahoma, "Noto Sans Devanagari", Arial, sans-serif;
  background: linear-gradient(180deg, #e8f1fb 0%, #eef3f8 40%, #f7f9fc 100%);
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  line-height: 1.5;
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

button,
a {
  border-radius: 8px;
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Checkboxes & radio buttons (custom-painted, consistent across all devices/browsers) */
input[type="checkbox"],
input[type="radio"] {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  box-sizing: border-box !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  flex: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 2px solid #9ca3af;
  background-color: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
  cursor: pointer;
  vertical-align: middle;
  flex-shrink: 0;
  position: relative;
  display: inline-block !important;
  transition: background-color 0.1s ease, border-color 0.1s ease;
}

input[type="checkbox"] {
  border-radius: 4px !important;
}

input[type="radio"] {
  border-radius: 50% !important;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
  border-color: var(--color-primary) !important;
  background-color: var(--color-primary) !important;
}

input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

input[type="checkbox"]:disabled,
input[type="radio"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

label:has(> input[type="checkbox"]),
label:has(> input[type="radio"]) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
  line-height: 1.4;
}

/* Header / nav */
.header {
  background: linear-gradient(135deg, #0b5cab, #08407a);
  color: #fff;
  width: 100%;
  max-width: var(--max-width);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 4px solid #f5b700;
  box-shadow: var(--shadow);
}

.logo {
  height: 4.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-text {
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 18px;
}

.navbar ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  display: inline-block;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.navbar a:hover {
  background-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.navbar .whatsapp-link {
  background: none;
  color: inherit;
}

.fa-whatsapp {
  font-size: 28px;
  color: #25d366;
}

.highlights {
  width: 100%;
  max-width: var(--max-width);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  padding: 10px 12px;
  text-align: center;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

/* Update ticker */
.ticker {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  overflow: hidden;
  height: 32px;
}

.ticker-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 100%;
  padding: 0 14px;
  background: linear-gradient(135deg, var(--color-danger), #a53722);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.ticker-badge i {
  font-size: 11px;
}

.ticker-track {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.highlights marquee {
  font-size: 17px;
  color: #fff;
  font-weight: 800;
}

/* Quick-action chips: compact pills that wrap to as many rows as needed. */
.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  padding: 2px;
}

.action-card {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 6px;
  background: #fff;
  border: 1px solid #fff;
  border-left: 3px solid var(--accent-color, var(--color-primary));
  border-radius: 999px;
  text-decoration: none;
  color: var(--color-primary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}

.action-card:hover {
  transform: translateY(-2px);
  background: #f2f7fd;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.action-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: var(--accent-bg, #e8f1fb);
  color: var(--accent-color, var(--color-primary));
}

.action-label {
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
}

.coming-soon-badge {
  flex-shrink: 0;
  background: #64748b;
  color: #fff;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 2px 6px;
  border-radius: 999px;
  text-transform: uppercase;
}

.accent-jasper {
  --accent-color: #c84630;
  --accent-bg: #fbe9e6;
}

.accent-green {
  --accent-color: #0a8754;
  --accent-bg: #e2f4ec;
}

.accent-blue {
  --accent-color: #2563eb;
  --accent-bg: #e5edfd;
}

.accent-yellow {
  --accent-color: #d97706;
  --accent-bg: #fbebd6;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: auto;
  min-width: 240px;
  flex: 1 1 240px;
  max-width: 320px;
}

.search input,
#search-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px 0 0 8px;
  background: #fff;
  color: #111827;
}

#search-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(11, 92, 171, 0.15);
}

.search img,
.search-btn {
  width: 42px;
  height: 42px;
  padding: 8px;
  background-color: var(--color-primary);
  border-radius: 0 8px 8px 0;
  cursor: pointer;
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  color: #fff;
  font-size: 16px;
  flex: 0 0 auto;
}

.suggestions-list,
#suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background-color: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  max-height: 220px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  text-align: left;
  box-shadow: var(--shadow);
}

.suggestion-item {
  padding: 10px 12px;
  cursor: pointer;
}

.suggestion-item:hover {
  background-color: #f0f7ff;
}

/* Hero / ticker */
.flex-container {
  width: 100%;
  max-width: var(--max-width);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
  padding: 16px 12px 0;
}

.marquee-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.updatesnews {
  display: flex;
  align-items: center;
  width: 100%;
  height: 40px;
  color: #fff;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
  border: none;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
  max-width: none;
}

.updatesnews a {
  padding-left: 16px;
  padding-right: 40px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.banner-card {
  position: relative;
  border: 1px solid #dbe7f3;
  border-radius: var(--radius);
  overflow: hidden;
  height: 140px;
  background: var(--color-surface);
  box-shadow: var(--shadow);
}

.banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pvc-order-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #fff;
  background: linear-gradient(135deg, #ff8a3d, var(--color-danger));
  text-align: center;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(200, 70, 48, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  animation: glow-btn 2s ease-in-out infinite;
}

.pvc-order-btn::before {
  content: "\f07a";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.85rem;
}

.pvc-order-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(200, 70, 48, 0.55);
}

@keyframes glow-btn {
  0%,
  100% {
    box-shadow: 0 4px 14px rgba(200, 70, 48, 0.45);
  }
  50% {
    box-shadow: 0 4px 20px rgba(245, 183, 0, 0.6);
  }
}

.promo-banner {
  width: 100%;
  max-width: var(--max-width);
  margin-top: 12px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.promo-banner p {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

.promo-banner a {
  color: #ffe27a;
  font-weight: 800;
  text-decoration: underline;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

/* Forms list */
.forms-and-quick-access {
  display: flex;
  width: 100%;
  max-width: var(--max-width);
  gap: 16px;
  padding: 8px 12px 20px;
  align-items: flex-start;
}

.form-section {
  padding: 8px 0 20px;
  text-align: center;
  flex: 1;
  min-width: 0;
}

.section-title {
  color: #0b4f8a;
  background-color: var(--color-sky);
  padding: 12px;
  font-weight: 800;
  font-size: 22px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 12px;
}

.form-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.form-section-header .section-title {
  flex: 1;
  margin-bottom: 0;
}

.form-section-header .search {
  flex: 0 0 auto;
  margin: 0;
}

@media (max-width: 700px) {
  .form-section-header {
    flex-direction: column;
    align-items: stretch;
  }

  .form-section-header .search {
    width: 100%;
  }
}

.forms-search-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}

.forms-search-input {
  width: 100%;
  max-width: 360px;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #111827;
}

.forms-search-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(11, 92, 171, 0.15);
}

.no-forms-message {
  margin-top: 12px;
  color: #6b7280;
  font-size: 15px;
  text-align: center;
}

.forms {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.form-card {
  background-color: var(--color-surface);
  border: 1px solid #e5e7eb;
  padding: 6px 10px;
  margin: 6px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.form-card:hover {
  background: #f0f9ff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.form-card[hidden] {
  display: none;
}

.info-with-image {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.form-card-icon {
  font-size: 32px;
  color: var(--color-primary);
  margin-right: 12px;
  flex-shrink: 0;
}

.form-info {
  text-align: left;
  width: 90%;
  min-width: 0;
}

.form-info p {
  font-weight: 700;
}

.form-card img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
  border-radius: 8px;
}

.fill-form,
.download {
  padding: 7px 16px;
  background-color: var(--color-accent);
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  display: inline-block;
}

.download {
  background-color: var(--color-primary);
}

.fill-form:hover {
  background-color: #087048;
}

.download:hover {
  background-color: var(--color-primary-dark);
}

.form-buttons {
  display: flex;
  flex-direction: row;
  gap: 6px;
  flex-shrink: 0;
}

.view-all-link {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 22px;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.view-all-link:hover {
  background: var(--color-primary-dark);
}

.quick-access {
  background: linear-gradient(180deg, #3b8de0, #0b5cab);
  padding: 14px;
  margin: 8px 0 16px;
  border-radius: var(--radius);
  width: 100%;
  max-width: none;
}

.quick-access h2 {
  text-align: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
}

.quick-access .view-more {
  text-align: center;
  margin-top: 10px;
}

.quick-access .view-more a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

.quick-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.link-card {
  display: flex;
  align-items: center;
  background-color: #fff;
  border: 1px solid #dbe7f3;
  border-radius: 8px;
  max-width: 100%;
  overflow: hidden;
  padding: 4px 8px;
  min-height: 48px;
  cursor: pointer;
  text-decoration: none;
  color: #1e3a5f;
  font-weight: 700;
  font-size: 14px;
}

.link-card p {
  flex-grow: 1;
  margin: 0;
  white-space: normal;
}

.link-card img {
  width: 44px;
  height: 44px;
  margin-right: 10px;
  border-radius: 4px;
  flex-shrink: 0;
}

.link-card a {
  text-decoration: none;
  font-size: 14px;
  color: #1e3a5f;
  font-weight: 700;
}

.link-card-icon {
  font-size: 20px;
  color: var(--color-primary);
  margin: 0 10px 0 4px;
  flex-shrink: 0;
}

.link-card:hover {
  background-color: #f8fbff;
}

.quick-access-33 {
  width: 32%;
  flex-grow: 0;
  flex-shrink: 0;
}

/* Govt. Website Link tile grid (home page quick-access panel) */
.quick-access-33 .quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
}

.quick-access-33 .quick-links .link-card {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 6px;
  min-height: 66px;
  padding: 10px 6px;
  border-radius: 10px;
  border-color: #e2ecf7;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.quick-access-33 .quick-links .link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

.quick-access-33 .quick-links .link-card-icon {
  margin: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(11, 92, 171, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.quick-access-33 .quick-links .clamp-2-lines {
  font-size: 11.5px;
  line-height: 1.25;
  font-weight: 700;
}

.menu {
  width: 100%;
  background: linear-gradient(180deg, #3b8de0, #0b5cab);
  border-radius: var(--radius);
  margin-bottom: 16px;
  padding: 10px;
  list-style: none;
}

.menu-item {
  padding: 8px 10px;
  margin-bottom: 4px;
  border-radius: 6px;
  color: #123;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.92);
  list-style: none;
}

.menu-item a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.menu-item:hover {
  background-color: #fff;
}

.menu-item.active {
  background-color: #ffe8a3;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  margin-bottom: 10px;
  font-size: 16px;
  color: #7c2d12;
}

.clamp-1-lines,
.clamp-2-lines {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.clamp-1-lines {
  -webkit-line-clamp: 1;
  white-space: nowrap;
}

/* Services */
.services {
  background-color: var(--color-surface);
  padding: 24px 16px;
  text-align: center;
  width: 100%;
  max-width: var(--max-width);
  border-radius: var(--radius);
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.services h2 {
  color: var(--color-primary);
  margin-bottom: 8px;
}

.service-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
  width: 100%;
  align-items: center;
}

.service-logos img {
  margin: 0;
  width: 110px;
  height: 56px;
  object-fit: contain;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px;
}

.our-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 16px;
  width: 100%;
}

.service-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 10px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  text-decoration: none;
  color: #1f2937;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  min-height: 96px;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.service-box i {
  font-size: 24px;
  color: var(--color-primary);
}

.service-box:hover {
  background: #eaf4ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.layout_box_main {
  display: flex;
}

.section.py-10,
.section {
  width: min(1100px, 96vw);
  max-width: var(--max-width);
}

.text-inside-div {
  width: 30%;
}

.page-shell {
  width: 100%;
  max-width: var(--max-width);
  margin: 12px auto;
  padding: 20px;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  box-sizing: border-box;
}

.content-container {
  text-align: center;
  padding: 24px;
  max-width: var(--max-width);
  width: 100%;
  margin: 12px auto;
  background-color: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Application forms */
.section form,
form.page-form {
  border: 1px solid #d1d5db;
  margin: 20px auto 28px;
  width: 100%;
  max-width: 1100px;
  background: #fff;
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.section form .elements label,
.section form label {
  color: #111827;
  font-weight: 600;
}

.section form label:not([class]) {
  display: block;
  margin: 10px 0 6px;
}

.section form input[type="text"],
.section form input[type="date"],
.section form input[type="email"],
.section form input[type="number"],
.section form input[type="tel"],
.section form select,
.section form textarea {
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  min-height: 42px;
  color: #111827;
}

.section form input:not([class]),
.section form select:not([class]),
.section form textarea:not([class]) {
  padding: 8px 12px;
  margin-bottom: 4px;
  width: 100%;
  max-width: 420px;
  display: block;
}

.section form input:focus,
.section form select:focus,
.section form textarea:focus {
  background: #fff;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  outline: none;
}

.form-section-title {
  background: #e0f2fe;
  color: #075985;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  margin: 18px 0 12px;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  margin-top: 8px;
}

.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  cursor: pointer;
  line-height: 1.4;
  padding: 2px 0;
}

/* Footer */
.footer {
  background: linear-gradient(180deg, #1e73be, #155a96);
  color: #fff;
  padding: 32px 20px 16px;
  text-align: center;
  width: 100%;
  max-width: var(--max-width);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  text-align: left;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-col h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.contact-us p {
  margin: 0 0 10px;
  text-align: left;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-us p i {
  width: 16px;
  color: #f5b700;
}

.visitor-counter {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.visitor-counter span {
  font-size: 16px;
  margin-right: 10px;
}

.visitor-counter img {
  margin-left: 10px;
  width: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-email p a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.contact-us a,
.contact-email a {
  color: #fff;
  text-decoration: none;
}

.contact-us a:hover,
.contact-email a:hover {
  text-decoration: underline;
}

.social-icons {
  margin: 4px 0 0;
  display: flex;
  gap: 12px;
  justify-content: flex-start;
}

.social-icons a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 17px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-icons a:hover {
  background: #f5b700;
  color: #155a96;
  transform: translateY(-2px);
}

.phone-numbers {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.call-button {
  background-color: #fff;
  color: #1e73be;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
}

.footer-links {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.copyright {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

/* Back to top button */
.back-to-top-btn {
  position: fixed;
  left: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary, #0b5cab);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1100;
}

.back-to-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: #08407a;
}

/* Query widget */
.floating-button {
  width: 130px;
  color: white;
  cursor: pointer;
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2px;
}

.floating-button img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  margin: 4px 0;
}

.floating-button p {
  color: #1e3a5f;
  font-weight: 700;
  width: 100%;
  line-height: 1.3;
}

.top-text,
.bottom-text {
  margin: 0;
  font-size: 13px;
}

.float-label {
  font-size: 14px;
  font-weight: 800;
  color: #312e81;
  margin-bottom: 2px;
}

.brand-text {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: #b91c1c;
}

.query-box {
  display: none;
  flex-direction: column;
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: min(400px, calc(100vw - 24px));
  height: min(560px, calc(100vh - 40px));
  background-color: #fff;
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  box-sizing: border-box;
  overflow: hidden;
  z-index: 1200;
  color: #111;
}

.query-header {
  position: relative;
  flex-shrink: 0;
  padding: 16px 44px 14px 18px;
  background: linear-gradient(120deg, #0b5cab, #003b82);
  color: #fff;
  border-radius: 14px 14px 0 0;
}

.query-header h3 {
  margin: 0;
  text-align: left;
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.query-subtitle {
  margin: 4px 0 0;
  font-size: 12px;
  color: #d7e6fb;
}

.query-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  box-sizing: border-box;
}

.query-box form {
  border: none;
  margin: 0;
  padding: 0;
  box-shadow: none;
  max-width: none;
  background: transparent;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 5px;
}

.form-group label i {
  color: #0056b3;
  width: 16px;
  text-align: center;
  margin-right: 2px;
}

.query-box input,
.query-box select,
.query-box textarea {
  width: 100%;
  padding: 10px 12px;
  margin: 0;
  border-radius: 8px;
  border: 1px solid #d3dce6;
  background: #f9fbfd;
  color: #111;
  box-sizing: border-box;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.query-box input:focus,
.query-box select:focus,
.query-box textarea:focus {
  outline: none;
  border-color: #0056b3;
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.15);
  background: #fff;
}

.query-box textarea {
  resize: none;
  height: 64px;
}

.phone-input {
  display: flex;
  align-items: center;
  gap: 10px;
  color: black;
}

.phone-input span {
  flex-shrink: 0;
  padding: 10px 8px;
  border-radius: 8px;
  background: #eef3fb;
  font-size: 14px;
}

.phone-input input {
  flex-grow: 1;
}

.file-upload input[type="file"] {
  padding: 8px;
  background: #f9fbfd;
}

.terms-checkbox {
  display: flex;
  align-items: flex-start;
  font-size: 12.5px;
  gap: 8px;
  margin: 10px 0;
  line-height: 1.5;
  color: #475569;
}

.terms-checkbox input[type="checkbox"] {
  margin-top: 2px;
  accent-color: #0056b3;
}

.terms-checkbox a {
  color: #0056b3;
  text-decoration: underline;
}

#samparkFormMsg {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 600;
}

.submit-button {
  background: linear-gradient(120deg, #0b5cab, #003b82);
  color: #ffffff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 14px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.submit-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 86, 179, 0.35);
}

#minimizeBtn {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  line-height: 1;
  font-weight: bold;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
}

#minimizeBtn:hover {
  background-color: rgba(255, 255, 255, 0.32);
}

@media (max-width: 900px) {
  .flex-container {
    grid-template-columns: 1fr;
  }

  .forms-and-quick-access {
    flex-direction: column;
    align-items: stretch;
  }

  .quick-access,
  .quick-access-33,
  .form-card {
    width: 100%;
    max-width: none;
  }

  .search {
    width: 100%;
    max-width: none;
    margin: 4px 0 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .navbar {
    display: none;
    width: 100%;
  }

  .navbar.is-open {
    display: block;
  }

  .header {
    flex-wrap: wrap;
  }

  .navbar ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .form-card {
    flex-direction: column;
    align-items: stretch;
  }

  .form-buttons {
    flex-direction: row;
    justify-content: flex-end;
  }

  .section {
    width: 100% !important;
    max-width: 100%;
    padding: 0 10px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  .phone-numbers {
    flex-direction: column;
    align-items: center;
  }

  .pvc-order-btn {
    padding: 7px 14px;
    font-size: 0.8rem;
  }

  .section form,
  form.page-form {
    padding: 16px;
  }

  input[type="checkbox"],
  input[type="radio"] {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
  }

  input[type="checkbox"]:checked::after {
    left: 6px;
    top: 3px;
  }

  input[type="radio"]:checked::after {
    width: 9px;
    height: 9px;
  }

  .radio-row {
    gap: 10px 16px;
  }

  .radio-row label,
  label:has(> input[type="checkbox"]),
  label:has(> input[type="radio"]) {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .radio-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .logo {
    height: 3.4rem;
  }

  .logo-text {
    font-size: 0.95rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact-us p {
    justify-content: center;
  }

  /* Quick-action pills: on narrow phones let long labels wrap onto a
     second line instead of forcing the pill (and the whole page) wider
     than the viewport, which caused horizontal scrolling site-wide. */
  .action-card {
    flex: 1 1 100%;
    max-width: 100%;
    white-space: normal;
  }

  .action-label {
    white-space: normal;
    font-size: 14px;
  }

  .highlights,
  .buttons {
    max-width: 100%;
  }
}

/* Language toggle (Hindi/English) */
html[data-lang="hi"] .lang-en {
  display: none !important;
}

html[data-lang="en"] .lang-hi {
  display: none !important;
}

.lang-toggle-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  flex-shrink: 0;
}

.lang-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-whatsapp-link {
  display: inline-flex;
  align-items: center;
  background: none;
  color: inherit;
}

/* Pagination (index page form list) */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 18px 0 4px;
}

.pagination button {
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: var(--color-primary);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.pagination button:hover:not(:disabled) {
  background: var(--color-sky);
}

.pagination button.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
