/* ==========================================================================
   SMART MOTOR DRIVING SCHOOL — PURE CSS DESIGN SYSTEM
   Theme: Automotive Precision Light, High Contrast, Luxury Accent
   Location: Chembur, Mumbai
   ========================================================================== */

/* Clean zero-dependency typography utilizing fast native rendering */

:root {
  --bg-main: #f8fafc;
  --bg-surface: #f1f5f9;
  --bg-surface-raised: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.92);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #0f172a;

  --accent-red: #e11d48;
  --accent-red-hover: #be123c;
  --accent-red-light: #e11d48;
  --accent-red-glow: rgba(225, 29, 72, 0.15);
  --accent-red-subtle: rgba(225, 29, 72, 0.08);

  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-accent: rgba(225, 29, 72, 0.35);

  --font-display: 'Cambria', 'Cochin', Georgia, 'Times New Roman', serif;
  --font-body: 'Cambria', 'Cochin', Georgia, 'Times New Roman', serif;
  --font-mono: 'Cambria', 'Cochin', Georgia, 'Times New Roman', serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.1), 0 4px 8px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 24px var(--accent-red-glow);

  --max-w: 1240px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Cambria', 'Cochin', Georgia, 'Times New Roman', serif !important;
  font-style: italic !important;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: 'Cambria', 'Cochin', Georgia, 'Times New Roman', serif !important;
  font-style: italic !important;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header, nav, main, section, footer, .container, .site-header, .site-footer, .hero-section {
  width: 100%;
  max-width: 100%;
}

p, span, a, li, input, select, textarea, label, small, td, th, caption, blockquote, div,
h1, h2, h3, h4, h5, h6,
h1 *, h2 *, h3 *, h4 *, h5 *, h6 *,
.hero-title, .hero-title *,
.section-title, .section-title *,
.modal-title, .modal-title *,
.badge, .badge *,
.btn, .btn *, .stat-value, .stat-number,
.font-display, .font-heading, .font-tech,
.hero-lead, .hero-trust-item span, .testimonial-text, .course-highlights li {
  font-family: 'Cambria', 'Cochin', Georgia, 'Times New Roman', serif !important;
  font-style: italic !important;
}

::selection {
  background-color: var(--accent-red);
  color: #ffffff;
}

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

input, button, textarea, select {
  font: inherit;
  font-family: 'Cambria', 'Cochin', Georgia, 'Times New Roman', serif !important;
  font-style: italic !important;
}

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

h1, h2, h3, h4, h5, h6,
h1 *, h2 *, h3 *, h4 *, h5 *, h6 *,
.hero-title, .hero-title *,
.section-title, .section-title *,
.modal-title, .modal-title *,
.badge, .badge *,
.btn, .stat-value, .stat-number,
.font-display, .font-heading, .font-tech {
  font-family: 'Cambria', 'Cochin', Georgia, 'Times New Roman', serif !important;
  font-style: italic !important;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-light);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); }
h4 { font-size: 1.15rem; }

p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Utility Badges & Buttons */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--accent-red-subtle);
  color: var(--accent-red-light);
  border: 1px solid var(--accent-red-glow);
  width: fit-content;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background: var(--accent-red);
  color: #ffffff;
  box-shadow: 0 4px 16px var(--accent-red-glow);
}

.btn-primary:hover {
  background: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.4);
}

.btn-outline {
  background: var(--bg-surface-raised);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: #ffffff;
  color: var(--accent-red);
  border-color: var(--accent-red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background: #1ebc57;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  stroke: currentColor;
}

.btn-sm svg {
  width: 1rem;
  height: 1rem;
}

.btn-lg svg {
  width: 1.25rem;
  height: 1.25rem;
}

.badge svg {
  width: 0.9rem;
  height: 0.9rem;
  stroke: currentColor;
}

.rto-icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
  margin-bottom: 1rem;
}

.rto-icon-box svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
}

.card-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background: var(--accent-red-subtle);
  border: 1px solid var(--accent-red-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
}

.card-icon svg {
  width: 1.4rem;
  height: 1.4rem;
  stroke: currentColor;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.site-header.scrolled {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.site-logo-img {
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  object-fit: contain;
  border-radius: var(--radius-sm);
  display: block;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-medium);
  background: var(--bg-surface-raised);
}

.footer-logo-img {
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  object-fit: contain;
  border-radius: var(--radius-sm);
  display: block;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-raised);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.logo-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 992px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.925rem;
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-red);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-red);
  border-radius: 2px;
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .header-actions {
    display: flex;
  }
}

.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  min-width: 44px;
  min-height: 44px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  cursor: pointer;
  z-index: 100001;
  position: relative;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s ease;
}

