:root {
  --primary: #0d6efd;
  --accent: #00c6fb;
  --bg-gradient-start: #f7fbff;
  --bg-gradient-end: #eef6ff;
  --glass: rgba(255, 255, 255, 0.18);
  --muted: #667085;
  --card-radius: 18px;
  --shadow-soft: 0 12px 40px rgba(31, 38, 135, 0.06);
  --radius-lg: 24px;
}

.multi-trip-route {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  align-items: center;
}

/* Global font family */
* {
  font-family: 'Segoe UI', Arial, sans-serif;
}

.multi-trip-route {
  align-items: flex-start;
  flex-direction: column;
  position: relative;
}

.route-header {
  font-weight: 800;
  color: #0a174e;
  margin-bottom: 8px;
}

.route-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.remove-route-btn {
  background: #ff6b6b;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.98rem;
  cursor: pointer;
  position: absolute;
  top: 8px;
  right: 8px;
}

.route-field-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: #234;
  margin-top: 6px;
  margin-bottom: 6px;
}

.suggestions {
  position: absolute;
  background: #fff;
  border: 1px solid #e6eefc;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
  z-index: 9999;
  min-width: 260px;
}

.suggestion-item {
  padding: 10px 12px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #000;
  border-bottom: 1px solid #e6eefc;
  background: #fff;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.active {
  background: #f4f7ff;
}

.suggestion-main {
  font-weight: 700;
  color: #000;
  font-size: 0.95rem;
}

.suggestion-sub {
  font-size: 0.82rem;
  color: #111;
  margin-top: 4px;
}

.summary-route-line {
  font-size: 0.92rem;
  color: #0f1724;
  margin-bottom: 8px;
  line-height: 1.4;
}

.summary-route-card {
  background: #fbfdff;
  border: 1px solid #e6eefc;
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 10px;
  font-size: 0.85rem;
}

.summary-route-header {
  font-weight: 600;
  color: #0a174e;
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.summary-route-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 0.83rem;
  line-height: 1.3;
}

.summary-route-label {
  font-weight: 500;
  color: #667085;
  flex: 0 0 50px;
}

.summary-route-value {
  color: #0f1724;
  text-align: right;
  flex: 1;
}

.date-hint {
  font-size: 0.85rem;
  color: #666;
  margin-top: 4px;
  margin-bottom: 8px;
}

.remove-route-btn:hover {
  background: #ff4b4b;
}

