/* ==========================================================================
   AUTOMITHRAM.COM – KERALA STAND-DIRECT MOBILITY DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Malayalam:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

/* ---------- DESIGN VARIABLES ---------- */
:root {
  --primary: #0f172a;          /* Deep Navy / Slate 900 */
  --primary-hover: #1e293b;
  --primary-light: #f1f5f9;
  --primary-dark: #020617;
  --secondary: #fbbf24;        /* Vibrant Yellow / Amber 400 */
  --secondary-hover: #f59e0b;
  --accent: #10b981;           /* Success Green */
  --accent-hover: #059669;
  --accent-light: #d1fae5;
  --bg-base: #f8fafc;          /* Off-white background */
  --bg-surface: #ffffff;       /* Pure White for cards */
  --text-main: #0f172a;        /* Very dark text */
  --text-body: #475569;        /* Slate 600 for body text */
  --text-muted: #94a3b8;
  --border-color: #e2e8f0;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --font-serif: 'Plus Jakarta Sans', 'Noto Sans Malayalam', system-ui, sans-serif;
  --font-sans: 'Plus Jakarta Sans', 'Noto Sans Malayalam', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  
  /* Glass Effects */
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.04);
}

/* Glassmorphism Utility Class */
.card-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--border-radius-lg);
}

/* ---------- RESET & BASICS ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg-base);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--primary);
  font-weight: 700;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section {
  padding: 80px 0;
}

.light-bg {
  background-color: #f1f5f9;
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb-container {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

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

.breadcrumb a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.breadcrumb span.separator::before {
  content: "/";
  margin: 0 4px;
  opacity: 0.5;
}

.breadcrumb span.current {
  color: var(--text-muted);
  font-weight: 400;
}

/* ---------- HEADER ---------- */
.site-header {
  background: rgba(251, 249, 245, 0.96); /* Ivory glass */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25); /* Gold tint border */
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.logo:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

.logo span {
  color: var(--accent);
}

/* ---------- HAMBURGER MENU ---------- */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  transition: var(--transition);
  padding: 4px;
  flex-shrink: 0;
}

.hamburger-btn:hover {
  background: var(--bg-base);
}

.hamburger-btn .bar {
  width: 22px;
  height: 2.5px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.hamburger-btn.open .bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger-btn.open .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn.open .bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 85vw);
  height: 100%;
  background: var(--bg-surface);
  z-index: 999;
  box-shadow: -8px 0 32px rgba(15, 23, 42, 0.12);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  overflow-y: auto;
  pointer-events: none;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
  pointer-events: auto;
}

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

.mobile-nav-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

.mobile-nav-logo span {
  color: var(--accent);
}

.mobile-nav-close {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-base);
  border-radius: 8px;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-nav-close:hover {
  background: var(--border-color);
  color: var(--text-main);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
}

.mobile-nav-links a {
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background: var(--primary-light);
  color: var(--primary);
}

.mobile-nav-links a.nav-cta {
  margin: 16px 24px;
  border-radius: 999px;
  justify-content: center;
  border-bottom: none;
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
}

.mobile-nav-links a.nav-cta:hover {
  background: var(--primary-hover);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
  text-transform: capitalize;
}

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

.nav-sub {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--secondary);
  opacity: 0.9;
  margin-top: 1px;
  text-transform: none;
}

.nav-cta {
  background-color: var(--primary);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
}

.nav-cta:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

/* ---------- HEADER SEARCH ---------- */
.header-search {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-base);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 2px 6px;
  width: 100%;
  max-width: 360px;
  margin: 0 20px;
  transition: var(--transition);
  flex: 1 1 auto;
}

.header-search:focus-within {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.1);
}

.header-search input {
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 8px 12px;
  width: 100%;
  color: var(--text-main);
  font-weight: 500;
}

.header-search input::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.btn-header-search {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-header-search svg {
  stroke: #ffffff;
  transition: var(--transition);
}

.btn-header-search:hover {
  background: var(--primary-hover);
}

.btn-header-search:hover svg {
  transform: scale(1.1);
}

.header-search .suggestions-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: var(--border-radius-md);
  margin-top: 8px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  max-height: 240px;
  overflow-y: auto;
  display: none;
  z-index: 1100;
  text-align: left;
}

.suggest-icon {
  margin-right: 8px;
  font-size: 14px;
}

.home-page .header-search {
  display: none !important;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: linear-gradient(
      rgba(2, 44, 34, 0.8),
      rgba(2, 44, 34, 0.8)
    ),
    url("/assets/images/kerala-bg.jpg") center/cover no-repeat;
  color: #ffffff;
  text-align: center;
  padding: 120px 0 140px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.hero-text {
  font-size: 20px;
  max-width: 750px;
  margin: 0 auto 36px;
  opacity: 0.9;
  font-weight: 400;
}

/* ---------- INTERACTIVE SEARCH CONTAINER ---------- */
.search-container {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  padding: 6px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.search-container:focus-within {
  box-shadow: 0 20px 30px -10px rgba(2, 44, 34, 0.25);
  transform: translateY(-2px);
}

.search-box {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 0 20px;
  position: relative;
}

.search-box:first-of-type {
  border-right: 2px solid var(--border-color);
}

.search-svg {
  color: var(--primary);
  margin-right: 12px;
  flex-shrink: 0;
  transition: var(--transition);
}

.search-box:focus-within .search-svg {
  color: var(--accent);
  transform: scale(1.1);
}

.search-box input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: var(--font-sans);
  color: var(--text-main);
  padding: 14px 0;
  font-weight: 500;
  background: transparent;
}

.search-box input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.btn-search {
  background-color: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-sans);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.btn-search:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35);
}

/* SEARCH SUGGESTIONS DROPDOWN */
.suggestions-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: var(--border-radius-md);
  margin-top: 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  max-height: 280px;
  overflow-y: auto;
  display: none;
  text-align: left;
  z-index: 100;
}

.suggestions-dropdown div {
  padding: 12px 18px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid #f1f5f9;
  transition: var(--transition);
  color: #1e293b;
}

.suggestions-dropdown div:last-child {
  border-bottom: none;
}

.suggestions-dropdown div:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

/* ---------- BUTTONS ---------- */
.btn-primary,
.btn-outline,
.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

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

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

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

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

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

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

