@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  color: #0f172a;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  font-weight: 400;
  letter-spacing: -0.01em;
}

* {
  box-sizing: border-box;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

.ad-banner {
  margin: 2rem auto;
  max-width: 1000px;
  text-align: center;
  background: rgba(15, 23, 42, 0.04);
  border: 1px dashed rgba(148, 163, 184, 0.6);
  border-radius: 16px;
  padding: 1.5rem;
}

.ad-banner ins {
  display: block !important;
  margin: 0 auto;
}

.ad-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.membership-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

.membership-status-badge.active {
  background: rgba(22, 163, 74, 0.15);
  color: #15803d;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.info-card {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.2);
  backdrop-filter: blur(6px);
}

.info-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  color: #0f172a;
}

.info-card p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

.numbered-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.numbered-list li {
  counter-increment: step-counter;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 16px;
  padding: 1.2rem 1.4rem 1.2rem 3.5rem;
  position: relative;
  color: #334155;
  line-height: 1.6;
}

.numbered-list li::before {
  content: counter(step-counter);
  position: absolute;
  top: 1rem;
  left: 1.2rem;
  height: 2rem;
  width: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.25);
}

@media (max-width: 768px) {
  .ad-banner {
    margin: 1.5rem auto;
    padding: 1rem;
    border-radius: 12px;
  }
}

/* Header */
header {
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.98) 0%,
    rgba(30, 41, 59, 0.95) 100%
  );
  backdrop-filter: blur(25px);
  color: white;
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.3);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  position: relative;
  width: 100%;
}

.logo {
  display: flex !important;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.logo img {
  height: 60px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
}

.header-actions {
  display: flex !important;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Desktop Navigation - Above 768px */
@media (min-width: 769px) {
  .logo {
    display: flex !important;
  }
  
  .header-actions {
    display: flex !important;
  }
  
  .mobile-menu-btn {
    display: none !important;
  }
  
  nav ul {
    display: flex !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: 0.8rem 1.5rem !important;
    background: rgba(255, 255, 255, 0.05) !important;
    flex-direction: row !important;
  }
}

.cta-header-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.cta-header-btn.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.4);
  box-shadow: none;
}

.cta-header-btn.secondary:hover {
  background: rgba(251, 191, 36, 0.18);
  color: #fff7ed;
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.25);
}

.cta-header-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.cta-header-btn:hover::before {
  left: 100%;
}

.cta-header-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

nav {
  position: relative;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 0.8rem 1.2rem;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

nav a::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #10b981);
  transition: width 0.3s ease;
  border-radius: 2px;
}

nav a:hover::before {
  width: 100%;
}

.nav-icon {
  font-size: 1.1rem;
  opacity: 1;
}

.nav-text {
  font-size: 0.9rem;
  font-weight: 600;
}

.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Hero Section */
.hero {
  background: linear-gradient(
    135deg,
    #0f172a 0%,
    #1e293b 30%,
    #334155 70%,
    #475569 100%
  );
  color: white;
  padding: 10rem 0 12rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(59, 130, 246, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(139, 92, 246, 0.1) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 40% 70%,
      rgba(16, 185, 129, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(245, 158, 11, 0.06) 0%,
      transparent 40%
    );
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.4;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(10px, 10px);
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  animation: heroFadeIn 1.2s ease-out;
}

@keyframes heroFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: 5.5rem;
  margin-bottom: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #e2e8f0 30%,
    #cbd5e1 70%,
    #94a3b8 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
  animation: titleGlow 3s ease-in-out infinite alternate;
  position: relative;
}

@keyframes titleGlow {
  0% {
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
  }
  100% {
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.2));
  }
}

.hero h1::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.03),
    transparent
  );
  border-radius: 20px;
  animation: titleShimmer 4s ease-in-out infinite;
  z-index: -1;
}

@keyframes titleShimmer {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 4rem;
  opacity: 0.9;
  font-weight: 400;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.01em;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: subtitleSlide 1.2s ease-out 0.3s both;
}