.add-route-btn {
  background: #e3f2fd;
  color: #0d6efd;
  border: none;
  border-radius: 12px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.add-route-btn:hover {
  background: #0d6efd;
  color: #fff;
}

.passenger-fields:not(:first-child) {
  background: #f8fafc;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px #0d6efd11;
}

.passenger-header {
  font-weight: 400;
  color: #0a174e;
  margin-bottom: 8px;
  font-size: 0.96rem;
}

.remove-passenger-btn {
  background: #ff6b6b;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-left: 8px;
}

.remove-passenger-btn:hover {
  background: #ff4b4b;
}

.passenger-fields {
  position: relative;
}

.remove-passenger-btn {
  position: absolute;
  top: 10px;
  right: 10px;
}

/* Global */
* {
  box-sizing: border-box;
}

/* Prevent accidental horizontal scroll on small devices */
html,
body {
  overflow-x: hidden
}

/* Tappable targets and spacing for mobile-first */
button,
a,
.btn {
  touch-action: manipulation;
}

button,
input,
select,
textarea {
  font-size: 16px;
}

/* Responsive container tweaks for small screens */
.container {
  padding: 0 14px 40px 14px;
}

@media(min-width:900px) {
  .container {
    padding: 0 20px 60px 20px
  }
}

/* Ensure images scale on small screens and avoid layout shift */
img {
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0
}

picture,
video {
  max-width: 100%;
  height: auto
}

/* Mobile-first base font sizing (fluid) */
html {
  font-size: 15px;
}

@media (min-width:480px) {
  html {
    font-size: 16px
  }
}

@media(min-width:980px) {
  html {
    font-size: 17px
  }
}

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #ffffff;
  color: #000000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

a {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  cursor: pointer;
}

a:hover,
a:focus {
  text-decoration: underline;
  outline: none;
}

ul {
  padding-left: 1.2em;
}

h1,
h2,
h3 {
  margin: 0 0 1em 0;
  font-weight: 900;
  color: #222222dd;
}

h1 {
  font-size: 3rem;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Make H1 responsive */
@media(max-width:600px) {
  h1 {
    font-size: clamp(1.6rem, 4.5vw, 2.2rem);
    margin-top: 24px;
    margin-bottom: 18px
  }
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.25rem;
  margin-top: 0;
}

p {
  margin-bottom: 1em;
  font-weight: 400;
}

section {
  margin-bottom: 30px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px 20px;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px 2px 40px;
  user-select: none;
}

header .logo {
  font-weight: 900;
  font-size: 1.5rem;
  color: #0d6efd;
  letter-spacing: 1.5px;
}

nav {
  display: flex;
  gap: 15px;
}

nav a {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 16px;
  color: #111;
  font-weight: 600;
  transition: background 0.3s ease;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

nav a:hover,
nav a:focus {
  background: rgba(255, 255, 255, 0.3);
  outline: none;
}

.bc-container {
  padding-bottom: 10px !important;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0 0 0;
  background: transparent;
  border: none;
  box-shadow: none;
  margin: 6px 0 0 0;
  font-size: 0.85rem;
  color: #64748b;
  animation: slideIn 0.6s ease-out forwards;
}

.bc-item {
  color: #4b5563;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 4px 8px;
  border-radius: 6px;
}

.bc-item:hover {
  background: #f3f4f6;
  color: #1a1a1a;
  text-decoration: none;
}

.bc-sep {
  color: #cbd5e1;
  font-weight: 400;
  font-size: 0.9rem;
}

.bc-current {
  color: #1a1a1a;
  font-weight: 600;
  padding: 4px 8px;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.glass-box {
  background: #fff;
  border-radius: 25px;
  padding: 30px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);
  border: 1px solid #eee;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-box:hover,
.glass-box:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 12px 48px 0 rgba(31, 38, 135, 0.3);
  outline: none;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.review-box {
  background: #fff;
  color: #222;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  font-size: 0.95rem;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 18px;
}

.testimonial-card {
  background: #fff;
  border-radius: 18px;
  padding: 25px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow 0.3s ease;
  gap: 10px;
}

.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
  outline: none;
}

.testimonial-author {
  margin-top: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #333;
  text-align: right;
}

details {
  margin-bottom: 15px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 12px;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease;
}

details[open] {
  background: rgba(255, 255, 255, 0.3);
}

summary {
  font-weight: 700;
  outline: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::before {
  content: "▶ ";
  display: inline-block;
  transition: transform 0.3s ease;
}

details[open] summary::before {
  transform: rotate(90deg);
}

#chatbot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  max-width: 90vw;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  font-family: 'Segoe UI', Arial, sans-serif;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  user-select: none;
}

#chatbot-header {
  background: #0d6efd;
  color: white;
  padding: 12px 20px;
  border-radius: 15px 15px 0 0;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

#chatbot-messages {
  max-height: 300px;
  overflow-y: auto;
  padding: 16px 20px;
  font-size: 0.9rem;
  color: #222;
  flex-grow: 1;
}

.message {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  max-width: 80%;
}

.message.user {
  align-self: flex-end;
  background: #0d6efd;
  color: white;
  border-radius: 15px 15px 0 15px;
  padding: 10px 16px;
}

.message.bot {
  align-self: flex-start;
  background: #eee;
  color: #222;
  border-radius: 15px 15px 15px 0;
  padding: 10px 16px;
}

#chatbot-input-container {
  display: flex;
  border-top: 1px solid #ddd;
}

#chatbot-input-container input {
  flex-grow: 1;
  border: none;
  padding: 12px 16px;
  font-size: 1rem;
  border-radius: 0 0 0 15px;
  outline: none;
}

#chatbot-input-container button {
  background: #0d6efd;
  border: none;
  color: white;
  font-weight: 700;
  padding: 0 20px;
  cursor: pointer;
  border-radius: 0 0 15px 0;
  transition: background 0.3s ease;
}

#chatbot-input-container button:hover {
  background: #084ecf;
}

@keyframes fluctuate {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 24px rgba(13, 110, 253, 0.18);
  }

  50% {
    transform: scale(1.08);
    box-shadow: 0 8px 32px rgba(13, 110, 253, 0.28);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 4px 24px rgba(13, 110, 253, 0.18);
  }
}

/* Modern Booking Form Styles */
.booking-main {
  display: flex;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 12px;
}

.booking-form-panel {
  flex: 2;
  background: rgba(255, 255, 255, 0.20);
  /* glass look */
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(31, 38, 135, 0.06);
  padding: 22px;
  min-width: 280px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.booking-form-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(31, 38, 135, 0.10);
}

.booking-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: #0a174e;
  text-align: center;
  margin-bottom: 24px;
}

.form-section {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-weight: 700;
  color: #0a174e;
  margin-bottom: 6px;
  font-size: 0.98rem;
}