/* ---------- GRID SYSTEM ---------- */
.grid {
  display: grid;
  gap: 30px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* ---------- CARDS ---------- */
.card {
  background: var(--bg-surface);
  padding: 32px 24px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

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

.card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

/* ---------- PROVIDER DETAIL CARDS (LISTING COMPONENT) ---------- */
.info-box {
  background: var(--bg-surface);
  padding: 36px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.action-buttons {
  margin-top: auto;
}

.info-box:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.info-box h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.verified-badge {
  background-color: var(--primary-light);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(6, 78, 59, 0.15);
}

.rating-stars {
  color: #fbbf24; /* Amber star color */
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 16px;
}

.rating-count {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  margin-left: 6px;
}

.provider-meta {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
}

.provider-meta strong {
  color: var(--text-main);
}

.action-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.action-buttons .btn {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- BUSINESS PROFILE DESIGN ---------- */
.profile-header-section {
  background-color: #022c22;
  color: #ffffff;
  padding: 60px 0;
  border-bottom: 4px solid var(--accent);
}

.profile-header-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.profile-title-area h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.profile-ratings-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.profile-main-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin: 60px 0;
}

.profile-main-content h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 36px 0 16px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 8px;
  color: var(--primary);
}

.profile-main-content h2:first-of-type {
  margin-top: 0;
}

.profile-main-content ul {
  list-style: none;
  padding-left: 0;
}

.profile-main-content ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 500;
}

.profile-main-content ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

/* ---------- REVIEW COMPONENT ---------- */
.reviews-container {
  margin-top: 40px;
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

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

.reviewer-name {
  font-weight: 700;
  font-size: 16px;
}

.review-date {
  font-size: 13px;
  color: var(--text-muted);
}

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

/* ---------- SIDEBAR BOOKING FORM ---------- */
.sidebar-sticky {
  position: sticky;
  top: 100px;
}

.lead-form-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.lead-form-box h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--primary);
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 8px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border-color);
  background-color: var(--bg-base);
  border-radius: var(--border-radius-sm);
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(6, 78, 59, 0.1);
}

.btn-form-submit {
  width: 100%;
  background-color: var(--primary);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  border: none;
  padding: 14px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-form-submit:hover {
  background-color: var(--primary-hover);
}

/* ---------- TRUST NOTE ---------- */
.trust-banner {
  background-color: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 24px;
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 30px;
}

/* ---------- BUSINESS CTA SECTION ---------- */
.business-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.business-cta h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.business-cta p {
  max-width: 650px;
  margin: 0 auto 30px;
  opacity: 0.9;
  font-size: 18px;
}



/* ---------- STATUS NOTIFICATION ---------- */
.alert-box {
  padding: 16px;
  border-radius: var(--border-radius-sm);
  margin-bottom: 24px;
  font-weight: 600;
  font-size: 15px;
  display: none;
  line-height: 1.5;
}
.alert-success {
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(6, 78, 59, 0.2);
}
.alert-error {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid rgba(153, 27, 27, 0.2);
}

/* ---------- CMS LOADING STATE ---------- */
.cms-loading {
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* ---------- ADMIN PANEL ---------- */
.admin-section {
  padding: 60px 0;
  min-height: 80vh;
}

.login-container {
  max-width: 420px;
  margin: 80px auto;
}

.login-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.login-card h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 24px;
  text-align: center;
}

.admin-dashboard {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

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

.admin-header h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
}

.admin-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1px;
}

.admin-tab-btn {
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

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

.admin-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.admin-listings {
  display: grid;
  gap: 20px;
}

.admin-card {
  background: var(--bg-base);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 24px;
  position: relative;
}

.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.admin-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--text-main);
}

.admin-card .category-badge {
  font-size: 12px;
  font-weight: 700;
  background: var(--accent-light);
  color: var(--accent-hover);
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: capitalize;
}

.admin-meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 16px;
  font-size: 14px;
}

.admin-meta-item {
  color: var(--text-muted);
  flex: 1 1 calc(25% - 24px);
  min-width: 200px;
}

.admin-meta-item strong {
  color: var(--text-main);
  font-weight: 600;
}

.admin-desc {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 12px;
  border-radius: var(--border-radius-sm);
  font-size: 14px;
  margin-bottom: 20px;
  max-height: 120px;
  overflow-y: auto;
}

.admin-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-admin {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--border-radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-approve {
  background: var(--primary);
  color: #fff;
}

.btn-approve:hover {
  background: var(--primary-hover);
}

.btn-reject {
  background: #ef4444;
  color: #fff;
}

.btn-reject:hover {
  background: #dc2626;
}

.btn-edit-listing {
  background: #e2e8f0;
  color: var(--text-main);
}

.btn-edit-listing:hover {
  background: #cbd5e1;
}

.btn-signout {
  padding: 8px 16px;
  font-size: 14px;
}

/* ---------- EDIT MODAL ---------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal-content {
  background: #fff;
  border-radius: var(--border-radius-md);
  width: 90%;
  max-width: 600px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-header {
  padding: 20px 24px;
  background: var(--primary);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.modal-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.modal-body {
  padding: 24px;
  max-height: 70vh;
  overflow-y: auto;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.hidden {
  display: none !important;
}

/* ---------- KPI DASHBOARD ---------- */
.kpi-table th, .kpi-table td {
  border-bottom: 1px solid var(--border-color);
  padding: 12px;
  vertical-align: middle;
}

.kpi-table tr:hover {
  background-color: var(--bg-base);
}

.kpi-table th {
  font-weight: 700;
  color: var(--text-main);
}

/* ---------- RESPONSIVE LAYOUT ---------- */
@media (max-width: 992px) {
  .profile-main-layout {
    grid-template-columns: 1fr;
  }
  
  .sidebar-sticky {
    position: static;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero-text {
    font-size: 17px;
  }

  .search-container {
    flex-direction: column;
    border-radius: var(--border-radius-md);
    padding: 16px;
    gap: 12px;
  }

  .search-box {
    border-right: none !important;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    padding: 0;
  }

  .btn-search {
    width: 100%;
    border-radius: var(--border-radius-sm);
  }
  
  /* Header: compact horizontal row with hamburger */
  .site-header .container {
    flex-direction: row;
    height: 64px;
    padding: 0 16px;
    gap: 8px;
  }

  .header-search {
    flex: 1 1 auto;
    max-width: none;
    margin: 0 8px;
  }
  
  /* Hide desktop nav, show hamburger */
  .main-nav {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  /* Show mobile drawer elements */
  .mobile-nav-overlay,
  .mobile-nav-drawer {
    display: block;
  }
}

/* ---------- FEATURED LISTINGS SLIDER ---------- */
.featured-slider-wrapper {
  position: relative;
  width: 100%;
  padding: 0 55px; /* Side padding to contain navigation arrows outside cards */
  margin-top: 20px;
}

.featured-slider-container {
  width: 100%;
  overflow: hidden;
  /* DOM rotation handles the sliding smoothly */
}

.featured-slider-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

/* The flex track holding the cards */
.featured-slider-track {
  display: flex;
  gap: 20px;
  padding-bottom: 10px; /* Slight padding to prevent box-shadow clipping */
}

/* The individual cards */
.featured-slider-track .info-box {
  scroll-snap-align: start; /* Snaps the left edge of the card to the container */
  flex-shrink: 0;
  margin-bottom: 0 !important;
  transition: var(--transition);
  
  /* Sizing calculation based on viewport */
  width: calc(100% - 20px); /* Mobile: 1 card visible */
}

@media (min-width: 768px) {
  .featured-slider-track .info-box {
    width: calc(50% - 10px); /* Tablet: 2 cards visible */
  }
  .featured-slider-wrapper {
    padding: 0 55px;
  }
}

@media (min-width: 1024px) {
  .featured-slider-track .info-box {
    width: calc(33.333% - 14px); /* Desktop: 3 cards visible */
  }
}

@media (max-width: 767px) {
  .featured-slider-wrapper {
    padding: 0 8px; /* Safe padding for clean mobile alignment */
  }
  .slider-arrow {
    display: none !important; /* Hide arrows on mobile; rely on touch swipe and dots */
  }
}

/* Slider Arrow Navigation Buttons */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  outline: none;
}

.slider-arrow:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background: var(--bg-surface);
  border-color: var(--border-color);
  color: var(--text-muted);
  transform: translateY(-50%) scale(1);
}

.slider-arrow-prev {
  left: 0;
}

.slider-arrow-next {
  right: 0;
}

.slider-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Dots Indicators */
.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #cbd5e1;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot:hover {
  background-color: #94a3b8;
}

