/* ==========================================================================
   CHALLAN NIPTARA PREMIUM CUSTOM DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* 1. Imports & Core Variables */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette - HSL Tokens for harmonic palettes */
  --primary-red: hsl(358, 85%, 62%);
  /* #F04B50 */
  --primary-red-hover: hsl(358, 85%, 55%);
  --primary-green: hsl(154, 55%, 43%);
  /* #31AB76 */
  --primary-green-light: hsl(154, 55%, 95%);
  --primary-cyan: hsl(24, 95%, 50%);
  /* Transforming cyan to vibrant Amber Orange (#F97316) */
  --primary-cyan-light: hsl(24, 95%, 96%);
  /* Light Amber Orange background */
  --deep-blue: hsl(224, 64%, 23%);
  /* Transforming blue to professional deep Navy Blue (#152B5B) */

  /* Neutral Palette */
  --bg-main: hsl(0, 0%, 100%);
  --bg-alternate: hsl(24, 20%, 98%);
  /* #FAF8F7 */
  --bg-slate: hsl(210, 20%, 98%);
  --text-dark: hsl(222, 47%, 11%);
  /* #0F172A */
  --text-medium: hsl(215, 25%, 27%);
  /* #334155 */
  --text-light: hsl(215, 16%, 47%);
  /* #64748B */
  --border-color: hsl(214, 32%, 91%);
  /* #E2E8F0 */

  /* UI Attributes */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 16px -6px rgba(0, 0, 0, 0.03);
  --shadow-premium: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Global Resets & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-alternate);
}

::-webkit-scrollbar-thumb {
  background: hsl(215, 16%, 80%);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: hsl(215, 16%, 65%);
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.hidden {
  display: none !important;
}

.font-broken {
  font-family: 'Outfit', sans-serif;
}

/* 3. Header & Navigation */
header.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

header.main-header.scroll-shadow {
  box-shadow: var(--shadow-md);
}

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

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  height: 36px;
  display: block;
}

.brand-logo img {
  height: 100%;
  object-fit: contain;
}

.badge-partner {
  background-color: var(--primary-green);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-medium);
  font-size: 15px;
  padding: 8px 4px;
}

.nav-link:hover {
  color: var(--primary-cyan);
}

