/* ==========================================================================
   LandAmin.online - High-Trust Land Services Design System
   Color Palette: Surveyor Forest Slate (#0a1f18), Precision Emerald (#10b981),
   Warm Parchment Canvas (#fbfbf9), Gold Accent (#c59b27), Border Slate (#e2e8f0)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Noto+Sans+Devanagari:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Brand Colors */
  --color-primary: #0a1f18;
  --color-primary-light: #133328;
  --color-primary-dark: #05120e;
  --color-accent: #10b981;
  --color-accent-hover: #059669;
  --color-accent-light: #ecfdf5;
  --color-gold: #c59b27;
  --color-gold-light: #fef9c3;
  --color-danger: #ef4444;
  --color-warning: #f59e0b;
  --color-info: #0284c7;

  /* Neutrals */
  --bg-main: #fbfbf9;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f4f4ef;
  --bg-surface-elevated: #ffffff;
  --border-color: #e5e7eb;
  --border-light: #f1f5f9;
  --border-dark: #cbd5e1;

  /* Typography */
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Inter', system-ui, sans-serif;
  --font-hindi: 'Noto Sans Devanagari', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Elevation */
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px -1px rgba(10, 31, 24, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 28px -3px rgba(10, 31, 24, 0.08), 0 4px 8px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 24px 45px -5px rgba(10, 31, 24, 0.12), 0 10px 15px -6px rgba(10, 31, 24, 0.06);

  /* Layout & Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --container-max: 1200px;
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
}

@keyframes scanLaser {
  0% { transform: translateY(-100%); opacity: 0; }
  50% { opacity: 0.8; }
  100% { transform: translateY(200%); opacity: 0; }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.pulse-glow {
  animation: pulseGlow 2.5s infinite;
}

.float-animation {
  animation: floatSlow 4s ease-in-out infinite;
}


/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  color: var(--color-primary);
}

body.lang-hi {
  font-family: var(--font-hindi);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img, svg {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font: inherit;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section-dark {
  background-color: var(--color-primary);
  color: var(--text-white);
}

.section-alt {
  background-color: var(--bg-surface-alt);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  background-color: var(--color-accent-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.875rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.section-dark .section-subtitle {
  background-color: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-dark .section-title {
  color: var(--text-white);
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.section-dark .section-desc {
  color: #94a3b8;
}

/* Grid Utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Top Notification / Trust Strip */
.top-strip {
  background-color: var(--color-primary-dark);
  color: #cbd5e1;
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-strip-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-strip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-strip-item svg {
  width: 14px;
  height: 14px;
  color: var(--color-accent);
}

.top-strip-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lang-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
}

/* Main Navigation */
.site-header {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 20px -2px rgba(10, 31, 24, 0.04);
  transition: all 0.25s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.25rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #0a1f18 0%, #10b981 100%);
  color: #ffffff;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo:hover .brand-icon {
  transform: rotate(-6deg) scale(1.06);
}

.brand-logo span.highlight {
  color: #059669;
  font-weight: 800;
}

.brand-tag {
  font-size: 0.65rem;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.12), rgba(245, 158, 11, 0.08));
  color: #92400e;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-left: 0.4rem;
  vertical-align: middle;
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link {
  font-size: 0.90625rem;
  font-weight: 600;
  color: #334155;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  position: relative;
  transition: all 0.18s ease;
  text-decoration: none;
}

.nav-link:hover {
  color: #059669;
  background: #f1f5f9;
}

.nav-link.active {
  color: #065f46;
  background: #ecfdf5;
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.38);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
  color: #ffffff;
}

