/* ============================
   Melliquoce Transport – Luxury Premium Flexbox CSS
   ============================ */

/* ====== 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,
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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.5;
  background: #F6F7F9;
  color: #163352;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

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

ul, ol {
  margin: 0 0 24px 30px;
}

li {
  margin-bottom: 8px;
  line-height: 1.6;
}

a {
  color: #163352;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}
a:hover, a:focus {
  color: #FFB400;
  outline: none;
}

strong {
  font-weight: 700;
}

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, h4, h5, h6 {
  color: #163352;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.01em;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.18;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  line-height: 1.2;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 600;
}

p {
  margin-bottom: 16px;
  color: #2a3240;
  font-size: 1rem;
}

.text-section p {
  margin-bottom: 16px;
}

.text-section ul {
  margin-bottom: 18px;
}

/* ====== CONTAINER & LAYOUT ====== */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 24px 0 rgba(22,51,82,0.04);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 24px 0 rgba(22,51,82,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  flex: 1 1 320px;
  min-width: 280px;
  transition: box-shadow 0.24s cubic-bezier(0.4,0,0.2,1);
}
.card:hover, .card:focus-within {
  box-shadow: 0 5px 38px 0 rgba(255,180,0,0.14), 0 2px 12px 0 rgba(22,51,82,0.12);
  z-index: 2;
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 28px 0 rgba(22,51,82,0.06);
  padding: 20px 32px;
  margin-bottom: 22px;
  min-width: 280px;
  max-width: 520px;
  border-left: 6px solid #FFB400;
  transition: box-shadow 0.22s cubic-bezier(0.4,0,0.2,1);
}
.testimonial-card:hover {
  box-shadow: 0 6px 36px 0 rgba(255,180,0,0.18), 0 2px 15px 0 rgba(22,51,82,0.14);
}

.testimonial-card .stars {
  font-size: 1.25rem;
  color: #FFB400;
  letter-spacing: 1px;
  margin-bottom: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card p {
  color: #222;
  font-size: 1.08rem;
  line-height: 1.6;
}
.testimonial-info span {
  color: #677388;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
}

.feature-item, .feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(22,51,82,0.04);
  padding: 26px 20px 22px 20px;
  margin-bottom: 20px;
  min-width: 220px;
  transition: box-shadow 0.22s cubic-bezier(0.4,0,0.2,1);
}
.feature-item:hover, .feature:hover {
  box-shadow: 0 6px 38px 0 rgba(255,180,0,0.10), 0 2px 10px 0 rgba(22,51,82,0.13);
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}

/* ====== CTA BANNER ====== */
.cta-banner {
  background: #163352;
  color: #fff;
  border-radius: 22px;
  padding: 42px 26px 38px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  box-shadow: 0 4px 32px 0 rgba(22,51,82,0.12);
}
.cta-banner h2 {
  color: #fff;
}
.cta-banner p {
  color: #e9e9e9;
}

/* ====== BUTTONS ====== */
.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  padding: 12px 32px;
  background: #FFB400;
  color: #163352;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(22,51,82,0.06);
  transition: background 0.16s, color 0.16s, box-shadow 0.18s;
  letter-spacing: 0.02em;
  margin-top: 8px;
  min-width: 160px;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: #FFD965;
  color: #163352;
  box-shadow: 0 3px 24px 0 rgba(255,180,0,0.14);
}
.btn-secondary {
  background: #163352;
  color: #fff;
  box-shadow: none;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #FFB400;
  color: #163352;
  box-shadow: 0 2px 12px 0 rgba(22,51,82,0.10);
}

/* ====== HEADER & NAVBAR ====== */
header {
  background: #fff;
  border-bottom: 1.5px solid #EAEDF2;
  box-shadow: 0 2px 18px 0 rgba(22,51,82,0.03);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 85px;
}
.logo img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #163352;
  position: relative;
  letter-spacing: 0.01em;
  padding-bottom: 2px;
  transition: color 0.15s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #FFB400;
}

/* Active page indicator (simulate if logic applied) */
.main-nav a.active {
  color: #FFB400;
  border-bottom: 2.5px solid #FFB400;
  padding-bottom: 0.4em;
}

header .btn-primary {
  margin-left: 22px;
  font-size: 1rem;
  min-width: 0;
  padding: 10px 18px;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #163352;
  cursor: pointer;
  transition: color 0.17s;
  display: none;
  margin-left: 12px;
  padding: 6px 10px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #FFB400;
}

