/* =========================================
   EasyRide E-Bike Rental - Main Stylesheet
   Inspired by Places & Yatriiworld templates
   ========================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Satisfy&display=swap');

/* --- CSS Variables --- */
:root {
  --primary: #2d6a4f;
  --primary-light: #40916c;
  --primary-dark: #1b4332;
  --accent: #d4a373;
  --accent-light: #e9c46a;
  --accent-dark: #bc6c25;
  --dark: #1a1a2e;
  --dark-soft: #2c2c44;
  --text: #3d3d5c;
  --text-light: #6c6c8a;
  --text-muted: #9a9ab0;
  --light: #fefae0;
  --light-soft: #f5f0e1;
  --white: #ffffff;
  --bg: #fdfcf7;
  --border: #e8e4d9;
  --success: #2d6a4f;
  --warning: #e9c46a;
  --danger: #e76f51;
  --info: #457b9d;
  --shadow-sm: 0 2px 8px rgba(26,26,46,0.06);
  --shadow-md: 0 4px 20px rgba(26,26,46,0.1);
  --shadow-lg: 0 8px 40px rgba(26,26,46,0.14);
  --shadow-xl: 0 16px 60px rgba(26,26,46,0.18);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --font-script: 'Satisfy', cursive;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s ease;
  --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul, ol { list-style: none; }

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

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--dark);
  line-height: 1.3;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }

p { margin-bottom: 1rem; }

.script-text {
  font-family: var(--font-script);
  color: var(--accent-dark);
  font-size: 1.2rem;
}

.section-subtitle {
  font-family: var(--font-script);
  color: var(--accent-dark);
  font-size: 1.3rem;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 40px;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.btn:hover::after { transform: translateX(100%); }

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

.btn-accent {
  background: var(--accent);
  color: var(--dark);
}
.btn-accent:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-lg { padding: 18px 42px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.navbar.scrolled .nav-logo,
.navbar.scrolled .nav-link,
.navbar.scrolled .nav-cta { color: var(--dark); }

.navbar.solid {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.navbar.solid .nav-logo,
.navbar.solid .nav-link { color: var(--dark); }

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo i {
  font-size: 1.8rem;
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--white);
  padding: 8px 16px;
  font-weight: 500;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  position: relative;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link.active {
  color: var(--accent);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-dropdown-menu a:hover {
  background: var(--light-soft);
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 12px;
}

.nav-cta:hover { color: var(--accent); }

.nav-cta-btn {
  background: var(--accent);
  color: var(--dark) !important;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-cta-btn:hover {
  background: var(--accent-dark);
  color: var(--white) !important;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 4px;
  transition: var(--transition);
}

.navbar.scrolled .nav-toggle span,
.navbar.solid .nav-toggle span { background: var(--dark); }

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27,67,50,0.75) 0%,
    rgba(26,26,46,0.55) 50%,
    rgba(45,106,79,0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 120px 0 80px;
}

.hero-tag {
  font-family: var(--font-script);
  color: var(--accent);
  font-size: 1.4rem;
  display: block;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.15s both;
}

.hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 540px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.45s both;
}

/* Hero slider dots */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-indicator::after {
  content: '';
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- Search / Booking Form --- */
.booking-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 32px;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 20px;
  align-items: end;
}

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

.form-group label {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-control {
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition-fast);
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(45,106,79,0.1);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236c6c8a' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

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

/* --- Feature Cards (below hero) --- */
.features-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: -1px;
}

.feature-card {
  padding: 48px 36px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.feature-card:nth-child(1) { background: var(--primary); color: var(--white); }
.feature-card:nth-child(2) { background: var(--primary-light); color: var(--white); }
.feature-card:nth-child(3) { background: var(--primary-dark); color: var(--white); }

.feature-card:hover { transform: translateY(-4px); }

.feature-card i {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
  color: var(--accent);
}

.feature-card h4 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.feature-card p {
  opacity: 0.85;
  font-size: 0.9rem;
  margin: 0;
}

/* --- Sections --- */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--light-soft);
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.75); }

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-images {
  position: relative;
  height: 500px;
}

.about-img-main {
  width: 65%;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
}

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

.about-badge {
  position: absolute;
  top: 20px;
  right: 40%;
  background: var(--accent);
  color: var(--dark);
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.about-badge .number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.about-badge span {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-text h2 { margin-bottom: 20px; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--light-soft);
  border-radius: var(--radius-sm);
}

.about-feature-item i {
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.about-feature-item span {
  font-weight: 500;
  font-size: 0.9rem;
}

/* --- Vehicle Cards --- */
.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.vehicle-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.vehicle-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.vehicle-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.vehicle-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.vehicle-card:hover .vehicle-card-img img {
  transform: scale(1.08);
}

.vehicle-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: var(--dark);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vehicle-card-body {
  padding: 24px;
}

.vehicle-card-body h4 {
  margin-bottom: 8px;
}

.vehicle-card-body h4 a:hover {
  color: var(--primary);
}

.vehicle-specs {
  display: flex;
  gap: 16px;
  margin: 12px 0;
  flex-wrap: wrap;
}

.vehicle-spec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-light);
}

.vehicle-spec i {
  color: var(--primary-light);
  font-size: 0.9rem;
}

.vehicle-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-dark);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.vehicle-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
}

