/* =========================================
   VARIABLES & RESET
========================================= */
:root {
  --primary-color: #0f172a; /* Deep Navy */
  --secondary-color: #2563eb; /* High-conversion Blue */
  --secondary-hover: #1d4ed8;
  --accent-color: #f59e0b; /* Attention Orange for stats/icons */
  --text-dark: #334155;
  --text-light: #94a3b8;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --transition: all 0.3s ease-in-out;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

body {
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  font-size: 16px;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================================
   TYPOGRAPHY & BUTTONS
========================================= */
h1,
h2,
h3,
h4 {
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

p.subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 600px;
}

/* Buttons */
.cta-btn,
.btn-primary,
.hero-btn-primary,
.btn-secondary {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
}

.cta-btn {
  background-color: var(--secondary-color);
  color: #fff !important;
  padding: 10px 24px;
}

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

.hero-btn-primary {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 15px 35px;
  font-size: 1.1rem;
  margin-top: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-btn-primary:hover {
  background-color: var(--secondary-hover);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 14px 30px;
  font-size: 1rem;
  width: 100%;
}

.btn-primary:hover {
  background-color: var(--secondary-hover);
}

.btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  padding: 12px 28px;
  margin-top: 20px;
}

.btn-secondary:hover {
  background-color: var(--secondary-color);
  color: #fff;
}

/* =========================================
   TOP BAR & HEADER
========================================= */
.top-bar {
  background-color: var(--primary-color);
  color: #f1f5f9;
  padding: 8px 20px;
  text-align: right;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.top-bar a {
  color: #f1f5f9;
  text-decoration: none;
  transition: color 0.2s;
}

.top-bar a:hover {
  color: var(--secondary-color);
}

.header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 15px 0;
}

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

.logo img {
  height: 40px;
 
  object-fit: contain;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover:not(.cta-btn) {
  color: var(--secondary-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1000;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

/* =========================================
   HERO SLIDER
========================================= */
.hero {
  position: relative;
  height: 85vh;
  min-height: 600px;
  overflow: hidden;
  background-color: var(--primary-color);
}

.slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6); /* Dark overlay for text contrast */
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide .content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 800px;
  padding: 0 20px;
  transform: translateY(20px);
  transition: transform 1s ease-out;
}

.slide.active .content {
  transform: translateY(0);
}

.slide h1 {
  color: #fff;
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slide p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #f1f5f9;
}

.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

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

.dot.active {
  background-color: var(--secondary-color);
  transform: scale(1.2);
}

/* =========================================
   ABOUT SECTION
========================================= */
.about {
  padding: 80px 0;
  background-color: var(--bg-white);
}

.about-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

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

.about-content {
  flex: 1;
}

.about-content p {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.stats {
  display: flex;
  gap: 40px;
  margin-bottom: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.stat h3 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  display: inline-block;
}

.stat span {
  font-size: 2.5rem;
  color: var(--secondary-color);
  font-weight: bold;
}

.stat p {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0;
}

/* =========================================
   SERVICES SECTION
========================================= */
/* Service Icons */
.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.service-card {
  background: var(--bg-white);
  padding: 50px 30px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border-color: var(--secondary-color);
}

.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.service-card p {
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-link {
  font-weight: 700;
  color: var(--secondary-color);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .service-cards {
    grid-template-columns: 1fr;
  }
}
/* Modal */
.modal-content {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modalFadeIn 0.3s ease-out forwards;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   WHY CHOOSE US
========================================= */
.why-choose-us {
  padding: 80px 0;
}

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

.feature {
  padding: 30px;
  background: var(--bg-white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--bg-light);
}

.feature:hover {
  box-shadow: var(--shadow-md);
}

.feature .icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: var(--bg-light);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
/* =========================================
   PREMIUM TESTIMONIALS (PAID ADS SHOWCASE)
========================================= */
.premium-testimonials-showcase {
  display: flex;
  justify-content: center;
  align-items: stretch; 
  gap: 40px; /* Slightly wider gap looks better with 2 cards */
  margin-top: 50px;
  flex-wrap: nowrap;
  padding: 20px 0 40px;
  width: 100%;
  max-width: 1100px; /* Constrains the 2 cards so they don't get too wide */
  margin: auto;
}

.showcase-card {
  flex: 1;
  min-width: 0;
  max-width: 500px; /* Prevents stretching on ultra-wide screens */
  background: var(--bg-white);
  border-radius: 16px;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08); 
  border: 1px solid rgba(226, 232, 240, 0.8);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
  display: flex;
  flex-direction: column;
  position: relative;
}

.showcase-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15); 
  border-color: var(--secondary-color);
}

.video-frame {
  position: relative;
  width: 100%;
  /* 4/3 ratio is a perfect middle-ground for mixing Portrait and Landscape */
  aspect-ratio: 4 / 3; 
  background: #0f172a;
  border-bottom: 3px solid var(--secondary-color);
  overflow: hidden; 
}

.video-frame video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Forces the video to fill the 4:3 box flawlessly */
  /* Keeps the top/center in focus so portrait videos don't cut off heads */
  object-position: center top; 
  display: block;
}

/* Trust Badge Overlay */
.verified-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-sm);
}

