/* ==========================================================
   GOPURAM CARS MADURAI - MODERN RESPONSIVE WEB APPLICATION CSS
   ========================================================== */

:root {
  --primary: #C62828;
  --primary-dark: #9A0007;
  --primary-light: #FFEBEE;
  --primary-hover: #B71C1C;
  --secondary: #1E293B;
  --accent-gold: #F59E0B;
  --accent-green: #10B981;
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border-color: #E2E8F0;
  --border-light: #F1F5F9;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-hover: 0 12px 24px -4px rgba(198, 40, 40, 0.15), 0 6px 12px -2px rgba(0,0,0,0.05);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 68px;
  --bottom-nav-height: 64px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding-bottom: var(--bottom-nav-height);
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

/* App Header */
.app-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  font-size: 1.25rem;
  padding: 8px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

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

.menu-btn {
  display: flex;
}

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

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.3px;
  color: var(--primary);
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Desktop Nav */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 8px;
}

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

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

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

.nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

/* Header Buttons */
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-large {
  padding: 12px 24px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

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

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(198, 40, 40, 0.3);
}

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

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

.btn-whatsapp, .btn-whatsapp-header {
  background: #25D366;
  color: #ffffff;
}

.btn-whatsapp:hover, .btn-whatsapp-header:hover {
  background: #1EBE5D;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-call-header {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
}

.btn-call-header:hover {
  background: var(--primary);
  color: #ffffff;
}

@media (max-width: 600px) {
  .call-text, .wa-text {
    display: none;
  }
  .btn-call-header, .btn-whatsapp-header {
    padding: 10px;
    border-radius: var(--radius-full);
  }
}

/* Mobile Sidebar Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.app-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 290px;
  max-width: 85vw;
  background: #ffffff;
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 20px rgba(0,0,0,0.15);
}

.app-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  padding: 20px 16px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #FFF5F5, #ffffff);
}

.drawer-logo {
  height: 44px;
  width: auto;
}

.drawer-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary);
}

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

.drawer-close-btn {
  margin-left: auto;
}

.drawer-menu {
  flex: 1;
  overflow-y: auto;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.drawer-item i {
  font-size: 1.1rem;
  width: 20px;
  color: var(--text-muted);
}

.drawer-item:hover, .drawer-item.active {
  background: var(--primary-light);
  color: var(--primary);
}

.drawer-item:hover i, .drawer-item.active i {
  color: var(--primary);
}

.drawer-item .badge {
  margin-left: auto;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.drawer-divider {
  height: 1px;
  background: var(--border-color);
  margin: 16px 0;
}

.drawer-contact-block {
  padding: 8px 4px;
}

.contact-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 10px;
}

.drawer-contact-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.drawer-contact-btn.call {
  background: var(--primary-light);
  color: var(--primary);
}

.drawer-contact-btn.whatsapp {
  background: #E8F8F0;
  color: #128C7E;
}

/* App Main / Pages SPA */
.app-main {
  flex: 1;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.app-page {
  display: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  animation: fadeIn 0.3s ease;
}

.app-page.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Slider */
.hero-slider-wrap {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 16px auto 0;
  padding: 0 16px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 7;
  min-height: 180px;
  background: #E2E8F0;
}

@media (max-width: 600px) {
  .hero-slider {
    aspect-ratio: 16 / 9;
  }
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

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

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  z-index: 10;
}

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

.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--primary);
  width: 22px;
}

/* Home Quick Search */
.home-search-section {
  max-width: 800px;
  margin: -24px auto 20px;
  padding: 0 16px;
  position: relative;
  z-index: 20;
}

.search-box-card {
  background: #ffffff;
  border-radius: var(--radius-full);
  padding: 8px 12px 8px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border: 1px solid var(--border-color);
}

.search-box-card .search-icon {
  color: var(--primary);
  font-size: 1.15rem;
}

.search-box-card input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1rem;
  color: var(--text-main);
}

.search-box-card input::placeholder {
  color: var(--text-light);
}

/* General Section Styles */
.section {
  max-width: 1280px;
  margin: 36px auto;
  padding: 0 16px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--text-main);
  line-height: 1.2;
}

.section-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.see-all-link {
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  transition: var(--transition);
  white-space: nowrap;
}

