:root {
  --yellow: #ffc107;
  --black: #111111;
  --blue: #2563eb;
  --green: #22c55e;
  --gray: #f8fafc;
  --white: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 20px 60px rgba(17, 17, 17, 0.12);
  --radius: 24px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
  max-width: 100%;
}

.section {
  padding: 100px 0;
}

.bg-light {
  background: var(--gray);
}

.bg-dark {
  background: var(--black);
  color: var(--white);
}

.site-header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  width: min(1360px, 96%);
}

.nav-wrapper {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  color: var(--black);
  flex-shrink: 0;
}

.logo i,
.footer-logo i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--yellow);
  color: var(--black);
}

.logo span,
.footer-logo span {
  color: var(--blue);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1vw, 18px);
  flex: 1;
  min-width: 0;
}

.navbar a {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  transition: var(--transition);
  white-space: nowrap;
}

.navbar a:hover,
.navbar a.active {
  color: var(--blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-header .btn-primary,
.site-header .btn-outline {
  padding: 11px 18px;
  font-size: 14px;
}

.theme-toggle,
.menu-btn {
  border: none;
  cursor: pointer;
  background: var(--gray);
  color: var(--black);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 18px;
}

.menu-btn {
  display: none;
}

.btn-primary,
.btn-outline,
.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 12px 30px rgba(255, 193, 7, 0.35);
}

.btn-primary:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-light {
  background: var(--white);
  color: var(--black);
}

.large {
  padding: 16px 32px;
  font-size: 16px;
}

.full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 900px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(17,17,17,0.84), rgba(37,99,235,0.42)),
    url("../images/hero/taxi-hero.jpg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255,193,7,0.35), transparent 35%),
    radial-gradient(circle at bottom left, rgba(37,99,235,0.35), transparent 35%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  color: var(--white);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,0.14);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.24);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  margin-bottom: 24px;
}

.badge.yellow {
  color: var(--black);
  background: var(--yellow);
  border-color: var(--yellow);
}

.hero-content h1 {
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.05;
  margin-bottom: 24px;
  font-weight: 950;
  letter-spacing: -2px;
}

.hero-content p {
  max-width: 650px;
  color: rgba(255,255,255,0.86);
  font-size: 19px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.hero-stats {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-stats div {
  min-width: 145px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(12px);
}

.hero-stats h3 {
  font-size: 28px;
  color: var(--yellow);
}

.hero-stats p {
  margin: 0;
  font-size: 14px;
}

.glass-card,
.booking-card {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: var(--shadow);
  border-radius: 32px;
  padding: 34px;
  backdrop-filter: blur(18px);
}

.booking-card h2 {
  color: var(--black);
  font-size: 30px;
  margin-bottom: 5px;
}

.booking-card p {
  color: var(--muted);
  margin-bottom: 22px;
}

.form-group {
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: block;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--black);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  outline: none;
  border-radius: 16px;
  padding: 15px 16px;
  font-size: 15px;
  background: var(--white);
  color: var(--text);
  transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.12);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.section-title {
  text-align: center;
  margin-bottom: 55px;
}

.section-title.left {
  text-align: left;
  margin-bottom: 24px;
}

.section-title span {
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title h2 {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--black);
  margin-top: 8px;
  line-height: 1.12;
}

.section-title p {
  color: var(--muted);
  margin-top: 12px;
}

.section-title.light h2 {
  color: var(--white);
}

.feature-grid,
.service-grid,
.fleet-grid,
.steps-grid,
.safety-grid,
.testimonial-grid,
.blog-grid {
  display: grid;
  gap: 24px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.service-card,
.fleet-card,
.step-card,
.safety-card,
.testimonial-card,
.blog-card,
.fare-card,
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 40px rgba(17,17,17,0.06);
  transition: var(--transition);
}

.feature-card:hover,
.service-card:hover,
.fleet-card:hover,
.step-card:hover,
.safety-card:hover,
.testimonial-card:hover,
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.feature-card i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--yellow);
  color: var(--black);
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-card h3,
.fleet-card h3,
.blog-card h3 {
  color: var(--black);
  margin-bottom: 8px;
  font-size: 22px;
}

.feature-card p,
.fleet-card p,
.testimonial-card p {
  color: var(--muted);
}