.showcase-content {
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.stars {
  color: #fbbf24;
  font-size: 1.3rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.quote {
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.5;
  margin-bottom: 25px;
  flex-grow: 1; 
}

.quote::before {
  content: '"';
  color: var(--secondary-color);
  font-size: 1.5rem;
  opacity: 0.5;
  margin-right: 2px;
}

.driver-profile {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.driver-info h4 {
  margin: 0 0 4px 0;
  font-size: 1.1rem;
  color: var(--primary-color);
}

.driver-info p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* =========================================
   RESPONSIVE (MOBILE)
========================================= */
@media (max-width: 1024px) {
  .premium-testimonials-showcase {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
    padding: 20px;
  }

  .showcase-card {
    width: 100%;
    max-width: 550px;
  }
}
/* =========================================
   APPLICATION FORM (HIGH CONVERSION)
========================================= */
.contact {
  background-color: var(--bg-white);
}

.contact p.subtitle {
  margin: 0 auto 40px auto;
  text-align: center;
}

.contact h2 {
  text-align: center;
}

.apply-form {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-light);
  padding: 50px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 25px;
}

.apply-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary-color);
}

.apply-form input[type="text"],
.apply-form input[type="email"],
.apply-form input[type="tel"],
.apply-form select {
  width: 100%;
  padding: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  background-color: #fff;
}

.apply-form input:focus,
.apply-form select:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.radio-group {
  display: flex;
  gap: 30px;
  background: #fff;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
}

.radio-group label {
  font-weight: 400;
  margin-bottom: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-group {
  background: transparent;
  border: none;
  padding: 0;
  margin-top: 30px;
}

.checkbox-group label {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
  cursor: pointer;
}

/* =========================================
   FOOTER
========================================= */
.footer {
  background-color: var(--primary-color);
  color: #fff;
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-info p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

/* =========================================
   MEDIA QUERIES (RESPONSIVENESS)
========================================= */
@media (max-width: 992px) {
  .about-wrapper {
    flex-direction: column;
  }

  .slide h1 {
    font-size: 3rem;
  }

  .stats {
    justify-content: space-between;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    justify-content: center;
  }

  .hamburger {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-200%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    z-index: 998;
  }

  .nav-links {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 10px;
  }

  /* Hamburger Animations */
  .hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .slide h1 {
    font-size: 2.2rem;
  }

  .slide p {
    font-size: 1.1rem;
  }

  .apply-form {
    padding: 30px 20px;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .stats {
    flex-direction: column;
    align-items: flex-start;
  }

  .radio-group {
    flex-direction: column;
    gap: 15px;
  }
}
