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

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
  /* width: 100vw; */
  /* overflow: hidden; */
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #1a1a1a;
}

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

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
  border-radius: 10px;
  grid-column: 1 / -1;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  width: 100vw;
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2563eb;
  margin: 0;
}

.logo-img {
  width: 60px;  
  height: auto;
  object-fit: contain;
  display: block;
}


.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #4b5563;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #2563eb;
}

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

.phone-number {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #4b5563;
  font-weight: 500;
}

.phone-number i {
  color: #2563eb;
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #4b5563;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 2rem 0;
    transition: left 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu .nav-link {
    font-size: 1.2rem;
    padding: 1rem;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
  }

  .nav-menu .nav-link:last-child {
    border-bottom: none;
  }
}

/* Hero Section */
.hero {
  min-height: calc(100vh - 80px);
  background: linear-gradient(
      135deg,
      rgba(37, 99, 235, 0.9),
      rgba(29, 78, 216, 0.8)
    ),
    url("https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
  margin-top: 80px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  font-weight: 300;
}

/* Trust Indicators */
.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

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

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

/* Compact Booking Form */
.booking-form-compact {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 1.5rem;
  color: #333;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  max-width: 600px;
  margin: 2rem auto;
}

.booking-form-horizontal {
  display: flex;
  gap: 1rem;
  align-items: end;
  flex-wrap: wrap;
}

.form-group-compact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 200px;
}

.form-group-compact i {
  color: #2563eb;
  font-size: 1.1rem;
}

.form-group-compact input,
.form-group-compact select {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background-color: white;
  transition: border-color 0.3s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}

.form-group-compact input:focus,
.form-group-compact select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group-compact select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' 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: 16px;
  padding-right: 40px;
}

.btn-search {
  padding: 12px 24px;
  white-space: nowrap;
}

/* Hero Benefits */
.hero-benefits {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(5px);
}

.benefit-item i {
  color: #10b981;
  font-size: 1rem;
}

/* Offer Banner */
.offer-banner {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  margin: 2rem auto;
  max-width: 600px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.offer-banner i {
  margin-right: 0.5rem;
}

.offer-banner span {
  font-weight: 600;
  font-size: 1rem;
}

.offer-banner small {
  display: block;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  opacity: 0.9;
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 4rem 0;
  background: #f8fafc;
}

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

.feature-card {
  background: white;
  padding: 2.5rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

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

.feature-card h3 {
  font-size: 1.3rem;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: #6b7280;
}

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

.car-category {
  margin-bottom: 4rem;
}

.category-title {
  font-size: 1.8rem;
  color: #1a1a1a;
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 4px solid #2563eb;
}

.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 350px));
  gap: 2rem;
}

.car-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 350px;
}

.car-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.car-image {
  position: relative;
  overflow: hidden;
}

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

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

.car-info {
  padding: 1.5rem;
}

.car-info h4 {
  font-size: 1.3rem;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.car-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.car-features span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
  color: #6b7280;
}

.car-features i {
  color: #2563eb;
}

.car-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 1.5rem;
}

.car-price span {
  font-size: 1rem;
  font-weight: 400;
  color: #6b7280;
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background: #f8fafc;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.contact-heading {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #111827;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  color: #374151;
  font-weight: 500;
}

.contact-row i {
  width: 38px;
  height: 38px;
  background: #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.address-row {
  align-items: flex-start;
}

.address-row i {
  margin-top: 4px;
}

.contact-row span {
  line-height: 1.5;
}


.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-row input,
.form-row textarea,
.form-row select {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background-color: white;
  transition: border-color 0.3s ease;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-row select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' 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: 16px;
  padding-right: 40px;
}

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

/* Location Display Styling */
.location-display {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background-color: #f8fafc;
  color: #374151;
  font-weight: 500;
  display: flex;
  align-items: center;
  min-height: 20px;
}