.nav-link.has-badge {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cta-button {
  background-color: var(--primary-cyan);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.cta-button:hover {
  background-color: hsl(188, 86%, 35%);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.cta-button-red {
  background-color: var(--primary-red);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.cta-button-red:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
}

/* Mobile Sidebar Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background-color: white;
  box-shadow: var(--shadow-premium);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.drawer-close-btn {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.mobile-nav-link {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* 4. Top Tickers & Main Banners */
.top-news-ticker {
  background-color: var(--primary-cyan-light);
  border-bottom: 1px solid rgba(6, 182, 212, 0.15);
  padding: 10px 0;
  margin-top: 80px;
  display: block;
}

.ticker-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
}

.ticker-content img {
  height: 24px;
  object-fit: contain;
}

.hero-milestone-banner {
  padding: 24px 0;
  background-color: white;
}

.milestone-banner-wrapper {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.milestone-banner-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* 5. Main Hero/Check Form Section */
.hero-form-section {
  background-color: var(--bg-alternate);
  padding: 60px 0 80px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-text-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-text-content h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
}

.hero-text-content p {
  font-size: 18px;
  color: var(--text-medium);
  font-weight: 500;
  max-width: 500px;
}

.hero-preview-img {
  width: 100%;
  border-radius: var(--radius-md);
  margin-top: 10px;
}

/* The Interactive Check Form Card */
.form-card {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-medium);
}

.input-wrapper {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.input-wrapper:focus-within {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

.input-badge-ind {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-slate);
  padding: 12px 16px;
  border-right: 1.5px solid var(--border-color);
}

.input-badge-ind img {
  width: 20px;
  height: auto;
  border-radius: 2px;
}

.input-badge-ind span {
  font-size: 12px;
  font-weight: 700;
  color: var(--deep-blue);
  letter-spacing: 0.5px;
}

.input-field {
  border: none;
  flex: 1;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-field::placeholder {
  text-transform: none;
  letter-spacing: normal;
  color: var(--text-light);
  font-weight: 400;
}

.input-phone {
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 600;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  color: var(--text-dark);
}

.input-phone:focus {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

.form-trust-banner {
  background: linear-gradient(90deg, #ffffff, var(--primary-cyan-light), #ffffff);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.form-trust-banner img {
  height: 28px;
  object-fit: contain;
}

.form-trust-banner p {
  font-size: 13px;
  color: hsl(188, 86%, 25%);
  font-weight: 700;
  line-height: 1.4;
}

/* Multiple Vehicle / Whatsapp Card */
.whatsapp-cta-card {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 28px;
  box-shadow: var(--shadow-sm);
}

.whatsapp-cta-card img {
  width: 150px;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.whatsapp-cta-content {
  flex: 1;
}

.whatsapp-cta-content p {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.whatsapp-btn {
  background-color: var(--primary-green-light);
  color: var(--primary-green);
  border: 1.5px solid rgba(49, 171, 118, 0.2);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.whatsapp-btn svg {
  fill: var(--primary-green);
  width: 20px;
  height: 20px;
}

.whatsapp-btn:hover {
  background-color: var(--primary-green);
  color: white;
  border-color: var(--primary-green);
}

.whatsapp-btn:hover svg {
  fill: white;
}

/* 6. Built on Scale Section */
.scale-section {
  padding: 80px 0;
  background-color: white;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-medium);
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 48px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.metric-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: white;
  transition: var(--transition-smooth);
}

.metric-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.metric-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 12px;
}

.metric-number {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.metric-label {
  font-size: 14px;
  font-weight: 550;
  color: var(--text-medium);
}

/* 7. Real Stories (Testimonials) Section */
.testimonials-section {
  background-color: var(--primary-green);
  padding: 72px 0;
  color: white;
}

.testimonials-section .section-title {
  color: white;
}

/* Custom Swiper Testimonial Slider Grid */
.slider-viewport {
  position: relative;
  overflow: hidden;
  padding: 20px 4px;
  margin: 0 auto;
  max-width: 1140px;
}

.slider-container {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 33.333%;
  padding: 0 12px;
}

.testimonial-card-inner {
  background-color: white;
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

.testimonial-card-inner:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.author-block {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.author-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
}

.author-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.author-location {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

.card-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.saved-badge {
  display: flex;
  flex-direction: column;
}

.saved-amount {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-green);
  line-height: 1;
}

.saved-text {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
}

.star-rating {
  display: flex;
  gap: 2px;
}

.star-rating svg {
  width: 16px;
  height: 16px;
  fill: #FBBF24;
}

.testimonial-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-medium);
  font-weight: 450;
  font-style: italic;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  background-color: white;
  width: 24px;
  border-radius: 5px;
}

/* 8. Defining Milestone Section */
.milestone-section {
  padding: 90px 0;
  background-color: white;
}

.milestone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.milestone-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.milestone-image img {
  width: 100%;
  height: auto;
  display: block;
}

.milestone-text-content h2 {
  font-size: 32px;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.milestone-text-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-medium);
  margin-bottom: 18px;
}

/* 9. Partner Section */
.partner-section {
  padding: 80px 0;
  background-color: var(--bg-slate);
}

.partner-card {
  background-color: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
}

.partner-content {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.partner-content h3 {
  font-size: 32px;
  color: var(--text-dark);
}

.partner-content p {
  font-size: 16px;
  color: var(--text-medium);
  max-width: 480px;
}

.partner-image {
  background-size: cover;
  background-position: center;
  min-height: 350px;
}

.partner-btn {
  background-color: var(--primary-red);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  align-self: flex-start;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.partner-btn:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* 10. Blogs Grid Section */
.blogs-section {
  padding: 80px 0;
  background-color: white;
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.blog-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-tag {
  color: var(--primary-cyan);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card h4 {
  font-size: 18px;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.4;
}

.blog-card p {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.6;
  flex: 1;
}

.blog-read-more {
  color: var(--primary-cyan);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
}

.blog-read-more:hover {
  color: hsl(188, 86%, 30%);
}

.blog-read-more svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: var(--transition-fast);
}

.blog-read-more:hover svg {
  transform: translateX(3px);
}

/* 11. Footer Section */
footer.main-footer {
  background-color: var(--text-dark);
  color: white;
  padding: 80px 0 40px 0;
  border-top: 4px solid var(--primary-cyan);
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  height: 32px;
  align-self: flex-start;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: hsl(215, 16%, 70%);
}

.footer-backed {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.backed-title {
  font-size: 12px;
  font-weight: 700;
  color: hsl(215, 16%, 60%);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.backed-link {
  font-size: 18px;
  font-weight: 800;
  color: white;
  letter-spacing: 1px;
}

.footer-col h5 {
  font-size: 16px;
  font-weight: 700;
  color: white;
  border-bottom: 2px solid hsl(215, 16%, 20%);
  padding-bottom: 12px;
  margin-bottom: 8px;
}

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

.footer-links a {
  font-size: 14px;
  color: hsl(215, 16%, 70%);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--primary-cyan);
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: hsl(215, 16%, 70%);
}

.contact-label {
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  color: hsl(215, 16%, 50%);
}

.contact-val {
  font-weight: 600;
  color: white;
}

.footer-bottom {
  border-top: 1px solid hsl(215, 16%, 20%);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: hsl(215, 16%, 60%);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover {
  color: white;
}

/* 12. Modal Overlay Core Layouts */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-card {
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  max-width: 520px;
  width: 90%;
  padding: 36px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--bg-slate);
  border: none;
  font-size: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-medium);
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: var(--border-color);
  color: var(--text-dark);
}

/* 13. Challan Checking Interactive Steps */

/* Loader Overlay */
.lookup-loader-wrapper {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.spinner {
  width: 56px;
  height: 56px;
  border: 4px solid var(--border-color);
  border-top-color: var(--primary-cyan);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.progress-bar-container {
  width: 100%;
  height: 6px;
  background-color: var(--border-color);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 12px;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background-color: var(--primary-cyan);
  transition: width 0.1s ease;
}

.loader-status-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-medium);
}

/* OTP Modal Content */
.otp-dialog {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.otp-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
}

.otp-subtitle {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.5;
}

.otp-input-container {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 16px 0;
}

.otp-cell {
  width: 56px;
  height: 60px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.otp-cell:focus {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

.otp-timer {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  color: var(--text-light);
}

.resend-btn {
  background: none;
  border: none;
  color: var(--primary-cyan);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.resend-btn:disabled {
  color: var(--text-light);
  cursor: not-allowed;
  text-decoration: none;
}

/* 14. Interactive Challan Dashboard */
.dashboard-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-slate);
  z-index: 1500;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dashboard-screen.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dashboard-header {
  background-color: white;
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: var(--shadow-sm);
}

.dashboard-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vehicle-pill {
  background-color: var(--deep-blue);
  color: white;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.vehicle-pill::before {
  content: 'IND';
  font-size: 9px;
  font-weight: 700;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 2px 4px;
  border-radius: 2px;
}

.dashboard-exit-btn {
  background-color: var(--bg-slate);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.dashboard-exit-btn:hover {
  background-color: var(--border-color);
}

.dashboard-body {
  padding: 40px 0;
}

.summary-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.summary-card {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 20px;
}

.summary-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.summary-icon-box.red {
  background-color: hsl(358, 85%, 95%);
  color: var(--primary-red);
}

.summary-icon-box.green {
  background-color: var(--primary-green-light);
  color: var(--primary-green);
}

.summary-icon-box.cyan {
  background-color: var(--primary-cyan-light);
  color: var(--primary-cyan);
}

.summary-card-info h6 {
  font-size: 13px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.summary-card-val {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
}

/* Challan Records List Layout */
.challans-wrapper {
  background-color: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 32px;
}

.challans-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--bg-slate);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.challan-list-title {
  font-size: 20px;
  font-weight: 700;
}

.pay-all-btn {
  background-color: var(--primary-red);
  color: white;
  border: none;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.pay-all-btn:hover {
  background-color: var(--primary-red-hover);
  box-shadow: var(--shadow-md);
}

.pay-all-btn:disabled {
  background-color: var(--border-color);
  color: var(--text-light);
  cursor: not-allowed;
  box-shadow: none;
}

.challan-item-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition-smooth);
  position: relative;
}

.challan-item-card:hover {
  border-color: var(--text-light);
}

.challan-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
}

.challan-meta-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.challan-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.challan-title-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.challan-status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.challan-status-badge.unpaid {
  background-color: hsl(358, 85%, 95%);
  color: var(--primary-red);
}

.challan-status-badge.court {
  background-color: hsl(218, 76%, 95%);
  color: var(--deep-blue);
}

.challan-status-badge.paid {
  background-color: var(--primary-green-light);
  color: var(--primary-green);
}

.challan-id-label {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.challan-fine-display {
  text-align: right;
}

.fine-amount {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
}

.fine-tax-info {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 500;
}

.challan-details-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background-color: var(--bg-slate);
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.detail-item-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-item-label {
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
}

.detail-item-val {
  font-weight: 600;
  color: var(--text-dark);
}

.challan-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.evidence-toggle-btn {
  background: none;
  border: none;
  color: var(--primary-cyan);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.evidence-toggle-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.evidence-toggle-btn.active svg {
  transform: rotate(180deg);
}

.settle-single-btn {
  background-color: var(--primary-cyan);
  color: white;
  border: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.settle-single-btn:hover {
  background-color: hsl(188, 86%, 35%);
}

.settle-single-btn:disabled {
  background-color: var(--border-color);
  color: var(--text-light);
  cursor: not-allowed;
}

/* Evidence Drawer containing Camera Photo & Map */
.evidence-drawer {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  border-top: 1.5px dashed var(--border-color);
  padding-top: 20px;
  margin-top: 4px;
}

.evidence-drawer.active {
  display: grid;
}

.evidence-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.evidence-card-title {
  background-color: var(--bg-slate);
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-medium);
  border-bottom: 1px solid var(--border-color);
}

.evidence-media-box {
  height: 180px;
  background-color: hsl(210, 20%, 90%);
  position: relative;
  overflow: hidden;
}

.evidence-media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 15. Premium Slide-in Payment Drawer Drawer */
.payment-drawer {
  position: fixed;
  top: 0;
  right: -520px;
  width: 500px;
  height: 100vh;
  background-color: white;
  box-shadow: var(--shadow-premium);
  z-index: 1800;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 100%;
}

.payment-drawer.open {
  right: 0;
}

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

.payment-drawer-header h4 {
  font-size: 20px;
}

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

.payment-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.payment-amount-tile {
  background-color: var(--bg-slate);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border-color);
}

.amount-tile-label {
  font-weight: 700;
  color: var(--text-medium);
}

.amount-tile-val {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
}

.payment-methods-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-option-card {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.payment-option-card:hover {
  border-color: var(--primary-cyan);
  background-color: var(--primary-cyan-light);
}

.payment-option-card.selected {
  border-color: var(--primary-cyan);
  background-color: var(--primary-cyan-light);
}

.radio-circle {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-option-card.selected .radio-circle {
  border-color: var(--primary-cyan);
}

.payment-option-card.selected .radio-circle::after {
  content: '';
  width: 10px;
  height: 10px;
  background-color: var(--primary-cyan);
  border-radius: 50%;
}

.method-icon {
  font-size: 22px;
  color: var(--text-medium);
}

.method-details {
  display: flex;
  flex-direction: column;
}

.method-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
}

.method-desc {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

/* Pay Simulator details forms */
.payment-details-form {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: none;
  flex-direction: column;
  gap: 16px;
}

.payment-details-form.active {
  display: flex;
}

.payment-footer {
  padding: 24px;
  border-top: 1px solid var(--border-color);
}

/* 15. Confetti Canvas, Settlement Invoices, Printable layouts */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 2500;
}

/* Payment Success Layout */
.settlement-success-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.success-icon-box {
  width: 72px;
  height: 72px;
  background-color: var(--primary-green-light);
  color: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 0 0 10px rgba(49, 171, 118, 0.1);
  animation: pulseSuccess 2s infinite;
}

.success-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
}

.success-text {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.5;
}

.invoice-preview-tile {
  background-color: var(--bg-slate);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  width: 100%;
  text-align: left;
  font-family: monospace;
  font-size: 12px;
  color: var(--text-medium);
  max-height: 200px;
  overflow-y: auto;
}

.action-buttons-row {
  display: flex;
  gap: 16px;
  width: 100%;
  margin-top: 12px;
}

/* Modal Form Styles */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-form-title {
  font-size: 24px;
  margin-bottom: 8px;
}

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

.modal-textarea {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  font-size: 15px;
  min-height: 100px;
  resize: vertical;
  color: var(--text-dark);
}

.modal-textarea:focus {
  border-color: var(--primary-cyan);
}

.form-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0;
}

.form-checkbox-row input {
  margin-top: 4px;
}

.form-checkbox-row label {
  font-size: 13px;
  color: var(--text-medium);
  line-height: 1.4;
}

/* Legal Modals Styles */
.legal-scroll-content {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 8px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.6;
}

.legal-scroll-content h6 {
  font-size: 16px;
  color: var(--text-dark);
  margin: 20px 0 8px 0;
}

.legal-scroll-content p {
  margin-bottom: 12px;
}

/* Animations */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulseSuccess {
  0% {
    box-shadow: 0 0 0 0 rgba(49, 171, 118, 0.3);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(49, 171, 118, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(49, 171, 118, 0);
  }
}

/* Printable Bill Styling for Receipts */
@media print {
  body * {
    visibility: hidden;
  }

  #print-receipt-section,
  #print-receipt-section * {
    visibility: visible;
  }

  #print-receipt-section {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
}

/* 16. Media Queries & Responsive Adjustments */

@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }

  .hero-text-content h1 {
    font-size: 44px;
  }

  .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .blogs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .desktop-nav-item {
    display: none !important;
  }

  .brand-logo svg {
    width: 170px !important;
    height: 30px !important;
  }

  header.main-header {
    height: 70px;
  }

  .top-news-ticker {
    margin-top: 70px;
  }

  .desktop-nav {
    display: none;
  }

  .hamburger-btn {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text-content {
    text-align: center;
    align-items: center;
  }

  .hero-preview-img {
    display: none;
  }

  .hero-form-section {
    padding: 40px 0;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-card {
    flex: 0 0 50%;
  }

  .milestone-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .partner-card {
    grid-template-columns: 1fr;
  }

  .partner-content {
    padding: 40px;
  }

  .partner-image {
    min-height: 240px;
  }

  /* Responsive overrides for teaser grid & services catalog on tablets */
  .teaser-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .services-panel.active {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 16px;
  }

  /* Responsive overrides for grids on mobile */
  .teaser-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .services-panel.active {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .milestone-card div[style*="display: flex"] {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
  }

  /* Mobile Responsive Form & Input Enhancements */
  .form-card {
    padding: 20px !important;
    gap: 20px !important;
  }

  .input-badge-ind {
    padding: 10px 12px !important;
    gap: 6px !important;
  }

  .input-field {
    padding: 12px 14px !important;
    font-size: 14px !important;
  }

  .input-phone {
    padding: 12px 14px !important;
    font-size: 14px !important;
  }

  /* Responsive Milestone Banner Card */
  .milestone-card {
    padding: 24px 20px !important;
    gap: 24px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
  }

  .milestone-card > div:first-child {
    min-width: auto !important;
  }

  .milestone-card h2 {
    font-size: 26px !important;
  }

  .milestone-card p {
    font-size: 14px !important;
    margin: 8px auto 0 auto !important;
  }

  .milestone-card div[style*="display: flex"] {
    justify-content: center !important;
    gap: 16px !important;
  }

  .milestone-card div[style*="background-color: rgba"] {
    min-width: 120px !important;
    padding: 16px 12px !important;
    flex: 1 !important;
  }

  /* Proactive OTP Mobile Enhancements */
  .otp-input-container {
    gap: 10px !important;
  }

  .otp-cell {
    width: 44px !important;
    height: 48px !important;
    font-size: 20px !important;
  }

  .hero-text-content h1 {
    font-size: 32px;
  }

  .whatsapp-cta-card {
    flex-direction: column;
    text-align: center;
  }

  .whatsapp-cta-card img {
    width: 100%;
    max-height: 180px;
  }

  .testimonial-card {
    flex: 0 0 100%;
  }

  .blogs-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .summary-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .challan-details-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .evidence-drawer {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .payment-drawer {
    width: 100vw;
  }

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

/* ==========================================================================
   14. Industry-Ready Error Handling & Toast Popups
   ========================================================================== */
@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-6px);
  }

  20%,
  40%,
  60%,
  80% {
    transform: translateX(6px);
  }
}

.input-shake {
  animation: shake 0.4s ease-in-out !important;
  border-color: var(--primary-red) !important;
}

#toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
  width: calc(100vw - 48px);
}

.toast-alert {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-lg), var(--shadow-premium);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-left: 5px solid var(--primary-cyan);
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  opacity: 0;
}

.toast-alert.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-alert.error {
  border-left-color: var(--primary-red);
}

.toast-alert.success {
  border-left-color: var(--primary-green);
}

.toast-alert.info {
  border-left-color: var(--deep-blue);
}

.toast-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-icon svg {
  width: 20px;
  height: 20px;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
  font-family: 'Outfit', sans-serif;
}

.toast-message {
  font-size: 12.5px;
  color: var(--text-medium);
  font-weight: 500;
  line-height: 1.4;
}

/* ==========================================================================
   15. Service Catalog Tabs & Grids Styling
   ========================================================================== */
.services-tabs-container {
  margin: 40px auto 20px auto;
  max-width: 1200px;
}

.services-tabs-header {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.tab-btn {
  background: white;
  border: 1.5px solid var(--border-color);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-medium);
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--text-light);
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

.tab-btn:hover svg {
  fill: var(--primary-cyan);
}

.tab-btn.active {
  background-color: var(--deep-blue);
  color: white;
  border-color: var(--deep-blue);
  box-shadow: var(--shadow-md);
}

.tab-btn.active svg {
  fill: white;
}

.services-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.services-panel.active {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-sub-card {
  background: white;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

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

.service-sub-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-sub-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--primary-cyan-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-sub-card-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--primary-cyan);
}

.service-sub-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  font-family: 'Outfit', sans-serif;
  line-height: 1.3;
}

.service-sub-card-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
  font-weight: 450;
  flex: 1;
}

.service-sub-card-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--deep-blue);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
}

.service-sub-card-link svg {
  width: 14px;
  height: 14px;
  fill: var(--deep-blue);
  transition: var(--transition-fast);
}

.service-sub-card-link:hover {
  color: var(--primary-cyan);
}

.service-sub-card-link:hover svg {
  fill: var(--primary-cyan);
  transform: translateX(2px);
}

@media (max-width: 575px) {
  .services-panel.active {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   11. Premium Multi-page Extended Styles (Timeline, Calculator, & FAQs)
   ========================================================================== */

/* Active link indicator */
.nav-link.active,
.mobile-nav-link.active {
  color: var(--primary-cyan) !important;
  font-weight: 700;
  border-bottom: 2px solid var(--primary-cyan);
}

.mobile-nav-link.active {
  border-bottom: none;
  border-left: 4px solid var(--primary-cyan);
  padding-left: 12px;
}

/* Subpage Hero layouts */
.subpage-hero {
  padding: 120px 0 60px 0;
  background: linear-gradient(135deg, hsl(224, 64%, 23%), hsl(222, 47%, 11%));
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.subpage-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.15), transparent 50%);
  pointer-events: none;
}

.subpage-hero h1 {
  color: white;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
}

.subpage-hero p {
  color: hsl(215, 16%, 80%);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   About Page - Interactive Milestone Timeline
   -------------------------------------------------------------------------- */
.timeline-section-wrapper {
  padding: 80px 0;
  background-color: var(--bg-alternate);
}

.timeline-track-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: var(--border-color);
  transform: translateX(-50%);
}

.timeline-node {
  display: flex;
  justify-content: flex-end;
  padding-right: 50%;
  position: relative;
  margin-bottom: 48px;
  width: 100%;
}

.timeline-node:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 50%;
}

.timeline-dot {
  position: absolute;
  top: 24px;
  left: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: white;
  border: 4px solid var(--primary-cyan);
  transform: translateX(-50%);
  z-index: 10;
  transition: var(--transition-smooth);
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.3);
}

.timeline-node:hover .timeline-dot {
  background-color: var(--primary-cyan);
  transform: translateX(-50%) scale(1.3);
}

.timeline-content-card {
  background: white;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  max-width: 360px;
  margin-right: 40px;
  transition: var(--transition-smooth);
}

.timeline-node:nth-child(even) .timeline-content-card {
  margin-right: 0;
  margin-left: 40px;
}

.timeline-content-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-cyan);
}

.timeline-year-badge {
  background: var(--primary-cyan-light);
  color: var(--primary-cyan);
  font-weight: 800;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}

.timeline-content-card h4 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.timeline-content-card p {
  font-size: 13.5px;
  color: var(--text-medium);
  line-height: 1.5;
}

@media (max-width: 767px) {
  .timeline-line {
    left: 20px;
  }
  .timeline-node {
    justify-content: flex-start;
    padding-left: 48px;
    padding-right: 0;
  }
  .timeline-node:nth-child(even) {
    padding-left: 48px;
  }
  .timeline-dot {
    left: 20px;
  }
  .timeline-content-card,
  .timeline-node:nth-child(even) .timeline-content-card {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Partner Page - Interactive Commission Estimator
   -------------------------------------------------------------------------- */
.calculator-box {
  background: white;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  padding: 40px;
  max-width: 800px;
  margin: 0 auto 60px auto;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.calc-controls-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-results-col {
  background: var(--bg-alternate);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-container-box {
  background: var(--bg-slate);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.slider-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.slider-label {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-dark);
}

.slider-val-display {
  background: var(--deep-blue);
  color: white;
  font-weight: 800;
  font-size: 14px;
  padding: 2px 10px;
  border-radius: 4px;
  font-family: 'Outfit', sans-serif;
}

/* Custom premium input range slider styling */
.calculator-range-input {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: var(--border-color);
  outline: none;
  transition: opacity .15s ease-in-out;
}

.calculator-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-cyan);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.5);
  transition: transform 0.1s ease;
}

.calculator-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calculator-range-input::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-cyan);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.5);
  transition: transform 0.1s ease;
}

