/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #2d2d2d;
  background: #fff;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ===== VARIABLES ===== */
:root {
  --navy: #1a2a4a;
  --gold: #c8960c;
  --light-bg: #f4f6fa;
  --text-muted: #6c757d;
  --border: #e0e4ed;
}

/* ===== NAVBAR ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 70px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 44px;
  width: 44px;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
  padding: 3px;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
}
.nav-logo-text span:first-child {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}
.nav-logo-text span:last-child {
  font-size: 0.65rem;
  color: #a0b0cc;
  letter-spacing: 0.5px;
}
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  color: #ccd6e8;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.5px;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #253d6e 60%, #1a3a5c 100%);
  color: #fff;
  padding: 100px 5% 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: rgba(200,150,12,0.08);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.2;
  position: relative;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 1.1rem;
  color: #b0c4de;
  max-width: 620px;
  margin: 0 auto 36px;
  position: relative;
}
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  padding: 14px 36px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.2s;
  position: relative;
}
.btn-primary:hover { background: #a87a0a; transform: translateY(-2px); }
.btn-outline {
  display: inline-block;
  border: 2px solid #fff;
  color: #fff;
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-left: 14px;
  transition: all 0.2s;
  position: relative;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--gold);
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  padding: 22px 50px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.3);
}
.stat-item:last-child { border-right: none; }
.stat-item strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
}
.stat-item span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.5px;
}

/* ===== SECTIONS ===== */
section { padding: 72px 5%; }
.section-tag {
  display: inline-block;
  background: rgba(200,150,12,0.1);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
h2.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
}
.section-sub {
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 44px;
}