.vehicle-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.vehicle-price small {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* --- Stats / Counters --- */
.stats-section {
  background: var(--primary-dark);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

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

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
}

/* --- Pricing Cards --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  transform: scale(1.05);
}

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

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.pricing-ribbon {
  position: absolute;
  top: 24px;
  right: -36px;
  background: var(--accent);
  color: var(--dark);
  padding: 6px 48px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: rotate(45deg);
}

.pricing-header {
  padding: 36px 32px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.pricing-header h4 {
  margin-bottom: 4px;
}

.pricing-header p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.pricing-amount {
  text-align: center;
  padding: 28px 32px;
}

.pricing-amount .price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
}

.pricing-amount .period {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pricing-features {
  padding: 0 32px 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.pricing-features li:last-child { border: none; }

.pricing-features li i {
  color: var(--primary);
  font-size: 1rem;
}

.pricing-features li.disabled {
  opacity: 0.4;
}

.pricing-features li.disabled i {
  color: var(--text-muted);
}

.pricing-footer {
  padding: 0 32px 32px;
  text-align: center;
}

/* --- Testimonials --- */
.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--primary);
  opacity: 0.1;
  position: absolute;
  top: 16px;
  left: 24px;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 24px;
  color: var(--text);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--light-soft);
}

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

.testimonial-author-name {
  font-weight: 600;
  color: var(--dark);
}

.testimonial-author-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* --- FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  background: var(--white);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  gap: 16px;
}

.faq-question i {
  transition: var(--transition);
  color: var(--primary);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-light);
  line-height: 1.8;
}

/* --- CTA / Banner Section --- */
.cta-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

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

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,67,50,0.88), rgba(26,26,46,0.75));
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 660px;
  margin: 0 auto;
}

.cta-content h2 { color: var(--white); margin-bottom: 16px; }
.cta-content p { color: rgba(255,255,255,0.85); margin-bottom: 32px; font-size: 1.1rem; }

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-cards {
  display: grid;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--light-soft);
  border-radius: var(--radius-md);
}

.contact-info-card i {
  font-size: 1.4rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-card h5 {
  margin-bottom: 4px;
}

.contact-info-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

.contact-form .form-group { margin-bottom: 20px; }

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* --- Page Header / Breadcrumb --- */
.page-header {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--dark-soft));
}

.page-header-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

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

.breadcrumb a:hover {
  color: var(--accent-light);
}

.breadcrumb .separator {
  color: rgba(255,255,255,0.4);
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer h5 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links li { margin-bottom: 12px; }

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-newsletter p {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }

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

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

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

.footer-bottom-links a {
  color: rgba(255,255,255,0.5);
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* --- Auth Pages --- */
.auth-wrapper {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-visual {
  position: relative;
  overflow: hidden;
}

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

.auth-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,67,50,0.8), rgba(26,26,46,0.6));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px;
  text-align: center;
}

.auth-visual-overlay h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.auth-visual-overlay p {
  color: rgba(255,255,255,0.8);
  max-width: 400px;
}

.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: var(--bg);
}

.auth-form-container {
  width: 100%;
  max-width: 440px;
}

.auth-form-container h2 { margin-bottom: 8px; }
.auth-form-container > p { color: var(--text-light); margin-bottom: 32px; }

.auth-form .form-group { margin-bottom: 20px; }

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.social-auth {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.social-auth-btn {
  flex: 1;
  padding: 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--white);
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.auth-footer-text {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
}

.auth-footer-text a {
  color: var(--primary);
  font-weight: 600;
}

/* --- Dashboard / Account --- */
.dashboard-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  padding-top: 40px;
  padding-bottom: 80px;
}