.see-all-link:hover {
  gap: 9px;
  color: var(--primary-hover);
}

/* Category Grid (4 Body Types) */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

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

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

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

.category-card.suv {
  background: linear-gradient(135deg, #FF6F00, #E65100);
  color: #ffffff;
}

.category-card.sedan {
  background: linear-gradient(135deg, #1E88E5, #1565C0);
  color: #ffffff;
}

.category-card.hatchback {
  background: linear-gradient(135deg, #00897B, #00695C);
  color: #ffffff;
}

.category-card.muv {
  background: linear-gradient(135deg, #7E57C2, #512DA8);
  color: #ffffff;
}

.cat-content h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1.1;
}

.cat-content p {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-top: 4px;
}

.cat-explore {
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.cat-img {
  position: absolute;
  right: -10px;
  bottom: -10px;
  height: 85px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
  transition: transform 0.3s ease;
}

.category-card:hover .cat-img {
  transform: scale(1.08) translateX(-4px);
}

/* Brands Scroll */
.brands-scroll-wrap {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scrollbar-width: thin;
}

.brands-scroll-wrap::-webkit-scrollbar {
  height: 6px;
}

.brands-scroll-wrap::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--radius-full);
}

.brand-item {
  flex: 0 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  min-width: 100px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.brand-item:hover, .brand-item.active {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.brand-item img {
  height: 38px;
  width: auto;
  max-width: 65px;
  object-fit: contain;
}

.brand-item span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: center;
  white-space: nowrap;
}

/* Cars Grid */
.cars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

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

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

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

/* Car Card */
.car-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: pointer;
}

.car-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #FCA5A5;
}

.card-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #F1F5F9;
  overflow: hidden;
}

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

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

.card-photo-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-body-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-main);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Specs Badges Row */
.card-specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.spec-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--border-light);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.spec-badge i {
  color: var(--primary);
  font-size: 0.82rem;
}