@keyframes subtitleSlide {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 0.9;
    transform: translateY(0);
  }
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.floating-car {
  position: absolute;
  font-size: 3rem;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.floating-car:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-car:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.floating-car:nth-child(3) {
  top: 40%;
  left: 80%;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

.search-bar {
  max-width: 700px;
  margin: 0 auto 3rem;
  display: flex;
  gap: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 8px;
  border-radius: 60px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15),
    0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-bar input {
  flex: 1;
  border: none;
  padding: 1.2rem 2rem;
  border-radius: 50px;
  font-size: 1.05rem;
  outline: none;
  color: #0f172a;
  background: transparent;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.search-bar input::placeholder {
  color: #64748b;
  font-weight: 400;
}

.search-btn {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  border: none;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.3);
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.4);
}

/* Advanced Search Filters */
.search-filters {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 250, 252, 0.9) 100%
  );
  backdrop-filter: blur(25px);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12),
    0 8px 25px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
  animation: filtersSlideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: top;
}

@keyframes filtersSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.search-filters::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    #0f172a 0%,
    #3b82f6 50%,
    #10b981 100%
  );
  z-index: 1;
}

.search-filters::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 80% 20%,
    rgba(59, 130, 246, 0.03) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.filters-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.filters-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.filters-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2);
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  align-items: end;
  position: relative;
  z-index: 2;
}

.filter-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.filter-group label {
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.01em;
}

.filter-icon {
  font-size: 1rem;
  opacity: 0.7;
}

.filter-group select {
  padding: 1rem 1.2rem;
  border: 2px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  color: #0f172a;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  appearance: none;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23475569" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6,9 12,15 18,9"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 3rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.filter-group select:hover {
  border-color: rgba(15, 23, 42, 0.15);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.08);
}

.filter-group select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1),
    0 4px 15px rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
}

.filter-group select:focus + .filter-highlight {
  opacity: 1;
  transform: scale(1);
}

.filter-highlight {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #10b981);
  border-radius: 1px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.clear-filters-btn {
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.08) 0%,
    rgba(15, 23, 42, 0.12) 100%
  );
  color: #0f172a;
  border: 2px solid rgba(15, 23, 42, 0.15);
  padding: 1rem 2rem;
  border-radius: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.clear-filters-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.clear-filters-btn:hover::before {
  left: 100%;
}

.clear-filters-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.15) 0%,
    rgba(15, 23, 42, 0.2) 100%
  );
  border-color: rgba(15, 23, 42, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.12);
}

.clear-filters-btn:active {
  transform: translateY(0);
}

.filter-toggle-btn {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 250, 252, 0.9) 100%
  );
  backdrop-filter: blur(25px);
  color: #0f172a;
  border: 2px solid rgba(15, 23, 42, 0.15);
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
  margin: 0 auto;
  animation: buttonPulse 2s ease-in-out infinite;
}

@keyframes buttonPulse {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
  }
  50% {
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.15),
      0 0 0 4px rgba(59, 130, 246, 0.1);
  }
}

.filter-toggle-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(15, 23, 42, 0.05),
    transparent
  );
  transition: left 0.6s ease;
}

.filter-toggle-btn:hover::before {
  left: 100%;
}

.filter-toggle-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(248, 250, 252, 0.95) 100%
  );
  border-color: rgba(15, 23, 42, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12);
}

.filter-toggle-btn.active {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
  animation: none;
}

.filter-toggle-btn.active:hover {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.filter-results-summary {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  color: #1e40af;
  font-weight: 500;
  font-size: 0.9rem;
  display: none;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
}

.filter-results-summary.active {
  display: flex;
}

/* Main Content */
main {
  padding: 6rem 0;
}

.section {
  margin-bottom: 8rem;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* Directory Grid */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.detailer-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(25px);
  border-radius: 28px;
  padding: 0;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12),
    0 6px 20px rgba(15, 23, 42, 0.06);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.detailer-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(
    90deg,
    #0f172a 0%,
    #1e293b 50%,
    #334155 100%
  );
  z-index: 1;
}

.detailer-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 80% 20%,
    rgba(15, 23, 42, 0.02) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.detailer-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.18),
    0 12px 40px rgba(15, 23, 42, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.card-content {
  padding: 2.5rem;
  position: relative;
  z-index: 2;
}

.detailer-header {
  display: flex;
  align-items: flex-start;
  gap: 1.8rem;
  margin-bottom: 2rem;
  position: relative;
}

.detailer-avatar {
  width: 90px;
  height: 90px;
  background: linear-gradient(
    135deg,
    #0f172a 0%,
    #1e293b 50%,
    #334155 100%
  );
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: bold;
  color: white;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.25),
    0 6px 16px rgba(15, 23, 42, 0.15);
  position: relative;
  flex-shrink: 0;
}