.dashboard-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.dashboard-user {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.dashboard-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 12px;
  overflow: hidden;
  background: var(--light-soft);
}

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

.dashboard-user h5 { margin-bottom: 4px; }
.dashboard-user p { color: var(--text-muted); font-size: 0.85rem; margin: 0; }

.dashboard-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 4px;
  transition: var(--transition-fast);
}

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

.dashboard-nav a i {
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}

.dashboard-content {
  min-width: 0;
}

.dash-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.dash-card h3 {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* --- Order Cards --- */
.order-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
  transition: var(--transition-fast);
}

.order-card:hover {
  box-shadow: var(--shadow-sm);
}

.order-img {
  width: 100px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--light-soft);
}

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

.order-info h5 { margin-bottom: 4px; }
.order-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.order-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-active { background: #d4edda; color: #155724; }
.status-completed { background: #d1ecf1; color: #0c5460; }
.status-cancelled { background: #f8d7da; color: #721c24; }
.status-pending { background: #fff3cd; color: #856404; }

.order-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

/* --- Receipt --- */
.receipt-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.receipt-header {
  background: var(--primary-dark);
  color: var(--white);
  padding: 40px;
  text-align: center;
}

.receipt-body {
  padding: 40px;
}

.receipt-table {
  width: 100%;
  border-collapse: collapse;
}

.receipt-table th,
.receipt-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.receipt-table th {
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.receipt-total {
  display: flex;
  justify-content: flex-end;
  padding: 24px 0;
}

.receipt-total-box {
  width: 280px;
}

.receipt-total-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.92rem;
}

.receipt-total-row.total {
  border-top: 2px solid var(--dark);
  font-weight: 700;
  font-size: 1.1rem;
  padding-top: 12px;
  margin-top: 8px;
}

/* --- Confirmation --- */
.confirmation-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #d4edda;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.confirmation-icon i {
  font-size: 3rem;
  color: var(--primary);
}

/* --- Safety Page --- */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.safety-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.safety-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--light-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.safety-card-icon i {
  font-size: 1.8rem;
  color: var(--primary);
}

/* --- Legal pages --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 0;
}

.legal-content h3 {
  margin: 32px 0 12px;
}

.legal-content p,
.legal-content ul {
  color: var(--text-light);
  line-height: 1.9;
}

.legal-content ul {
  padding-left: 24px;
  list-style: disc;
}

.legal-content ul li {
  margin-bottom: 8px;
}

/* --- Error 404 --- */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  background: var(--bg);
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 700;
  color: var(--primary);
  opacity: 0.15;
  line-height: 1;
}

.error-page h2 {
  margin: -20px 0 16px;
}

.error-page p {
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto 32px;
}

/* --- Maintenance --- */
.maintenance-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, var(--primary-dark), var(--dark));
  color: var(--white);
}

.maintenance-page h1 { color: var(--white); }
.maintenance-page p { color: rgba(255,255,255,0.7); max-width: 500px; margin: 16px auto 32px; }

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Gallery Section --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.gallery-item {
  height: 200px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* --- Utility --- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-4 { margin-top: 32px; }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent-dark); }
.text-muted { color: var(--text-muted); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* --- Back to top --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
  
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { position: static; }
  
  .auth-wrapper { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }
  
  .nav-links.active .nav-link { color: var(--dark); }
  
  .nav-actions.active {
    display: flex;
    position: absolute;
    top: calc(100% + 240px);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 0 20px 20px;
    box-shadow: var(--shadow-lg);
  }
  
  .hero { min-height: 90vh; }
  .hero-content { padding: 100px 0 60px; }
  
  .booking-form { grid-template-columns: 1fr; }
  
  .features-strip { grid-template-columns: 1fr; }
  
  .vehicles-grid { grid-template-columns: 1fr; }
  
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  
  .testimonials-grid { grid-template-columns: 1fr; }
  
  .safety-grid { grid-template-columns: 1fr; }
  
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  
  .footer-grid { grid-template-columns: 1fr; }
  
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  
  .order-card { grid-template-columns: 1fr; }
  
  .section { padding: 60px 0; }
  
  .about-images { height: 350px; }
  
  .contact-form .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  
  .stat-number { font-size: 2.2rem; }
  
  .booking-bar { padding: 24px 16px; margin-top: -40px; }
}