.card-price-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.card-price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-sm {
  padding: 8px 12px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-icon-round {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* View All CTA */
.view-all-cta-wrap {
  margin-top: 32px;
  text-align: center;
}

/* Trust Section */
.trust-section {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 20px;
  box-shadow: var(--shadow-sm);
}

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

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 28px;
}

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

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

.trust-card {
  text-align: center;
  padding: 16px;
}

.trust-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.trust-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.trust-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.cta-banner-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta-banner h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.cta-banner p {
  font-size: 1rem;
  opacity: 0.95;
  margin-bottom: 24px;
}

.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-white {
  background: #ffffff;
  color: var(--primary);
  font-weight: 700;
}

.btn-white:hover {
  background: #F8FAFC;
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  font-weight: 700;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ================= BUY CARS / INVENTORY PAGE ================= */
.inventory-container {
  max-width: 1280px;
  margin: 24px auto 40px;
  padding: 0 16px;
}

.inventory-header {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.inventory-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.page-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-main);
}

.page-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.mobile-only-btn {
  display: inline-flex;
}

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

.inventory-search-row {
  margin-bottom: 16px;
}

.inventory-search-box {
  background: var(--border-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.inventory-search-box i {
  color: var(--primary);
}

.inventory-search-box input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  color: var(--text-main);
  font-size: 0.95rem;
}

.clear-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
}

/* Filters Panel */
.filters-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

@media (max-width: 991px) {
  .filters-panel:not(.open) {
    display: none;
  }
}

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

@media (min-width: 992px) {
  .filters-panel {
    grid-template-columns: repeat(4, 1fr) auto;
    align-items: flex-end;
  }
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-select {
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  background: #ffffff;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

.filter-select:focus {
  border-color: var(--primary);
}

.btn-text {
  background: transparent;
  border: none;
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
  padding: 10px;
}

.btn-text:hover {
  text-decoration: underline;
}

.active-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-chip {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tag-chip i {
  cursor: pointer;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-color);
  margin-top: 24px;
}

.empty-icon {
  font-size: 3.5rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.empty-state h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Loading Spinner */
.loading-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
}

.spinner {
  width: 44px;
  height: 44px;
  border: 4px solid var(--primary-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ================= CAR DETAILS MODAL / VIEW (PIXEL PERFECT RESPONSIVE) ================= */
.details-container {
  max-width: 1200px;
  margin: 16px auto 40px;
  padding: 0 16px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .details-container {
    padding: 0 12px 100px; /* Space for floating bottom action bar */
    margin: 8px auto 16px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
}

.details-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding: 4px 0;
  width: 100%;
  box-sizing: border-box;
}

.btn-back {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

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

.details-top-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

/* Details Layout */
.details-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .details-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 24px;
    align-items: start;
  }
}

@media (min-width: 1080px) {
  .details-layout {
    grid-template-columns: minmax(0, 54%) minmax(0, 46%);
    gap: 32px;
  }
}

/* Gallery Column */
.details-gallery-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .details-gallery-wrap {
    position: sticky;
    top: calc(var(--header-height) + 16px);
  }
}

.gallery-main-view {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 11;
  background: #F1F5F9; /* Clean subtle backdrop like the mobile app */
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  touch-action: pan-y;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .gallery-main-view {
    aspect-ratio: 16 / 10;
    max-height: 250px;
    border-radius: var(--radius-md);
  }
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Fit car neatly inside container */
  cursor: pointer;
  transition: transform 0.25s ease;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  z-index: 10;
}

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

.gallery-arrow.prev { left: 10px; }
.gallery-arrow.next { right: 10px; }

@media (max-width: 600px) {
  .gallery-arrow {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
  .gallery-arrow.prev { left: 6px; }
  .gallery-arrow.next { right: 6px; }
}

.gallery-counter {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.gallery-fullscreen-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  z-index: 10;
}

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

.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 4px 2px 6px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.gallery-thumbs::-webkit-scrollbar {
  height: 4px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--radius-full);
}

.thumb-item {
  flex: 0 0 64px;
  height: 48px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: #E2E8F0;
  transition: var(--transition);
}

@media (max-width: 600px) {
  .thumb-item {
    flex: 0 0 54px;
    height: 40px;
  }
}

.thumb-item.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-light);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Details Info Column */
.details-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.car-title-block {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .car-title-block {
    padding: 16px;
    border-radius: var(--radius-md);
  }
}

.car-brand-model {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
}

.car-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.detail-price {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.5rem, 4.5vw, 2.1rem);
  font-weight: 800;
  color: var(--primary); /* Gopuram Cars Red */
  line-height: 1;
}

.detail-price-badge {
  background: #E8F8F0;
  color: #059669;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* Quick Specifications Grid (Overview - 3 Columns like the Mobile App) */
.specs-overview-section, .specs-table-section {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .specs-overview-section, .specs-table-section {
    padding: 14px 16px;
    border-radius: var(--radius-md);
  }
}

.block-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
}

/* Overview 3-Column Grid */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 cards per row, strictly bounded */
  gap: 8px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 600px) {
  .overview-grid {
    gap: 12px;
  }
}

.overview-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  min-width: 0;
  max-width: 100%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  transition: var(--transition);
  box-sizing: border-box;
  overflow: hidden;
}

.overview-item:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.overview-item i {
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.overview-item .val {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: block;
}

.overview-item .lbl {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Specifications Table (Clean neat table with left label, right value) */
.specs-table {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.specs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 4px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border-light);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.specs-row:last-child {
  border-bottom: none;
}

.specs-name {
  color: var(--text-muted);
  font-weight: 600;
  flex: 1;
  min-width: 0;
}

.specs-val {
  font-weight: 700;
  color: var(--text-main);
  text-align: right;
  flex-shrink: 0;
  max-width: 55%;
  word-break: break-word;
}

.specs-val.yes {
  color: #059669;
}

.specs-val.no {
  color: #DC2626;
}

/* Action Buttons (Desktop & Tablet) */
.details-cta-block {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.details-cta-block .btn {
  flex: 1;
}

.desktop-cta {
  display: none;
}

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

/* Mobile Floating Bottom Action Bar */
.mobile-sticky-cta {
  display: none;
}

@media (max-width: 991px) {
  /* On details view: hide default bottom nav bar so it never collides or clutters */
  body.viewing-car-details .mobile-bottom-nav {
    display: none !important;
  }
}

@media (max-width: 767px) {
  body.viewing-car-details .mobile-sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 12px 14px;
    padding-bottom: max(14px, env(safe-area-inset-bottom));
    gap: 10px;
    z-index: 999;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  }

  .mobile-sticky-cta .btn {
    flex: 1;
    font-size: 0.95rem;
    padding: 12px 10px;
    border-radius: var(--radius-md);
    font-weight: 700;
  }
}

/* ================= SELL CARS PAGE ================= */
.sell-container {
  max-width: 800px;
  margin: 24px auto 40px;
  padding: 0 16px;
}

.sell-hero {
  text-align: center;
  margin-bottom: 24px;
}

.sell-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.form-section-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
  margin: 20px 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-section-title:first-child {
  margin-top: 0;
}

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

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-group input, .form-group select, .form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #ffffff;
  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);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.form-submit-wrap {
  margin-top: 24px;
}

.btn-block {
  width: 100%;
}

.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
}

