/* ====== RESET & GLOBAL ====== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --deep-blue: #0A192F;
  --deep-blue-light: #112240;
  --gold: #D4AF37;
  --gold-hover: #F3E5AB;
  --white: #FFFFFF;
  --terracotta: #E07A5F;
  --light-bg: #F8F9FA;
  --gray-100: #E2E8F0;
  --gray-300: #94A3B8;
  --gray-800: #1E293B;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius: 16px;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray-800);
  background-color: var(--light-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 600;
  color: var(--deep-blue);
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 1.25rem; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold);
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

.container {
  width: min(90%, 1200px);
  margin: 0 auto;
}

.section-padding {
  padding: 3.5rem 0;
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px; /* Pill shape for premium feel */
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: all var(--transition);
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #B8860B);
  color: var(--white);
  border-color: transparent;
}
.btn-primary:hover {
  color: var(--white);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background-color: var(--white);
  color: var(--deep-blue);
}

.btn-dark {
  background: var(--deep-blue);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--deep-blue-light);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(10, 25, 47, 0.3);
}

/* ====== HEADER & NAVIGATION ====== */
.main-header {
  position: fixed; /* Changed to fixed for smooth scroll tracking */
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: all var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0; /* no extra gap needed, the SVG handles spacing */
}
.logo svg {
  height: 48px;   /* adjust as needed */
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-800);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--deep-blue);
  z-index: 1001;
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-toggle {
    display: block;
  }
}

/* ====== HERO (SHARED) ====== */
.hero {
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 60px; /* Adjusted for smaller header */
  margin-bottom: 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.85) 0%, rgba(10, 25, 47, 0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 800px;
  animation: fadeUp 1s ease-out;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  font-weight: 300;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ====== CARDS ====== */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.card img {
  height: 260px;
  width: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.7s ease;
}
.card:hover img {
  transform: scale(1.05);
}
.card-img-wrapper {
  overflow: hidden;
}
.card-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.card-body h3 {
  margin-bottom: 0.75rem;
}
.card-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ====== SERVICE PILLARS ====== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3.5rem;
}
.service-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.service-card .btn {
  margin-top: auto;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: right;
}
.service-card:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform var(--transition);
}
.service-card:hover .service-icon {
  transform: scale(1.1);
}

/* ====== FLEET GRID ====== */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
}
.price-tag {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ====== TRUST STRIP ====== */
.trust-strip {
  background: linear-gradient(to right, var(--deep-blue), var(--deep-blue-light));
  color: var(--white);
}
.trust-strip h3 {
  color: var(--white);
}
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.1rem;
  background: rgba(255,255,255,0.1);
  padding: 1rem 2rem;
  border-radius: 50px;
  backdrop-filter: blur(5px);
}

/* ====== FOOTER ====== */
.footer {
  background: var(--deep-blue);
  color: var(--gray-300);
  padding: 6rem 0 3rem;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--terracotta));
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}
.footer a {
  color: var(--gray-300);
  display: block;
  margin-bottom: 0.75rem;
  transition: all var(--transition);
}
.footer a:hover {
  color: var(--gold);
  transform: translateX(5px);
}
.footer-heading {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}
.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 40px;
  height: 2px;
  background: var(--gold);
}

/* ====== UTILITIES ====== */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }
.gold { color: var(--gold); }
.bg-light { background: var(--light-bg); }

/* ====== FORMS ====== */
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--deep-blue);
  font-size: 0.95rem;
}
.form-control {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid var(--gray-100);
  border-radius: 8px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  transition: all var(--transition);
  background: var(--white);
  color: var(--gray-800);
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}
textarea.form-control {
  resize: vertical;
  min-height: 150px;
}
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%231E293B%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.4-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem top 50%;
  background-size: 0.65rem auto;
  padding-right: 3rem;
}

/* ====== CALCULATOR & MAP ====== */
.calc-map-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  margin-top: 3rem;
  border: 1px solid rgba(0,0,0,0.03);
}
@media (max-width: 900px) {
  .calc-map-wrapper {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
  }
}
.calculator-panel {
  display: flex;
  flex-direction: column;
}
.calculator-panel h3 {
  margin-bottom: 1.5rem;
}
.map-panel {
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  min-height: 400px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
}
.map-panel iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.cost-display {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 700;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-100);
}
.cost-label {
  font-size: 0.9rem;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 1px;
}