:root {
  --bg: #081a40;
  --surface: #fff;
  --surface-alt: #f6f7fc;
  --text: #102145;
  --muted: #506185;
  --primary: #ed6b1b;
  --primary-dark: #c95214;
  --accent: #0f4c81;
  --shadow: 0 24px 64px rgba(6, 25, 57, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #f8fafc;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.header-grid,
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar {
  background: #ffffffee;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(14, 40, 84, 0.08);
}

.top-text {
  margin: 0;
  padding: 0.85rem 0;
  color: #354160;
  font-size: 0.95rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar {
  background: white;
}

.nav-container {
  padding: 0.16rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
  padding-left: 0;
}

.logo-image {
  width: 110px;
  height: 110px;
  object-fit: contain;
  transform: scale(1.15) translateX(-16px);
  transform-origin: left center;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: auto; /* push the menu to the far right */
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--primary);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  gap: 0.4rem;
  flex-direction: column;
  justify-content: center;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.hero-section {
  min-height: 90vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(8,26,64,0.72) 0%, rgba(8,26,64,0.72) 100%), url('https://images.unsplash.com/photo-1542010748151-3e1fd38180f7?auto=format&fit=crop&w=1500&q=80') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,26,64,0.55), rgba(8,26,64,0.9));
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
  padding: 4rem 0;
}

.hero-copy {
  max-width: 720px;
  color: white;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: #ffd07d;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.02;
  margin: 0 0 1rem;
}

.hero-copy p {
  font-size: 1.1rem;
  max-width: 660px;
  margin-bottom: 1.75rem;
  line-height: 1.75;
  color: #e3eaf6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2rem;
}

/* Ensure these main section headers remain centered even when their
   parent section is right-aligned for layout balance */
#vehicles .section-header,
#destinations .section-header,
#testimonials .section-header {
  text-align: center;
  margin: 0 auto 2rem;
}

.align-right {
  text-align: right;
}

.align-right .section-header {
  text-align: center;
  margin: 0 auto 2rem;
}

#contact.align-right .footer-grid {
  justify-content: space-between;
  text-align: left;
}

.section-header small {
  display: block;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  text-align: center;
}

.section-header h2 {
  margin: 0;
  font-size: 2.6rem;
  line-height: 1.05;
}

.section-header p {
  margin: 1rem auto 0;
  color: var(--muted);
  line-height: 1.75;
}

.vehicle-grid,
.destination-grid,
.testimonial-grid,
.feature-cards {
  display: grid;
  gap: 1.5rem;
}

.vehicle-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.destination-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vehicle-card,
.destination-card,
.testimonial-card,
.feature-card {
  background: var(--surface);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.vehicle-card img,
.destination-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.vehicle-card-body,
.destination-content,
.testimonial-card,
.feature-card {
  padding: 1.5rem;
}

.vehicle-card h3,
.destination-content h3,
.feature-card h4,
.testimonial-card h4 {
  margin: 0 0 0.75rem;
}

.vehicle-card p,
.destination-content p,
.testimonial-card p,
.feature-card p {
  margin: 0.5rem 0;
  color: var(--muted);
  line-height: 1.7;
}

.vehicle-card .button,
.destination-card .button,
.testimonial-card .button {
  margin-top: 1.25rem;
}

.vehicle-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
}

.vehicle-card-body h3 {
  margin-top: 0;
}

.destination-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
}

.testimonial-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.5rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 18px 30px rgba(237, 107, 27, 0.25);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: white;
  border: 1px solid rgba(255,255,255,0.18);
}

.button-small {
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
}

.feature-card {
  text-align: center;
  min-height: 220px;
}

.feature-card i {
  font-size: 1.7rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-card h4 {
  margin-bottom: 0.75rem;
}

.destination-card {
  overflow: hidden;
  border-radius: 18px;
  background: transparent;
}

.destination-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.destination-card:hover img {
  transform: scale(1.03);
}

.destination-content {
  padding: 1rem 1.25rem 1.5rem;
  color: var(--text);
  background: var(--surface);
}

.destination-content h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.testimonial-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Ensure captions, card text and testimonials use normal (left) alignment */
.destination-content,
.vehicle-card-body,
.testimonial-card {
  text-align: left;
  align-items: flex-start;
}

/* Make card action buttons align to the left edge for consistency */
.vehicle-card .button,
.destination-card .button,
.testimonial-card .button {
  align-self: flex-start;
}

/* Normalize main content alignment site-wide (keep headings centered where explicitly set) */
.hero-copy,
.vehicle-card-body,
.destination-content,
.feature-card,
.testimonial-card,
.map-wrapper,
.footer-grid,
.section p {
  text-align: left;
}

.testimonial-card span {
  color: var(--primary);
  font-weight: 700;
}

.map-wrapper {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrapper iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
}

.footer-section {
  background: var(--bg);
  color: #f1f4fb;
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  justify-items: start;
  gap: 1.5rem;
  text-align: left;
}

.footer-grid > * {
  min-width: 0;
}

.footer-section h3,
.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-section a {
  color: #c7d5f3;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: white;
}

.footer-bottom {
  text-align: center;
  color: #9fb1d2;
  margin-top: 2rem;
}

.floating-whatsapp {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #25d366;
  color: white;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1rem;
  box-shadow: 0 16px 30px rgba(37, 211, 102, 0.3);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.floating-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
}

.floating-whatsapp i {
  font-size: 1.2rem;
}

.floating-call {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #0085ff;
  color: white;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1rem;
  box-shadow: 0 16px 30px rgba(0, 133, 255, 0.3);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.floating-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 133, 255, 0.4);
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 20, 45, 0.82);
}

.modal-content {
  position: relative;
  width: min(680px, calc(100% - 2rem));
  background: white;
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 2rem;
  z-index: 1;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(8, 26, 64, 0.08);
  font-size: 1.4rem;
}

.modal-header h2 {
  margin: 0 0 0.5rem;
}

.modal-header p {
  margin: 0;
  color: var(--muted);
}

.booking-form {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field-group {
  display: grid;
  gap: 0.5rem;
}

.field-group label {
  font-weight: 600;
}

.field-group input,
.field-group textarea {
  width: 100%;
  border: 1px solid #d9e0ee;
  border-radius: 14px;
  padding: 0.95rem 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-group input:focus,
.field-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(237,107,27,0.12);
}

.field-group textarea {
  min-height: 120px;
  resize: vertical;
}

.booking-summary {
  margin-top: 1.5rem;
  background: #f3f7ff;
  border: 1px solid #dbe6ff;
  border-radius: 18px;
  padding: 1.5rem;
}

.booking-summary h3 {
  margin-top: 0;
}

@media (max-width: 1024px) {
  .vehicle-grid,
  .destination-grid,
  .testimonial-grid,
  .feature-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .header-grid,
  .nav-container,
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: white;
    padding: 1rem;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(8, 26, 64, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-copy h1 {
    font-size: 2.6rem;
  }

  .vehicle-grid,
  .destination-grid,
  .testimonial-grid,
  .feature-cards {
    grid-template-columns: 1fr;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .floating-whatsapp {
    right: 1rem;
    bottom: 1rem;
    width: auto;
    padding: 0.95rem 1.1rem;
  }
  .div2 {
  margin-top: 5px;
}
.div1 {
  margin-bottom: 5px;
}

}