.btn-primary:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.btn-dark {
  background: linear-gradient(135deg, #0f291e 0%, #05120e 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-dark:hover {
  background: linear-gradient(135deg, #163d30 0%, #0a1f18 100%);
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  color: #ffffff;
}

.btn-dark:active {
  transform: translateY(1px) scale(0.98);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2ee06e 0%, #16a34a 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.btn-whatsapp:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.25);
}

.btn-outline {
  background-color: transparent;
  border: 1.5px solid var(--border-dark);
  color: var(--text-main);
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background-color: var(--bg-surface-alt);
  border-color: var(--color-accent);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-weight: 700;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-outline-white:active {
  transform: translateY(1px) scale(0.98);
}

.btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1rem 1.85rem;
  font-size: 1.0625rem;
  border-radius: var(--radius-md);
  letter-spacing: -0.01em;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Mobile Toggle — Base: hidden on desktop. Responsive override below activates it.
   NOTE: The authoritative mobile override is in the @media(max-width:992px) block
   and in the inline <style> in header.php using #mobileMenuToggle with !important. */

/* Grid Utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.hero-2col-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.intent-switch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.portals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.certified-govt-badge {
  background: rgba(197, 155, 39, 0.25) !important;
  color: #fde047 !important;
  border-color: rgba(197, 155, 39, 0.6) !important;
  margin-bottom: 1rem;
  font-size: 0.9375rem !important;
  padding: 0.5rem 1.25rem !important;
  letter-spacing: 0.03em !important;
  font-weight: 800 !important;
  box-shadow: 0 0 16px rgba(197, 155, 39, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Quick Horizontal Sub-Navigation Bar */
.sub-nav-bar {
  background: rgba(248, 250, 252, 0.96);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  padding: 0.4rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  position: relative;
  z-index: 90;
}

.sub-nav-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.2rem 0;
}

.sub-nav-inner::-webkit-scrollbar {
  display: none;
}

.sub-nav-pill {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
  background: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.sub-nav-pill:hover {
  background: #ecfdf5;
  color: #065f46;
  border-color: #10b981;
  transform: translateY(-1px);
}

.sub-nav-pill.active {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border-color: #059669;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

/* 5-Tab App-Style Mobile Bottom Bar */
.mobile-app-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.25rem;
  text-align: center;
  align-items: center;
}

.mobile-app-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #64748b;
  padding: 0.3rem 0;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.mobile-app-tab .tab-icon {
  font-size: 1.25rem;
  line-height: 1.2;
}

.mobile-app-tab .tab-label {
  font-size: 0.6875rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

.mobile-app-tab.active {
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
}

.mobile-app-tab.tab-whatsapp {
  color: #16a34a;
}

.mobile-app-tab.tab-call {
  color: #0284c7;
}

/* Mobile Navigation Drawer & Toggle System */
#mobileMenuToggle,
.mobile-menu-toggle {
  display: none;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  color: #059669;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
  z-index: 101;
}
#mobileMenuToggle:hover,
.mobile-menu-toggle:hover,
#mobileMenuToggle:active,
.mobile-menu-toggle:active {
  background: rgba(16, 185, 129, 0.25);
  border-color: #10b981;
  color: #047857;
}
#mobileMenuToggle svg,
.mobile-menu-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
  pointer-events: none;
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 11, 8, 0.72);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
}
.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 35px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  border-left: 1px solid rgba(16, 185, 129, 0.2);
}
.mobile-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}
.mobile-drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.mobile-drawer-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,0.08);
}
.mobile-drawer-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0a1f18;
  line-height: 1.1;
}
.mobile-drawer-title span {
  color: #059669;
}
.mobile-drawer-sub {
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mobile-drawer-close {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.mobile-drawer-close:hover,
.mobile-drawer-close:active {
  background: #e2e8f0;
  color: #0f172a;
}

.mobile-drawer-body {
  padding: 1.25rem;
  overflow-y: auto;
  flex: 1;
}
.mobile-drawer-highlight {
  margin-bottom: 1rem;
}
.mobile-highlight-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.mobile-highlight-card:active {
  transform: scale(0.98);
}

.mobile-nav-group-title {
  font-size: 0.7rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 1.25rem 0 0.5rem 0.25rem;
}
.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.mobile-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  color: #1e293b;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.18s ease;
}
.mobile-nav-item:hover,
.mobile-nav-item:active {
  background: #f1f5f9;
  color: #059669;
}
.mobile-nav-item.active {
  background: #ecfdf5;
  color: #065f46;
  font-weight: 700;
}
.badge-mini-live {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 8px;
  text-transform: uppercase;
}

.mobile-hubs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.mobile-hub-link {
  display: flex;
  flex-direction: column;
  padding: 0.6rem 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.mobile-hub-link:active {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.mobile-drawer-footer {
  padding: 1.15rem 1.25rem;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}
.mobile-drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.mobile-drawer-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 0.5rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.mobile-drawer-action-btn:active {
  transform: scale(0.97);
}

/* Responsive Media Queries - Mobile-First Precision */
@media (max-width: 992px) {
  .grid-3, .grid-4, .intent-switch-grid, .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .grid-5 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .hero-2col-grid, .portals-grid {
    grid-template-columns: 1fr !important;
  }
  .main-nav {
    display: none !important;
  }
  .sub-nav-bar {
    display: none !important; /* Keep mobile header clean (56-64px) with no stacked clutter */
  }
  #mobileMenuToggle,
  .mobile-menu-toggle {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center !important;
    justify-content: center !important;
    background: #059669 !important;
    border: 1.5px solid #10b981 !important;
    border-radius: 10px !important;
    padding: 0 !important;
    color: #ffffff !important;
    min-width: 44px !important;
    min-height: 44px !important;
    width: 44px !important;
    height: 44px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    box-shadow: 0 3px 10px rgba(5, 150, 105, 0.4) !important;
    z-index: 101 !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
  }
  .nav-actions .btn-book-modal {
    display: none;
  }
  .mobile-sticky-bar {
    display: block !important;
  }
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
  }
}

@media (max-width: 768px) {
  .site-header {
    background-color: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  body {
    font-size: 0.9375rem;
  }
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .nav-container {
    height: 3.5rem !important;
  }
  .brand-logo {
    font-size: 1.15rem !important;
  }
  .brand-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.95rem !important;
  }
  .brand-tag {
    display: none;
  }
  .sub-nav-bar {
    padding: 0.35rem 0 !important;
  }
  .sub-nav-pill {
    font-size: 0.75rem !important;
    padding: 0.25rem 0.65rem !important;
  }
  .hero-section {
    padding: 2.5rem 0 2rem 0 !important;
  }
  .section {
    padding: 2.5rem 0 !important;
  }
  .section-header {
    margin-bottom: 1.75rem !important;
  }
  .section-title {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.5rem !important;
  }
  .section-desc {
    font-size: 0.9375rem !important;
    line-height: 1.5 !important;
  }
  .hero-title, .hero-section h1 {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.75rem !important;
  }
  .hero-lead, .hero-section p {
    font-size: 0.9375rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1.25rem !important;
  }
  .hero-badge-row {
    gap: 0.35rem !important;
    margin-bottom: 0.75rem !important;
  }
  .hero-badge, .certified-govt-badge {
    font-size: 0.75rem !important;
    padding: 0.3rem 0.65rem !important;
    margin-bottom: 0.4rem !important;
  }
  .grid-2, .grid-3, .grid-4, .grid-5, .intent-switch-grid, .footer-grid, .portals-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .intent-selector {
    margin-top: 0 !important;
    padding: 1.25rem !important;
    box-shadow: var(--shadow-sm) !important;
  }
  .intent-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }
  .intent-btn {
    padding: 0.75rem 0.5rem !important;
    font-size: 0.75rem !important;
    gap: 0.35rem !important;
  }
  .cta-btn-row {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }
  .cta-btn-row .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.85rem 1.25rem !important;
    font-size: 0.9375rem !important;
    min-height: 48px !important;
  }
  .top-strip {
    display: none !important;
  }
  .trust-bar-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
  .trust-stat-item {
    border-right: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    padding: 0.5rem 0 !important;
  }
  .trust-stat-number {
    font-size: 1.5rem !important;
  }
  .trust-stat-label {
    font-size: 0.75rem !important;
  }
  .modal-overlay {
    padding: 0 !important;
    align-items: flex-end !important;
  }
  .modal-overlay.active {
    display: flex !important;
  }
  .modal-card {
    max-height: 92vh !important;
    width: 100% !important;
    margin: 0 !important;
    border-radius: 20px 20px 0 0 !important;
  }
  .modal-header {
    padding: 1rem 1.25rem !important;
  }
  .modal-header h3 {
    font-size: 1.05rem !important;
  }
  .modal-body {
    padding: 1.25rem 1rem !important;
  }
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }
  .assistant-widget {
    bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
    right: 0.75rem !important;
    z-index: 995 !important;
  }
  .assistant-trigger {
    width: 52px !important;
    height: 52px !important;
    box-shadow: 0 8px 25px rgba(16,185,129,0.45) !important;
  }
  .ai-trigger-badge {
    display: none !important;
  }
  .assistant-box {
    width: calc(100vw - 1.5rem) !important;
    max-width: 380px !important;
    height: calc(100vh - 150px) !important;
    max-height: 540px !important;
    right: 0 !important;
    bottom: 64px !important;
  }
  .footer-grid {
    margin-bottom: 2rem !important;
  }
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (max-width: 480px) {
  .hero-title, .hero-section h1 {
    font-size: clamp(1.65rem, 6.5vw, 2.15rem) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.02em !important;
  }
  .section-title {
    font-size: 1.45rem !important;
    line-height: 1.25 !important;
  }
  .trust-bar-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .sub-nav-pill {
    font-size: 0.75rem !important;
    padding: 0.35rem 0.75rem !important;
  }
}

