/* ==========================================================================
   AJMER NISHA TAXI SERVICE - Complete Responsive Design System
   Palette: Navy Blue (#0A1E3F), Yellow (#FACC15), White (#FFFFFF)
   ========================================================================== */

:root {
  --navy-950: #040d1d;
  --navy-900: #061329;
  --navy-800: #0a1e3f;
  --navy-700: #133163;
  --navy-600: #1d4485;
  --yellow-400: #facc15;
  --yellow-500: #eab308;
  --yellow-100: #fef9c3;
  --white: #ffffff;
  --bg-light: #f8fafc;
  --bg-muted: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-light: #e2e8f0;
  --whatsapp: #16a34a;
  --whatsapp-hover: #15803d;
  --shadow-sm: 0 2px 8px rgba(10, 30, 63, 0.06);
  --shadow-md: 0 10px 28px rgba(10, 30, 63, 0.1);
  --shadow-lg: 0 20px 44px rgba(10, 30, 63, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1240px;
}

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

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

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--navy-800);
  line-height: 1.22;
  font-weight: 700;
}

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

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

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: clamp(12px, 3vw, 24px);
}

/* ==========================================================================
   A. Slim Running Announcement Ticker Bar
   ========================================================================== */
.announcement-bar {
  background: var(--navy-900);
  color: var(--white);
  border-bottom: 2px solid var(--yellow-400);
  height: 36px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 1010;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 30s linear infinite;
}

.announcement-bar:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 48px;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #f8fafc;
}

.ticker-item strong {
  color: var(--yellow-400);
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   B & C. Sticky Main Header + Navigation Menu
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding: 6px 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: clamp(50px, 6vw, 68px);
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.6vw, 24px);
}

.main-nav a {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--navy-800);
  padding: 8px 2px;
  position: relative;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--yellow-400);
  border-radius: 3px;
  transition: width var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--navy-700);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.mobile-nav-extras {
  display: none;
}

.mobile-menu-btn {
  display: none;
  background: var(--navy-800);
  color: var(--white);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-menu-btn:hover {
  background: var(--navy-700);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  text-align: center;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 13px 26px;
  font-size: 0.98rem;
}

.btn-primary {
  background: var(--yellow-400);
  color: var(--navy-900);
  box-shadow: 0 4px 12px rgba(250, 204, 21, 0.3);
}

.btn-primary:hover {
  background: var(--yellow-500);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy-800);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

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

.btn-outline-navy {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--navy-800);
}

.btn-outline-navy:hover {
  background: var(--navy-800);
  color: var(--white);
}

/* ==========================================================================
   D. Hero Slider (Automatic, 16:7 Ratio, Zero Manual Controls)
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  background: var(--navy-900);
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  max-height: 680px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s ease-in-out, visibility 0.65s ease-in-out;
  will-change: opacity;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ==========================================================================
   Quick Booking Strip
   ========================================================================== */
.quick-book-strip {
  background: var(--navy-800);
  color: var(--white);
  padding: 20px 0 24px;
  border-bottom: 4px solid var(--yellow-400);
}

.qb-heading {
  color: var(--white);
  font-size: clamp(1.02rem, 2vw, 1.38rem);
  font-weight: 700;
  margin-bottom: 14px;
  text-align: center;
}

.quick-book-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.qb-field {
  min-width: 0;
}

.qb-field label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--yellow-400);
  margin-bottom: 5px;
}

.qb-field select,
.qb-field input {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.97);
  color: var(--navy-900);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ==========================================================================
   Sections & Headings
   ========================================================================== */
.section {
  padding: clamp(44px, 6vw, 76px) 0;
}

.section-muted {
  background: var(--bg-light);
}

.section-navy {
  background: var(--navy-800);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(28px, 4vw, 44px);
}

.section-tag {
  display: inline-block;
  background: var(--yellow-100);
  color: var(--navy-800);
  font-weight: 800;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.section-navy .section-tag {
  background: rgba(250, 204, 21, 0.16);
  color: var(--yellow-400);
}

.section-header h2 {
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  margin-bottom: 10px;
}

.section-navy .section-header h2 {
  color: var(--white);
}

.section-header p {
  color: var(--text-muted);
  font-size: clamp(0.9rem, 1.4vw, 1.02rem);
}

.section-navy .section-header p {
  color: #cbd5e1;
}

/* ==========================================================================
   Responsive Grids & Compact Cards
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2.2vw, 26px);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 26px);
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(250, 204, 21, 0.65);
}

.card-media-square {
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  background: var(--bg-muted);
  flex-shrink: 0;
}

.card-media-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.card-body {
  padding: clamp(12px, 2vw, 20px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-title {
  font-size: clamp(0.98rem, 1.6vw, 1.24rem);
  margin-bottom: 6px;
  color: var(--navy-800);
}

.card-desc {
  color: var(--text-muted);
  font-size: clamp(0.78rem, 1.2vw, 0.92rem);
  line-height: 1.48;
  margin-bottom: 14px;
  flex: 1;
}

.card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.card-actions .btn {
  width: 100%;
  padding: 9px 12px;
  font-size: 0.86rem;
}

/* ==========================================================================
   Tour Packages Cards
   ========================================================================== */
.package-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: clamp(16px, 2.4vw, 26px);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  height: 100%;
  min-width: 0;
}

