:root {
  --color-primary: #004b8d;
  --color-primary-dark: #00345f;
  --color-accent: #f5a623;
  --color-bg: #f5f7fa;
  --color-text: #222;
  --color-muted: #666;
  --header-height: 80px;
  --font-main: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-text);
  background-color: var(--color-bg);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ===========================
   HEADER
=========================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.top-bar {
  max-width: 1200px;
  margin: 0 auto;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.logo-small {
  display: none;
}

body.is-sticky .logo-full {
  display: none;
}

body.is-sticky .logo-small {
  display: block;
}

/* NAVIGATION */

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding-bottom: 4px;
}

/* Modern underline hover */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* LANGUAGE SWITCHER */

.lang-switcher {
  display: flex;
  gap: 0.25rem;
}

.lang-switcher button {
  border: 1px solid #ddd;
  background: #fff;
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
  cursor: pointer;
  border-radius: 3px;
}

.lang-switcher button.active {
  border-color: var(--color-primary);
  color: #fff;
  background: var(--color-primary);
}

/* MOBILE NAV */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}

/* ===========================
   HERO
=========================== */

.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.hero-home {
  min-height: 70vh;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.35)
  );
  z-index: 5;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: 2rem;
  text-align: center;
}

.hero-content h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.hero-inner {
  height: 100vh;
  position: relative;
}

.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}


/* ===========================
   UPDATED HERO HEIGHTS
   (Inner pages only)
=========================== */

body[data-page="services"] .hero-inner,
body[data-page="vehicles"] .hero-inner,
body[data-page="faq"] .hero-inner,
body[data-page="contact"] .hero-inner {
  height: 60vh;
  min-height: 420px;
}

@media (max-width: 768px) {
  body[data-page="services"] .hero-inner,
  body[data-page="vehicles"] .hero-inner,
  body[data-page="faq"] .hero-inner,
  body[data-page="contact"] .hero-inner {
    height: 75vh;
  }
}




/* BUTTON */

.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--color-accent);
  color: #222;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn-primary:hover {
  transform: scale(1.05);
}

/* ===========================
   MAIN CONTENT
=========================== */

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.content-section {
  max-width: 900px;
  margin: 0 auto;
}

.content-section h2 {
  font-size: 1.6rem;
  color: var(--color-primary-dark);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.content-section p {
  font-size: 1rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0 0 0.5rem;
}

/* ===========================
   FEATURES
=========================== */

.features-header {
  text-align: center;
  margin-bottom: 15px;
}

.features-heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0 0 6px 0;
}

.features-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin: 0;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.feature {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 280px;
  justify-content: flex-start;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  background-color: #f0f8ff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  object-fit: contain;
}

.feature h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-primary-dark);
}

.feature p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* ===========================
   TESTIMONIALS
=========================== */

.testimonials {
  position: relative;
  width: 100%;
  padding: 50px 20px;
  background: url("/assets/img/testimonials-bg.jpg") center center / cover no-repeat;
  color: #fff;
  text-align: center;
  margin-top: 2.5rem;
}

.testimonials-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.20);
  z-index: 1;
}

.testimonials h2 {
  position: relative;
  z-index: 2;
  font-size: 2rem;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.testimonials-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.92);
  color: #222;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
  text-align: center;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

.testimonial-photo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
}

.testimonial-name {
  font-size: 1.05rem;
  font-weight: bold;
  margin-bottom: 4px;
}

.testimonial-role {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   CONTACT FORM — FINAL VERSION
=========================== */

/* Outer section container */
.contact-section {
  max-width: 900px;
  margin: 40px auto;
}

.contact-container {
  max-width: 1000px;
  margin: 30px auto; /* reduced from 60px */
  background: #ffffff;
  padding: 50px 60px;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

/* White card container */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

:root {
  --color-primary: #004b8d;
  --color-primary-dark: #00345f;
  --color-accent: #f5a623;
  --color-bg: #f5f7fa;
  --color-text: #222;
  --color-muted: #666;
  --header-height: 80px;
  --font-main: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-text);
  background-color: var(--color-bg);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ===========================
   HEADER
=========================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.top-bar {
  max-width: 1200px;
  margin: 0 auto;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.logo-small {
  display: none;
}

body.is-sticky .logo-full {
  display: none;
}

body.is-sticky .logo-small {
  display: block;
}

/* NAVIGATION */

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding-bottom: 4px;
}

/* Modern underline hover */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* ===========================
   UNIFIED LANGUAGE SWITCHER
=========================== */

.lang-switcher {
  display: flex;
  gap: 0.25rem;
}

/* Same look on ALL pages */
.lang-switcher button {
  background: rgba(255, 255, 255, 0.18);
  color: #00345f;
  border: 1px solid rgba(0, 0, 0, 0.25);
  padding: 0.25rem 0.6rem;
  font-size: 0.8rem;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}

/* Hover effect (same everywhere) */
.lang-switcher button:hover {
  background: #00345f;
  color: #ffffff;
  border-color: #00345f;
}

/* Active language */
.lang-switcher button.active {
  background: #00345f;
  color: #ffffff;
  border-color: #00345f;
}

/* MOBILE NAV */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}

/* ===========================
   HERO
=========================== */

.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.hero-home {
  min-height: 70vh;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.35)
  );
  z-index: 5;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: 2rem;
  text-align: center;
}

.hero-content h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.hero-inner {
  height: 100vh;
  position: relative;
}

.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