.service-grid {
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  text-align: center;
  font-weight: 900;
  font-size: 18px;
  background: linear-gradient(145deg, #ffffff, #fff8df);
}

.fleet-grid {
  grid-template-columns: repeat(4, 1fr);
}

.fleet-card img {
  height: 190px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 20px;
}

.fleet-card strong {
  display: block;
  color: var(--blue);
  font-size: 20px;
  margin: 15px 0;
}

.steps-grid {
  grid-template-columns: repeat(5, 1fr);
}

.step-card {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.14);
}

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 50%;
  font-weight: 950;
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 18px;
}

.fare-grid,
.contact-grid,
.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}

.fare-card {
  padding: 34px;
}

.fare-result {
  margin-top: 20px;
  padding: 18px;
  border-radius: 18px;
  background: var(--gray);
  font-weight: 900;
  color: var(--black);
}

.safety-grid {
  grid-template-columns: repeat(4, 1fr);
}

.safety-card {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 900;
}

.safety-card i {
  color: var(--blue);
  font-size: 24px;
}

.testimonial-grid {
  grid-template-columns: repeat(3, 1fr);
}

.testimonial-card span {
  color: var(--yellow);
  font-weight: 900;
}

.app-section h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.1;
  margin: 20px 0;
}

.app-section p {
  color: rgba(255,255,255,0.78);
  margin-bottom: 26px;
}

.app-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--black);
  padding: 16px 24px;
  border-radius: 18px;
  font-weight: 900;
}

.store-btn i {
  font-size: 26px;
}

.app-mockup img {
  max-width: 360px;
  margin: auto;
  border-radius: 34px;
  box-shadow: 0 35px 80px rgba(0,0,0,0.45);
}

.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

.blog-card {
  padding: 18px;
}

.blog-card img {
  height: 210px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 18px;
}

.blog-card a {
  color: var(--blue);
  font-weight: 900;
}

.contact-info p {
  margin: 14px 0;
  font-weight: 800;
}

.contact-info i {
  color: var(--blue);
  margin-right: 10px;
}

.footer {
  background: #090909;
  color: var(--white);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 35px;
  padding-bottom: 55px;
}

.footer-logo {
  color: var(--white);
  margin-bottom: 20px;
}

.footer p {
  color: rgba(255,255,255,0.68);
  margin-bottom: 20px;
}

.footer h3 {
  margin-bottom: 18px;
  color: var(--yellow);
}

.footer a {
  display: block;
  color: rgba(255,255,255,0.72);
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer a:hover {
  color: var(--yellow);
  transform: translateX(5px);
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  margin: 0;
}

.newsletter {
  display: flex;
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 6px;
  margin-top: 18px;
}

.newsletter input {
  background: transparent;
  border: none;
  color: var(--white);
}

.newsletter button {
  border: none;
  width: 48px;
  border-radius: 13px;
  background: var(--yellow);
  color: var(--black);
  cursor: pointer;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px;
}

.footer-bottom p {
  margin: 0;
}

.floating-btn {
  position: fixed;
  right: 22px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 22px;
  z-index: 999;
  box-shadow: var(--shadow);
}

.call-btn {
  bottom: 92px;
  background: var(--blue);
}

.whatsapp-btn {
  bottom: 25px;
  background: var(--green);
}

.popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popup.active {
  display: flex;
}

.popup-box {
  max-width: 430px;
  width: 100%;
  background: var(--white);
  border-radius: 30px;
  padding: 38px;
  text-align: center;
  box-shadow: var(--shadow);
}

.popup-box i {
  font-size: 58px;
  color: var(--green);
  margin-bottom: 18px;
}

.popup-box h2 {
  color: var(--black);
  margin-bottom: 8px;
}

.popup-box p {
  color: var(--muted);
  margin-bottom: 22px;
}

body.dark-mode {
  --white: #111827;
  --gray: #0f172a;
  --text: #e5e7eb;
  --black: #ffffff;
  --border: rgba(255,255,255,0.12);
  background: #020617;
}

body.dark-mode .site-header {
  background: rgba(2,6,23,0.9);
}

body.dark-mode .booking-card,
body.dark-mode .feature-card,
body.dark-mode .service-card,
body.dark-mode .fleet-card,
body.dark-mode .fare-card,
body.dark-mode .safety-card,
body.dark-mode .testimonial-card,
body.dark-mode .blog-card,
body.dark-mode .contact-form {
  background: #111827;
}
.active-testimonial,
.active-fleet {
  border-color: var(--yellow);
  transform: translateY(-8px) scale(1.02);
}
.page-hero {
  min-height: 420px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(17,17,17,0.88), rgba(37,99,235,0.45)),
    url("../images/hero/page-hero.jpg") center/cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 90px 0;
}

