/* CSS RESET & NORMALIZE */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
}
ol, ul {
  list-style: disc inside none;
  padding-left: 0;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
a {
  background: none;
  text-decoration: none;
  color: inherit;
}
img {
  border: 0;
  max-width: 100%;
  display: block;
}
button:focus {
  outline: 2px solid #FFD602;
}

/* BASE VARIABLES */
:root {
  --color-primary: #20547A;
  --color-secondary: #F2F6FC;
  --color-accent: #FFD602;
  --color-bg: #181C22;
  --color-bg-section: #222731;
  --color-bg-input: #222731;
  --color-surface: #23272e;
  --color-metal: #878f97;
  --color-border: #343942;
  --color-text: #f4f7fa;
  --color-text-muted: #97a5b8;
  --color-shadow: rgba(32, 84, 122, 0.14);
  --radius: 12px;
  --shadow: 0 4px 16px 0 var(--color-shadow);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --transition-fast: 0.2s cubic-bezier(.4,0,.2,1);
  --transition-med: 0.35s cubic-bezier(.4,0,.2,1);
}

/* BASE BODY & TYPO */
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  margin-bottom: 16px;
  color: var(--color-accent);
  letter-spacing: 0.01em;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem;
  color: var(--color-primary);
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, ul, ol, li {
  color: var(--color-text);
  font-size: 1rem;
}
strong {
  color: var(--color-accent);
  font-weight: 700;
}
.text-section {
  margin-bottom: 32px;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

.content-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
}

/* SPACING + LAYOUT */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-section);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: var(--color-surface);
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--color-border);
  min-width: 260px;
  transition: box-shadow var(--transition-med), transform var(--transition-med);
}
.card:hover {
  box-shadow: 0 8px 32px rgba(32,84,122,.22);
  transform: translateY(-6px) scale(1.02);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f7f7f7;
  color: #232731;
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(32,84,122,.13);
  border-left: 6px solid var(--color-accent);
}
.testimonial-meta {
  color: #444;
  font-size: 0.95rem;
  margin-top: 10px;
}
.star-rating {
  font-size: 1.1rem;
  color: #FFC300;
  letter-spacing: .1em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO & FEATURE GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(32,84,122,.08);
  padding: 20px 18px 15px 18px;
  min-width: 220px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow var(--transition-med), transform var(--transition-med);
}
.feature-grid > div:hover {
  box-shadow: 0 4px 16px 0 var(--color-shadow);
  transform: translateY(-4px) scale(1.015);
}
.feature-grid img {
  background: #374151;
  border-radius: 100%;
  padding: 10px;
  width: 40px;
  height: 40px;
  box-shadow: 0 1px 4px rgba(32,84,122,0.07);
}