.mobile-toggle:active {
  transform: scale(0.95);
  background: #e2e8f0;
}

.mobile-toggle.active {
  background: rgba(225, 29, 72, 0.1);
  border-color: var(--accent-red);
  color: var(--accent-red);
}

.mobile-toggle svg {
  pointer-events: none;
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
}

@media (min-width: 992px) {
  .mobile-toggle {
    display: none;
  }
}

/* ==========================================================================
   Mobile Navigation Drawer (Clean, Solid White, High-Contrast)
   ========================================================================== */
.mobile-nav {
  position: fixed;
  top: 4.5rem;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  height: calc(100vh - 4.5rem);
  height: calc(100dvh - 4.5rem);
  background: #ffffff !important;
  padding: 1.25rem 1.25rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, visibility 0.25s ease;
  z-index: 99999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a !important;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.15s ease;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-link::after {
  content: '→';
  font-size: 1.15rem;
  color: #94a3b8;
  font-weight: 700;
  transition: transform 0.15s ease, color 0.15s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: #ffffff;
  border-color: #cbd5e1;
  color: var(--accent-red) !important;
}

.mobile-nav-link:hover::after,
.mobile-nav-link:active::after {
  color: var(--accent-red);
  transform: translateX(4px);
}

.mobile-nav-link.active {
  background: rgba(225, 29, 72, 0.08);
  border-color: rgba(225, 29, 72, 0.35);
  color: var(--accent-red) !important;
  font-weight: 800;
}

.mobile-nav-link.active::after {
  color: var(--accent-red);
}

/* Neutralized backdrop */
.mobile-nav-backdrop {
  display: none !important;
}

body.mobile-nav-open {
  overflow: hidden !important;
  touch-action: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 4rem 0 5rem;
  overflow: hidden;
  background: radial-gradient(circle at 85% 15%, rgba(225, 29, 72, 0.05) 0%, transparent 55%),
              radial-gradient(circle at 15% 85%, rgba(226, 232, 240, 0.7) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  color: #0f172a;
}

.hero-title span.highlight {
  color: #e11d48 !important;
  position: relative;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.hero-trust-item svg, .hero-trust-item span.icon {
  color: var(--accent-red);
  font-size: 1rem;
}

.hero-media {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
  background: #090d16;
  display: flex;
  flex-direction: column;
}

.hero-image-card img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
  transition: transform 0.6s ease;
}

.hero-image-card:hover img {
  transform: scale(1.02);
}

.hero-badge-overlay {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Trust Stats Bar
   ========================================================================== */
.trust-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2rem 0;
}

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

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-number span.plus {
  color: var(--accent-red);
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Section Layouts & Headers
   ========================================================================== */
.section {
  padding: 5rem 0;
  position: relative;
}

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

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.section-header.left-aligned {
  text-align: left;
  align-items: flex-start;
  margin-left: 0;
}

.section-title {
  margin-top: 0.25rem;
}

.section-title span.highlight {
  color: var(--accent-red);
}

/* ==========================================================================
   Courses Grid & Cards
   ========================================================================== */
.courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.course-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.course-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.course-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--accent-red);
}

.course-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--accent-red-subtle);
  color: var(--accent-red);
  border: 1px solid var(--accent-red-glow);
}

.course-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin: 0.75rem 0 1rem;
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.course-highlights {
  list-style: none;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.course-highlights li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.course-highlights li span.check {
  color: #10b981;
  font-weight: bold;
}

.course-card-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-price-wrap {
  display: flex;
  flex-direction: column;
}

.course-price-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.course-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* ==========================================================================
   Why Choose Us (Bento Grid)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-medium);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.bento-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background: var(--accent-red-subtle);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 1px solid var(--accent-red-glow);
}

.bento-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #10b981;
  text-transform: uppercase;
}

/* ==========================================================================
   RTO Services Grid
   ========================================================================== */
.rto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .rto-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .rto-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.rto-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.rto-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.rto-timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.rto-timeline strong {
  color: #10b981;
}

/* ==========================================================================
   Local Service Area Map & Badges
   ========================================================================== */
.service-areas-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .service-areas-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

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

.area-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.area-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
}

.area-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.area-dist {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-red);
}

.area-landmark {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-lg);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   Gallery & Lightbox
   ========================================================================== */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--bg-surface-raised);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-red);
  color: #ffffff;
  border-color: var(--accent-red);
}

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

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.gallery-item:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition);
}

.gallery-item:hover .gallery-caption-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrap {
  width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
  background: #000;
}

.lightbox-img-wrap img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 1rem;
  color: #ffffff;
  font-size: 1rem;
  text-align: center;
  font-weight: 500;
}

.lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  background: transparent;
  border: 0;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-nav-btn:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
}