/* ====== MOBILE MENU ====== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 90vw;
  max-width: 360px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 48px 0 rgba(22,51,82,0.18);
  z-index: 8888;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(110%);
  transition: transform 0.35s cubic-bezier(0.56,0,0.32,1);
  padding: 32px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #222;
  font-size: 2rem;
  position: absolute;
  top: 24px;
  right: 22px;
  cursor: pointer;
  z-index: 9992;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFB400;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 40px 34px 0 34px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.13rem;
  color: #163352;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 0;
  font-weight: 600;
  border-bottom: 1px solid #EAEDF2;
  transition: color 0.16s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FFB400;
}

/* ====== MAIN CONTENT & SECTIONS ====== */
main {
  margin: 0 auto;
  display: block;
  padding-bottom: 48px;
  min-height: 60vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.content-wrapper {
  max-width: 100%;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #2a3240;
}

/* ====== SERVICE CARDS & LISTS ====== */
.service-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 20px 0 rgba(22,51,82,0.08);
  padding: 22px 20px 18px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 240px;
  flex: 1 1 300px;
  transition: box-shadow 0.21s cubic-bezier(0.4,0,0.2,1);
  border-left: 4px solid #FFB400;
}
.service-card:hover {
  box-shadow: 0 5px 36px 0 rgba(255,180,0,0.05), 0 2px 10px 0 rgba(22,51,82,0.16);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 13px 0 rgba(22,51,82,0.05);
  padding: 26px 20px 18px 20px;
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 260px;
  transition: box-shadow 0.22s cubic-bezier(0.4,0,0.2,1);
  border-left: 4px solid #FFB400;
}
.service-item:hover {
  box-shadow: 0 7px 36px 0 rgba(255,180,0,0.12);
}

.industry-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #163352;
  border-radius: 16px;
  color: #fff;
  padding: 32px 22px 22px 22px;
  box-shadow: 0 6px 26px 0 rgba(22,51,82,0.09);
}
.industry-list ul {
  color: #ffd875;
  font-weight: 500;
  margin-bottom: 0;
}
.industry-list p {
  color: #fff;
  margin-bottom: 0;
}

/* ====== TABLES ====== */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 26px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px 0 rgba(22,51,82,0.06);
}
.pricing-table th, .pricing-table td {
  padding: 14px 20px;
  text-align: left;
  font-family: 'Montserrat',Arial,sans-serif;
}
.pricing-table th {
  background: #163352;
  color: #fff;
  font-size: 1.04rem;
}
.pricing-table tr:nth-child(even) td {
  background: #F6F7F9;
}
.pricing-table td {
  font-size: 1.02rem;
  color: #30384b;
}

.faq-pricing strong {
  color: #163352;
  margin-top: 14px;
  display: block;
}

/* ====== FOOTER ====== */
footer {
  background: #163352;
  color: #fff;
  padding: 36px 0 28px 0;
  border-top: 2px solid #FFB400;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
footer .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer .footer-nav a {
  color: #FFD965;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 3px;
  transition: color 0.16s;
  border-bottom: 1.5px solid transparent;
  display: inline-block;
}
footer .footer-nav a:hover, footer .footer-nav a:focus {
  color: #FFB400;
  border-bottom: 1.5px solid #FFB400;
}
footer img {
  height: 38px;
  margin-bottom: 6px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.98rem;
  color: #fff3d0;
  max-width: 340px;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  vertical-align: middle;
  margin-right: 9px;
}
.footer-contact a {
  color: #FFD965;
  text-decoration: underline;
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #163352;
  box-shadow: 0 -2px 30px 0 rgba(22,51,82,0.10);
  z-index: 35000;
  padding: 24px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  animation: fadeUpIn 0.36s cubic-bezier(0.4,0,0.2,1);
  border-top: 3px solid #FFB400;
}
.cookie-consent-banner p {
  color: #2a3240;
  font-size: 1.04rem;
  margin-bottom: 8px;
}
.cookie-consent-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-bottom: 0;
}
.cookie-consent-banner button {
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 7px;
  padding: 9px 20px;
  margin: 0;
  background: #163352;
  color: #FFB400;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.18s;
  box-shadow: 0 1px 6px 0 rgba(22,51,82,0.05);
}
.cookie-consent-banner .btn-secondary {
  background: #FFB400;
  color: #163352;
}
.cookie-consent-banner button:hover {
  background: #FFD965;
  color: #163352;
}