/* ROUTES CARDS */
.route-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  border-left: 5px solid var(--color-primary);
  padding: 20px 26px 16px 22px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.route-card h2 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: var(--color-accent);
}
.tag {
  display: inline-flex;
  align-items: center;
  background: #393f4a;
  color: #f5c400;
  font-size: 0.93em;
  padding: 3px 12px;
  border-radius: 12px;
  margin-right: 6px;
  margin-top: 8px;
  border: 1px solid #2c313a;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

/* TABLES (Pricing) */
table {
  margin-bottom: 32px;
  width: 100%;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
}
th, td {
  text-align: left;
  padding: 14px 16px;
  color: var(--color-text);
}
th {
  background: #23344b;
  color: var(--color-accent);
  font-weight: bold;
  font-size: 1em;
}
tbody tr:nth-child(odd) {
  background: #23272e;
}
tbody tr:nth-child(even) {
  background: #20262b;
}
table caption {
  font-family: var(--font-display);
  font-size: 1.18em;
  margin-bottom: 10px;
  color: var(--color-text);
}

/* FOOTER */
footer {
  background: #171a1e;
  border-top: 1px solid #23272e;
  padding: 36px 0 8px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: var(--color-text-muted);
  font-size: 0.98em;
  transition: color var(--transition-fast);
}
.footer-nav a:hover {
  color: var(--color-accent);
}
.footer-contact {
  color: #a1adc1;
  font-size: 0.97em;
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.footer-contact a {
  color: var(--color-accent);
  margin-left: 4px;
}
.footer-brand {
  color: var(--color-metal);
  font-size: 0.9em;
  margin-top: 10px;
  text-align: left;
}

/* HEADER & NAVIGATION */
header {
  background: #171a1e;
  border-bottom: 1.5px solid #23272e;
  box-shadow: 0 4px 16px rgba(32,84,122,0.07);
  position: relative;
  z-index: 1050;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 22px;
  padding-top: 8px;
  padding-bottom: 8px;
}
header nav.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
header nav.main-nav a {
  color: var(--color-text);
  font-size: 1.04rem;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 4px 4px 6px;
  transition: color var(--transition-fast);
}
header nav.main-nav a:hover, header nav.main-nav a:focus {
  color: var(--color-accent);
}

/* LOGO */
header > .container > a img {
  height: 38px;
  width: auto;
  filter: brightness(1.1) contrast(1.1);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  border: none;
  padding: 12px 30px;
  margin-top: 6px;
  cursor: pointer;
  transition: background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  box-shadow: 0 2px 8px rgba(32,84,122,0.13);
  letter-spacing: 0.03em;
}
.btn-primary {
  background: linear-gradient(90deg, #20547A 80%, #2b3643 100%);
  color: var(--color-accent);
  border: 1.5px solid #23344b;
  text-shadow: 0 1px 2px rgba(0,0,0,.18);
}
.btn-primary:hover, .btn-primary:focus {
  background: #23344b;
  color: #ffe158;
  box-shadow: 0 4px 20px #20547A40;
  transform: scale(1.03) translateY(-2px);
}
.btn-secondary {
  background: #393f4a;
  color: var(--color-accent);
  border: 1px solid #4f5b62;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #23272e;
  color: var(--color-text);
}
.btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
  cursor: default;
}

/* LINK STYLES */
a {
  cursor: pointer;
  transition: color var(--transition-fast);
}
a:hover, a:focus {
  color: var(--color-accent);
}

/* FAQ ACCORDION */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}
.faq-item {
  background: var(--color-surface);
  border-radius: var(--radius);
  border-left: 4px solid var(--color-accent);
  padding: 18px 18px 12px 18px;
  box-shadow: 0 1px 6px rgba(32,84,122,0.08);
  cursor: pointer;
  transition: box-shadow var(--transition-fast);
}
.faq-item h3 {
  color: var(--color-accent);
  font-size: 1.08rem;
  margin-bottom: 8px;
  font-weight: 600;
}
.faq-item .faq-answer {
  color: var(--color-text);
  font-size: 0.98em;
  margin-top: 4px;
}
.faq-item:hover,.faq-item:focus-within {
  box-shadow: 0 6px 16px var(--color-shadow);
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--color-surface);
  color: #fff;
  padding: 28px 10px 20px 10px;
  box-shadow: 0 -2px 16px #091b2b44;
  z-index: 2100;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  transition: transform 0.38s cubic-bezier(.87,-0.43,.19,1.44);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-text {
  flex: 1 1 320px;
  font-size: 1rem;
  color: #fff;
  margin-right: 20px;
  line-height: 1.6;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
}
.cookie-banner .btn {
  margin-top: 0;
  border-radius: 8px;
  font-size: 1em;
}
.cookie-banner .btn-accept {
  background: var(--color-accent);
  color: #222;
  font-weight: 700;
  border: 1px solid #efd800;
}
.cookie-banner .btn-accept:hover {
  background: #fad900;
  color: #171a1e;
}
.cookie-banner .btn-reject {
  background: #393f4a;
  color: #fff;
  border: 1px solid #2c313a;
}
.cookie-banner .btn-reject:hover {
  background: #23272e;
}
.cookie-banner .btn-settings {
  background: #20547A;
  color: #FFD602;
  border: 1px solid #1d3d56;
}
.cookie-banner .btn-settings:hover {
  background: #1a314d;
  color: #ffe158;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  background: rgba(24,28,34,0.92);
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity var(--transition-med);
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--color-surface);
  padding: 40px 25px 30px 25px;
  border-radius: var(--radius);
  box-shadow: 0 8px 36px #12213870;
  max-width: 420px;
  width: 94vw;
  color: #fff;
  position: relative;
  animation: modalPopIn 0.36s cubic-bezier(.61,1.67,.16,.97);
}
@keyframes modalPopIn {
  0% { transform: scale(.93) translateY(56px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--color-accent);
  font-size: 1.19em;
  margin-bottom: 16px;
}
.cookie-modal .cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.cookie-modal .category-label {
  font-size: 1em;
  color: var(--color-primary);
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}
.cookie-modal .category-toggle {
  position: relative;
}
.cookie-modal input[type="checkbox"] {
  width: 36px;
  height: 20px;
  appearance: none;
  background: #23272e;
  border-radius: 14px;
  position: relative;
  outline: none;
  transition: background .22s;
  cursor: pointer;
  border: 1.5px solid #334058;
}
.cookie-modal input[type="checkbox"]:checked {
  background: var(--color-accent);
}
.cookie-modal input[type="checkbox"]:disabled {
  opacity: 0.6;
}
.cookie-modal input[type="checkbox"]::after {
  content: '';
  position: absolute;
  left: 4px; top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e2e2e2;
  transition: left .22s, background .22s;
}
.cookie-modal input[type="checkbox"]:checked::after {
  left: 18px;
  background: #ffe158;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  justify-content: flex-end;
}
.cookie-modal .btn {
  padding: 9px 24px;
}
.cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 15px;
  background: none;
  color: #fff;
  font-size: 1.28em;
  border: none;
  cursor: pointer;
  opacity: 0.68;
  transition: opacity .18s;
  border-radius: 8px;
  padding: 4px;
}
.cookie-modal-close:hover {
  opacity: 1;
  background: #23272e;
}