.slider-dot.active {
  background-color: var(--primary);
  width: 24px;
  border-radius: 6px;
}

/* ==========================================================================
   AUTO MITHRAM DIRECTORY SPECIAL STYLES
   ========================================================================== */

/* Split Directory Layout */
.auto-directory-split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 1024px) {
  .auto-directory-split {
    grid-template-columns: 1fr;
  }
}

/* Premium Driver Card UI */
.driver-card-premium {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.driver-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  opacity: 0.9;
}

.driver-card-premium:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 40px 0 rgba(0, 166, 126, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.85);
}

.driver-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.driver-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.2);
}

.driver-info h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.verified-badge-premium {
  font-size: 11px;
  font-weight: 700;
  background: #ecfdf5;
  color: #059669;
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vehicle-plate {
  display: inline-block;
  background: #fbbf24;
  color: #000;
  font-family: monospace;
  font-weight: 800;
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 6px;
  border: 2px solid #000;
  margin-bottom: 16px;
  letter-spacing: 1px;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.4);
}

.driver-meta {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.driver-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.driver-meta-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary-light);
}

.driver-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
}

.btn-action {
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-call {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-call:hover {
  background: rgba(6, 78, 59, 0.05);
}

.btn-wa {
  background: #25D366;
  color: white;
  border: 1.5px solid #25D366;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.btn-wa:hover {
  background: #20bd5a;
  border-color: #20bd5a;
}

/* Premium Map Mockup */
.map-mockup-premium {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  top: auto;
}


/* Filter Toolbar */
.auto-filter-toolbar {
  background: var(--bg-surface);
  padding: 24px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.filter-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

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

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrapper .search-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  opacity: 0.6;
}

.search-input-wrapper input {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-base);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 15px;
  outline: none;
  transition: var(--transition);
}

.search-input-wrapper input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(6, 78, 59, 0.1);
}

.select-wrapper select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-base);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 15px;
  outline: none;
  transition: var(--transition);
  cursor: pointer;
}

.select-wrapper select:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(6, 78, 59, 0.1);
}

.active-filters-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.active-filters-row span.label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.filter-badge {
  display: inline-flex;
  align-items: center;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(6, 78, 59, 0.15);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  transition: var(--transition);
}

.filter-badge:hover {
  background: #d1fae5;
}

.remove-filter-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Auto Driver Cards styling */
.auto-card {
  padding: 24px;
  background: var(--bg-surface);
  border-radius: var(--border-radius-md);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  transition: var(--transition);
}

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

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

.driver-avatar-wrapper {
  position: relative;
}

.driver-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.active-dot-pulsing {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background-color: #10b981;
  border: 2px solid #fff;
  border-radius: 50%;
}

.active-dot-pulsing::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #10b981;
  animation: pulse-ring 1.5s cubic-bezier(0.215, 0.610, 0.355, 1) infinite;
  opacity: 0;
}

@keyframes pulse-ring {
  0% { transform: scale(0.7); opacity: 0; }
  50% { opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}

.driver-info-header {
  flex: 1;
}

.driver-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.verified-driver-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #d1fae5;
  color: #059669;
  padding: 3px;
  border-radius: 50%;
}

.driver-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.driver-rating .star-icon {
  color: #fbbf24;
  font-size: 14px;
}

.driver-rating .rating-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.driver-rating .trip-count {
  font-size: 12px;
  color: var(--text-muted);
}

.card-middle {
  flex: 1;
  margin-bottom: 20px;
}

/* Kerala-themed Commercial License Plate */
.license-plate-container {
  margin-bottom: 16px;
}

.kerala-license-plate {
  display: inline-flex;
  align-items: center;
  border: 2px solid #111111;
  border-radius: 6px;
  background: #fbbf24; /* Commercial yellow background */
  font-family: 'Outfit', monospace;
  font-weight: 800;
  font-size: 14px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.kerala-license-plate .state-code {
  background: #002c22;
  color: #fbbf24;
  font-size: 8px;
  font-weight: 800;
  padding: 6px 4px;
  border-right: 1.5px solid #111;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.kerala-license-plate .plate-number {
  padding: 4px 10px;
  color: #111;
  letter-spacing: 1px;
}

.driver-details-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}

.detail-row .icon {
  font-size: 16px;
  flex-shrink: 0;
}

.card-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.btn-call, .btn-wa {
  flex: 1;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-call {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-call:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(6, 78, 59, 0.15);
}

.btn-wa {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
}

.btn-wa:hover {
  background: #128C7E;
  border-color: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

/* Interactive Map Widget */
.map-mockup-wrapper {
  position: sticky;
  top: 96px;
}

.map-mockup {
  height: 480px;
  background: #f1f5f9;
  border-radius: var(--border-radius-md);
  border: 1.5px solid var(--border-color);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-svg-bg {
  width: 100%;
  height: 100%;
  display: block;
}

.map-pin {
  position: absolute;
  cursor: pointer;
  z-index: 10;
  transform: translate(-50%, -100%);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.map-pin .pin-marker {
  width: 38px;
  height: 38px;
  border-radius: 50% 50% 50% 0;
  background: var(--primary);
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid #fff;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  transition: var(--transition);
}

.map-pin .pin-marker svg {
  transform: rotate(45deg);
  color: #fff;
}

.map-pin .pin-label {
  position: absolute;
  top: 42px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.1);
}

.map-pin .pin-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fff;
}

/* Active & Highlight States */
.map-pin.active .pin-marker {
  background: #fbbf24;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.6);
}

.map-pin.active .pin-marker svg {
  color: var(--primary);
}

.map-pin.highlight .pin-marker {
  background: var(--accent);
  transform: rotate(-45deg) scale(1.2);
  box-shadow: 0 8px 16px rgba(217, 119, 6, 0.3);
}

.map-pin.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* Pulse Animation for highlighted pin */
.map-pin.highlight::after {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  animation: pulse-pin 1.2s infinite;
  pointer-events: none;
}

@keyframes pulse-pin {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* Directory Stats bar */
.directory-stats-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.directory-stats-bar h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.total-badge {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 12px;
  border-radius: 999px;
}

/* ==========================================================================
   LIQUID GLASS UI REDESIGN STYLES
   ========================================================================== */

/* Wrapper with transparent/blur setup */
.liquid-glass-wrapper {
  position: relative;
  overflow: hidden;
  background-color: #f0fdf4; /* Emerald tint base */
  border-radius: 24px;
  padding: 40px 24px;
  margin-top: 20px;
  border: 1px solid rgba(220, 252, 231, 0.6);
  box-shadow: 0 10px 40px rgba(6, 78, 59, 0.04);
}

/* Background Glowing Liquid Blobs */
.blob-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.glass-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.38;
  mix-blend-mode: multiply;
  animation: float-blob 22s infinite alternate ease-in-out;
  will-change: transform;
}

.glass-blob-1 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #10b981 0%, #047857 100%);
  top: -5%;
  left: 5%;
}

.glass-blob-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #fbbf24 0%, #f59e0b 100%);
  bottom: 5%;
  right: 5%;
  animation-duration: 28s;
  animation-delay: -7s;
}