/* Cookie Preferences Modal */
.cookie-consent-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(22, 51, 82, 0.32);
  z-index: 35100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.36s cubic-bezier(0.4,0,0.2,1);
}
.cookie-consent-modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 38px 30px 30px 30px;
  min-width: 320px;
  max-width: 90vw;
  box-shadow: 0 8px 42px 0 rgba(22,51,82,0.18);
  display: flex;
  flex-direction: column;
  gap: 21px;
  position: relative;
  font-size: 1.04rem;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #163352;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #FFB400;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 18px;
}
.cookie-toggle-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-toggle-row label {
  flex: 1 1 auto;
}
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #eaedf2;
  border-radius: 22px;
  transition: background 0.18s;
}
.cookie-switch-slider:before {
  position: absolute;
  content: "";
  height: 17px;
  width: 17px;
  left: 4px;
  bottom: 3.5px;
  background: #FFB400;
  border-radius: 50%;
  transition: transform 0.18s;
}
.cookie-switch input:checked + .cookie-switch-slider {
  background: #163352;
}
.cookie-switch input:checked + .cookie-switch-slider:before {
  transform: translateX(17px);
  background: #163352;
}

.cookie-essential {
  font-weight: 600;
  color: #163352;
}

@keyframes fadeUpIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ====== RESPONSIVE DESIGN (MOBILE-FIRST) ====== */
@media (max-width: 1200px) {
  .container { max-width: 1000px; }
  .main-nav { gap: 18px; }
}
@media (max-width: 1020px) {
  .container { max-width: 820px; }
  .features-grid, .service-list {
    flex-wrap: wrap;
    gap: 16px;
  }
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
  h3 { font-size: 1.1rem; }
  .container { max-width: 98vw; }
  section, .section {
    padding: 24px 5px !important;
  }
  .content-wrapper, .text-section {
    gap: 16px;
  }
  .features-grid, .service-list, .card-container {
    flex-direction: column;
  }
  .card, .feature, .testimonial-card, .service-card, .service-item {
    min-width: 0 !important;
    width: 100%;
    padding: 20px 10px;
  }
  .cta-banner {
    padding: 22px 7px;
    border-radius: 10px;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    height: auto;
    padding: 10px 8px;
  }
  .main-nav, header .btn-primary { display: none; }
  .mobile-menu-toggle { display: block; }
  .logo img { height: 36px; }
}
@media (max-width: 598px) {
  h1 { font-size: 1.36rem; }
  h2 { font-size: 1.07rem; }
  p, .testimonial-card p, .cookie-consent-banner p, ul, li, .service-item p {
    font-size: 0.98rem;
  }
}

/* Additional tweaks for touch-friendly mobile nav buttons */
@media (max-width: 480px) {
  .mobile-menu {
    max-width: 96vw;
    padding-left: 0;
    padding-right: 0;
  }
  .mobile-nav {
    padding: 34px 10px 0 10px;
  }
}

/* ====== MICRO-INTERACTIONS & EXTRAS ====== */
input, button, select, textarea {
  font-family: inherit;
  outline: none;
}
button:active {
  transform: translateY(1px) scale(0.98);
}

/* Remove existing focus outline for accessibility and add custom focus style */
a:focus, button:focus {
  outline: 2px solid #FFB400;
  outline-offset: 2px;
  border-radius: 2px;
}

::-webkit-input-placeholder { color: #677388; }
::-moz-placeholder { color: #677388; }
:-ms-input-placeholder { color: #677388; }
::placeholder { color: #677388; }

/* ====== Z-INDEX LAYERING ====== */
header { z-index: 100; position: relative; }
.mobile-menu { z-index: 8888; }
.mobile-menu-close { z-index: 9992; }
.cookie-consent-banner { z-index: 35000; }
.cookie-consent-modal { z-index: 35100; }

/* ====== PRINT STYLES (optional) ====== */
@media print {
  body, .section, .container, .content-wrapper {
    box-shadow: none !important;
    background: #fff !important;
  }
  .main-nav, .mobile-menu, .cookie-consent-banner, .cookie-consent-modal, .mobile-menu-toggle {
    display: none !important;
  }
}