/* TESTIMONIALS COLOR CONTRAST (crucial) */
.testimonial-card p, .testimonial-card .testimonial-meta {
  color: #23272e;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: #20547A;
  color: #FFD602;
  border: none;
  border-radius: 6px;
  font-size: 2rem;
  padding: 6px 14px;
  cursor: pointer;
  z-index: 2010;
  margin-left: 8px;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #2b3643;
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #181C22;
  z-index: 2200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  transform: translateX(-110vw);
  transition: transform 0.36s cubic-bezier(.61,1.67,.16,.97);
  box-shadow: 2px 0 32px rgba(32,84,122,0.18);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: #FFD602;
  font-size: 2.1rem;
  border: none;
  position: absolute;
  top: 22px;
  right: 26px;
  cursor: pointer;
  z-index: 2250;
  opacity: 0.73;
  border-radius: 9px;
  transition: background var(--transition-fast), opacity .14s;
  padding: 6px 12px;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  opacity: 1;
  background: #222731;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 78px;
  padding-left: 38px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-size: 1.2em;
  font-family: var(--font-display);
  padding: 12px 0 12px 0;
  border-radius: 6px;
  transition: background var(--transition-fast), color var(--transition-fast);
  width: fit-content;
  margin-bottom: 2px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #23344b;
  color: #FFD602;
}

/* Hide desktop nav / show mobile on mobile */
@media (max-width: 1020px) {
  header .container {
    gap: 11px;
  }
  header nav.main-nav {
    gap: 10px;
  }
}
@media (max-width: 820px) {
  header .container > .btn-primary {
    display: none;
  }
}
@media (max-width: 768px) {
  header .container {
    gap: 8px;
  }
  header nav.main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

@media (max-width: 600px) {
  .section {
    margin-bottom: 38px;
    padding: 18px 3vw;
  }
  .content-wrapper {
    padding: 0;
    gap: 15px;
  }
  h1 { font-size: 1.45rem; margin-bottom: 16px; }
  h2 { font-size: 1.11rem; }
  h3 { font-size: 1.01rem; }
  .feature-grid { gap: 14px; }
  .feature-grid > div { min-width: 90vw; padding-left: 11px; }
  .testimonial-card { gap: 8px; padding: 11px 7px 12px 10px; }
  .card { padding: 13px 8px; }
}

/* FLEX LAYOUT ADAPTATION & RESPONSIVENESS */
@media (max-width: 1020px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .feature-grid {
    flex-direction: column;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ICONS + METALIC ACCENTS */
.feature-grid img, .route-card h2::before {
  filter: grayscale(.17) brightness(1.03) drop-shadow(0 2px 4px #23272e33);
  box-shadow: 0 2px 6px #7a8ca380;
}

/* UTILITIES */
.text-center {
  text-align: center !important;
}
.muted {
  color: var(--color-text-muted) !important;
}
.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 16px !important; }

/* SECTIONS SPACING FIX */
section + section {
  margin-top: 18px;
}

/* ACCESSIBILITY/FOCUS STYLES */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* TEXT-IMAGE ALIGNMENT (if used; content is auto oriented) */
.text-image-section img, .text-image-section > img {
  max-width: 240px;
  border-radius: 7px;
  box-shadow: 0 6px 24px rgba(32,84,122,0.21);
}

/* CONTACT INFO */
.contact-info {
  background: var(--color-surface);
  padding: 20px 18px;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(32,84,122,.09);
  margin-bottom: 20px;
}
.contact-info a {
  color: var(--color-primary);
  word-break: break-all;
}
.contact-info a:hover { color: var(--color-accent); }

/* CARD SPECIALS (for FAQ etc.) */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Scrollbar styling for industrial feeling */
::-webkit-scrollbar {
  width: 10px;
  background: #23272e;
}
::-webkit-scrollbar-thumb {
  background: #374151;
  border-radius: 8px;
}

/* Animations for buttons and micro-interactions */
.btn, .feature-grid > div, .card, .route-card, .testimonial-card {
  transition: box-shadow 0.22s, background 0.2s, transform 0.22s;
}

/* Hide cookies modal on mobile when overlay is hidden */
@media (max-width: 480px) {
  .cookie-modal {
    max-width: 97vw;
    padding: 23px 7px 14px 7px;
  }
  .cookie-modal .cookie-modal-btns {
    flex-direction: column;
    gap: 9px;
    align-items: stretch;
  }
}

/* Hide elements visually on mobile menu closed */
@media (max-width: 768px) {
  .mobile-menu {
    padding-top: 0;
    padding-left: 0;
  }
  .mobile-nav {
    padding-left: 22px;
    gap: 12px;
    margin-top: 58px;
  }
}

/* END CSS */