.package-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-800), var(--yellow-400));
}

.package-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.package-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--navy-800);
  color: var(--yellow-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.package-card h3,
.package-card h2 {
  font-size: clamp(1rem, 1.6vw, 1.24rem);
  margin-bottom: 8px;
}

.package-card p {
  color: var(--text-muted);
  font-size: clamp(0.8rem, 1.2vw, 0.92rem);
  margin-bottom: 14px;
  flex: 1;
}

.package-highlights {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.package-highlights li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  color: var(--navy-800);
  font-weight: 600;
}

.package-highlights li svg {
  color: var(--whatsapp);
  flex-shrink: 0;
}

.package-card .btn {
  width: 100%;
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.feature-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: clamp(16px, 2.2vw, 26px);
  transition: var(--transition);
  height: 100%;
  min-width: 0;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: var(--yellow-400);
  transform: translateY(-3px);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--yellow-400);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-card h3 {
  color: var(--white);
  font-size: clamp(0.98rem, 1.5vw, 1.15rem);
  margin-bottom: 6px;
}

.feature-card p {
  color: #cbd5e1;
  font-size: clamp(0.8rem, 1.2vw, 0.91rem);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.about-content,
.about-visual {
  min-width: 0;
  max-width: 100%;
}

.about-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  margin-bottom: 14px;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: clamp(0.92rem, 1.3vw, 1rem);
}

.about-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 24px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--navy-800);
  font-size: 0.92rem;
}

.about-list li svg {
  color: var(--yellow-500);
  flex-shrink: 0;
}

.about-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-visual {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 30px);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-visual img {
  max-width: 280px;
  width: 100%;
  margin: 0 auto 18px;
}

.about-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-800);
  color: var(--yellow-400);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
}

/* ==========================================================================
   Contact Section & Forms
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}

.contact-info-box {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.contact-card h3,
.contact-card h2 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-card h3 svg {
  color: var(--yellow-500);
  flex-shrink: 0;
}

.contact-person-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.contact-person-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.person-name {
  font-weight: 700;
  color: var(--navy-800);
  display: block;
}

.person-phone {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.94rem;
}

.person-actions {
  display: flex;
  gap: 8px;
}

.enquiry-form-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow-md);
  min-width: 0;
}

.enquiry-form-card h3,
.enquiry-form-card h2 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.enquiry-form-card > p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy-800);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  color: var(--text-main);
  background: var(--bg-light);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  background: var(--white);
}

.map-wrapper {
  margin-top: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  background: var(--bg-muted);
}

.map-wrapper iframe {
  width: 100%;
  height: clamp(240px, 35vw, 360px);
  border: 0;
  display: block;
}

/* ==========================================================================
   Page Hero Banner (Subpages)
   ========================================================================== */
.page-banner {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
  padding: clamp(36px, 5vw, 56px) 0;
  border-bottom: 4px solid var(--yellow-400);
}

.page-banner h1 {
  color: var(--white);
  font-size: clamp(1.65rem, 3.5vw, 2.65rem);
  margin-bottom: 8px;
}

.page-banner p {
  color: #cbd5e1;
  max-width: 680px;
  font-size: clamp(0.92rem, 1.4vw, 1.02rem);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--yellow-400);
  margin-bottom: 10px;
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Footer (4-Column Responsive Grid)
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: #cbd5e1;
  padding: clamp(44px, 5vw, 64px) 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.95fr 1.25fr;
  gap: clamp(24px, 3vw, 36px);
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand,
.footer-col {
  min-width: 0;
}