.glass-blob-3 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #06b6d4 0%, #0891b2 100%);
  top: 45%;
  left: 40%;
  animation-duration: 25s;
  animation-delay: -12s;
}

@keyframes float-blob {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 60px) scale(0.96); }
  100% { transform: translate(0, 0) scale(1); }
}

/* Upgrade existing containers to frosted glassmorphism */

.auto-filter-toolbar {
  background: rgba(255, 255, 255, 0.45) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  box-shadow: 0 8px 32px 0 rgba(6, 78, 59, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.8) !important;
  z-index: 1;
  position: relative;
}

.directory-stats-bar {
  background: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 4px 24px 0 rgba(6, 78, 59, 0.03), inset 0 1px 1px rgba(255, 255, 255, 0.7) !important;
  z-index: 1;
  position: relative;
}

.auto-card {
  background: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(16px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(150%) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 4px 20px 0 rgba(6, 78, 59, 0.02), inset 0 1px 1px rgba(255, 255, 255, 0.7) !important;
  z-index: 1;
  position: relative;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.auto-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  background: rgba(255, 255, 255, 0.75) !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
  box-shadow: 0 16px 36px 0 rgba(6, 78, 59, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
}

.map-mockup-wrapper {
  z-index: 1;
  position: relative;
}

.map-mockup {
  background: rgba(255, 255, 255, 0.4) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 8px 32px 0 rgba(6, 78, 59, 0.04), inset 0 1px 1px rgba(255, 255, 255, 0.8) !important;
}

/* Subtle refinements to visual states */
.search-input-wrapper input {
  background: rgba(255, 255, 255, 0.5) !important;
  border-color: rgba(226, 232, 240, 0.8) !important;
}

.search-input-wrapper input:focus {
  background: rgba(255, 255, 255, 0.95) !important;
}

.select-wrapper select {
  background: rgba(255, 255, 255, 0.5) !important;
  border-color: rgba(226, 232, 240, 0.8) !important;
}

.select-wrapper select:focus {
  background: rgba(255, 255, 255, 0.95) !important;
}

/* ---------- REGISTRATION LAYOUT ---------- */
.registration-grid {
  grid-template-columns: 1fr 350px;
  gap: 40px;
  align-items: start;
}

@media (max-width: 992px) {
  .registration-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}


/* Map Mockup Premium Overhaul */
.map-mockup-premium {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border: 4px solid rgba(255,255,255,0.6);
  position: relative;
  background: white;
}

/* Beautiful Background for Auto Directory Wrapper */
.auto-directory-wrapper {
  background: linear-gradient(135deg, #e0f2fe 0%, #dcfce7 50%, #fef3c7 100%);
  position: relative;
  padding-bottom: 60px;
}
.auto-directory-wrapper::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 100%;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.4) 0%, transparent 60%);
  pointer-events: none;
}

/* --- INTERACTIVE LEAFLET MAP STYLING --- */
.leaflet-container {
  font-family: 'Inter', sans-serif;
}
.leaflet-popup-content-wrapper {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  padding: 4px;
}
.leaflet-popup-tip {
  background: rgba(255, 255, 255, 0.95);
}
.stand-popup-title {
  font-weight: 700;
  color: var(--text-main);
  font-size: 15px;
  margin-bottom: 4px;
}
.stand-popup-count {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.stand-marker-icon {
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 12px;
  border: 3px solid white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.stand-marker-icon:hover {
  transform: scale(1.1) translateY(-2px);
  z-index: 1000 !important;
}


/* --- SEO TOPIC CLUSTER & DISTRICT/TOWN/STAND PAGES --- */
.hero-seo-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 56px 28px;
  text-align: center;
  color: white;
  border-radius: 24px;
  margin-bottom: 36px;
  overflow: hidden;
  box-shadow: 0 16px 44px -8px rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-seo-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    115deg,
    rgba(2, 6, 23, 0.94) 0%,
    rgba(15, 23, 42, 0.88) 52%,
    rgba(2, 6, 23, 0.72) 100%
  );
  z-index: 1;
}
.hero-seo-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}
.hero-seo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.8);
  color: #fbbf24;
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 16px;
  border: 1px solid rgba(251, 191, 36, 0.4);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-seo-h1 {
  font-family: var(--font-sans);
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #ffffff;
}
.hero-seo-h1 .hero-accent {
  color: #fbbf24;
}
.hero-seo-sub {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 26px;
  color: #e2e8f0;
  line-height: 1.6;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.hero-cta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.btn-hero {
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}
.btn-hero-primary {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
}
.btn-hero-wa {
  background: #25D366;
  color: white;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.btn-hero-wa:hover {
  transform: translateY(-2px);
  background: #20bd5a;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}
.btn-hero-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}
.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
  color: #ffffff;
}

/* --- TOWNS & STANDS HUB GRID & DISTRICT STATS --- */
.am-district-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}
.am-district-stat-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease;
}
.am-district-stat-item:hover {
  transform: translateY(-2px);
}
.am-district-stat-item .stat-icon {
  font-size: 26px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.am-district-stat-item .stat-label {
  font-size: 11.5px;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}
.am-district-stat-item .stat-val {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.am-hub-section {
  margin-bottom: 48px;
}
.am-hub-section-header {
  margin-bottom: 22px;
}
.am-hub-section-title {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0 0 6px 0;
}
.am-hub-section-sub {
  font-size: 14.5px;
  color: #64748b;
  margin: 0;
}
.am-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.am-hub-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.am-hub-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #10b981, #f59e0b);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.am-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.12);
  border-color: #cbd5e1;
}
.am-hub-card:hover::before {
  opacity: 1;
}
.am-hub-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.am-hub-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.am-hub-card-count {
  font-size: 11.5px;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.am-hub-card-title {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
  letter-spacing: -0.01em;
}
.am-hub-card-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 18px 0;
  flex: 1;
}
.am-hub-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  font-size: 13.5px;
  font-weight: 700;
  color: #d97706;
}
.am-hub-card:hover .am-hub-card-footer span.arrow {
  transform: translateX(4px);
  transition: transform 0.2s ease;
}

/* Breadcrumbs Modern Styling */
.breadcrumb-container {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 0;
  font-size: 13.5px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-weight: 500;
}
.breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: #0f172a;
}
.breadcrumb .separator::after {
  content: "›";
  color: #94a3b8;
  font-size: 14px;
  font-weight: 700;
}
.breadcrumb .current {
  color: #0f172a;
  font-weight: 700;
}