/* ==========================================================================
   UNIVERSAL SITE-WIDE RESPONSIVENESS & TOUCH ERGONOMICS ENGINE
   ========================================================================== */

/* 1. Prevent Any Horizontal Scroll / Overflow Glitches */
html, body {
  max-width: 100vw !important;
  overflow-x: hidden !important;
  position: relative !important;
}

/* 2. Responsive Media & Embeds */
img, video, iframe, embed, object, canvas, svg {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* 3. Universal Two-Column Form Row (Collapses on Tablets & Phones) */
.responsive-field-row,
.form-row-2col,
.lead-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .responsive-field-row,
  .form-row-2col,
  .lead-form-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
    margin-bottom: 0.75rem !important;
  }

  /* Touch-Optimized Form Controls & iOS Zoom Fix */
  .form-control,
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="date"],
  input[type="url"],
  select,
  textarea {
    font-size: 16px !important; /* Prevents unwanted iOS Safari viewport zooming */
    min-height: 46px !important;
    padding: 0.65rem 0.85rem !important;
    border-radius: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Touch-Friendly Buttons (Google Core Web Vitals Standard) */
  .btn,
  .v3-btn-primary,
  .v3-btn-secondary,
  .v3-btn-utility,
  button[type="submit"] {
    min-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  /* Responsive Cards Padding */
  .banka-lead-card,
  .v3-hero-lead-card,
  .admin-card {
    padding: 1.25rem 1rem !important;
    border-radius: 14px !important;
  }

  /* Section Padding for Better Screen Economy */
  .hero-section,
  .v3-hero {
    padding: 2.75rem 0.75rem 2.25rem !important;
  }

  .v3-section {
    padding: 3rem 0.75rem !important;
  }

  /* Responsive Grid Adjustments */
  .banka-hero-grid,
  .v3-hero-grid,
  .hero-2col-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .v3-cta-cluster,
  .cta-btn-row {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.65rem !important;
  }

  .v3-cta-cluster a,
  .v3-cta-cluster button,
  .cta-btn-row .btn,
  .cta-btn-row a {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Evidence Reel on Mobile */
  .v3-evidence-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* Report Card on Mobile */
  .v3-report-card {
    padding: 1.25rem 1rem !important;
  }

  .v3-report-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
    padding: 1rem 0.75rem !important;
  }
}

@media (max-width: 380px) {
  /* Ultra-small phones (iPhone SE, older Galaxy) */
  .v3-report-grid {
    grid-template-columns: 1fr !important;
  }
  .hero-badge,
  .v3-hero-badge {
    font-size: 0.7rem !important;
    padding: 0.25rem 0.55rem !important;
  }
  .section-title {
    font-size: 1.3rem !important;
  }
}