.footer-brand img {
  height: 60px;
  width: auto;
  background: var(--white);
  padding: 6px 10px;
  border-radius: 10px;
  margin-bottom: 14px;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.16rem;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-col h4 {
  color: var(--yellow-400);
  font-size: 1.02rem;
  margin-bottom: 14px;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: #cbd5e1;
}

.footer-links a:hover {
  color: var(--yellow-400);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  color: var(--yellow-400);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a:hover {
  color: var(--yellow-400);
}

.footer-wa-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.86rem;
  color: #94a3b8;
}

/* ==========================================================================
   WhatsApp Booking Modal & Floating Actions
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 13, 29, 0.72);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--bg-muted);
  color: var(--navy-800);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
}

.modal-close:hover {
  background: var(--navy-800);
  color: var(--white);
}

.floating-actions {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--white);
  cursor: pointer;
}

.float-btn.whatsapp {
  background: var(--whatsapp);
}

.float-btn.call {
  background: var(--navy-800);
}

.float-btn:hover {
  transform: scale(1.07);
}

/* ==========================================================================
   Responsive Breakpoints (1024px, 900px, 640px, 380px)
   ========================================================================== */
@media (max-width: 1140px) {
  .main-nav {
    gap: 14px;
  }
  .main-nav a {
    font-size: 0.88rem;
  }
  .quick-book-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .quick-book-form button {
    grid-column: 1 / -1;
  }
}

/* Tablet & Mobile Toggleable Navy/Yellow Menu (< 1024px) */
@media (max-width: 1023px) {
  .header-inner {
    flex-wrap: wrap;
    min-height: 68px;
    padding: 6px 0;
    gap: 8px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    display: none;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
    background: var(--navy-800);
    border-radius: 10px;
    border-bottom: 2px solid var(--yellow-400);
    margin-bottom: 4px;
  }

  .main-nav.open {
    display: grid;
    animation: menuFadeIn 0.22s ease;
  }

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

  .main-nav a {
    padding: 7px 4px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 7px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover,
  .main-nav a.active {
    background: var(--yellow-400);
    color: var(--navy-900);
    border-color: var(--yellow-400);
  }

  .mobile-nav-extras {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
    border: 2px solid var(--yellow-400);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile Compact Layout (<= 640px: 320px to 430px+) */
@media (max-width: 640px) {
  .main-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    padding: 6px;
  }

  .main-nav a {
    font-size: 0.72rem;
    padding: 6px 4px;
  }

  .header-actions .btn-hide-mobile {
    display: none;
  }

  .header-actions .btn-sm {
    padding: 8px 11px;
    font-size: 0.78rem;
  }

  .quick-book-strip {
    padding: 14px 0 16px;
  }

  .qb-heading {
    font-size: 0.96rem;
    margin-bottom: 10px;
  }

  .quick-book-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .qb-field label {
    font-size: 0.68rem;
    margin-bottom: 3px;
  }

  .qb-field select,
  .qb-field input {
    padding: 8px 9px;
    font-size: 0.8rem;
  }

  .quick-book-form button {
    grid-column: 1 / -1;
    padding: 10px 14px;
    font-size: 0.88rem;
  }

  .floating-actions {
    right: 10px;
    bottom: 12px;
    gap: 8px;
  }

  .float-btn {
    width: 42px;
    height: 42px;
  }

  .grid-2,
  .form-grid,
  .about-list {
    grid-template-columns: 1fr;
  }

  /* 2-Column Responsive Footer Grid on Mobile */
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-wa-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .footer-wa-group .btn {
    width: 100%;
    padding: 8px 6px;
    font-size: 0.76rem;
  }

  /* Compact 2-column grid for Service, Fleet, Tour Package & Why-Us cards */
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .card-body {
    padding: 10px;
  }

  .card-title {
    font-size: 0.92rem;
    margin-bottom: 4px;
  }

  .card-desc {
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .card-actions .btn {
    padding: 7px 8px;
    font-size: 0.76rem;
    border-radius: 7px;
  }

  .package-card {
    padding: 12px 10px;
  }

  .package-icon,
  .feature-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
  }

  .package-card h3,
  .package-card h2 {
    font-size: 0.92rem;
    margin-bottom: 4px;
  }

  .package-card p {
    font-size: 0.74rem;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .package-highlights {
    gap: 4px;
    margin-bottom: 10px;
  }

  .package-highlights li {
    font-size: 0.72rem;
  }

  .package-card .btn {
    padding: 7px 8px;
    font-size: 0.74rem;
  }

  .feature-card {
    padding: 12px 10px;
  }

  .feature-card h3 {
    font-size: 0.9rem;
  }

  .feature-card p {
    font-size: 0.74rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 359px) {
  .header-actions .btn-whatsapp {
    padding: 7px 9px;
    font-size: 0.72rem;
  }
}