.detailer-avatar::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.05)
  );
  border-radius: 26px;
  z-index: -1;
}

.detailer-info {
  flex: 1;
  min-width: 0;
}

.detailer-info h3 {
  margin: 0 0 0.8rem 0;
  font-size: 1.6rem;
  color: #0f172a;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.detailer-info .location {
  color: #64748b;
  font-size: 1.05rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.verification-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.insured-badge {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.certified-badge {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  z-index: 10;
}

.premium-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
  z-index: 10;
}

.rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.8rem 0;
  padding: 1.2rem;
  background: rgba(248, 250, 252, 0.8);
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.rating-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stars {
  color: #f59e0b;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.rating-score {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.rating-count {
  color: #64748b;
  font-weight: 500;
  font-size: 0.9rem;
}

.experience-badge {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 2rem 0;
}

.service-tag {
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
  padding: 0.7rem 1.3rem;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-tag::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(15, 23, 42, 0.05),
    transparent
  );
  transition: left 0.5s ease;
}

.service-tag:hover::before {
  left: 100%;
}

.service-tag:hover {
  background: rgba(15, 23, 42, 0.1);
  border-color: rgba(15, 23, 42, 0.15);
  transform: translateY(-1px);
}

.detailer-description {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.card-footer {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.contact-btn {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  border: none;
  padding: 1.3rem 2.2rem;
  border-radius: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex: 1;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25);
  position: relative;
  overflow: hidden;
}

.contact-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.contact-btn:hover::before {
  left: 100%;
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.35);
}

.quote-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  padding: 1.3rem 2.2rem;
  border-radius: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.25);
  position: relative;
  overflow: hidden;
}

.quote-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.35);
}

.quick-info-btn {
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.15);
  padding: 1.3rem;
  border-radius: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
}

.quick-info-btn:hover {
  background: rgba(15, 23, 42, 0.12);
  border-color: rgba(15, 23, 42, 0.25);
  transform: translateY(-2px);
}

/* Customer Reviews Section */
.reviews-section {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  padding: 6rem 0;
  border-radius: 32px;
  margin: 6rem 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.review-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
}

.review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.review-header > div:first-child {
  flex: 1;
}

.reviewer-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2);
  flex-shrink: 0;
}

.reviewer-info h4 {
  margin: 0 0 0.3rem 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.review-date {
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 500;
}

.review-rating {
  color: #f59e0b;
  font-size: 1.2rem;
  letter-spacing: 2px;
  flex-shrink: 0;
  text-shadow: 0 2px 4px rgba(245, 158, 11, 0.2);
}

.review-text {
  color: #475569;
  line-height: 1.7;
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
  font-weight: 400;
  font-style: italic;
  position: relative;
}

.review-text::before {
  content: '"';
  position: absolute;
  left: -0.5rem;
  top: -0.2rem;
  font-size: 3rem;
  color: #e2e8f0;
  font-family: serif;
  line-height: 1;
}

.review-service {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  padding: 0.7rem 1.3rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

/* Quote Request Modal */
.quote-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: pointer;
  animation: modalFadeIn 0.3s ease-out;
}

.quote-content {
  background: white;
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  max-height: 90%;
  overflow-y: auto;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  cursor: default;
  animation: modalContentSlideUp 0.3s ease-out;
}

.quote-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.quote-header h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.8rem;
  font-weight: 700;
}

.quote-form {
  padding: 2rem;
}

.quote-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.quote-form-group {
  display: flex;
  flex-direction: column;
}

.quote-form-group.full-width {
  grid-column: 1 / -1;
}