/* ===== SERVICES GRID ===== */
.services-section { background: var(--light-bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: 10px;
  padding: 32px 24px;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s;
}
.service-card:hover { box-shadow: 0 8px 32px rgba(26,42,74,0.12); transform: translateY(-4px); }
.service-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}
.service-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.service-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ===== INVENTORY ===== */
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}
.vehicle-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  background: #fff;
}
.vehicle-card:hover { box-shadow: 0 8px 28px rgba(26,42,74,0.13); transform: translateY(-4px); }
.vehicle-img {
  background: linear-gradient(135deg, #e8edf5 0%, #d0d9e8 100%);
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--navy);
  overflow: hidden;
  position: relative;
}
.vehicle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}
.vehicle-card:hover .vehicle-img img {
  transform: scale(1.05);
}
.vehicle-info { padding: 20px; }
.vehicle-info h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.vehicle-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tag {
  background: var(--light-bg);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--border);
}
.vehicle-info .price {
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 14px;
}
.btn-enquire {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--navy);
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-enquire:hover { background: #253d6e; }

/* ===== WHY CHOOSE US ===== */
.why-section { background: var(--navy); color: #fff; }
.why-section .section-title { color: #fff; }
.why-section .section-sub { color: #8ea8cc; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 28px 22px;
  transition: background 0.2s;
}
.why-card:hover { background: rgba(255,255,255,0.1); }
.why-icon { font-size: 2rem; margin-bottom: 12px; }
.why-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--gold); }
.why-card p { font-size: 0.85rem; color: #9ab0cc; }

/* ===== ABOUT ===== */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-visual {
  background: linear-gradient(135deg, var(--navy) 0%, #253d6e 100%);
  border-radius: 12px;
  height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 5rem;
  gap: 16px;
}
.about-visual p { font-size: 1rem; color: #8ea8cc; text-align: center; padding: 0 20px; }
.about-text .section-sub { max-width: 100%; }
.about-list { list-style: none; margin-top: 20px; }
.about-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
}
.about-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
}

/* ===== CONTACT ===== */
.contact-section { background: var(--light-bg); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: start;
}
.contact-info h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-icon {
  width: 40px; height: 40px;
  background: var(--navy);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail strong { display: block; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 2px; }
.contact-detail span { font-size: 0.92rem; color: var(--navy); font-weight: 500; }
.contact-form {
  background: #fff;
  border-radius: 12px;
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(26,42,74,0.07);
}
.contact-form h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
  color: #2d2d2d;
  transition: border-color 0.2s;
  outline: none;
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--navy); }
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  width: 100%;
  background: var(--gold);
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.5px;
}
.btn-submit:hover { background: #a87a0a; }

/* ===== FOOTER ===== */
footer {
  background: #111c2e;
  color: #8ea8cc;
  padding: 48px 5% 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand p { font-size: 0.85rem; color: #6a7f99; line-height: 1.7; }
footer h4 { color: #fff; font-size: 0.9rem; font-weight: 700; margin-bottom: 14px; letter-spacing: 0.5px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 9px; }
footer ul li a { font-size: 0.85rem; color: #6a7f99; transition: color 0.2s; }
footer ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #4a607a;
}

/* ===== SERVICE CARD CLICKABLE ===== */
.service-card.clickable {
  cursor: pointer;
  position: relative;
}
.service-card.clickable:hover {
  box-shadow: 0 8px 32px rgba(26,42,74,0.15);
  transform: translateY(-5px);
  border-color: var(--gold);
}
.card-learn-more {
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.3px;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,20,40,0.72);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: #fff;
  border-radius: 16px;
  max-width: 680px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 40px 38px 32px;
  position: relative;
  transform: translateY(24px);
  transition: transform 0.28s ease;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}
.modal-overlay.active .modal-box {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: var(--light-bg);
  border: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover { background: var(--border); }
.modal-icon { font-size: 2.8rem; margin-bottom: 10px; }
.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 18px;
}
.modal-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 22px;
}
.modal-vehicles {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}
.modal-vehicle-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--light-bg);
  border-radius: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border);
}
.modal-vehicle-item img {
  width: 80px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.modal-vehicle-item div { display: flex; flex-direction: column; }
.modal-vehicle-item strong { font-size: 0.87rem; color: var(--navy); margin-bottom: 3px; }
.modal-vehicle-item span { font-size: 0.75rem; color: var(--text-muted); }
.modal-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}
.modal-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--navy);
  background: #f0faf4;
  border-radius: 6px;
  padding: 8px 12px;
}
.modal-feature span { line-height: 1.4; }
.modal-highlight {
  background: var(--light-bg);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 16px 18px;
  margin-bottom: 20px;
}
.modal-highlight strong { display: block; font-size: 0.88rem; color: var(--navy); margin-bottom: 10px; }
.modal-highlight ul { list-style: none; }
.modal-highlight ul li { font-size: 0.82rem; color: var(--text-muted); padding: 4px 0; }
.modal-process {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}
.modal-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.step-num {
  width: 30px; height: 30px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.modal-step div strong { display: block; font-size: 0.88rem; color: var(--navy); margin-bottom: 3px; }
.modal-step div p { font-size: 0.8rem; color: var(--text-muted); margin: 0; line-height: 1.5; }
.modal-footer {
  display: flex;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.btn-modal-outline {
  display: inline-block;
  border: 2px solid var(--navy);
  color: var(--navy);
  padding: 11px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.btn-modal-outline:hover { background: var(--navy); color: #fff; }

@media (max-width: 600px) {
  .modal-box { padding: 28px 20px 24px; }
  .modal-features { grid-template-columns: 1fr; }
  .modal-footer { flex-direction: column; }
  .modal-footer a { text-align: center; }
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #25D366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 18px rgba(37,211,102,0.45);
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,0.55); }
.whatsapp-tooltip {
  position: fixed;
  bottom: 96px;
  right: 28px;
  background: #fff;
  color: var(--navy);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.whatsapp-float:hover + .whatsapp-tooltip,
.whatsapp-tooltip:hover { opacity: 1; }

/* ===== VEHICLE CARD CLICKABLE ===== */
.vehicle-card { cursor: pointer; }
.vehicle-card:hover { box-shadow: 0 10px 36px rgba(26,42,74,0.16); transform: translateY(-5px); }

/* ===== VEHICLE DETAIL MODAL ===== */
.vmodal-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; }
.vmodal-img-wrap { position: relative; background: var(--light-bg); border-radius: 12px 0 0 12px; overflow: hidden; min-height: 300px; display: flex; align-items: center; justify-content: center; }
.vmodal-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vmodal-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; }
.vbadge { background: var(--gold); color: #fff; font-size: 0.68rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.vmodal-content { padding: 28px 30px; overflow-y: auto; max-height: 80vh; }
.vmodal-brand { font-size: 0.75rem; font-weight: 700; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.vmodal-title { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: 12px; line-height: 1.3; }
.vmodal-desc { font-size: 0.83rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.vspec-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; margin-bottom: 16px; }
.vspec-table tr { border-bottom: 1px solid var(--border); }
.vspec-table td { padding: 7px 6px; }
.vspec-table td:first-child { color: var(--navy); font-weight: 600; width: 44%; }
.vspec-table td:last-child { color: #444; }
.vspec-table tr:nth-child(even) td { background: var(--light-bg); }
.vhighlight { font-size: 0.8rem; color: var(--navy); padding: 5px 0; display: flex; gap: 6px; align-items: flex-start; line-height: 1.4; }
.vmodal-highlights { margin-bottom: 20px; }
.vmodal-actions { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--border); }
.btn-whatsapp { display: inline-flex; align-items: center; gap: 6px; background: #25D366; color: #fff; padding: 11px 22px; border-radius: 4px; font-weight: 700; font-size: 0.88rem; transition: background 0.2s; }
.btn-whatsapp:hover { background: #1da851; }

/* Modal override for vehicle modal — full-width layout */
#vehicleModal .modal-box { max-width: 820px; padding: 0; overflow: hidden; }
#vehicleModal .modal-close { top: 12px; right: 12px; z-index: 10; background: rgba(255,255,255,0.9); }

@media (max-width: 640px) {
  .vmodal-inner { grid-template-columns: 1fr; }
  .vmodal-img-wrap { border-radius: 12px 12px 0 0; min-height: 200px; }
  .vmodal-content { padding: 20px 18px; }
}

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, #253d6e 100%);
  color: #fff;
  padding: 60px 5% 50px;
  text-align: center;
}
.page-header h1 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 800; margin-bottom: 10px; }
.page-header p { color: #8ea8cc; font-size: 1rem; }
.breadcrumb { font-size: 0.82rem; color: #6a7f99; margin-bottom: 14px; }
.breadcrumb a { color: var(--gold); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .about-visual { height: 220px; font-size: 3rem; }
}
@media (max-width: 680px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; width: 100%; background: var(--navy); padding: 16px 5%; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.07); }
  .nav-links a { display: block; padding: 12px 0; }
  .hamburger { display: flex; }
  .stat-item { padding: 16px 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .btn-outline { display: none; }
}