.form-status.success {
  background: #E8F8F0;
  color: #059669;
  border: 1px solid #A7F3D0;
}

.form-status.error {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
}

.sell-direct-wa {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ================= CONTACT PAGE ================= */
.contact-container {
  max-width: 1100px;
  margin: 24px auto 40px;
  padding: 0 16px;
}

.contact-header {
  text-align: center;
  margin-bottom: 28px;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

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

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

.contact-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.contact-card h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 12px;
}

.card-phone-highlight {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary);
}

.card-action-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.open-badge {
  background: #E8F8F0;
  color: #059669;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.open-badge i {
  font-size: 0.5rem;
}

.map-embed-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

/* ================= PRIVACY POLICY ================= */
.privacy-container {
  max-width: 800px;
  margin: 24px auto 40px;
  padding: 0 16px;
}

.last-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.privacy-content {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  line-height: 1.7;
}

.privacy-content h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-main);
  margin: 20px 0 8px;
}

.privacy-content h3:first-child {
  margin-top: 0;
}

.privacy-content p {
  color: #334155;
  margin-bottom: 12px;
}

.privacy-content ul {
  padding-left: 20px;
  color: #334155;
  margin-bottom: 16px;
}

/* ================= LIGHTBOX ================= */
.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.image-lightbox.active {
  display: flex;
}

.lightbox-img-wrap {
  width: 90vw;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: var(--primary);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-arrow:hover {
  background: var(--primary);
}

.lightbox-arrow.prev { left: 20px; }
.lightbox-arrow.next { right: 20px; }

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

/* ================= MOBILE BOTTOM NAVIGATION ================= */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-height);
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 90;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

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

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  flex: 1;
}

.bottom-nav-item i {
  font-size: 1.25rem;
}

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

.bottom-nav-item.active i {
  transform: translateY(-2px);
}

/* ================= FOOTER ================= */
.app-footer {
  background: #111827;
  color: #94A3B8;
  padding: 48px 16px 24px;
  border-top: 1px solid #1F2937;
  margin-top: 40px;
}

@media (max-width: 991px) {
  .app-footer {
    padding-bottom: calc(var(--bottom-nav-height) + 32px);
  }
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

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

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

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-logo {
  height: 48px;
  width: auto;
}

.footer-logo-row h3 {
  font-family: 'Outfit', sans-serif;
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
}

.footer-logo-row p {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: #94A3B8;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.contact-col p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.contact-col i {
  color: var(--primary);
  width: 16px;
}

.contact-col a {
  color: #ffffff;
  font-weight: 600;
}

.footer-bottom {
  max-width: 1280px;
  margin: 36px auto 0;
  padding-top: 24px;
  border-top: 1px solid #1F2937;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #94A3B8;
}

@media (max-width: 600px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

.powered-by-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.powered-by-wrap:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.powered-text {
  color: #94A3B8;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.seyali-link {
  display: inline-flex;
  align-items: center;
}

.seyali-logo {
  height: 15px; /* Sleek, refined, smaller Seyali logo */
  width: auto;
  max-width: 75px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
  transition: transform 0.2s ease;
  vertical-align: middle;
}

.seyali-link:hover .seyali-logo {
  transform: scale(1.05);
}

/* Drawer Powered By */
.drawer-powered-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 12px 18px;
  margin-top: 8px;
  border-top: 1px solid var(--border-color);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-muted);
}

.drawer-seyali-logo {
  height: 13px;
  width: auto;
  max-width: 65px;
  object-fit: contain;
  vertical-align: middle;
}
