/* ==========================================================
   Main Frontend Stylesheet & Dynamic Theme Engine
   Dhruv Termite Pest Control Services
   ========================================================== */

:root {
  /* Dynamic CSS Custom Properties (Configured via Admin Panel Theme Engine) */
  --primary: #0f4c81;
  --primary-dark: #0a3359;
  --primary-light: #e0f2fe;
  --secondary: #10b981;
  --secondary-dark: #059669;
  --accent: #d97706;
  --accent-light: #fef3c7;
  
  --bg: #ffffff;
  --surface: #f8fafc;
  --surface-card: #ffffff;
  --surface-alt: #f1f5f9;
  
  --text: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px -3px rgba(15, 76, 129, 0.12), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 35px -5px rgba(15, 76, 129, 0.18), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  --header-height: 80px;
  --mobile-bar-height: 68px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.25;
  font-weight: 700;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-narrow {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Top Notification / Urgency Bar */
.top-notice-bar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: #ffffff;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-notice-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.notice-info-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.notice-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.notice-item i {
  color: var(--secondary);
}

.notice-item a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

/* Fixed Glassmorphism Header */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  height: 92px;
  transition: all 0.3s ease;
}

.site-header.is-scrolled {
  background: #ffffff;
  box-shadow: var(--shadow-md);
  height: 82px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo img, .brand-logo svg {
  height: 80px;
  max-height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.brand-logo:hover img {
  transform: scale(1.02);
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 26px;
}

.nav-item a {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  padding: 8px 2px;
  position: relative;
  transition: color 0.2s ease;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--primary);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-item a:hover::after,
.nav-item.active a::after,
.nav-item a.active::after {
  width: 100%;
}

.nav-item a:hover,
.nav-item.active a,
.nav-item a.active {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px 0 rgba(15, 76, 129, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(15, 76, 129, 0.4);
}

.btn-secondary {
  background: var(--secondary);
  color: #ffffff;
  box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.3);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn-outline-white {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary-dark);
  border-color: #ffffff;
}

.btn-accent {
  background: var(--accent);
  color: #ffffff;
}

.btn-accent:hover {
  background: #b45309;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85%;
  height: 100vh;
  background: #ffffff;
  z-index: 2000;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.mobile-drawer.is-open {
  right: 0;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text);
  cursor: pointer;
}

.mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.mobile-links a {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.mobile-links a.active {
  color: var(--primary);
}

/* Section Spacing & Common Headers */
.section {
  padding: 70px 0;
  position: relative;
  z-index: 2;
}

.section-alt {
  background-color: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.section-dark {
  background-color: #0b1120;
  color: #f8fafc;
}

.section-dark h2, .section-dark h3 {
  color: #ffffff;
}

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

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-badge.badge-green {
  background: #dcfce7;
  color: #15803d;
}

.section-badge.badge-amber {
  background: var(--accent-light);
  color: var(--accent);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Global 3D Pest Elimination & Chemical Defense Canvas */
.global-pest-canvas,
.hero-canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-section {
  position: relative;
  min-height: calc(88vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 60px 0;
  background: linear-gradient(135deg, rgba(240, 247, 255, 0.70) 0%, rgba(255, 255, 255, 0.45) 50%, rgba(240, 253, 244, 0.70) 100%);
  overflow: hidden;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-text {
  max-width: 640px;
}

.hero-region-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 700;
  color: #0369a1;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.18;
  margin-bottom: 20px;
  color: #0f172a;
}

.hero-title .highlight-text {
  color: var(--primary);
  background: none;
  -webkit-text-fill-color: initial;
}

.hero-description {
  font-size: 1.15rem;
  color: #334155;
  font-weight: 500;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust-metrics {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: #dcfce7;
  color: #166534;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.trust-text strong {
  display: block;
  font-size: 13.5px;
  color: var(--text);
}

.trust-text span {
  font-size: 12px;
  color: var(--text-muted);
}

.hero-image-wrapper {
  position: relative;
}

.hero-main-img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 4px solid #ffffff;
}

.hero-floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #ffffff;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border);
}

.hero-floating-card i {
  font-size: 26px;
  color: var(--secondary);
}

/* Service Cards Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.service-card.priority-card {
  border: 2px solid var(--primary);
  position: relative;
}

.service-badge-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  z-index: 5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-img-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e2e8f0;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.05);
}

.service-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-cat {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 6px;
}

.service-title {
  font-size: 1.28rem;
  margin-bottom: 12px;
}

.service-title a {
  color: var(--text);
}

.service-title a:hover {
  color: var(--primary);
}

.service-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.service-footer .btn {
  white-space: nowrap !important;
  flex-shrink: 0;
  padding: 8px 14px;
  font-size: 13px;
}

.service-price {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.3;
}

.service-price strong {
  font-size: 15px;
  color: var(--text);
  display: block;
  white-space: nowrap;
}

/* Feature Checklist */
.feature-checklist {
  list-style: none;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
}

.feature-checklist li i {
  color: var(--secondary);
  margin-top: 3px;
}

/* Chemical / Formulation Callout Box */
.chemical-info-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 32px 0;
}

.chemical-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.chemical-header i {
  font-size: 28px;
  color: var(--primary);
}

.chemical-header h4 {
  font-size: 1.25rem;
  color: var(--primary-dark);
}

.chemical-details {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

/* Service Area Hubs Grid */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.area-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
}

.area-chip i {
  color: var(--primary);
}

.area-chip:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.area-chip:hover i {
  color: #ffffff;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  gap: 16px;
}

.faq-question i {
  font-size: 14px;
  color: var(--primary);
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px 24px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* Contact Section & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-card-box {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-card-box i {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-card-box h5 {
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-card-box p {
  color: var(--text-muted);
  font-size: 14px;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-control, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Footer */
.site-footer {
  background: #0b1120;
  color: #94a3b8;
  padding-top: 64px;
  padding-bottom: 30px;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 16px;
  color: #94a3b8;
}

.footer-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 14px;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid #1e293b;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}

/* Mobile Sticky Bottom Action Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background: #ffffff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
}

.mobile-bar-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 8px;
}

.mobile-bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 4px;
  border-radius: var(--radius-md);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.mobile-bar-btn i {
  font-size: 17px;
}

.mobile-bar-call {
  background: #dbeafe;
  color: var(--primary);
}

.mobile-bar-wa {
  background: #dcfce7;
  color: #166534;
}

.mobile-bar-quote {
  background: var(--primary);
  color: #ffffff;
}

/* Responsive Layout Helpers */
.responsive-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.responsive-sidebar-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 40px;
  align-items: flex-start;
}

.monsoon-alert-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.monsoon-alert-grid > div,
.responsive-2col > div,
.responsive-sidebar-grid > div,
.contact-grid > div {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* Responsive Media Queries */
@media (max-width: 1023px) {
  .desktop-nav, .header-actions {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-text {
    max-width: 100%;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .responsive-2col,
  .responsive-sidebar-grid,
  .monsoon-alert-grid,
  .page-hero-container,
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mobile-sticky-bar {
    display: block;
  }
  body {
    padding-bottom: calc(var(--mobile-bar-height) + 12px);
  }
}

/* Inner Page Hero Header */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #0b1727 0%, #0f4c81 55%, #064e3b 100%);
  color: #ffffff;
  padding: 44px 0 48px 0;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 85% 30%, rgba(16, 185, 129, 0.18), transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(15, 76, 129, 0.25), transparent 45%);
  pointer-events: none;
}

.page-hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 36px;
  align-items: center;
}

.page-hero-single {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.page-hero-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 12px;
}

.page-hero-breadcrumbs a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-hero-breadcrumbs a:hover {
  color: #ffffff;
}

.page-hero-breadcrumbs span {
  color: var(--secondary);
  font-weight: 600;
}

.page-hero-title {
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.22;
  margin: 10px 0 14px 0;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.page-hero-desc {
  font-size: 1.05rem;
  color: #e2e8f0;
  line-height: 1.65;
  margin: 0 0 20px 0;
}

.page-hero-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.page-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
}

.page-hero-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  :root {
    --header-height: 72px;
  }

  .container {
    padding: 0 14px;
  }

  .page-hero {
    padding: 20px 0 22px 0;
  }

  .page-hero-container {
    display: block !important;
  }

  .page-hero-card {
    display: none !important;
  }

  .page-hero-chips {
    display: none !important;
  }

  .page-hero-breadcrumbs {
    font-size: 11.5px;
    margin-bottom: 6px;
  }

  .page-hero-badge {
    padding: 3px 10px;
    font-size: 11px;
  }

  .page-hero-title {
    font-size: 1.35rem !important;
    line-height: 1.25;
    margin: 6px 0 8px 0;
  }

  .page-hero-desc {
    font-size: 13px !important;
    line-height: 1.5;
    margin-bottom: 0 !important;
  }

  .hero-title {
    font-size: 1.55rem !important;
    line-height: 1.25;
    margin-bottom: 12px;
  }

  .hero-description {
    font-size: 13.5px !important;
    line-height: 1.55;
    margin-bottom: 18px;
  }

  .section-title {
    font-size: 1.35rem !important;
    line-height: 1.3;
  }

  .section-subtitle {
    font-size: 13px !important;
  }

  .section {
    padding: 34px 0;
  }

  .monsoon-alert-box {
    padding: 20px 14px !important;
  }

  .monsoon-alert-inner {
    padding: 16px 12px !important;
  }

  .btn {
    white-space: nowrap;
    text-align: center;
    word-break: normal;
  }

  .btn-full {
    white-space: normal;
  }

  .site-header {
    height: 72px;
  }

  .site-header.is-scrolled {
    height: 72px;
  }

  .brand-logo img, .brand-logo svg {
    height: 54px;
    max-height: 54px;
  }

  .top-notice-bar {
    display: none;
  }

  .hero-section {
    padding: 20px 0 30px 0;
    min-height: auto;
  }

  .hero-cta-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 14px;
  }

  .hero-trust-metrics {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 14px;
  }

  .hero-floating-card {
    position: static;
    margin-top: 14px;
    width: 100%;
    box-sizing: border-box;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 20px 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .areas-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px;
  }

  .area-chip {
    padding: 8px 12px;
    font-size: 12.5px;
  }
}

@media (max-width: 480px) {
  .page-hero-title {
    font-size: 1.35rem !important;
  }

  .hero-title {
    font-size: 1.45rem !important;
  }
  
  .section-title {
    font-size: 1.25rem !important;
  }

  .btn-lg {
    padding: 11px 18px;
    font-size: 13.5px;
  }
}