.page-hero h1 {
  max-width: 900px;
  margin: 18px auto;
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -1.5px;
}

.page-hero p {
  max-width: 760px;
  margin: auto;
  color: rgba(255,255,255,0.85);
  font-size: 18px;
}

.section-tag {
  display: inline-block;
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}

.about-grid h2,
.fare-grid h2,
.contact-grid h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
  margin-bottom: 18px;
  color: var(--black);
}

.about-grid p,
.fare-grid p,
.contact-grid p {
  color: var(--muted);
  margin-bottom: 16px;
}

.about-points {
  margin-top: 25px;
}

.about-points p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
  font-weight: 800;
  color: var(--text);
}

.about-points i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
}

.about-image-card {
  position: relative;
}

.about-image-card img {
  height: 520px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.experience-box {
  position: absolute;
  left: -25px;
  bottom: 35px;
  width: 190px;
  padding: 24px;
  border-radius: 24px;
  background: var(--yellow);
  color: #111;
  box-shadow: var(--shadow);
}

.experience-box h3 {
  font-size: 45px;
  line-height: 1;
}

.experience-box p {
  color: #111;
  margin: 6px 0 0;
  font-weight: 800;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stats-strip div {
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(145deg, var(--black), #2b2b2b);
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow);
}

.stats-strip h3 {
  font-size: 42px;
  color: var(--yellow);
}

.stats-strip p {
  color: rgba(255,255,255,0.8);
  font-weight: 800;
}

.fleet-card ul {
  margin: 15px 0;
  padding-left: 20px;
  color: var(--muted);
}

.fleet-card li {
  margin-bottom: 7px;
}

.auth-wrapper {
  max-width: 560px;
  margin: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

table th,
table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  color: var(--text);
}

table th {
  background: var(--yellow);
  color: #111;
  font-weight: 900;
}

table tr:hover {
  background: var(--gray);
}

.error-page {
  min-height: 90vh;
}

.active-testimonial,
.active-fleet {
  border-color: var(--yellow);
  transform: translateY(-8px) scale(1.02);
}
/* Dashboard Cards Polish */
.user-dashboard-card,
.driver-dashboard-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

/* Better Form Page Layout */
.booking-card form {
  display: grid;
  gap: 4px;
}

.booking-card .btn-primary {
  margin-top: 8px;
}

/* Login/Register Better Center */
.auth-wrapper .booking-card {
  max-width: 560px;
  margin: auto;
}

/* Dashboard Table Mobile Fix */
.fleet-card {
  overflow-x: auto;
}

table {
  min-width: 650px;
}

/* Responsive Fix */
@media (max-width: 900px) {
  .about-grid,
  .fare-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-image-card img {
    height: 380px;
  }

  .experience-box {
    left: 20px;
    bottom: 20px;
  }
}

@media (max-width: 600px) {
  .page-hero {
    min-height: 360px;
    padding: 70px 0;
  }

  .page-hero h1 {
    font-size: 34px;
  }

  .page-hero p {
    font-size: 15px;
  }

  .stats-strip {
    grid-template-columns: 1fr;
  }

  .about-image-card img {
    height: 320px;
  }

  table th,
  table td {
    padding: 12px;
    font-size: 14px;
  }
}
.footer a i {
  margin-right: 8px;
  color: var(--yellow);
  transition: var(--transition);
}

.footer a:hover i {
  color: var(--white);
  transform: translateX(4px);
}

.real-social a {
  color: #fff;
  transition: 0.35s ease;
}

.real-social a.facebook {
  background: #1877f2;
}

.real-social a.instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.real-social a.whatsapp {
  background: #25d366;
}

.real-social a.linkedin {
  background: #0a66c2;
}

.real-social a.youtube {
  background: #ff0000;
}

.real-social a:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 12px 25px rgba(255,255,255,0.18);
}

.footer-bottom strong {
  color: var(--yellow);
}