.location-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.location-input i {
  color: #2563eb;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background: #1f2937;
  color: white;
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: #374151;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.footer-social a:hover {
  background: #2563eb;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }

  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden;
  }

  /* Header Mobile */
  .header .container {
    padding: 0 15px;
  }

  /* .nav-menu {
    display: none;
  } */

  .nav-right .phone-number {
    display: none;
  }

  .nav-right .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .mobile-menu-toggle {
    display: block;
  }

  /* Hero Mobile */
  .hero {
    margin-top: 70px;
    padding: 2rem 0;
  }

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

  .hero-subtitle {
    font-size: 1.1rem;
  }

  /* Trust Indicators Mobile */
  .trust-indicators {
    gap: 1rem;
    margin: 1.5rem 0;
  }

  .trust-item {
    font-size: 0.8rem;
  }

  /* Compact Form Mobile */
  .booking-form-compact {
    padding: 1rem;
    margin: 1rem auto;
    max-width: calc(100vw - 2rem);
    width: 100%;
    box-sizing: border-box;
  }

  .booking-form-horizontal {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .form-group-compact {
    min-width: auto;
    width: 100%;
    max-width: 100%;
    flex: none;
  }

  .form-group-compact input,
  .form-group-compact select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .btn-search {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }

  /* Hero Benefits Mobile */
  .hero-benefits {
    gap: 0.75rem;
    margin: 1.5rem 0;
  }

  .benefit-item {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

  /* Offer Banner Mobile */
  .offer-banner {
    margin: 1.5rem 0;
    padding: 0.8rem 1rem;
  }

  .offer-banner span {
    font-size: 0.9rem;
  }

  /* Detailed Form Mobile */
  .booking-form-detailed {
    padding: 1.5rem 1rem;
    margin: 1rem 0;
  }

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

  /* Section Titles */
  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  /* Features Mobile */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-card {
    padding: 2rem 1rem;
  }

  /* Cars Mobile */
  .cars-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .category-title {
    font-size: 1.5rem;
  }

  /* Contact Mobile */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    flex-direction: column;
    gap: 1rem;
  }

  /* Footer Mobile */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-links {
    justify-content: center;
  }
}

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

  /* Header for very small screens */
  .header .container {
    padding: 0 10px;
  }

  .logo {
    font-size: 1.5rem;
  }

  .nav-right .btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  /* Hero section improvements */
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  /* Booking form for very small screens */
  .booking-form-compact {
    padding: 0.8rem;
    margin: 0.8rem auto;
    max-width: calc(100vw - 1.6rem);
  }

  .form-group-compact i {
    font-size: 1rem;
  }

  .form-group-compact input,
  .form-group-compact select {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .btn-search {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  /* Trust indicators */
  .trust-item {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
  }

  /* Benefits */
  .benefit-item {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
  }

  /* Other elements */
  .car-card {
    margin: 0 0.5rem;
  }

  .feature-card {
    padding: 1.5rem 0.75rem;
  }

  .contact-form {
    padding: 1rem;
  }

  .offer-banner {
    padding: 0.6rem 0.8rem;
  }

  .offer-banner span {
    font-size: 0.85rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Scroll Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

/* Animation Classes */
.scroll-animate {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.animate-in {
  opacity: 1;
}

.fade-up {
  transform: translateY(50px);
}

.fade-up.animate-in {
  transform: translateY(0);
}

.fade-left {
  transform: translateX(-50px);
}

.fade-left.animate-in {
  transform: translateX(0);
}

.fade-right {
  transform: translateX(50px);
}

.fade-right.animate-in {
  transform: translateX(0);
}

.scale-in {
  transform: scale(0.8);
}

.scale-in.animate-in {
  transform: scale(1);
}

/* Staggered Animations */
.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}

.stagger-5 {
  transition-delay: 0.5s;
}

.stagger-6 {
  transition-delay: 0.6s;
}

/* Remove initial animations from cards */
.car-card,
.feature-card {
  /* Remove initial animation, will be controlled by scroll */
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mt-4 {
  margin-top: 2rem;
}