/* Subtext / muted labels to match header design */
.form-label.subtle,
.date-hint,
.pref-label,
.suggestion-sub {
  color: var(--muted);
  font-weight: 600;
}

/* center-specific label helper used for section headings */
.center-label {
  text-align: center;
  width: 100%;
  display: block;
}

.form-radio-group {
  display: flex;
  gap: 18px;
  margin-bottom: 12px;
}

.form-radio-group label {
  font-weight: 500;
  color: #222;
  cursor: pointer;
}

.form-input,
.form-select,
textarea.form-input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(13, 110, 253, 0.08);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin-bottom: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.form-input:focus,
.form-select:focus,
textarea.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.08);
  outline: none;
}

.form-select {
  cursor: pointer;
}

.phone-fields {
  display: flex;
  gap: 8px;
}

.country-code {
  max-width: 80px;
}

/* Ensure uniform input box sizes */
.passenger-fields .form-input,
.passenger-fields .form-select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e6eefc;
  background: #fbfdff;
  font-size: 0.95rem;
  margin-bottom: 12px;
  box-sizing: border-box;
}

.passenger-fields .phone-fields input {
  flex: 1;
  min-width: 0;
}

.passenger-fields .country-code {
  flex: 0 0 100px;
  max-width: 120px;
}

/* Two-column rows for passenger details */
/* Generic two-column helper */
.two-col {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  align-items: center;
}

.two-col>* {
  flex: 1 1 0;
  min-width: 0;
}

.two-col .country-code {
  flex: 0 0 100px;
  max-width: 120px;
}

@media (max-width: 600px) {
  .two-col {
    flex-direction: column;
  }
}

/* Two-column rows specifically scoped for passenger blocks (keeps previous specificity) */
.passenger-fields .two-col {
  /* uses same rules as .two-col */
}

/* Three-column row helper for title / first / last in passenger details */
.three-col {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  align-items: center;
}

.three-col>* {
  flex: 1 1 0;
  min-width: 0;
}

.three-col .title-select {
  flex: 0 0 110px;
  max-width: 140px;
}

@media (max-width: 700px) {
  .three-col {
    flex-direction: column;
  }
}

/* Label shown below special requests explaining the following inputs */
.pref-label {
  font-weight: 800;
  color: #0a174e;
  margin-top: 10px;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

/* Lighter date input text to match placeholder/other light text */
input[type="date"].form-input,
input[type="date"] {
  color: #666;
}

input[type="date"]::-webkit-datetime-edit,
input[type="date"]::-webkit-datetime-edit-field,
input[type="date"]::-webkit-datetime-edit-text,
input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field {
  color: #666;
}

/* Ensure placeholder color is light and consistent */
.form-input::placeholder {
  color: #888;
  opacity: 1;
}

.add-passenger-btn {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.15s, color 0.15s;
}

.add-passenger-btn:hover {
  filter: brightness(0.95);
}

.proceed-btn {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 10px 20px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  display: block;
  margin: 20px auto 0 auto;
  box-shadow: 0 2px 10px rgba(11, 94, 215, 0.12);
  transition: background 0.15s, box-shadow 0.15s;
}

.proceed-btn:hover {
  box-shadow: 0 8px 28px rgba(13, 110, 253, 0.14);
}

.booking-summary-panel {
  flex: 1;
  background: transparent;
  /* removed dark panel */
  color: inherit;
  border-radius: 18px;
  padding: 18px;
  min-width: 220px;
  max-width: 340px;
  max-height: 420px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: none;
  box-shadow: none;
}

.summary-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: #ffffff;
  text-align: center;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.summary-content {
  font-size: 0.95rem;
  color: #f5f7fb;
  line-height: 1.4;
  width: 100%;
}

.summary-total {
  width: 100%;
  background: linear-gradient(90deg, #071223 0%, #0b1626 100%);
  padding: 12px 14px;
  border-radius: 10px;
  margin-top: 12px;
  font-weight: 700;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.5);
}

.summary-total .label {
  font-size: 0.98rem;
  color: #c9d5e8;
}

.summary-total .amount {
  color: #ffffff;
  font-size: 1.18rem;
  font-weight: 900;
}

.summary-content p {
  margin: 6px 0;
}

/* removed extra bottom shadow to keep panel compact */

/* Adjusted layout for passenger details */
.passenger-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border: 1px solid #e6eefc;
  border-radius: 12px;
  background: #f9fbfd;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.passenger-fields .form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0a174e;
  margin-bottom: 4px;
}

.passenger-fields .form-input,
.passenger-fields .form-select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e6eefc;
  background: #fbfdff;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.passenger-fields .form-input:focus,