.quote-form-group label {
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.quote-form-group input,
.quote-form-group select,
.quote-form-group textarea {
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.quote-form-group input:focus,
.quote-form-group select:focus,
.quote-form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.service-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-item input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.quote-submit-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  padding: 1.5rem 3rem;
  border-radius: 16px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.quote-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
}

/* Educational Content Hub */
.education-hub {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  padding: 6rem 0;
  border-radius: 32px;
  margin: 6rem 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.education-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.education-category {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.education-category:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

.education-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: white;
}

.education-category h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

.education-category p {
  color: #475569;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.education-btn {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.education-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.3);
}

.video-tutorials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.video-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
  transition: all 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 45px rgba(15, 23, 42, 0.12);
}

.video-thumbnail {
  height: 200px;
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  position: relative;
  cursor: pointer;
}

.play-button {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.play-button:hover {
  transform: scale(1.1);
  background: white;
}

.video-info {
  padding: 1.5rem;
}

.video-info h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
}

.video-duration {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.video-description {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Ad Spaces */
.ad-space {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  border: 2px dashed rgba(15, 23, 42, 0.2);
  padding: 3rem;
  text-align: center;
  margin: 4rem 0;
  border-radius: 20px;
  color: #64748b;
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.ad-banner {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-sidebar {
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.blog-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08),
    0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15),
    0 8px 32px rgba(15, 23, 42, 0.08);
}

.blog-image {
  height: 240px;
  background: linear-gradient(
    135deg,
    #0f172a 0%,
    #1e293b 50%,
    #334155 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.blog-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(226, 232, 240, 0.1) 0%,
    transparent 70%
  );
}

.blog-content {
  padding: 2.5rem;
}

.blog-content h3 {
  margin: 0 0 1.5rem 0;
  color: #0f172a;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.blog-content p {
  color: #475569;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
}

.read-more {
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 1rem;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.read-more:hover {
  color: #334155;
  transform: translateX(4px);
}

/* Affiliate Section */
.affiliate-section {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  padding: 6rem 0;
  border-radius: 32px;
  margin: 6rem 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.affiliate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}

.affiliate-card {
  text-align: center;
  padding: 3rem 2rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 20px;
  transition: all 0.4s ease;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.affiliate-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  border-color: rgba(15, 23, 42, 0.2);
}

.affiliate-logo {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2.5rem;
  color: white;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.2);
}

.affiliate-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.affiliate-card p {
  color: #475569;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-weight: 400;
}

.product-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: #10b981;
  margin-bottom: 1rem;
  text-align: center;
}

.affiliate-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
  font-weight: 500;
}

.affiliate-btn {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2);
}

.affiliate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.3);
}

/* Footer */
footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  padding: 6rem 0 2rem;
  margin-top: 8rem;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(226, 232, 240, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(203, 213, 225, 0.03) 0%,
      transparent 50%
    );
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.footer-section h4 {
  color: #e2e8f0;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-section p {
  color: #94a3b8;
  line-height: 1.7;
  font-weight: 400;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: #f8fafc;
  transform: translateX(4px);
}

.footer-bottom {
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  position: relative;
  z-index: 2;
  font-weight: 500;
}

/* Business CTA Banner */
.business-cta-banner {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  margin: 3rem 0;
  text-align: center;
  box-shadow: 0 20px 60px rgba(30, 64, 175, 0.3);
  position: relative;
  overflow: hidden;
}

.business-cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 1.2rem 2.5rem;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: -0.01em;
}

.cta-btn.primary {
  background: white;
  color: #1e40af;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.cta-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.cta-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: pointer;
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.modal-content {
  background: white;
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
  max-height: 90%;
  overflow-y: auto;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  cursor: default;
  animation: modalContentSlideUp 0.3s ease-out;
}

@keyframes modalContentSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.modal-header h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.8rem;
  font-weight: 700;
}

.close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: #64748b;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

/* Form Styles */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem 2rem 1rem 2rem;
}

#business-listing-form {
  padding: 0;
}

#business-listing-form .form-grid {
  padding: 2rem;
}

#business-listing-form .full-width {
  padding: 0 2rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Pricing Cards */
.listing-options {
  padding: 2rem;
  border-top: 1px solid #e2e8f0;
}

.listing-options h3 {
  text-align: center;
  margin-bottom: 2rem;
  color: #0f172a;
  font-size: 1.5rem;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.pricing-card {
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  background: white;
}

.pricing-card.featured {
  border-color: #3b82f6;
  transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.2);
}

.pricing-card.selected {
  border-color: #10b981;
  background: #f0fdf4;
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #3b82f6;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-card h4 {
  margin: 0 0 1rem 0;
  color: #0f172a;
  font-size: 1.3rem;
}

