/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* iOS-specific fixes */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  /* Prevent iOS Safari from zooming on input focus */
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  /* Prevent iOS Safari address bar from affecting viewport */
  min-height: 100vh;
  min-height: 100dvh;
  min-height: calc(var(--vh, 1vh) * 100);
}

/* Remove iOS touch delay */
.nav-toggle,
.btn,
.nav-link,
a {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Improve touch targets for iOS */
.nav-toggle {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Car Details Header - Minimal */
.car-header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 0;
}

.car-header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.car-title-section h1 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.car-subtitle {
  color: rgba(224, 218, 203, 0.8);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 500px;
}

.car-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.car-actions .btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

:root {
  --bg-primary: #1e1e1f;
  --bg-secondary: #e0dacb;
  --text-primary: #e0dacb;
  --text-secondary: #1e1e1f;
  --accent-primary: #9d6c46;
  --accent-secondary: #e0dacb;
  --border-color: rgba(224, 218, 203, 0.1);
  --border-accent: rgba(157, 108, 70, 0.2);
  --vh: 1vh; /* iOS Safari viewport height fix */
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

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

/* Navigation */
.navbar {
  background: rgba(30, 30, 31, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(157, 108, 70, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
  background: rgba(30, 30, 31, 0.92);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(157, 108, 70, 0.3);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: bold;
  font-family: "Syne", sans-serif;
  font-optical-sizing: auto;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 0.5rem;
}

.nav-brand:hover {
  transform: scale(1.05);
  background: rgba(157, 108, 70, 0.1);
}

.nav-brand img {
  transition: transform 0.3s ease;
}

.nav-brand:hover img {
  transform: scale(1.1);
}

.nav-brand i {
  color: var(--accent-primary);
  font-size: 2rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  font-size: 0.95rem;
}

.nav-link i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.nav-link span {
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-primary);
  background: rgba(157, 108, 70, 0.1);
  transform: translateY(-1px);
}

.nav-link:hover i {
  transform: scale(1.1);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

.nav-link.active {
  color: var(--accent-primary);
  background: rgba(157, 108, 70, 0.1);
}

.nav-link.active::after {
  width: 80%;
}

.nav-menu .btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(157, 108, 70, 0.3);
  position: relative;
  overflow: hidden;
}

.nav-menu .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.5s ease;
}

.nav-menu .btn:hover::before {
  left: 100%;
}

.nav-menu .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(157, 108, 70, 0.4);
}

.nav-menu .btn i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.nav-menu .btn:hover i {
  transform: scale(1.1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.nav-toggle:hover {
  background: rgba(157, 108, 70, 0.1);
  transform: scale(1.1);
}

.nav-toggle i {
  transition: transform 0.3s ease;
}

.nav-toggle:hover i {
  transform: rotate(90deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: var(--text-primary);
}

.btn-primary:hover {
  background-color: rgba(157, 108, 70, 0.9);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(224, 218, 203, 0.3);
}

.btn-secondary:hover {
  background-color: rgba(224, 218, 203, 0.1);
}

/* Badge */
.badge {
  display: inline-block;
  background-color: rgba(157, 108, 70, 0.2);
  color: var(--accent-primary);
  border: 1px solid rgba(157, 108, 70, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Hero Section */
.hero {
  padding: 10rem 0 8rem;
  position: relative;
  overflow: hidden;
  min-height: 50vh;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e1e1f 0%, #2a2a2b 50%, #1e1e1f 100%);
  z-index: -2;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://www.shutterstock.com/image-photo/adult-man-customer-male-buyer-600nw-2472557887.jpg') center center no-repeat;
  background-size: cover;
  opacity: 0.3;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 30, 31, 0.95) 0%, rgba(30, 30, 31, 0.85) 100%);
  z-index: 0;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(157, 108, 70, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(224, 218, 203, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(157, 108, 70, 0.08) 0%, transparent 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(157, 108, 70, 0.2) 0%, rgba(157, 108, 70, 0.1) 100%);
  color: var(--accent-primary);
  border: 1px solid rgba(157, 108, 70, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge i {
  font-size: 0.8rem;
  color: var(--accent-primary);
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: var(--text-primary);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title .title-line {
  display: block;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.3rem;
  color: rgba(224, 218, 203, 0.9);
  margin-bottom: 3rem;
  line-height: 1.7;
  max-width: 700px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 4rem;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-buttons .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.hero-stats {
  display: flex;
  gap: 4rem;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-stats .stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(157, 108, 70, 0.1);
  border: 1px solid rgba(157, 108, 70, 0.2);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.hero-stats .stat-item:hover {
  transform: translateY(-5px);
  background: rgba(157, 108, 70, 0.15);
  border-color: rgba(157, 108, 70, 0.3);
}

.hero-stats .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.hero-stats .stat-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(224, 218, 203, 0.8);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Modern Compact Button */
.btn-modern {
  padding: 0.875rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 0.5rem;
  background: var(--accent-primary);
  border: 2px solid transparent;
  box-shadow: 0 4px 12px rgba(157, 108, 70, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(157, 108, 70, 0.35);
  background: #b87a5a;
}

.btn-modern:active {
  transform: translateY(0);
}

.btn-modern i {
  font-size: 1rem;
  margin-right: 0.5rem;
  transition: transform 0.3s ease;
}

.btn-modern:hover i {
  transform: translateX(2px);
}

.btn-modern span {
  font-weight: 600;
  letter-spacing: 0.3px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-image:hover .hero-image-overlay {
  opacity: 1;
}

.play-button {
  width: 4rem;
  height: 4rem;
  background: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-button:hover {
  background: var(--accent-secondary);
  color: var(--text-secondary);
  transform: scale(1.1);
}

.play-button i {
  font-size: 1.5rem;
  color: white;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  justify-content: center;
}

.hero-stats .stat {
  text-align: center;
  min-width: 120px;
}

.hero-stats .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.hero-stats .stat-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(224, 218, 203, 0.7);
  font-weight: 500;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeInUp 0.8s ease-out 1s both;
}

.scroll-arrow {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(157, 108, 70, 0.15);
  border: 2px solid rgba(157, 108, 70, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.scroll-arrow:hover {
  background: rgba(157, 108, 70, 0.25);
  border-color: rgba(157, 108, 70, 0.5);
  transform: translateY(-3px) scale(1.05);
}

.scroll-arrow i {
  color: var(--accent-primary);
  font-size: 1.3rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

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

/* Sections */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: rgba(224, 218, 203, 0.7);
  max-width: 600px;
  margin: 0 auto;
}

.section-footer {
  text-align: center;
  margin-top: 3rem;
}

/* Process Section */
.process-section {
  padding: 4rem 0;
  background-color: var(--bg-primary);
}

.process-content {
  margin-top: 3rem;
}

.process-blocks {
  position: relative;
}

.process-blocks::before {
  content: '';
  position: absolute;
  left: 50px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-primary) 0%, rgba(157, 108, 70, 0.3) 100%);
  z-index: 1;
}

.process-blocks {
  position: relative;
}

.process-block {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-step {
  position: relative;
  flex-shrink: 0;
  width: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-primary) 0%, rgba(157, 108, 70, 0.8) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.25rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(157, 108, 70, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.step-number::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  background: linear-gradient(135deg, var(--accent-primary) 0%, rgba(157, 108, 70, 0.4) 100%);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.3;
  transition: all 0.3s ease;
}

.step-number:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(157, 108, 70, 0.4);
}

.step-number:hover::before {
  opacity: 0.5;
  transform: scale(1.1);
}

.process-blocks {
  flex: 1;
}

.process-block {
  margin-bottom: 3rem;
}

.block-category {
  color: var(--accent-primary);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.block-content h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.block-content p {
  color: rgba(224, 218, 203, 0.8);
  line-height: 1.6;
  font-size: 1rem;
}

.process-divider {
  height: 1px;
  background-color: rgba(224, 218, 203, 0.1);
  margin: 2rem 0;
}

/* Features Marquee Section */
.features-marquee {
  padding: 2rem 0;
  background-color: var(--bg-secondary);
  overflow: hidden;
  position: relative;
}

.features-marquee::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: radial-gradient(circle at center right, rgba(157, 108, 70, 0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.marquee-container {
  position: relative;
  z-index: 2;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 1rem;
}

.marquee-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.marquee-icon svg {
  width: 100%;
  height: 100%;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Features Section */
.features {
  padding: 4rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: rgba(224, 218, 203, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(157, 108, 70, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.feature-icon i {
  font-size: 1.5rem;
  color: var(--accent-primary);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: rgba(224, 218, 203, 0.7);
}

/* Quick Tools Section */
.quick-tools {
  padding: 4rem 0;
  background-color: rgba(224, 218, 203, 0.02);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.tool-card {
  background-color: rgba(224, 218, 203, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.tool-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  background-color: rgba(157, 108, 70, 0.05);
}

.tool-icon {
  width: 3rem;
  height: 3rem;
  background-color: rgba(157, 108, 70, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.tool-icon i {
  font-size: 1.25rem;
  color: var(--accent-primary);
}

.tool-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.tool-card p {
  font-size: 0.875rem;
  color: rgba(224, 218, 203, 0.7);
}

/* Featured Cars Section */
.featured-cars {
  padding: 4rem 0;
}

.cars-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 2rem;
  padding: 1rem 0;
  width: 100%;
}

.cars-grid .car-card {
  width: 100%;
  max-width: 350px;
  justify-self: center;
}

.cars-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.car-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-primary);
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(157, 108, 70, 0.3);
}

.car-nav-btn:hover {
  background: rgba(157, 108, 70, 0.9);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(157, 108, 70, 0.4);
}

.car-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: translateY(-50%) scale(1);
}

/* Disabled state for fa-close icons and their associated text */
.fas.fa-close {
  opacity: 0.5;
  cursor: not-allowed;
  color: rgba(157, 108, 70, 0.4) !important;
  transition: all 0.3s ease;
}

.fas.fa-close:hover {
  opacity: 0.3;
  transform: scale(0.95);
}

/* Style the text that follows fa-close icons to also appear disabled */
.fas.fa-close + span,
.fas.fa-close ~ span {
  opacity: 0.5 !important;
  color: rgba(224, 218, 203, 0.5) !important;
  transition: all 0.3s ease;
}

.fas.fa-close:hover + span,
.fas.fa-close:hover ~ span {
  opacity: 0.3 !important;
  color: rgba(224, 218, 203, 0.3) !important;
}

.car-nav-prev {
  left: -25px;
}

.car-nav-next {
  right: -25px;
}

.car-card {
  background: linear-gradient(135deg, rgba(224, 218, 203, 0.05) 0%, rgba(224, 218, 203, 0.02) 100%);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  will-change: transform;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.car-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(157, 108, 70, 0.1);
  background: linear-gradient(135deg, rgba(224, 218, 203, 0.08) 0%, rgba(224, 218, 203, 0.05) 100%);
}

.car-image {
  position: relative;
  height: 180px;
  overflow: hidden;
  background-color: rgba(224, 218, 203, 0.1);
}

.car-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  opacity: 0;
  animation: fadeInImage 0.5s ease forwards;
}

@keyframes fadeInImage {
  from {
    opacity: 0;
    transform: scale(1.05);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

.car-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(157, 108, 70, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.car-overlay .btn {
  pointer-events: auto;
}

.car-card:hover .car-overlay {
  opacity: 1;
}

.car-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 2;
}

.car-badge {
  background-color: var(--accent-primary);
  color: var(--text-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.car-badge.featured {
  background-color: #f59e0b;
  color: #1e1e1f;
}

.car-badge.condition {
  background-color: #10b981;
  color: #1e1e1f;
}

.car-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.75rem;
}

.car-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.car-variant {
  color: rgba(224, 218, 203, 0.6);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Additional car card styles for JavaScript-generated content */
.car-card .car-header {
  margin-bottom: 0;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.car-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.25rem;
}

.car-card .car-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 0;
  flex: 1;
}

.car-subtitle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.car-year {
  color: var(--accent-primary);
  font-size: 0.8rem;
  font-weight: 500;
  background-color: rgba(157, 108, 70, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(157, 108, 70, 0.2);
}

.car-variant {
  color: rgba(224, 218, 203, 0.7);
  font-size: 0.8rem;
  font-style: italic;
}

.car-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0;
  padding: 0.75rem;
  background: linear-gradient(135deg, rgba(224, 218, 203, 0.05) 0%, rgba(224, 218, 203, 0.02) 100%);
  border-radius: 0.5rem;
  border: 1px solid rgba(224, 218, 203, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(224, 218, 203, 0.8);
  font-weight: 500;
}

.spec-item i {
  color: var(--accent-primary);
  width: 14px;
  text-align: center;
  font-size: 0.7rem;
}



.car-price {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--accent-primary);
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
  margin-left: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 0.6rem;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.car-price:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(157, 108, 70, 0.15);
  background: linear-gradient(135deg, rgba(157, 108, 70, 0.15) 0%, rgba(157, 108, 70, 0.08) 100%);
}

.monthly-payment {
  font-size: 0.75rem;
  color: rgba(224, 218, 203, 0.7);
  font-weight: 500;
}

.car-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(224, 218, 203, 0.6);
  margin-bottom: 1rem;
}

.car-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

.car-actions .btn {
  flex: 1;
  justify-content: center;
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  min-height: 38px;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.car-actions .btn-primary {
  background-color: var(--accent-primary);
  color: var(--text-primary);
  border: 1px solid var(--accent-primary);
}

.car-actions .btn-primary:hover {
  background-color: rgba(157, 108, 70, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(157, 108, 70, 0.3);
}

.car-actions .btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(224, 218, 203, 0.3);
  flex: 0 0 auto;
  width: 38px;
  padding: 0.6rem;
}

.car-actions .btn-secondary:hover {
  background-color: rgba(224, 218, 203, 0.1);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}



/* Car card list view */
.cars-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cars-list .car-card {
  display: grid;
  grid-template-columns: 250px 1fr auto;
  gap: 2rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cars-list .car-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-primary), #4a90e2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cars-list .car-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(157, 108, 70, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cars-list .car-card:hover::before {
  opacity: 1;
}

.cars-list .car-image {
  width: 250px;
  height: 180px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.cars-list .car-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.cars-list .car-content {
  flex: 1;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cars-list .car-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.cars-list .car-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.cars-list .car-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-align: right;
  white-space: nowrap;
}

.cars-list .car-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin: 0;
}

.cars-list .spec-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(224, 218, 203, 0.8);
}

.cars-list .spec-item i {
  color: var(--accent-primary);
  font-size: 1rem;
  width: 16px;
  text-align: center;
}

.cars-list .car-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
  margin: 0;
  flex-shrink: 0;
}

.cars-list .car-actions .btn {
  min-width: 140px;
  justify-content: center;
}

/* View toggle buttons styling */
#gridView, #listView {
  transition: all 0.3s ease;
  border-radius: 8px;
  padding: 0.75rem;
  min-width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#gridView:hover, #listView:hover {
  background: rgba(74, 144, 226, 0.1) !important;
  border-color: rgba(74, 144, 226, 0.4) !important;
  transform: translateY(-1px);
}

#gridView.active, #listView.active {
  background: rgba(74, 144, 226, 0.2) !important;
  border-color: rgba(74, 144, 226, 0.3) !important;
  color: #4a90e2 !important;
  box-shadow: 0 2px 8px rgba(74, 144, 226, 0.2);
}

/* Filter toggle styling */
#filterToggle {
  transition: all 0.3s ease;
  user-select: none;
}

#filterToggle:hover {
  background: rgba(157, 108, 70, 0.05);
}

#filterToggle:active {
  background: rgba(157, 108, 70, 0.1);
}

#filterContent {
  transition: all 0.3s ease;
  overflow: hidden;
}



/* Footer */
.footer {
  background-color: var(--bg-primary);
  border-top: 1px solid rgba(224, 218, 203, 0.1);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-brand i {
  color: var(--accent-primary);
  font-size: 1.5rem;
}

.footer-section h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(224, 218, 203, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--accent-primary);
}

.footer-section p {
  color: rgba(224, 218, 203, 0.6);
  font-size: 0.875rem;
}

.footer-bottom {
  border-top: 1px solid rgba(224, 218, 203, 0.1);
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(224, 218, 203, 0.5);
  font-size: 0.875rem;
}

/* Enhanced Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background-color: rgba(30, 30, 31, 0.5);
  border: 1px solid rgba(224, 218, 203, 0.2);
  border-radius: 0.5rem;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  background-color: rgba(30, 30, 31, 0.7);
  box-shadow: 0 0 0 3px rgba(157, 108, 70, 0.1);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: rgba(157, 108, 70, 0.3);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
}

.form-checkbox:hover {
  background-color: rgba(157, 108, 70, 0.05);
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-primary);
  cursor: pointer;
}

.form-checkbox label {
  cursor: pointer;
  font-weight: 500;
  color: var(--text-primary);
}

/* Filter Styles */
.filter-section {
  background: rgba(224, 218, 203, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.filter-input {
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.filter-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.1);
}

/* Range Slider Styles */
.range-slider {
  position: relative;
  margin: 1rem 0;
}

.range-slider input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(224, 218, 203, 0.2);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-primary);
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.range-slider input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(157, 108, 70, 0.3);
}

.range-slider input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-primary);
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.range-values {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(224, 218, 203, 0.8);
}

/* Card Styles */
.card {
  background-color: rgba(224, 218, 203, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  overflow: hidden;
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-title i {
  color: var(--accent-primary);
}

.card-content {
  padding: 1.5rem;
}

/* Slider Styles */
.slider-container {
  margin: 1rem 0;
}

.slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(224, 218, 203, 0.2);
  outline: none;
  -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-primary);
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-primary);
  cursor: pointer;
  border: none;
}

/* Enhanced Mobile Responsive Design */
@media (max-width: 768px) {
  /* Container adjustments */
  .container {
    padding: 0 1rem;
  }
  
  /* Navigation improvements */
  .nav-content {
    height: 4.5rem;
    padding: 0 0.5rem;
  }
  
  .nav-brand {
    font-size: 1.1rem;
  }
  
  .nav-brand img {
    height: 2.5rem;
    width: auto;
  }
  
  .nav-menu {
    position: fixed;
    top: 4.5rem;
    left: -100%;
    width: 100%;
    height: calc(100vh - 4.5rem);
    /* iOS Safari viewport height fix */
    height: calc(100dvh - 4.5rem);
    height: calc(100vh - 4.5rem);
    height: calc(var(--vh, 1vh) * 100 - 4.5rem);
    background-color: var(--bg-primary);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    /* iOS-specific improvements */
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

  .nav-menu.active {
    left: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background: rgba(157, 108, 70, 0.1);
    border: 1px solid rgba(157, 108, 70, 0.2);
    /* iOS-specific improvements */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    position: relative;
    z-index: 1001;
  }

  .nav-toggle:hover {
    background: rgba(157, 108, 70, 0.2);
    transform: scale(1.05);
  }

  .nav-menu .nav-link {
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(157, 108, 70, 0.1);
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
  }

  .nav-menu .nav-link:hover {
    background-color: rgba(157, 108, 70, 0.15);
    transform: translateX(5px);
  }

  .nav-menu .nav-link i {
    font-size: 1.2rem;
  }

  .nav-menu .btn {
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    width: 100%;
    justify-content: center;
    gap: 0.75rem;
    border-radius: 0.75rem;
  }

  /* Hero section improvements */
  .hero {
    padding: 5rem 0 4rem;
    min-height: 60vh;
  }

  .hero-content {
    max-width: 100%;
    padding: 0 0.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .hero-buttons .btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
  }

  .hero-stats .stat-item {
    padding: 1rem;
    width: 100%;
  }

  .hero-stats .stat-number {
    font-size: 1.75rem;
  }

  .hero-stats .stat-label {
    font-size: 0.875rem;
  }

  /* Car header improvements */
  .car-header {
    padding: 1.5rem 0;
  }

  .car-header-content {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .car-title-section h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .car-actions {
    width: 100%;
    justify-content: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .car-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Section improvements */
  .section-header h2 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .section-header p {
    font-size: 1rem;
  }

  /* Grid improvements */
  .features-grid,
  .tools-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cars-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .cars-grid .car-card {
    max-width: 100%;
    min-width: auto;
  }

  /* Car card mobile improvements */
  .car-specs {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.75rem;
  }
  
  .car-header-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .car-price {
    text-align: left;
    margin-left: 0;
    font-size: 1.25rem;
    padding: 0.5rem 0.75rem;
  }
  
  .car-subtitle {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .car-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .car-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .car-actions .btn-secondary {
    width: 100%;
  }

  /* Car list view mobile */
  .cars-list .car-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
    padding: 1rem;
  }
  
  .cars-list .car-image {
    width: 100%;
    height: 200px;
    margin: 0 auto;
  }
  
  .cars-list .car-header {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .cars-list .car-price {
    text-align: center;
    font-size: 1.5rem;
  }
  
  .cars-list .car-specs {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .cars-list .car-actions {
    align-items: center;
    margin-top: 1rem;
    flex-direction: column;
    gap: 0.75rem;
  }

  .cars-list .car-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Process section mobile */
  .process-block {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    align-items: center;
  }
  
  .timeline-step {
    width: auto;
    margin-bottom: 0;
    order: -1;
  }
  
  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.25rem;
  }
  
  .process-blocks::before {
    display: none;
  }
  
  .block-content {
    width: 100%;
  }
  
  .block-content h3 {
    font-size: 1.5rem;
  }

  .block-content p {
    font-size: 1rem;
  }

  /* Marquee mobile */
  .features-marquee {
    padding: 1.5rem 0;
  }
  
  .marquee-content {
    gap: 2rem;
    animation-duration: 45s;
  }
  
  .marquee-item {
    font-size: 0.875rem;
    gap: 0.5rem;
  }
  
  .marquee-icon {
    width: 20px;
    height: 20px;
  }

  /* Car navigation mobile */
  .cars-container {
    gap: 0.5rem;
  }
  
  .car-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .car-nav-prev {
    left: -20px;
  }
  
  .car-nav-next {
    right: -20px;
  }

  /* Footer mobile */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-section {
    padding: 0 1rem;
  }

  .footer-brand {
    justify-content: center;
    text-align: center;
  }

  /* Form improvements */
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 0.875rem;
  }

  /* Filter improvements for mobile */
  .filter-section {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }

  .filter-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .filter-group {
    gap: 0.5rem;
  }

  .filter-input {
    padding: 0.875rem;
    font-size: 16px;
  }

  /* Range slider mobile improvements */
  .range-slider input[type="range"]::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
  }

  .range-slider input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
  }

  .range-values {
    font-size: 0.8rem;
  }

  /* Card improvements */
  .card {
    margin: 0 0.5rem;
  }

  .card-header {
    padding: 1.25rem;
  }

  .card-content {
    padding: 1.25rem;
  }

  /* Button improvements */
  .btn {
    min-height: 44px; /* Touch-friendly */
    font-size: 1rem;
  }

  .btn-modern {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }

  /* Scroll indicator */
  .hero-scroll-indicator {
    display: none;
  }
}

@media (max-width: 480px) {
  /* Extra small screen optimizations */
  .container {
    padding: 0 0.75rem;
  }

  /* Navigation for very small screens */
  .nav-content {
    height: 4rem;
    padding: 0 0.25rem;
  }

  .nav-brand {
    font-size: 1rem;
  }

  .nav-brand img {
    height: 2rem;
  }

  .nav-menu {
    top: 4rem;
    height: calc(100vh - 4rem);
    padding: 1.5rem 0.5rem;
  }

  .nav-menu .nav-link {
    padding: 0.875rem 1rem;
    font-size: 1rem;
  }

  .nav-menu .btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  /* Hero section for very small screens */
  .hero {
    padding: 3.5rem 0 3rem;
    min-height: 50vh;
  }

  .hero-content {
    padding: 0 0.25rem;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 0.75rem;
  }

  .hero-description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
  }

  .hero-buttons {
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .hero-buttons .btn {
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
  }

  .hero-stats {
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .hero-stats .stat-item {
    padding: 0.75rem;
  }

  .hero-stats .stat-number {
    font-size: 1.5rem;
  }

  .hero-stats .stat-label {
    font-size: 0.8rem;
  }

  /* Car header for very small screens */
  .car-header {
    padding: 1rem 0;
  }

  .car-title-section h1 {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .car-subtitle {
    font-size: 0.9rem;
  }

  .car-actions {
    gap: 0.5rem;
  }

  .car-actions .btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  /* Section headers for very small screens */
  .section-header h2 {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .section-header p {
    font-size: 0.9rem;
  }

  /* Grid improvements for very small screens */
  .features-grid,
  .tools-grid {
    gap: 1rem;
  }

  .cars-grid {
    gap: 1rem;
  }

  /* Car cards for very small screens */
  .car-specs {
    gap: 0.4rem;
    padding: 0.6rem;
  }

  .car-header-top {
    gap: 0.4rem;
  }

  .car-price {
    font-size: 1.1rem;
    padding: 0.4rem 0.6rem;
  }

  .car-subtitle {
    gap: 0.4rem;
  }

  .car-actions {
    gap: 0.5rem;
  }

  .car-actions .btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }

  .car-content {
    padding: 0.6rem;
    gap: 0.4rem;
  }

  /* Car list view for very small screens */
  .cars-list .car-card {
    gap: 1rem;
    padding: 0.75rem;
  }

  .cars-list .car-image {
    height: 180px;
  }

  .cars-list .car-header {
    gap: 0.5rem;
  }

  .cars-list .car-price {
    font-size: 1.25rem;
  }

  .cars-list .car-specs {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .cars-list .car-actions {
    gap: 0.5rem;
  }

  /* Process section for very small screens */
  .process-block {
    gap: 1rem;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.125rem;
  }

  .block-content h3 {
    font-size: 1.25rem;
  }

  .block-content p {
    font-size: 0.9rem;
  }

  /* Form improvements for very small screens */
  .form-input,
  .form-select,
  .form-textarea {
    padding: 0.75rem;
    font-size: 16px;
  }

  /* Filter improvements for very small screens */
  .filter-section {
    padding: 0.75rem;
    margin-bottom: 1rem;
  }

  .filter-grid {
    gap: 0.75rem;
  }

  .filter-group {
    gap: 0.4rem;
  }

  .filter-input {
    padding: 0.75rem;
    font-size: 16px;
  }

  /* Range slider for very small screens */
  .range-slider input[type="range"]::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
  }

  .range-slider input[type="range"]::-moz-range-thumb {
    width: 28px;
    height: 28px;
  }

  .range-values {
    font-size: 0.75rem;
  }

  /* Card improvements for very small screens */
  .card {
    margin: 0 0.25rem;
  }

  .card-header {
    padding: 1rem;
  }

  .card-content {
    padding: 1rem;
  }

  /* Button improvements for very small screens */
  .btn {
    min-height: 40px;
    font-size: 0.9rem;
  }

  .btn-modern {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }

  /* Footer for very small screens */
  .footer-content {
    gap: 1.5rem;
  }

  .footer-section {
    padding: 0 0.5rem;
  }

  /* Marquee for very small screens */
  .marquee-content {
    gap: 1.5rem;
    animation-duration: 35s;
  }

  .marquee-item {
    font-size: 0.8rem;
    gap: 0.4rem;
  }

  .marquee-icon {
    width: 18px;
    height: 18px;
  }
}

/* Extra slow marquee for very small mobile screens */
@media (max-width: 360px) {
  .marquee-content {
    animation-duration: 50s;
  }
}

  /* Car navigation for very small screens */
  .car-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .car-nav-prev {
    left: -18px;
  }

  .car-nav-next {
    right: -18px;
  }

  /* Hide scroll indicator on very small screens */
  .hero-scroll-indicator {
    display: none;
  }

  /* Ensure all buttons are touch-friendly */
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
  /* Reduce animations on mobile for better performance */
  * {
    animation-duration: 0.3s !important;
    transition-duration: 0.3s !important;
  }
  
  /* Exclude marquee from performance optimizations to maintain custom speed */
  .marquee-content {
    animation-duration: 6s !important;
  }
  
  /* Optimize for mobile rendering */
  .car-card,
  .feature-card,
  .service-card,
  .partner-card,
  .news-card {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
  
  /* Improve touch targets */
  .btn,
  .nav-link,
  .car-nav-btn,
  .nav-toggle {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Optimize images for mobile */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Improve text readability on mobile */
  body {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
  }
  
  /* Optimize scrolling */
  html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Reduce motion for users who prefer it */
  @media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
}

/* Accessibility Improvements */
@media (max-width: 768px) {
  /* Improve focus indicators */
  .btn:focus,
  .nav-link:focus,
  .form-input:focus,
  .form-select:focus,
  .form-textarea:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
  }
  
  /* Improve contrast for better readability */
  .car-subtitle,
  .car-variant {
    color: rgba(224, 218, 203, 0.8);
  }
  
  /* Ensure sufficient color contrast */
  .hero-description {
    color: rgba(224, 218, 203, 0.95);
  }
  
  /* Improve button contrast */
  .btn-secondary {
    border-color: rgba(224, 218, 203, 0.4);
  }
  
  .btn-secondary:hover {
    border-color: var(--accent-primary);
    background-color: rgba(157, 108, 70, 0.1);
  }
}

/* Loading States */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(224, 218, 203, 0.1);
  border-left: 4px solid var(--accent-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Success/Error Messages */
.message {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.message-success {
  background-color: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.message-error {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.message-warning {
  background-color: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

/* Testimonials Section */
.testimonials {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(157, 108, 70, 0.1) 100%);
}

.testimonials-slider {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testimonials-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  min-width: 350px;
  background: rgba(224, 218, 203, 0.05);
  border: 1px solid var(--border-accent);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(157, 108, 70, 0.2);
}

.testimonial-content .stars {
  color: #ffd700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-info h4 {
  color: var(--accent-primary);
  margin-bottom: 0.25rem;
}

.author-info span {
  font-size: 0.9rem;
  opacity: 0.8;
}

.testimonials-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.nav-btn {
  background: var(--accent-primary);
  border: none;
  color: white;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover {
  background: var(--accent-secondary);
  color: var(--text-secondary);
  transform: scale(1.1);
}

/* About Us Section */
.about-us {
  padding: 4rem 0;
  background: var(--bg-secondary);
  color: var(--text-secondary);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text .section-header {
  text-align: left;
  margin-bottom: 2rem;
}

.about-text .section-header h2 {
  color: var(--text-secondary);
}

.about-description p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

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

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

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Service Highlights Section */
.service-highlights {
  padding: 4rem 0;
  background: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: rgba(224, 218, 203, 0.05);
  border: 1px solid var(--border-accent);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(157, 108, 70, 0.2);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-icon i {
  font-size: 2rem;
  color: white;
}

.service-card h3 {
  color: var(--accent-primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.service-card p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  text-align: left;
}

.service-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: bold;
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
  background: var(--bg-secondary);
  color: var(--text-secondary);
}

.faq-container {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  border: 1px solid rgba(30, 30, 31, 0.1);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  background: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: rgba(157, 108, 70, 0.05);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.faq-question i {
  color: var(--accent-primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: rgba(157, 108, 70, 0.05);
}

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

.faq-answer p {
  margin: 0;
  line-height: 1.6;
}

/* Partners Section */
.partners-section {
  padding: 4rem 0;
  background: var(--bg-primary);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.partner-card {
  background: rgba(224, 218, 203, 0.05);
  border: 1px solid var(--border-accent);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(157, 108, 70, 0.2);
}

.partner-logo {
  width: 80px;
  height: 80px;
  background: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.partner-logo i {
  font-size: 2rem;
  color: white;
}

.partner-card h3 {
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.partner-card p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* News Section */
.news-section {
  padding: 4rem 0;
  background: var(--bg-secondary);
  color: var(--text-secondary);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.news-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.news-image {
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-content {
  padding: 1.5rem;
}

.news-date {
  color: var(--accent-primary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.news-content h3 {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.news-content p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.read-more {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.read-more:hover {
  gap: 1rem;
}

/* Contact CTA Section */
.contact-cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--accent-primary) 0%, #b87a5a 100%);
  position: relative;
  overflow: hidden;
}

.contact-cta::before {
  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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.cta-content {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.cta-badge i {
  color: #ffd700;
}

.cta-text h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.cta-text p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: rgba(224, 218, 203, 0.95);
}

.cta-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  font-weight: 500;
}

.benefit-item i {
  color: #4ade80;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

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

.btn-outline:hover {
  background: var(--text-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

.cta-buttons .btn-primary {
  background: var(--text-primary);
  color: var(--accent-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-primary:hover {
  background: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.cta-buttons .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--text-primary);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}

.cta-buttons .btn-secondary:hover {
  background: var(--text-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

.cta-trust {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(224, 218, 203, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-item i {
  color: #ffd700;
  font-size: 1rem;
}

.cta-visual {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.cta-image {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cta-visual:hover .cta-image img {
  transform: scale(1.05);
}

.cta-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 2rem;
  color: white;
  text-align: center;
}

.overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.overlay-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 0.5rem;
}

.overlay-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}

.overlay-content p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

/* Tablet Responsive Design (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

  .nav-content {
    height: 5.5rem;
  }

  .hero {
    padding: 7rem 0 6rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-description {
    font-size: 1.2rem;
  }

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

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

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

  .about-content {
    gap: 3rem;
  }

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

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

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

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

  .cta-content {
    gap: 3rem;
  }

  .testimonial-card {
    min-width: 320px;
  }

  .cars-list .car-card {
    grid-template-columns: 200px 1fr auto;
    gap: 1.5rem;
  }
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
    .cta-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-text h2 {
    font-size: 2.2rem;
  }

  .cta-benefits {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-trust {
    flex-direction: column;
    gap: 1rem;
  }


  
  .testimonial-card {
    min-width: 300px;
  }

  /* Additional mobile improvements for new sections */
  .about-image img {
    height: 300px;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-icon {
    width: 60px;
    height: 60px;
  }

  .service-icon i {
    font-size: 1.5rem;
  }

  .partner-card {
    padding: 1.5rem;
  }

  .partner-logo {
    width: 60px;
    height: 60px;
  }

  .partner-logo i {
    font-size: 1.5rem;
  }

  .news-card {
    margin-bottom: 1.5rem;
  }

  .news-image {
    height: 180px;
  }

  .news-content {
    padding: 1.25rem;
  }

  .cta-image img {
    height: 300px;
  }

  .testimonials-slider {
    gap: 1.5rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .faq-question {
    padding: 1.25rem;
  }

  .faq-question h3 {
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 1.25rem;
  }

  .faq-item.active .faq-answer {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .partners-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card {
    min-width: 280px;
    padding: 1.5rem;
  }
  
  .cta-text h2 {
    font-size: 1.8rem;
  }

  .cta-benefits {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-trust {
    flex-direction: column;
    gap: 0.75rem;
  }


}

/* Image Loading Animations */
img {
  transition: opacity 0.3s ease;
}

img.loaded {
  opacity: 1;
}

img.error {
  opacity: 0.7;
  filter: grayscale(1);
}

/* Enhanced Button Hover Effects */
.btn {
  position: relative;
  overflow: hidden;
}

.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.5s ease;
}

.btn:hover::before {
  left: 100%;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: var(--accent-primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: var(--accent-secondary);
  color: var(--text-secondary);
  transform: translateY(-3px);
}

/* FAQ Search Styles */
.faq-search {
  margin-bottom: 2rem;
}

.search-container {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.search-input {
  width: 100%;
  padding: 1rem 3rem 1rem 1rem;
  border: 2px solid rgba(157, 108, 70, 0.2);
  border-radius: 0.5rem;
  font-size: 1rem;
  background: white;
  color: var(--text-secondary);
  transition: border-color 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.search-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-primary);
  pointer-events: none;
}

/* Hero Video Background */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

/* Mission & Vision Grid */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.mission-card,
.vision-card {
  background: linear-gradient(135deg, rgba(157, 108, 70, 0.1) 0%, rgba(157, 108, 70, 0.05) 100%);
  border: 1px solid rgba(157, 108, 70, 0.2);
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.mission-card:hover,
.vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(157, 108, 70, 0.15);
}

.mission-icon,
.vision-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-primary) 0%, #b87a5a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--text-primary);
}

.mission-card h3,
.vision-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.mission-card p,
.vision-card p {
  color: rgba(224, 218, 203, 0.8);
  line-height: 1.6;
}

/* Timeline Section */
.timeline-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(157, 108, 70, 0.05) 0%, rgba(157, 108, 70, 0.02) 100%);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 3rem auto 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-primary), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-primary) 0%, #b87a5a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  z-index: 2;
  border: 4px solid var(--bg-primary);
}

.timeline-content {
  width: 45%;
  background: rgba(157, 108, 70, 0.1);
  border: 1px solid rgba(157, 108, 70, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  margin: 0 2rem;
}

.timeline-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.timeline-content p {
  color: rgba(224, 218, 203, 0.8);
  line-height: 1.6;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: linear-gradient(135deg, rgba(157, 108, 70, 0.1) 0%, rgba(157, 108, 70, 0.05) 100%);
  border: 1px solid rgba(157, 108, 70, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(157, 108, 70, 0.15);
}

.value-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent-primary) 0%, #b87a5a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  color: var(--text-primary);
}

.value-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.value-card p {
  color: rgba(224, 218, 203, 0.8);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.value-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.feature-tag {
  background: rgba(157, 108, 70, 0.2);
  color: var(--accent-primary);
  padding: 0.3rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(157, 108, 70, 0.3);
}

/* Team Spotlight */
.team-spotlight {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(157, 108, 70, 0.05) 0%, rgba(157, 108, 70, 0.02) 100%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  background: linear-gradient(135deg, rgba(157, 108, 70, 0.1) 0%, rgba(157, 108, 70, 0.05) 100%);
  border: 1px solid rgba(157, 108, 70, 0.2);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(157, 108, 70, 0.15);
}

.member-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
  transform: scale(1.05);
}

.member-info {
  padding: 2rem;
  text-align: center;
}

.member-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.member-role {
  color: var(--accent-primary);
  font-weight: 500;
  margin-bottom: 1rem;
  display: block;
}

.member-info p {
  color: rgba(224, 218, 203, 0.8);
  line-height: 1.6;
}

/* Statistics Section */
.stats-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--accent-primary) 0%, #b87a5a 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-item {
  text-align: center;
  color: var(--text-primary);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.stat-description {
  font-size: 0.9rem;
  color: rgba(224, 218, 203, 0.8);
}

/* Why Choose Section */
.why-choose-section {
  padding: 6rem 0;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  align-items: start;
  justify-items: stretch;
}

/* Ensure desktop layout is always 2 columns */
@media (min-width: 769px) {
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

.reason-card {
  background: linear-gradient(135deg, rgba(157, 108, 70, 0.1) 0%, rgba(157, 108, 70, 0.05) 100%);
  border: 1px solid rgba(157, 108, 70, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  height: fit-content;
  display: flex;
  flex-direction: column;
}

.reason-card:hover {
  box-shadow: 0 10px 20px rgba(157, 108, 70, 0.1);
}

/* Ensure reason cards never have animations */
.reason-card,
.reason-card *,
.reason-content,
.reason-content * {
  transition: none !important;
  animation: none !important;
  animation-duration: 0s !important;
  transition-duration: 0s !important;
}

.reason-number {
  position: absolute;
  top: -15px;
  left: 2rem;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-primary) 0%, #b87a5a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.reason-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 1rem 0 1rem 0;
  color: var(--text-primary);
}

.reason-content p {
  color: rgba(224, 218, 203, 0.8);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.reason-features {
  list-style: none;
  padding: 0;
}

.reason-features li {
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.reason-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: bold;
}

/* Mobile responsiveness for reason cards */
@media (max-width: 768px) {
  .reasons-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .reason-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: none !important;
    animation: none !important;
  }
  
  .reason-card * {
    transition: none !important;
    animation: none !important;
  }
  
  .reason-number {
    width: 35px;
    height: 35px;
    font-size: 1rem;
    top: -12px;
    left: 1.5rem;
  }
  
  .reason-content h3 {
    font-size: 1.2rem;
    margin: 0.8rem 0 0.8rem 0;
  }
  
  .reason-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
  }
  
  .reason-features li {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    padding-left: 1.2rem;
  }
}

@media (max-width: 480px) {
  .reason-card {
    padding: 1.2rem;
  }
  
  .reason-number {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
    top: -10px;
    left: 1.2rem;
  }
  
  .reason-content h3 {
    font-size: 1.1rem;
    margin: 0.6rem 0 0.6rem 0;
  }
  
  .reason-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .reason-features li {
    font-size: 0.85rem;
    padding-left: 1rem;
  }
}

/* Customer Stories */
.customer-stories {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(157, 108, 70, 0.05) 0%, rgba(157, 108, 70, 0.02) 100%);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.story-card {
  background: linear-gradient(135deg, rgba(157, 108, 70, 0.1) 0%, rgba(157, 108, 70, 0.05) 100%);
  border: 1px solid rgba(157, 108, 70, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(157, 108, 70, 0.15);
}

.story-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.story-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
  border: 3px solid var(--accent-primary);
}

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

.story-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.story-info span {
  color: var(--accent-primary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: block;
}

.story-rating {
  color: #ffd700;
  font-size: 0.9rem;
}

.story-content p {
  color: rgba(224, 218, 203, 0.8);
  line-height: 1.6;
  font-style: italic;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .timeline::before {
    left: 2rem;
  }
  
  .timeline-item {
    flex-direction: row !important;
  }
  
  .timeline-marker {
    left: 2rem;
    transform: translateX(-50%);
  }
  
  .timeline-content {
    width: calc(100% - 6rem);
    margin-left: 4rem;
    margin-right: 0;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .reasons-grid {
    grid-template-columns: 1fr;
  }
  
  .stories-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-video {
    display: none;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline-content {
    width: calc(100% - 4rem);
    margin-left: 3rem;
  }
  
  .timeline-marker {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
}

/* Story Timeline Section */
.story-timeline {
  padding: 3rem 0;
  background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(30, 30, 31, 0.95) 100%);
  position: relative;
}

.story-timeline::before {
  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(157, 108, 70, 0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.timeline-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, var(--accent-primary) 20%, var(--accent-primary) 80%, transparent 100%);
  transform: translateX(-50%);
  z-index: 1;
  display: none;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-marker {
  display: none;
}

.marker-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-primary) 0%, #b87a5a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(157, 108, 70, 0.3);
  transition: all 0.3s ease;
  border: 3px solid var(--bg-primary);
  flex-shrink: 0;
}

.marker-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(157, 108, 70, 0.4);
}

.marker-icon i {
  font-size: 2rem;
  color: var(--text-primary);
}

.marker-year {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-align: center;
}

.timeline-content {
  flex: 1;
  margin: 0;
  max-width: 600px;
}

.timeline-card {
  background: rgba(224, 218, 203, 0.05);
  border: 1px solid var(--border-accent);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 200px;
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary) 0%, #b87a5a 100%);
}

.timeline-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--accent-primary);
}

.timeline-card h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.timeline-subtitle {
  font-size: 0.9rem;
  color: var(--accent-primary);
  font-weight: 500;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-card p {
  color: rgba(224, 218, 203, 0.8);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.timeline-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.timeline-features .feature-tag {
  background: rgba(157, 108, 70, 0.2);
  color: var(--accent-primary);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(157, 108, 70, 0.3);
  transition: all 0.3s ease;
}

.timeline-features .feature-tag:hover {
  background: rgba(157, 108, 70, 0.3);
  transform: translateY(-1px);
}

/* Philosophy Section */
.philosophy-section {
  padding: 3rem 0;
  background: var(--bg-primary);
  position: relative;
}

.philosophy-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(157, 108, 70, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(224, 218, 203, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.philosophy-content {
  position: relative;
}

.philosophy-content .section-header {
  text-align: left;
  margin-bottom: 2rem;
}

.philosophy-content .section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.philosophy-content .section-header p {
  font-size: 1.1rem;
  color: rgba(224, 218, 203, 0.7);
  line-height: 1.6;
}

.philosophy-text .lead {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.philosophy-text p {
  color: rgba(224, 218, 203, 0.8);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.philosophy-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(224, 218, 203, 0.05);
  border-radius: 12px;
  border: 1px solid var(--border-accent);
  transition: all 0.3s ease;
}

.highlight-item:hover {
  background: rgba(157, 108, 70, 0.1);
  border-color: var(--accent-primary);
  transform: translateX(5px);
}

.highlight-item i {
  color: var(--accent-primary);
  font-size: 1.2rem;
  min-width: 20px;
}

.highlight-item span {
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.4;
}

.philosophy-visual {
  position: relative;
}

.visual-card {
  background: linear-gradient(135deg, rgba(157, 108, 70, 0.1) 0%, rgba(224, 218, 203, 0.05) 100%);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.visual-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(157, 108, 70, 0.1), transparent);
  animation: rotate 10s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.visual-card:hover::before {
  opacity: 1;
}

.visual-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  border-color: var(--accent-primary);
}

.visual-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-primary) 0%, #b87a5a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(157, 108, 70, 0.3);
  transition: all 0.3s ease;
}

.visual-card:hover .visual-icon {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(157, 108, 70, 0.4);
}

.visual-icon i {
  font-size: 2rem;
  color: var(--text-primary);
}

.visual-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.visual-card p {
  color: rgba(224, 218, 203, 0.8);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

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

/* Responsive Design for Timeline and Philosophy */
@media (max-width: 768px) {
  .timeline-item {
    flex-direction: column !important;
    align-items: center;
    margin-left: 0;
  }
  
  .timeline-content {
    margin: 0;
    max-width: none;
  }
  
  .timeline-card {
    min-height: auto;
    padding: 1.5rem;
  }
  
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .philosophy-content .section-header h2 {
    font-size: 2rem;
  }
  
  .philosophy-text .lead {
    font-size: 1.1rem;
  }
  
  .visual-card {
    padding: 2rem 1.5rem;
  }
  
  .visual-icon {
    width: 60px;
    height: 60px;
  }
  
  .visual-icon i {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .timeline-container {
    padding: 0 1rem;
  }
  
  .timeline-item {
    margin-left: 0;
  }
  
  .timeline-card {
    padding: 1.25rem;
    min-height: auto;
  }
  
  .timeline-card h3 {
    font-size: 1.4rem;
  }
  
  .philosophy-content .section-header h2 {
    font-size: 1.8rem;
  }
  
  .philosophy-text .lead {
    font-size: 1rem;
  }
  
  .highlight-item {
    padding: 0.75rem;
  }
  
  .visual-card {
    padding: 1.5rem 1rem;
  }
}