.quick-info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}
.quick-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.info-icon {
  background: rgba(16,185,129,0.1);
  color: var(--primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.info-text h4 {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 4px 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.info-text p {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.destinations-table-wrapper {
  background: var(--bg-surface);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}
.destinations-table {
  width: 100%;
  border-collapse: collapse;
}
.destinations-table th {
  background: #f8fafc;
  padding: 16px;
  text-align: left;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 14px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--border-color);
}
.destinations-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 16px;
  font-weight: 500;
}
.destinations-table tr:last-child td {
  border-bottom: none;
}
.destinations-table tr:hover {
  background: #f8fafc;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.why-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: transform 0.2s;
}
.why-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.why-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.why-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}
.why-item p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0;
  line-height: 1.5;
}

/* Fix Map Overlapping Text on Scroll & Mobile */
.map-mockup-premium {
  position: relative !important;
  top: auto !important;
  z-index: 1;
}

@media (max-width: 1024px) {
  .auto-directory-split {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .map-mockup-premium {
    position: relative !important;
    top: auto !important;
    margin-top: 10px;
    margin-bottom: 20px;
    height: 400px;
    width: 100%;
    z-index: 1;
  }
  #interactive-stand-map {
    height: 400px !important;
  }
}

/* --- CUTE 3D AUTO RICKSHAW MAP MARKER PIN --- */
.leaflet-div-icon,
.cute-leaflet-icon,
.custom-leaflet-icon {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.cute-map-pin-wrapper {
  position: relative;
  width: 54px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 6px 14px rgba(6, 78, 59, 0.35));
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  animation: cute-float-bounce 3s infinite ease-in-out alternate;
}

.cute-map-pin-wrapper:hover {
  transform: scale(1.3) translateY(-6px);
  filter: drop-shadow(0 12px 24px rgba(6, 78, 59, 0.5));
  z-index: 9999;
}

.cute-auto-pin-img {
  width: 50px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.cute-pin-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: linear-gradient(135deg, #10b981, #047857);
  color: #ffffff;
  font-weight: 800;
  font-size: 11px;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  padding: 0 5px;
}

@keyframes cute-float-bounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-5px); }
}

/* --- MOBILE RESPONSIVE HERO SEARCH --- */
@media (max-width: 768px) {
  .search-container {
    flex-direction: column !important;
    border-radius: 20px !important;
    padding: 12px !important;
    gap: 10px !important;
    background: #ffffff !important;
    box-shadow: var(--shadow-lg) !important;
  }

  .search-box {
    width: 100% !important;
    padding: 10px 14px !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    background: #f8fafc !important;
    border-radius: 12px !important;
    position: relative !important;
  }

  .search-box:last-of-type {
    border-bottom: none !important;
  }

  .search-box input {
    font-size: 15px !important;
    padding: 6px 0 !important;
  }

  .btn-search {
    width: 100% !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: var(--accent) !important;
    color: #ffffff !important;
    min-height: 48px !important;
    line-height: 1.2 !important;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3) !important;
  }

  .search-box .suggestions-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background: #ffffff !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    max-height: 220px !important;
    overflow-y: auto !important;
  }
}

/* ================= LANGUAGE SWITCHER STYLES ================= */
.lang-switcher-pill {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 2px;
  margin-left: 12px;
  vertical-align: middle;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.mobile-nav-drawer .lang-switcher-pill {
  margin: 16px 0 0 0;
  display: flex;
  justify-content: center;
  width: max-content;
}

.lang-switcher-mobile-header {
  display: none;
}

@media (max-width: 768px) {
  .lang-switcher-mobile-header {
    display: inline-flex;
    margin-left: auto;
    margin-right: 10px;
  }
}

.lang-btn {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.4;
  white-space: nowrap;
}

.lang-btn:hover {
  color: #0f172a;
}

.lang-btn.active {
  background: #064e3b;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(6, 78, 59, 0.25);
}

/* ==========================================================================
   PREMIUM KERALA HERITAGE & TEAK WOOD DESIGN OVERHAUL
   ========================================================================== */

/* Hero Grid Layout & Left Column */
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 50px;
  align-items: center;
  text-align: left;
}

.hero-left {
  display: flex;
  flex-direction: column;
}

.hero-left h1 {
  font-family: var(--font-serif) !important;
  font-size: 52px !important;
  font-weight: 900 !important;
  margin-bottom: 20px !important;
  line-height: 1.15 !important;
  color: #FBF9F5 !important; /* Keep text readable on backwater image */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-left .hero-text {
  font-size: 18px !important;
  max-width: 640px !important;
  margin: 0 0 36px 0 !important;
  opacity: 0.95 !important;
  line-height: 1.6 !important;
  color: #FBF9F5 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Search widget on homepage: premium gold border */
.hero-left .search-container {
  background: #ffffff !important;
  border: 3.5px solid var(--secondary) !important; /* Polished gold border */
  padding: 6px !important;
  border-radius: 999px !important;
  box-shadow: 0 25px 50px -12px rgba(11, 59, 44, 0.4) !important;
  width: 100% !important;
}

/* Premium Floating Teak wood card styling */
.premium-featured-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  perspective: 1200px;
  z-index: 10;
}