.pricing-card .pricing-subtitle {
  margin: -0.25rem 0 1.25rem 0;
  color: #64748b;
  font-size: 0.95rem;
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 1.5rem;
}

.pricing-card .price span {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #64748b;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  text-align: left;
}

.pricing-card li {
  padding: 0.5rem 0;
  color: #475569;
  font-size: 0.95rem;
}

.pricing-card button {
  width: 100%;
  padding: 1rem;
  border: 2px solid #3b82f6;
  background: white;
  color: #3b82f6;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pricing-card button:hover,
.pricing-card.selected button {
  background: #3b82f6;
  color: white;
}

/* Form Actions */
.form-actions {
  padding: 2rem;
  text-align: center;
  border-top: 1px solid #e2e8f0;
}

.submit-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  padding: 1.5rem 3rem;
  border-radius: 16px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-loading {
  display: none;
}

.trial-note {
  margin-top: 1rem;
  color: #64748b;
  font-size: 0.9rem;
}

/* Directory Stats */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.directory-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  color: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.08);
}

/* Featured Badge */
.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #78350f;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.featured-card {
  position: relative;
  border: 2px solid #fbbf24;
  box-shadow: 0 8px 30px rgba(251, 191, 36, 0.15);
}

.featured-card:hover {
  box-shadow: 0 12px 40px rgba(251, 191, 36, 0.25);
  transform: translateY(-4px);
}

/* Section Divider */
.section-divider {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 4rem 0;
  text-align: center;
}

.divider-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #e2e8f0 50%,
    transparent 100%
  );
}

.divider-content {
  flex-shrink: 0;
}

.divider-content h3 {
  font-size: 1.5rem;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
  font-weight: 700;
}

.divider-content p {
  color: #64748b;
  margin: 0;
  font-size: 0.95rem;
}