/* ===========================
   UPDATED HERO HEIGHTS
=========================== */

body[data-page="services"] .hero-inner,
body[data-page="vehicles"] .hero-inner,
body[data-page="faq"] .hero-inner,
body[data-page="contact"] .hero-inner {
  height: 60vh;
  min-height: 420px;
}

@media (max-width: 768px) {
  body[data-page="services"] .hero-inner,
  body[data-page="vehicles"] .hero-inner,
  body[data-page="faq"] .hero-inner,
  body[data-page="contact"] .hero-inner {
    height: 75vh;
  }
}

/* ===========================
   CONTACT FORM — TWO‑COLUMN LAYOUT
=========================== */

/* Section titles */
.form-group-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #00345f;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* Two-column grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
}

/* Mobile: one column */
@media (max-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Form rows */
.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

/* Labels */
.form-row label {
  font-size: 1rem;
  font-weight: 600;
  color: #00345f;
  margin-bottom: 8px;
  white-space: nowrap;
}

/* Inputs, selects, textareas */
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  line-height: 48px;
  border-radius: 8px;
  border: 1px solid #cfd6df;
  background: #f8fafc;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.25s ease, background 0.25s ease;
  box-sizing: border-box;
}

/* Select dropdown arrow */
.form-row select {
  appearance: none;
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-image: url("data:image/svg+xml;utf8,<svg fill='none' stroke='%2300345f' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M6 9l6 6 6-6'/></svg>");
}

/* Focus state */
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: #00345f;
  background: #ffffff;
  outline: none;
}

/* Textarea */
textarea {
  min-height: 150px;
  height: auto;
  line-height: 1.5;
  padding: 14px;
  resize: vertical;
}

/* Submit button */
.btn-primary {
  margin-top: 30px;
  padding: 16px 24px;
  background: #00345f;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.25s ease;
}

.btn-primary:hover {
  background: #004a82;
}

/* Form messages */
.form-message {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.form-message.success {
  color: #1a7f37;
}

.form-message.error {
  color: #b3261e;
}

/* Mobile spacing */
@media (max-width: 700px) {
  .form-row {
    margin-bottom: 22px;
  }

  .form-row label {
    white-space: normal;
  }

  .btn-primary {
    padding: 18px 24px;
    font-size: 1.15rem;
  }
}

/* ===========================
   FOOTER
=========================== */

.site-footer {
  background-color: var(--color-primary);
  color: var(--color-bg);
  padding: 30px 20px;
  text-align: center;
}

/* ===========================
   SERVICES PAGE
=========================== */

.page-header {
  text-align: center;
  max-width: 800px;
  margin: 40px auto 20px;
}

.page-header h2 {
  font-size: 2rem;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}

.page-header p {
  font-size: 1.1rem;
  color: #555;
  margin: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.service-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.service-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.0), rgba(0,0,0,0.55));
}

.service-title {
  position: absolute;
  bottom: 12px;
  left: 16px;
  z-index: 2;
}

.service-title h3 {
  margin: 0;
  color: #fff;
  font-size: 1.4rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.service-body {
  padding: 1.5rem;
}

.service-body p {
  margin: 0;
  color: #555;
  line-height: 1.6;
  font-size: 1.05rem;
}

.services-cta {
  text-align: center;
  margin: 50px 0;
}

/* ===========================
   RESPONSIVE NAV
=========================== */

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    background: #fff;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .top-bar {
    padding: 0 1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }
}

/* ===========================
   VEHICLES GALLERY
=========================== */

.vehicles-gallery {
  max-width: 1200px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.vehicle-card {
  background: #0a1a2f;
  color: #f9fafb;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.45);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.vehicle-card:hover {
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.18);
}

.vehicle-images {
  width: 100%;
}

.vehicle-img-large {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.vehicle-img-row {
  display: flex;
}

.vehicle-img-small {
  width: 50%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.vehicle-card:hover .vehicle-img-large,
.vehicle-card:hover .vehicle-img-small {
  transform: scale(1.03);
}

.vehicle-info {
  padding: 1.5rem 1.6rem 1.7rem;
}

.vehicle-info h3 {
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
}

.vehicle-info p {
  margin: 4px 0;
  font-size: 1rem;
  color: #e5e7eb;
}

.vehicle-info p strong {
  font-weight: 600;
  color: #facc15;
}

@media (max-width: 600px) {
  .vehicle-img-large {
    height: 220px;
  }
  .vehicle-img-small {
    height: 130px;
  }
}

/* ===========================
   FAQ PAGE
=========================== */

.faq-list {
  max-width: 900px;
  margin: 40px auto;
}

.faq-item {
  background: #ffffff;
  border-radius: 12px;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.faq-item.open {
  border-color: #00345f;
}

.faq-question {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: #eef2f6;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: #00345f;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.25s ease, color 0.25s ease;
}

.faq-question:hover {
  background: #e0e6ee;
}

.faq-item.open .faq-question {
  background: #00345f;
  color: #ffffff;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}

.faq-icon {
  width: 18px;
  height: 18px;
  margin-left: auto;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: flex;
  gap: 12px;
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  color: #555;
  line-height: 1.6;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-a-icon {
  width: 20px;
  height: 20px;
  stroke: #00345f;
  fill: none;
  flex-shrink: 0;
  margin-top: 4px;
}

.faq-item.open .faq-answer {
  padding: 1rem 1.5rem 1.4rem;
  max-height: 500px;
}