.card-inner-wood {
  background: #2C221E; /* Rich Teak Wood colors */
  background: linear-gradient(135deg, #3E2F28 0%, #1A1310 100%);
  border: 3.5px solid #1A1310;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.premium-featured-card:hover .card-inner-wood {
  transform: translateY(-8px) rotateX(3deg) rotateY(-3deg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

/* Gold Brass Corners for Wood Card */
.card-brass-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2.5px solid #D4AF37;
  z-index: 15;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.card-brass-corner.top-left {
  top: 4px; left: 4px;
  border-right: none; border-bottom: none;
  border-radius: 4px 0 0 0;
}
.card-brass-corner.top-right {
  top: 4px; right: 4px;
  border-left: none; border-bottom: none;
  border-radius: 0 4px 0 0;
}
.card-brass-corner.bottom-left {
  bottom: 4px; left: 4px;
  border-right: none; border-top: none;
  border-radius: 0 0 0 4px;
}
.card-brass-corner.bottom-right {
  bottom: 4px; right: 4px;
  border-left: none; border-top: none;
  border-radius: 0 0 4px 0;
}

/* Card Header */
.premium-card-header {
  background: #0B3B2C;
  background: linear-gradient(135deg, #0B3B2C 0%, #052319 100%);
  border-radius: 12px 12px 0 0;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid #D4AF37; /* Brass separation line */
}

.premium-card-logo {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  flex-shrink: 0;
}

.premium-card-title-area {
  flex-grow: 1;
  text-align: left;
}

.premium-card-title-area h3 {
  margin: 0 0 2px 0 !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  color: #FBF9F5 !important;
  font-family: var(--font-serif) !important;
}

.premium-card-title-area span {
  font-size: 11px;
  color: #D4AF37;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

/* Laurel Verified Badge in Header */
.premium-verified-crest {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 52px;
  margin-left: 8px;
  flex-shrink: 0;
}

.premium-verified-crest::before {
  content: '✓';
  font-size: 15px;
  color: #D4AF37;
  font-weight: bold;
  background: rgba(212, 175, 55, 0.15);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #D4AF37;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.25);
  margin-bottom: 2px;
}

.crest-text {
  font-size: 8px;
  font-weight: 700;
  color: #D4AF37;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.1;
  text-align: center;
}

/* Card Body - Warm Ivory */
.premium-card-body {
  background: #FBF9F5;
  padding: 18px 16px;
  color: #2C221E;
  text-align: left;
}

.body-label {
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #0B3B2C !important;
  margin: 0 0 6px 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--font-sans) !important;
}

.body-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
  margin: 0 0 16px 0;
  font-weight: 500;
}

.premium-card-meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border-top: 1px dashed rgba(44, 34, 30, 0.18);
  padding-top: 12px;
}

.meta-col {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 9px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.meta-val {
  font-size: 12px;
  font-weight: 700;
  color: #2C221E;
}

/* Card Actions footer */
.premium-card-actions {
  background: #2C221E;
  padding: 10px 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-radius: 0 0 12px 12px;
}

.premium-card-actions .action-btn {
  font-size: 10px;
  font-weight: 800;
  padding: 8px 2px;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.premium-card-actions svg {
  flex-shrink: 0;
  margin-bottom: 2px;
}

/* 3D Wood and gold call button */
.btn-call-wood {
  background: linear-gradient(180deg, #3E2F28 0%, #201714 100%);
  color: #D4AF37;
  border: 1.5px solid #D4AF37;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.btn-call-wood:hover {
  background: linear-gradient(180deg, #4F3C33 0%, #2D201C 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* WhatsApp button: vibrant gradient */
.btn-whatsapp-wood {
  background: linear-gradient(180deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  border: 1.5px solid #25D366;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.btn-whatsapp-wood:hover {
  background: linear-gradient(180deg, #2ae771 0%, #16a494 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* Request callback button */
.btn-callback-wood {
  background: linear-gradient(180deg, #3E2F28 0%, #201714 100%);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.btn-callback-wood:hover {
  background: linear-gradient(180deg, #4F3C33 0%, #2D201C 100%);
  border-color: #D4AF37;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* Traditional arched popular services cards styling */
.arched-services-grid {
  margin-top: 40px;
}

.arched-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: var(--transition);
  background: transparent;
}

.arched-card-roof {
  height: 32px;
  width: 100%;
  margin-bottom: -2px; /* Overlap to blend */
  position: relative;
  z-index: 2;
}

.roof-border-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.arched-card-content {
  background: #ffffff;
  border: 2px solid rgba(212, 175, 55, 0.45); /* Gold tint border */
  border-top: none;
  border-radius: 0 0 20px 20px;
  padding: 28px 20px 24px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.arched-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #FBF9F5;
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: var(--transition);
}

.arched-card:hover .arched-card-icon {
  transform: scale(1.1);
  border-color: #D4AF37;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}

.arched-card-title {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: var(--primary) !important;
  margin-bottom: 8px !important;
  font-family: var(--font-serif) !important;
}

.arched-card-content p {
  font-size: 13.5px;
  color: #475569;
  margin-bottom: 16px;
  line-height: 1.5;
  font-weight: 500;
}

.arched-card-footer {
  font-size: 13px;
  font-weight: 700;
  color: var(--secondary);
  transition: var(--transition);
  margin-top: auto;
}

.arched-card:hover {
  transform: translateY(-6px);
}

.arched-card:hover .arched-card-content {
  box-shadow: 0 20px 40px rgba(11, 59, 44, 0.08);
  border-color: #D4AF37;
}

.arched-card:hover .arched-card-footer {
  color: var(--secondary-hover);
}

/* Desktop vs Mobile Responsiveness on Hero */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-left h1 {
    font-size: 40px !important;
    text-align: center;
  }
  
  .hero-left .hero-text {
    text-align: center;
    margin: 0 auto 30px !important;
  }
  
  .hero-right {
    margin-top: 10px;
  }
}

/* Hero Card Slideshow dots styling */
.hero-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
}

.hero-slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.45);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 175, 55, 0.6);
}

.hero-slider-dot.active {
  background: #D4AF37;
  transform: scale(1.3);
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.6);
}

.premium-card-slider-wrapper {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ---------- SITE FOOTER (PREMIUM REDESIGN) ---------- */
.site-footer {
  background: #041812; /* Harmonious Deep Dark Emerald instead of slate/navy */
  color: #a7f3d0; /* Muted warm mint text */
  padding: 80px 0 40px;
  border-top: 2px solid rgba(212, 175, 55, 0.2); /* Kasavu Gold Top Divider */
  font-family: var(--font-sans);
}

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

.footer-col h4 {
  color: #FBF9F5;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 24px;
  font-family: var(--font-serif);
  letter-spacing: 0.5px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 900;
  color: #FBF9F5;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  text-align: left;
}
.footer-logo span {
  color: #D4AF37; /* Kasavu Gold */
}

.footer-tagline {
  font-size: 13.5px;
  line-height: 1.6;
  color: #6ee7b7;
  opacity: 0.8;
  margin-bottom: 20px;
  text-align: left;
}

.footer-badges {
  text-align: left;
}

.footer-badges .trust-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  background: rgba(212, 175, 55, 0.15);
  color: #D4AF37;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.footer-col p {
  text-align: left;
}

.footer-links a {
  color: #a7f3d0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  opacity: 0.85;
  text-align: left;
}

.footer-links a:hover {
  color: #D4AF37;
  transform: translateX(4px);
  opacity: 1;
}

.footer-cta-subtext {
  font-size: 13px;
  line-height: 1.5;
  color: #6ee7b7;
  opacity: 0.8;
  margin-bottom: 18px;
  text-align: left;
}

.btn-footer-cta {
  display: inline-block;
  background: #D4AF37; /* Gold contrast */
  color: #041812;
  font-size: 13.5px;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1.5px solid #D4AF37;
  float: left;
}

.btn-footer-cta:hover {
  background: transparent;
  color: #D4AF37;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 13px;
  color: #6ee7b7;
  opacity: 0.7;
  margin: 0;
}

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

.footer-bottom-nav a {
  color: #6ee7b7;
  opacity: 0.75;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}

.footer-bottom-nav a:hover {
  color: #D4AF37;
  opacity: 1;
}

/* Grow Your Business CTA (Redesign) */
.business-cta {
  background: linear-gradient(135deg, #0B3B2C 0%, #052319 100%);
  color: #FBF9F5;
  padding: 70px 0;
  text-align: center;
  border-top: 2px solid rgba(212, 175, 55, 0.15);
  position: relative;
  overflow: hidden;
}

.business-cta h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 16px;
  color: #FBF9F5;
}

.business-cta p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
}

.business-cta .btn-accent {
  background: #D4AF37;
  color: #0B3B2C;
  font-weight: 800;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid #D4AF37;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
  transition: var(--transition);
  display: inline-block;
  text-decoration: none;
}

.business-cta .btn-accent:hover {
  background: transparent;
  color: #D4AF37;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .btn-footer-cta {
    float: none;
    display: inline-block;
  }
  .footer-col h4 {
    margin-bottom: 16px;
  }
}

/* ---------- POPULAR SERVICES GRID ---------- */
.popular-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .popular-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .popular-services-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- POPULAR LOCATIONS SECTIONS ---------- */
.popular-locations-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.location-pill {
  background: var(--bg-surface);
  color: var(--primary);
  border: 1px solid rgba(11, 59, 44, 0.12);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 14.5px;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: inline-block;
}

.location-pill:hover {
  background: var(--primary);
  color: #FBF9F5;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(11, 59, 44, 0.12);
}

/* ---------- DISTRICT BROWSE SECTION ---------- */
.district-browse-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.district-card {
  background: var(--bg-surface);
  border: 1px solid rgba(11, 59, 44, 0.08);
  border-radius: var(--border-radius-sm);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.district-card-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.district-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  font-family: var(--font-serif);
}

.district-card p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.district-card-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--secondary-hover);
  transition: var(--transition);
}

.district-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.25);
}

.district-card:hover .district-card-link {
  color: var(--primary);
}

@media (max-width: 992px) {
  .district-browse-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .district-browse-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- WHY AUTOMITHRAM? ---------- */
.why-automithram-grid,
.why-servekerala-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-automithram-card,
.why-servekerala-card {
  background: var(--bg-surface);
  border: 1px solid rgba(11, 59, 44, 0.08);
  border-radius: var(--border-radius-sm);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.why-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.why-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  font-family: var(--font-serif);
}

.why-automithram-card p,
.why-servekerala-card p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-body);
  opacity: 0.85;
  margin: 0;
}