.lightbox-prev { left: -4rem; }
.lightbox-next { right: -4rem; }

@media (max-width: 991px) {
  .lightbox-prev { left: 1rem; }
  .lightbox-next { right: 1rem; }
  .lightbox-close { top: -2.5rem; right: 0.5rem; }
}

/* ==========================================================================
   Testimonials Grid
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.stars {
  color: #f59e0b;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.author-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.author-loc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pass-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* ==========================================================================
   FAQ Accordions
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.faq-item.active {
  border-color: var(--border-medium);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
  color: var(--accent-red);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

/* ==========================================================================
   Contact Section & Forms
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-detail-row {
  display: flex;
  gap: 1rem;
}

.contact-icon-box {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background: var(--accent-red-subtle);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 1px solid var(--accent-red-glow);
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px var(--accent-red-glow);
}

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

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-status {
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  display: none;
  font-size: 0.9rem;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #065f46;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #991b1b;
}

/* ==========================================================================
   Fee Estimator Component (RTO & Government Services)
   ========================================================================== */
.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.rto-category-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.rto-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  background: var(--bg-surface-raised);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.rto-cat-btn:hover {
  border-color: var(--accent-red);
  color: var(--text-primary);
}

.rto-cat-btn.active {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

.rto-calc-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.75rem;
  margin-top: 1.25rem;
}

@media (max-width: 860px) {
  .rto-calc-layout {
    grid-template-columns: 1fr;
  }
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  margin: 0.75rem 0 1.25rem;
}

@media (max-width: 480px) {
  .calc-options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.calc-option {
  border: 1px solid var(--border-medium);
  background: var(--bg-surface-raised);
  border-radius: var(--radius-md);
  padding: 0.85rem 0.75rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.calc-option:hover {
  border-color: var(--accent-red);
}

.calc-option.selected {
  border-color: var(--accent-red);
  background: var(--accent-red-subtle);
}

.rto-calc-summary-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fee-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  border-bottom: 1px dashed var(--border-subtle);
}

.fee-breakdown-row.total-row {
  border-bottom: none;
  border-top: 2px solid var(--border-medium);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
}

.doc-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.doc-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}

.calc-result-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #0f172a;
  border-top: 1px solid #1e293b;
  padding: 4.5rem 0 2rem;
  margin-top: auto;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-heading {
  font-size: 1.05rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #f43f5e;
  transform: translateX(3px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748b;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* ==========================================================================
   Mobile Sticky Bottom CTA Bar
   ========================================================================== */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-medium);
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
  padding: 0.65rem 0.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 0.4rem;
  z-index: 90;
}

@media (min-width: 768px) {
  .mobile-bottom-bar {
    display: none;
  }
}

/* ==========================================================================
   Floating Action Buttons (Call & WhatsApp)
   ========================================================================== */
.floating-action-group {
  position: fixed;
  bottom: 5.5rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  z-index: 95;
  pointer-events: none;
  max-width: calc(100% - 2rem);
}

@media (min-width: 768px) {
  .floating-action-group {
    bottom: 2rem;
    right: 2rem;
    gap: 0.85rem;
  }
}

.floating-action-item {
  position: relative;
  display: flex;
  align-items: center;
  pointer-events: auto;
}

.floating-btn {
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  position: relative;
}

@media (min-width: 768px) {
  .floating-btn {
    width: 3.6rem;
    height: 3.6rem;
  }
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-btn:active {
  transform: scale(0.95);
}

.floating-btn-call {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.35);
}

.floating-btn-call:hover {
  box-shadow: 0 10px 30px rgba(225, 29, 72, 0.5);
}

.floating-btn-wa {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

.floating-btn-wa:hover {
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.5);
}

.floating-pulse-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background-color: #22c55e;
  border: 2px solid #ffffff;
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.floating-tooltip {
  display: none;
  position: absolute;
  right: calc(100% + 0.75rem);
  white-space: nowrap;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  border: 1px solid #334155;
  pointer-events: none;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

@media (min-width: 768px) {
  .floating-tooltip {
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }
  .floating-action-item:hover .floating-tooltip {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==========================================================================
   Breadcrumb Navigation
   ========================================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb a:hover {
  color: var(--accent-red);
}

.breadcrumb-sep {
  color: var(--text-muted);
}

/* ==========================================================================
   Admin Modal Styles (Preserving Admin Management without React)
   ========================================================================== */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.admin-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.admin-modal-box {
  background: var(--bg-surface-raised);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.admin-modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.admin-tab-btn {
  background: transparent;
  border: 0;
  color: var(--text-secondary);
  font-weight: 600;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.admin-tab-btn.active {
  color: var(--accent-red);
  border-color: var(--accent-red);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