.passenger-fields .form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 2px #0d6efd22;
  outline: none;
}

.passenger-fields .phone-fields {
  display: flex;
  gap: 12px;
}

.passenger-fields .add-passenger-btn {
  margin-top: 12px;
  background: #eaf6ff;
  color: #0b5ed7;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}

.passenger-fields .add-passenger-btn:hover {
  background: #0b5ed7;
  color: #fff;
}

/* Adjusted padding for passenger details */
.passenger-fields input,
.passenger-fields select,
.passenger-fields textarea {
  padding: 6px;
  /* Reduced padding for a more compact layout */
}

.passenger-fields label {
  margin-bottom: 4px;
  /* Adjusted spacing below labels */
}

.passenger-fields {
  gap: 8px;
  /* Reduced gap between fields */
}

/* Style for the date input placeholder */
input[type="date"]::placeholder {
  color: #aaa;
  font-style: italic;
}

/* Style for the text input placeholder */
input[type="text"]::placeholder {
  color: #aaa;
  font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .passenger-fields {
    padding: 16px;
  }

  .passenger-fields .phone-fields {
    flex-direction: column;
  }
}

/* Liquid glass header variant */
.liquid-header {
  background: rgba(255, 255, 255, 0.36);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  backdrop-filter: blur(10px) saturate(120%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(12, 18, 33, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
}

.liquid-header>* {
  position: relative;
  z-index: 2;
}

.liquid-header::before,
.liquid-header::after {
  content: "";
  position: absolute;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(36px);
  opacity: 0.9;
  transition: opacity 0.4s ease;
}

.liquid-header::before {
  left: -20%;
  top: -40%;
  width: 60%;
  height: 160%;
  background: radial-gradient(closest-side at 20% 20%, rgba(236, 249, 90, 0.45), transparent 30%), radial-gradient(closest-side at 80% 80%, rgba(24, 19, 20, 0.06), transparent 40%);
  animation: floatA 8s linear infinite;
}

.liquid-header::after {
  right: -15%;
  bottom: -30%;
  width: 50%;
  height: 120%;
  background: radial-gradient(closest-side at 30% 30%, rgba(236, 249, 90, 0.22), transparent 35%);
  animation: floatB 10s linear infinite reverse;
}

@keyframes floatA {
  0% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(8px) rotate(6deg);
  }

  100% {
    transform: translateY(0) rotate(0);
  }
}

@keyframes floatB {
  0% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-6px) rotate(-4deg);
  }

  100% {
    transform: translateY(0) rotate(0);
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 400;
  color: #1a1a1a;
}

.logo-badge {
  width: 34px;
  height: 34px;
  background: #c8e63c;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #1a1a1a;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: #555;
  align-items: center;
  z-index: 3;
}

.nav-links a {
  text-decoration: none;
  color: #555;
  font-weight: 400;
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.nav-links a:hover {
  color: #1a1a1a;
}

.btn-green {
  background: #c8e63c;
  color: #1a1a1a;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-green:hover {
  background: #b8d62c;
}

/* Ensure header has enough vertical spacing so nav doesn't overlap */
.liquid-header {
  padding: 18px 40px;
}

@media (max-width: 700px) {
  .nav-links {
    gap: 16px;
    font-size: 13px;
  }

  .liquid-header {
    padding: 12px 16px;
  }
}

/* Mobile-first navigation and layout polish for all PHP pages */
@media (max-width: 768px) {

  html,
  body {
    overflow-x: hidden;
  }

  .liquid-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .liquid-header .logo {
    min-width: 0;
    font-size: 1.25rem;
  }

  .nav-links {
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f7f7f3;
  }

  .liquid-header>.btn-green {
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .breadcrumbs {
    margin: 8px 0 0 0;
    padding: 6px 8px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .footer-inner {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .footer-desc {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Footer styles to match homepage */
footer {
  background: #fff;
  border-top: 0.5px solid #e5e5e5;
  padding: 56px 40px 0;
  font-size: 13px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #1a1a1a;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: #888;
  margin-bottom: 10px;
  transition: color 0.15s;
  text-decoration: none;
  font-weight: 400;
}

.footer-col a:hover {
  color: #1a1a1a;
}

.footer-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.65;
  max-width: 210px;
  margin-top: 12px;
}

.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 12px;
  color: #aaa;
  border-top: 0.5px solid #e5e5e5;
  margin-top: 48px;
}

/* Site-wide typography: match the homepage font on every page. */
html,
body,
body *,
button,
input,
select,
textarea {
  font-family: 'Segoe UI', Arial, sans-serif;
}