.why-automithram-card:hover,
.why-servekerala-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.25);
}

@media (max-width: 992px) {
  .why-automithram-grid,
  .why-servekerala-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .why-automithram-grid,
  .why-servekerala-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= ANNOUNCEMENT MARQUEE BANNER ================= */
.announcement-banner {
  display: block;
  background: linear-gradient(90deg, #09090b 0%, #1e293b 50%, #09090b 100%);
  color: #f8fafc;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 0;
  overflow: hidden;
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 158, 11, 0.3);
  position: relative;
  z-index: 99;
}
.announcement-banner:hover .banner-track {
  animation-play-state: paused;
}
.banner-track {
  display: inline-flex;
  white-space: nowrap;
  animation: banner-marquee 24s linear infinite;
  will-change: transform;
}
.banner-text {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-right: 48px;
  color: #f8fafc;
}
.banner-text .banner-tag {
  background: #f59e0b;
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.banner-text span.arrow {
  color: #f59e0b;
  font-weight: 800;
  transition: transform 0.2s ease;
}
.announcement-banner:hover .banner-text span.arrow {
  transform: translateX(4px);
}
@keyframes banner-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ================= GPS CURRENT LOCATION BUTTON ================= */
.home-loc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #1e293b;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}
.home-loc-btn svg {
  color: #f59e0b;
  transition: transform 0.2s ease;
}
.home-loc-btn:hover {
  background: #f8fafc;
  border-color: #f59e0b;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}
.home-loc-btn:hover svg {
  transform: scale(1.15);
}
.home-loc-btn.loading svg {
  animation: spin 1s linear infinite;
}

/* ================= 3-STEP "HOW IT WORKS" GRID ================= */
.hiw-section {
  padding: 50px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.hiw-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px auto;
}
.hiw-header h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.hiw-header p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0;
}
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.hiw-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 28px 24px;
  position: relative;
  transition: all 0.25s ease;
}
.hiw-card:hover {
  transform: translateY(-4px);
  border-color: #f59e0b;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}
.hiw-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.hiw-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.hiw-num {
  font-size: 28px;
  font-weight: 900;
  color: #cbd5e1;
  line-height: 1;
}
.hiw-card:hover .hiw-num {
  color: #f59e0b;
}
.hiw-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.hiw-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ================= ENHANCED DRIVER REGISTRATION (JOIN AUTO MITHRAM) ================= */
.reg-container-2col {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 900px) {
  .reg-container-2col {
    grid-template-columns: 1fr;
  }
}
.reg-sidebar-card {
  background: linear-gradient(145deg, #09090b 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 32px 28px;
  position: sticky;
  top: 100px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.reg-sidebar-card h2 {
  font-size: 24px;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.3;
  margin-bottom: 12px;
}
.reg-sidebar-card p.sub {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 24px;
}
.reg-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.reg-checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.reg-checklist .check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}
.reg-checklist strong {
  display: block;
  font-size: 14.5px;
  color: #f1f5f9;
  font-weight: 700;
}
.reg-checklist span.desc {
  display: block;
  font-size: 13px;
  color: #94a3b8;
  margin-top: 2px;
}
.reg-sidebar-wa {
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.reg-sidebar-wa p {
  font-size: 13px;
  color: #86efac;
  margin-bottom: 10px;
}
.reg-sidebar-wa a {
  display: inline-block;
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.reg-sidebar-wa a:hover {
  background: #1ebc57;
  transform: translateY(-1px);
}

/* Form Sections */
.reg2-sec {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.reg2-sec-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
}
.reg2-sec-head .sec-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}
.reg2-sec-head h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
}

/* Day Chips */
.schedule-day-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
  margin-bottom: 16px;
}
.day-chip {
  background: #f1f5f9;
  color: #475569;
  border: 1.5px solid #cbd5e1;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.day-chip:hover {
  border-color: #064e3b;
  color: #064e3b;
}
.day-chip.active {
  background: #064e3b;
  color: #ffffff;
  border-color: #064e3b;
  box-shadow: 0 2px 6px rgba(6, 78, 59, 0.25);
}

/* Emergency Availability Field */
.emergency-field {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px solid #f59e0b;
  border-radius: 14px;
  padding: 18px;
  margin-top: 18px;
}
.emergency-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.emergency-header h4 {
  font-size: 15px;
  font-weight: 800;
  color: #92400e;
  margin: 0;
}
.emergency-desc {
  font-size: 13px;
  color: #78350f;
  line-height: 1.5;
  margin-bottom: 14px;
}
.emergency-options {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.emergency-opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #fde68a;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  color: #92400e;
  transition: all 0.15s ease;
}
.emergency-opt:hover {
  background: #fffdf5;
  border-color: #f59e0b;
}
.emergency-opt input[type="radio"] {
  accent-color: #d97706;
}

/* Emergency Badge for Driver Cards */
.badge-emergency {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 6px;
}

/* ==========================================================================
   AUTO MITHRAM – UNIQUE BRANDING & EYE-FRIENDLY RESPONSIVE DESIGN SYSTEM
   ========================================================================== */

/* Header & Navigation */
.am-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
}

.am-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

/* Brand Logo */
.am-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.am-brand-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(5, 150, 105, 0.25));
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.am-brand:hover .am-brand-logo-img {
  transform: rotate(-3deg) scale(1.06);
}

.am-brand-title {
  font-size: 21px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.am-brand-title span.highlight {
  color: #d97706;
}

/* Desktop Navigation */
.am-nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.1vw, 18px);
  margin: 0 auto;
  flex-shrink: 1;
}