/* No Results Message */
.no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.no-results-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.no-results h3 {
  font-size: 1.5rem;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.no-results p {
  color: #64748b;
  margin-bottom: 2rem;
}

/* Active nav link */
nav a.active {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

/* View All Button */
.view-all-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.view-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

/* Category Filter Buttons */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.category-filter-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #e2e8f0;
  color: #0f172a;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-filter-btn:hover {
  background: white;
  border-color: #3b82f6;
  color: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.category-filter-btn.active {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border-color: #3b82f6;
  color: white;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.guide-category {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* Video Cards */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.video-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  background: #0f172a;
}

.video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.video-card:hover .video-play-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.play-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #3b82f6;
  transition: all 0.3s ease;
}

.video-card:hover .play-icon {
  transform: scale(1.1);
  background: white;
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
}

.video-content {
  padding: 1.5rem;
}

.video-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.video-content p {
  color: #64748b;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Video Modal */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 2rem;
  animation: fadeIn 0.3s ease;
}

.video-modal-content {
  background: #0f172a;
  border-radius: 16px;
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  animation: slideUp 0.3s ease;
}

.video-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.video-modal-header h3 {
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.video-modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.video-player {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  background: black;
}

.video-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Mobile adjustments for videos */
@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .video-modal {
    padding: 0;
  }
  
  .video-modal-content {
    border-radius: 0;
    max-width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  .video-player {
    flex: 1;
    padding-top: 0;
    height: 100%;
  }
  
  .play-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* Contact Form Section */
#contact {
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.98) 0%,
    rgba(30, 41, 59, 0.95) 100%
  );
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 20% 50%,
    rgba(59, 130, 246, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
}

#contact .section-title {
  color: white;
  text-align: center;
  margin-bottom: 1rem;
}

#contact p {
  color: #94a3b8;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

.contact-form-container {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(25px);
  border-radius: 24px;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.contact-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.875rem 1rem;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #64748b;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #3b82f6;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
}

.form-field select option {
  background: #1e293b;
  color: white;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.contact-form button[type="submit"] {
  width: 100%;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
  margin-top: 1rem;
}

.contact-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.contact-form button[type="submit"]:active {
  transform: translateY(0);
}

.contact-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.contact-info {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.contact-info strong {
  color: #e2e8f0;
}

.contact-info p {
  color: #94a3b8;
  margin-bottom: 1rem;
}

.contact-info a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-info a:hover {
  color: #60a5fa;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: 6rem 0 8rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
  }

  .search-bar {
    flex-direction: column;
    border-radius: 12px;
  }

  .search-bar input,
  .search-btn {
    border-radius: 8px;
  }

  .search-filters {
    padding: 1.5rem;
  }

  .filter-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .header-content {
    gap: 1rem;
  }

  .logo img {
    height: 45px;
    max-width: 180px;
  }

  nav ul {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .cta-header-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }

  .floating-car {
    font-size: 2rem;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .education-categories {
    grid-template-columns: 1fr;
  }

  .video-tutorials {
    grid-template-columns: 1fr;
  }

  .logo-text {
    font-size: 1.8rem;
  }

  .directory-stats {
    flex-direction: column;
    gap: 0.5rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .container {
    padding: 0 1rem;
  }

  .card-footer {
    flex-direction: column;
    gap: 0.5rem;
  }

  .contact-btn,
  .quote-btn {
    width: 100%;
  }
}

/* ========================================
   COMPREHENSIVE MOBILE OPTIMIZATION
   ======================================== */

/* Phase 1: Touch-Friendly Design */
@media (max-width: 768px) {
  /* Minimum touch target sizes (44x44px Apple HIG standard) */
  button,
  .contact-btn,
  .quote-btn,
  .quick-info-btn,
  .cta-button,
  .list-business-btn,
  .hamburger-menu,
  .filter-toggle-btn,
  .apply-filters-btn,
  .clear-filters-btn,
  input[type="submit"],
  input[type="button"],
  a.cta-button {
    min-height: 44px;
    min-width: 44px;
    padding: 12px 20px;
    font-size: 16px;
  }

  /* Form inputs - 48px for easier tapping */
  select,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  input[type="number"],
  textarea {
    min-height: 48px;
    font-size: 16px !important; /* Prevents zoom on iOS */
    line-height: 1.5;
    padding: 14px 16px;
  }

  /* Touch spacing between elements */
  .card-footer {
    gap: 12px;
  }

  .checkbox-group label {
    min-height: 44px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .checkbox-group input[type="checkbox"] {
    min-width: 24px;
    min-height: 24px;
  }

  /* Close buttons */
  .close-button {
    min-width: 44px;
    min-height: 44px;
    font-size: 32px;
    line-height: 1;
    padding: 0;
  }
}

/* Phase 2: Mobile-Optimized Forms */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
    padding: 1.5rem !important;
  }

  #business-listing-form .full-width {
    padding: 0 1.5rem;
  }

  .listing-options {
    padding: 1.5rem;
  }

  /* Better visual feedback on focus */
  input:focus,
  select:focus,
  textarea:focus {
    outline: 3px solid #3b82f6;
    outline-offset: 2px;
    border-color: #3b82f6;
  }

  /* Larger textarea for better typing */
  textarea {
    min-height: 120px;
  }

  /* Better select styling */
  select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
  }
}

/* Phase 3: Full-Screen Modals on Mobile */
@media (max-width: 768px) {
  .modal,
  .quote-modal {
    padding: 0;
  }

  .modal-content,
  .quote-content {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    margin: 0;
    border-radius: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Smooth iOS scrolling */
  }

  /* Sticky modal header */
  .modal-content h2,
  .quote-content h2 {
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    padding: 20px;
    margin: 0;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .modal-subtitle {
    padding: 0 20px 20px;
    margin: 0;
  }

  .modal form,
  .quote-content form {
    padding: 20px;
  }
}

/* Phase 4: Mobile-First Typography */
@media (max-width: 768px) {
  html {
    font-size: 16px;
  }

  h1 {
    font-size: 2rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  h2 {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  h3 {
    font-size: 1.5rem;
    line-height: 1.4;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .hero-title {
    font-size: 2rem !important;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
  }

  p {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* Readable line lengths */
  p,
  .review-text,
  .detailer-description {
    max-width: 100%;
  }
}

/* Phase 5: Better Mobile Navigation */
@media (max-width: 768px) {
  /* Slide-in menu from right */
  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(25px);
    padding: 80px 2rem 2rem;
    transition: right 0.3s ease-out;
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    flex-direction: column;
  }

  nav ul.open {
    right: 0;
  }

  nav ul li {
    margin-bottom: 1.5rem;
  }

  nav ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    font-size: 18px;
    min-height: 44px;
    border-radius: 8px;
    transition: background 0.2s;
  }

  nav ul li a:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  /* Hamburger menu button */
  .hamburger-menu {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    font-size: 24px;
  }

  /* Menu overlay */
  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .menu-overlay.open {
    display: block;
  }

  /* Header stays sticky */
  header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    background: rgba(15, 23, 42, 0.95);
  }
}

/* Phase 6: Performance Optimization */
@media (max-width: 768px) {
  /* Hide decorative elements on mobile */
  .hero-emojis .car-emoji,
  .hero-emojis .sparkle-emoji,
  .hero-emojis .sponge-emoji {
    display: none;
  }

  /* Reduce animation intensity */
  *,
  *::before,
  *::after {
    animation-duration: 0.3s !important;
    transition-duration: 0.2s !important;
  }

  /* Images */
  img {
    max-width: 100%;
    height: auto;
  }
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Phase 7: Card & Grid Optimizations */
@media (max-width: 768px) {
  .directory-grid,
  .blog-grid,
  .product-grid,
  .video-tutorials-grid,
  .learning-categories {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .detailer-card,
  .blog-card,
  .product-card,
  .video-card,
  .category-card {
    margin: 0;
    border-radius: 12px;
  }

  .card-content {
    padding: 20px;
  }

  /* Horizontal scrolling for service tags */
  .services {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: flex;
    gap: 8px;
    padding-bottom: 8px;
  }

  .services::-webkit-scrollbar {
    display: none;
  }

  .service-tag {
    flex-shrink: 0;
    white-space: nowrap;
  }

  /* Pricing cards stack vertically */
  .pricing-cards {
    flex-direction: column;
    gap: 16px;
  }

  .pricing-card {
    width: 100%;
    max-width: 100%;
  }
}

/* Phase 8: Loading States & Feedback */
@media (max-width: 768px) {
  .btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .btn-loading::before {
    content: "";
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
  }

  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
}

/* Skeleton screens for loading */
.skeleton {
  background: linear-gradient(
    90deg,
    #f0f0f0 25%,
    #e0e0e0 50%,
    #f0f0f0 75%
  );
  background-size: 200% 100%;
  animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Phase 9: Accessibility */
@media (max-width: 768px) {
  /* Better focus indicators */
  *:focus-visible {
    outline: 3px solid #3b82f6;
    outline-offset: 2px;
  }

  *:focus:not(:focus-visible) {
    outline: none;
  }
}

/* Phase 10: Touch Gestures */
body {
  overscroll-behavior-y: contain; /* Prevents bounce effect */
}

/* Phase 11: Advanced Mobile Fixes */
@media (max-width: 768px) {
  /* Better filter panel */
  .search-filters {
    border-radius: 12px;
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
  }

  .filter-group {
    margin-bottom: 16px;
  }

  .filter-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-direction: column;
  }

  .filter-actions button {
    width: 100%;
  }

  /* Business CTA Banner */
  .business-cta-banner {
    padding: 2rem 0;
  }

  .cta-content {
    text-align: center;
  }

  .cta-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .cta-buttons button {
    width: 100%;
  }

  /* Directory stats */
  .directory-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 2rem;
  }

  .stat-card {
    width: 100%;
    text-align: center;
    padding: 1rem;
  }

  /* Ad spaces */
  .ad-space {
    padding: 1rem;
    margin: 1rem 0;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-section {
    width: 100%;
  }

  /* Contact form */
  #contact {
    padding: 3rem 0;
  }

  .contact-form-container {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }

  .contact-form .form-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    padding: 0.75rem 1rem;
  }

  .contact-form button[type="submit"] {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .contact-info {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
}

/* Extra small devices */
@media (max-width: 400px) {
  .hero-title {
    font-size: 1.75rem !important;
  }

  .section-title {
    font-size: 1.5rem;
  }

  button,
  .cta-button {
    font-size: 14px;
    padding: 10px 16px;
  }
}

/* Landscape mobile */
@media (max-width: 896px) and (orientation: landscape) {
  .modal-content,
  .quote-content {
    height: auto;
    max-height: 100vh;
  }

  .hero-section {
    padding: 4rem 0;
  }
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
  .directory-grid,
  .blog-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .container {
    padding: 0 2rem;
  }
}

@view-transition {
  navigation: auto;
}