.calculator-range-input::-moz-range-thumb:hover {
  transform: scale(1.15);
}

/* Earning block displays */
.earnings-display-box {
  text-align: center;
  padding: 16px 0;
  border-bottom: 1.5px solid var(--border-color);
}

.earnings-display-box:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.earnings-num-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.earnings-num-val {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-green);
  font-family: 'Outfit', sans-serif;
  margin-top: 4px;
}

.earnings-num-val-sub {
  font-size: 20px;
  font-weight: 800;
  color: var(--deep-blue);
  font-family: 'Outfit', sans-serif;
  margin-top: 2px;
}

.partner-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 12px auto 0 auto;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: white;
}

.tier-bronze {
  background: linear-gradient(135deg, #cd7f32, #a05822);
}

.tier-silver {
  background: linear-gradient(135deg, #c0c0c0, #808080);
}

.tier-gold {
  background: linear-gradient(135deg, #ffd700, #daa520);
  color: var(--text-dark);
}

.tier-platinum {
  background: linear-gradient(135deg, #38bdf8, #0369a1);
}

@media (max-width: 767px) {
  .calculator-grid {
    grid-template-columns: 1fr;
  }
  .calculator-box {
    padding: 24px;
  }
}

/* --------------------------------------------------------------------------
   Services Page - Interactive RTO Quote Planner & FAQ accordion
   -------------------------------------------------------------------------- */
.quote-planner-section {
  padding: 80px 0;
  background-color: var(--bg-alternate);
}

.quote-planner-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
}

.quote-planner-card {
  background: white;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.quote-estimator-preview {
  background: linear-gradient(135deg, #1E293B, #0F172A);
  color: white;
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.estimator-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--primary-cyan);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 11px;
  display: inline-block;
}

.estimator-total-row {
  margin: 24px 0;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.estimator-total-label {
  font-size: 12px;
  color: hsl(215, 16%, 70%);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.estimator-total-price {
  font-size: 40px;
  font-weight: 800;
  color: var(--primary-cyan);
  font-family: 'Outfit', sans-serif;
  margin-top: 6px;
}

.estimator-total-time {
  font-size: 13.5px;
  color: hsl(215, 16%, 80%);
  margin-top: 4px;
}

/* FAQ accordion panels */
.faq-section-wrapper {
  padding: 80px 0;
  background-color: white;
}

.faq-list-container {
  max-width: 800px;
  margin: 40px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-alternate);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item.active {
  border-color: var(--primary-cyan);
  background: white;
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--text-dark);
  font-family: 'Outfit', sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-trigger svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-medium);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-trigger svg {
  transform: rotate(180deg);
  stroke: var(--primary-cyan);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content-inner {
  padding: 0 24px 20px 24px;
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.6;
}

@media (max-width: 767px) {
  .quote-planner-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  /* Standalone Dashboard Mobile Responsiveness Overrides */
  .dashboard-header {
    padding: 12px 0 !important;
  }

  .dashboard-nav {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
  }

  .dashboard-nav > div {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .dashboard-nav svg {
    width: 100px !important;
    height: auto !important;
  }

  .vehicle-pill {
    font-size: 11px !important;
    padding: 4px 8px !important;
    gap: 4px !important;
    border-radius: 4px !important;
  }

  .vehicle-pill::before {
    font-size: 8px !important;
    padding: 1px 3px !important;
  }

  .dashboard-exit-btn {
    padding: 6px 12px !important;
    font-size: 12px !important;
    margin-top: 0 !important;
  }

  .dashboard-body {
    padding-top: 16px !important;
  }

  /* Compact Details Banner on Mobile */
  .dashboard-body > .container > div[style*="background-color: white"] {
    padding: 14px 16px !important;
    gap: 12px !important;
  }
  
  .dashboard-body > .container > div[style*="background-color: white"] h5 {
    font-size: 14px !important;
  }

  .dashboard-body > .container > div[style*="background-color: white"] p {
    font-size: 11px !important;
  }
  .summary-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
  }
  
  .summary-card {
    padding: 16px;
    gap: 16px;
  }
  
  .challans-wrapper {
    padding: 20px 16px;
  }
  
  .challans-header-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    text-align: center;
  }
  
  .challan-list-title {
    font-size: 18px;
    text-align: center;
  }
  
  .pay-all-btn {
    width: 100%;
    padding: 12px;
  }
  
  .challan-item-card {
    padding: 18px;
    gap: 14px;
  }
  
  .challan-card-top {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .challan-fine-display {
    text-align: left;
    border-top: 1.5px dashed var(--border-color);
    padding-top: 12px;
  }
  
  .challan-details-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 12px;
  }
  
  .evidence-drawer {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .challan-actions-row {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 12px;
  }
  
  .settle-single-btn {
    width: 100%;
    text-align: center;
  }
  
  .evidence-toggle-btn {
    justify-content: center;
  }
  
  /* Payment Drawer Mobile Responsiveness */
  .payment-drawer {
    width: 100% !important;
  }
  
  .payment-drawer-header {
    padding: 16px 20px;
  }
  
  .payment-drawer-body {
    padding: 20px;
  }
  
  .invoice-preview-tile {
    overflow-x: auto;
  }
}