.am-nav-link {
  font-size: 14.5px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  position: relative;
  padding: 6px 4px;
  margin: 0 4px;
  border: none;
  outline: none;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
  transition: all 0.2s ease;
}

.am-nav-link:hover {
  color: #0f172a;
}

.am-nav-link.active {
  color: #0f172a;
  font-weight: 800;
}

.am-nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2.5px;
  background: #f59e0b;
  border-radius: 999px;
}

/* Header Actions */
.am-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Modern Language Switcher Pill */
.lang-switcher-pill {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 3px;
  flex-shrink: 0;
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.2;
  white-space: nowrap;
}

.lang-btn:hover {
  color: #0f172a;
}

.lang-btn.active {
  background: #0f172a;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
}

/* Primary Driver Register CTA in Nav */
.am-btn-driver {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #0f172a !important;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.25);
  transition: all 0.2s ease;
  border: 1px solid rgba(217, 119, 6, 0.2);
  white-space: nowrap !important;
  flex-shrink: 0;
}

.am-btn-driver:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* Mobile Hamburger Button */
.am-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  border-radius: 10px;
  cursor: pointer;
  padding: 6px;
  transition: all 0.2s ease;
}

.am-hamburger .bar {
  width: 22px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.am-hamburger.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.am-hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.am-hamburger.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.am-mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: min(320px, 86vw);
  height: 100%;
  background: #ffffff;
  z-index: 10001;
  box-shadow: -8px 0 36px rgba(15, 23, 42, 0.16);
  transition: right 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}

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

.am-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.am-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.am-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 20px;
}

.am-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}

.am-drawer-close:hover {
  background: #0f172a;
  color: #fff;
}

.am-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.am-drawer-link {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.am-drawer-link:hover,
.am-drawer-link.active {
  background: #f1f5f9;
  color: #0f172a;
}

/* ==========================================================================
   HERO BANNER (COMPACT & VIEWPORT-FRIENDLY)
   ========================================================================== */
.am-hero {
  position: relative;
  background: url('/assets/images/automithram_hero.jpg') center 35% / cover no-repeat;
  padding: 34px 0 28px 0;
  overflow: hidden;
}

.am-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    95deg,
    rgba(2, 6, 23, 0.88) 0%,
    rgba(2, 6, 23, 0.72) 48%,
    rgba(2, 6, 23, 0.32) 100%
  );
  z-index: 1;
}

.am-hero-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.am-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.75);
  color: #fbbf24;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.am-hero-title {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.hero-accent {
  color: #fbbf24;
}

.am-hero-subtext {
  font-size: 15px;
  color: #f1f5f9;
  line-height: 1.55;
  margin-bottom: 18px;
  font-weight: 500;
  max-width: 540px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Compact Hero Search Component */
.am-search-box {
  position: relative;
  max-width: 540px;
  margin-bottom: 10px;
  background: #ffffff;
  border-radius: 999px;
  padding: 5px 6px;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.am-search-icon {
  margin-left: 14px;
  color: #64748b;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.am-search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 9px 14px;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  outline: none;
  font-family: inherit;
  min-width: 0;
}

.am-search-input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.am-btn-search {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #0f172a;
  border: none;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.am-btn-search:hover {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  transform: translateY(-1px);
}

/* Compact GPS Button under Search */
.am-gps-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #fbbf24;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
  margin-bottom: 12px;
}

.am-gps-trigger:hover {
  background: rgba(15, 23, 42, 0.85);
  border-color: #fbbf24;
  transform: translateY(-1px);
}

.am-gps-trigger.loading {
  opacity: 0.8;
  cursor: wait;
}

/* Quick Hero Highlights */
.am-hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2px;
}

.am-hero-feat-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #cbd5e1;
  font-size: 12.5px;
  font-weight: 600;
}

.am-hero-feat-item svg {
  color: #10b981;
}

/* ==========================================================================
   TRUST STATS BAR
   ========================================================================== */
.am-stats-section {
  background: #ffffff;
  padding: 36px 0;
  border-bottom: 1px solid #e2e8f0;
}

.am-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.am-stat-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 20px;
}

.am-stat-card:not(:last-child) {
  border-right: 1px solid #e2e8f0;
}

.am-stat-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.am-stat-num {
  font-size: 28px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
  letter-spacing: -0.02em;
}

.am-stat-label {
  font-size: 13.5px;
  color: #64748b;
  font-weight: 600;
  margin-top: 5px;
  line-height: 1.3;
}

/* ==========================================================================
   DIRECTORY BAR & DRIVER CARDS
   ========================================================================== */
.am-directory-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.am-directory-title {
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: 900;
  color: #0f172a;
  margin: 0;
}

.am-directory-sub {
  font-size: 14px;
  color: #64748b;
  margin-top: 4px;
  font-weight: 500;
}

/* Plate Style Badge */
.vehicle-plate-badge {
  font-family: 'Courier New', monospace;
  font-weight: 800;
  background: #fbbf24;
  color: #0f172a;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1.5px solid #0f172a;
  font-size: 13px;
  letter-spacing: 0.05em;
  display: inline-block;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Floating Action Button (WhatsApp) */
.am-float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: transform 0.2s ease;
  text-decoration: none;
}

.am-float-wa:hover {
  transform: scale(1.1);
}

/* ==========================================================================
   RESPONSIVE DESIGN & MOBILE COMPACTNESS
   ========================================================================== */
@media (max-width: 1060px) {
  .am-nav-desktop {
    display: none;
  }
  
  .am-hamburger {
    display: flex;
  }
  
  .am-stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .am-stat-card:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 16px;
  }
}

@media (max-width: 640px) {
  .am-header-inner {
    height: 64px;
  }
  
  .am-hero {
    padding: 70px 0 60px 0;
  }
  
  .am-search-box {
    border-radius: 16px;
    flex-direction: column;
    padding: 8px;
    gap: 8px;
  }
  
  .am-search-icon {
    display: none;
  }
  
  .am-search-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
  }
  
  .am-btn-search {
    width: 100%;
    justify-content: center;
    padding: 12px;
  }
  
  .am-btn-driver {
    display: none; /* In header, visible in mobile drawer */
  }
  
  .am-stat-num {
    font-size: 24px;
  }
  
  .am-stat-card {
    padding: 8px 10px;
  }
  
  .am-float-wa {
    bottom: 18px;
    right: 18px;
    width: 50px;
    height: 50px;
  }
}

/* ==========================================================================
   14 DISTRICTS ILLUSTRATED GALLERY GRID
   ========================================================================== */
.am-district-illustrated-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  align-items: stretch;
}

.am-district-illustrated-card {
  display: block;
  text-decoration: none;
  background: #ffffff;
  border-radius: 18px;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  padding: 0;
  aspect-ratio: 135 / 136;
}

.am-district-illustrated-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  transition: transform 0.25s ease;
}

.am-district-illustrated-card:hover {
  transform: translateY(-5px);
  border-color: #fbbf24;
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.14), 0 0 0 1px #fbbf24;
}

.am-district-illustrated-card:hover img {
  transform: scale(1.03);
}

@media (max-width: 1100px) {
  .am-district-illustrated-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .am-district-illustrated-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}








