/* CSS RESET & BASE TYPOGRAPHY */
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;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background-color: #fff;
  color: #274A5D;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: #274A5D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #85A658;
}
ul, ol {
  list-style: none;
}
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* TYPOGRAPHY SCALE */
h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  margin-bottom: 10px;
}
p, li, span {
  font-size: 1rem;
  line-height: 1.6;
}
strong {
  font-weight: 600;
}

/* BUTTONS */
.btn-primary, .btn-secondary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding:  12px 30px;
  border-radius: 40px;
  text-align: center;
  outline: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  font-size: 1rem;
  box-shadow: 0 2px 12px 0 rgba(39,74,93,0.06);
}
.btn-primary {
  background: #274A5D;
  color: #fff;
  border: 1px solid #274A5D;
}
.btn-primary:hover, .btn-primary:focus {
  background: #3D6C87;
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(39,74,93,0.11);
}
.btn-secondary {
  background: #85A658;
  color: #fff;
  border: 1px solid #85A658;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #67803D;
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(133,166,88,0.10);
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 0 16px 0 rgba(39,74,93,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
}
header a img {
  height: 46px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 6px;
  border-radius: 6px;
  color: #274A5D;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #F1E9D9;
  color: #85A658;
}
header .btn-primary {
  margin-left: 24px;
  min-width: 130px;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #274A5D;
  cursor: pointer;
  margin-left: 16px;
  padding: 6px;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.68,-0.55,.27,1.55);
  box-shadow: 0 8px 24px rgba(39,74,93,0.09);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 32px 16px 0;
  font-size: 2rem;
  background: none;
  border: none;
  color: #274A5D;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #85A658;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 40px 0 0 40px;
}
.mobile-nav a {
  font-size: 1.18rem;
  font-weight: 500;
  color: #274A5D;
  padding: 6px 4px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F1E9D9;
  color: #85A658;
}

@media (max-width: 1024px) {
  header .container {
    gap: 8px;
  }
  header nav {
    gap: 12px;
  }
  header .btn-primary {
    margin-left: 10px;
  }
}
@media (max-width: 900px) {
  header .container {
    gap: 4px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .btn-primary {
    display: none;
  }
}
@media (max-width: 540px) {
  .mobile-menu-close {
    margin: 20px 16px 10px 0;
  }
  .mobile-nav {
    margin: 26px 0 0 18px;
    gap: 18px;
  }
}

/* LAYOUT: MAIN SECTIONS */
.section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
main > .hero-section {
  margin-bottom: 0;
  padding: 56px 0 48px 0;
  background: #F1E9D9;
}
main > .feature-section {
  background: #fff;
}
main > .testimonials-section {
  background: #F1E9D9;
}
main > .cta-section {
  background: #fff;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.text-section {
  gap: 20px;
}

@media (max-width: 600px) {
  .section,
  section {
    padding: 30px 6px;
    margin-bottom: 40px;
  }
  .content-wrapper {
    gap: 18px;
  }
}

/* FLEXBOX UTILITY & SPACING (MANDATORY CLASSES) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(39,74,93,0.065);
  margin-bottom: 28px;
  min-width: 220px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTION */
.hero-section .content-wrapper {
  gap: 18px;
  align-items: flex-start;
}
.hero-section h1 {
  font-size: 2.7rem;
  max-width: 520px;
}
.hero-section p {
  font-size: 1.14rem;
  color: #274A5D;
  max-width: 540px;
}
.hero-section .btn-primary {
  margin-top: 16px;
}

@media (max-width: 700px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  .content-wrapper {
    max-width: 100%;
  }
}

/* FEATURES */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-top: 24px;
}
.feature-grid li {
  background: #F1E9D9;
  border-radius: 16px;
  box-shadow: 0 1px 8px 0 rgba(39,74,93,.05);
  flex: 1 1 220px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 210px;
  max-width: 260px;
  margin-bottom: 0;
  transition: box-shadow 0.2s;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  box-shadow: 0 4px 32px 0 rgba(39,74,93,0.13);
}
.feature-grid img {
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid li {
    max-width: 100%;
  }
}

/* SERVICES */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.service-list li {
  flex: 1 1 180px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(39,74,93,.05);
  padding: 20px 16px;
  margin-bottom: 0;
  min-width: 170px;
  max-width: 220px;
}

@media (max-width: 900px) {
  .service-list {
    flex-direction: column;
    gap: 14px;
  }
  .service-list li {
    max-width: 100%;
  }
}

/* TESTIMONIALS */
.testimonials-section .content-wrapper {
  gap: 32px;
}
.testimonials-section h2 {
  margin-bottom: 14px;
}
.testimonial-card p {
  font-size: 1.08rem;
  font-style: italic;
  color: #274A5D;
}
.testimonial-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.97rem;
  color: #274A5D;
}
.testimonial-info strong {
  color: #274A5D;
}
.testimonial-card img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
}
@media (max-width: 700px) {
  .testimonial-card {
    padding: 13px;
    gap: 11px;
  }
}

/* CTA */
.cta-section .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 14px;
  max-width: 750px;
}

.cta-section h2 {
  font-size: 2.1rem;
}
.cta-section p {
  color: #274A5D;
}
.cta-section .btn-secondary, .cta-section .btn-primary {
  margin-top: 14px;
}

/* CARD LAYOUTS (for List/Preview Cards) */
.route-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.route-preview-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 8px 0 rgba(39,74,93,.06);
  flex: 1 1 260px;
  padding: 24px 20px;
  margin-bottom: 0;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.18s, border 0.15s;
  border: 1.5px solid transparent;
}
.route-preview-card:hover, .route-preview-card:focus-within {
  border: 1.5px solid #85A658;
  box-shadow: 0 4px 22px 0 rgba(133,166,88,0.15);
}
.route-preview-card a {
  color: #85A658;
  font-weight: 500;
  font-size: 1rem;
  margin-top: 6px;
  transition: color 0.18s;
}
.route-preview-card a:hover {
  color: #274A5D;
}

@media (max-width: 900px) {
  .route-preview-list {
    flex-direction: column;
    gap: 18px;
  }
  .route-preview-card {
    max-width: 100%;
    padding: 18px 11px;
    gap: 8px;
  }
}

/* FILTERS (ROUTES PAGE) */
.route-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}
.route-filters input[type="search"],
.route-filters select {
  appearance: none;
  border: 1px solid #C8D0D5;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: border 0.2s;
  background: #fff;
  color: #274A5D;
}
.route-filters input[type="search"]:focus,
.route-filters select:focus {
  outline: none;
  border: 1.5px solid #85A658;
}

@media (max-width: 700px) {
  .route-filters {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* FOOTER */
footer {
  background: #F1E9D9;
  color: #274A5D;
  padding: 34px 0 8px 0;
  font-size: 0.97rem;
  box-shadow: 0 -1px 8px rgba(39,74,93,.04);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 20px 0 20px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-right: 24px;
}
footer nav a {
  color: #274A5D;
  opacity: 0.82;
  padding: 4px 0;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.2s;
}
footer nav a:hover, footer nav a:focus {
  opacity: 1;
  background: #e8e1d3;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand {
  margin-top: 22px;
  color: #9CAABA;
  font-size: 0.98rem;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .footer-brand {
    margin-top: 8px;
  }
}

/* ABOUT PAGE TEAMS & TEXT LISTS */
.text-section ul {
  margin: 8px 0 12px 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.text-section ul li {
  list-style-type: disc;
  color: #274A5D;
  font-size: 1rem;
  padding-left: 0px;
}
.text-section ul li strong {
  color: #274A5D;
}
.text-section ul li span {
  font-size: 0.97rem;
  color: #5B7286;
}
.text-section a {
  color: #85A658;
  text-decoration: underline;
  transition: color 0.18s;
}
.text-section a:hover {
  color: #274A5D;
}

/* FAQ PAGE */
.faq-list > div {
  margin-bottom: 32px;
}
.faq-list h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  margin-top: 20px;
}
.faq-list h3 {
  color: #85A658;
  margin-bottom: 4px;
  font-size: 1.12rem;
}
.faq-list p {
  margin-bottom: 12px;
  font-size: 1rem;
}
.contact-suggestion {
  text-align: center;
}

/* SAFETY CHECKLIST & HIGHLIGHTS */
.safety-checklist, .tip-highlights {
  margin: 16px 0 14px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.safety-checklist li, .tip-highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #274A5D;
}
.safety-checklist img {
  width: 21px;
  height: 21px;
}

/* MISC: CHAPTER NAV */
.chapter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 10px 0;
}
.chapter-nav a {
  background: #F1E9D9;
  color: #274A5D;
  font-weight: 500;
  border-radius: 8px;
  padding: 7px 18px;
  font-size: 1rem;
  transition: background 0.16s, color 0.18s;
}
.chapter-nav a:hover {
  background: #85A658;
  color: #fff;
}
.quick-tips {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
}
.quick-tips li {
  background: #fff;
  border-radius: 11px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.97rem;
  min-width: 180px;
  box-shadow: 0 1px 8px rgba(39,74,93,.04);
  color: #274A5D;
}
@media (max-width: 768px) {
  .quick-tips {
    flex-direction: column;
    gap: 8px;
  }
}

/* CONTACT PAGE */
.contact-info-section .contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 8px;
}
.map-section img {
  margin-top: 12px;
  border-radius: 12px;
}

/* EXPERT CALLOUT / BLOCKQUOTE */
.expert-callout blockquote {
  background: #F1E9D9;
  color: #274A5D;
  border-left: 5px solid #85A658;
  margin-bottom: 20px;
  border-radius: 10px;
  padding: 20px 28px 18px 22px;
  font-size: 1.12rem;
  font-style: italic;
}
.expert-callout blockquote footer {
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 500;
  color: #67803D;
}

/* RESPONSIVE FLEX DIRECTION SWITCHES */
@media (max-width: 768px) {
  .text-image-section,
  .content-grid,
  .card-container,
  .feature-grid,
  .route-preview-list,
  .service-list {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .testimonials-section .content-wrapper {
    gap: 16px;
  }
}

/* MICRO-INTERACTIONS */
button,
.btn-primary,
.btn-secondary,
input,
select {
  transition: box-shadow 0.18s, background 0.18s, color 0.18s, border 0.18s;
}

/* FOCUS OUTLINES (FOR ACCESSIBILITY) */
a:focus,
button:focus,
input:focus,
select:focus {
  outline: 2px solid #85A658;
  outline-offset: 2px;
}

/* SUBTLE SHADOWS & RADIUS */
.card, .feature-grid li, .route-preview-card, .testimonial-card, .service-list li, .quick-tips li {
  box-shadow: 0 2px 18px 0 rgba(39,74,93,0.065);
  border-radius: 16px;
}

/* COOKIE BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #274A5D;
  color: #fff;
  padding: 18px 20px;
  z-index: 1400;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -2px 12px rgba(39,74,93,0.06);
  gap: 18px;
  font-size: 1rem;
  transition: transform 0.35s;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner .btn-cookie {
  background: #85A658;
  border: none;
  color: #fff;
  padding: 9px 18px;
  border-radius: 34px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  font-weight: 500;
  cursor: pointer;
  margin-left: 4px;
  min-width: 90px;
  transition: background 0.18s, color 0.18s;
}
.cookie-banner .btn-cookie.cookie-settings {
  background: #fff;
  color: #274A5D;
  border: 1px solid #C8D0D5;
}
.cookie-banner .btn-cookie:hover {
  background: #67803D;
  color: #fff;
}
.cookie-banner .btn-cookie.cookie-settings:hover {
  background: #F1E9D9;
  color: #274A5D;
  border: 1px solid #85A658;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1450;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(39,74,93,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(39,74,93,0.16);
  padding: 36px 28px 24px 28px;
  min-width: 320px;
  max-width: 95vw;
  color: #274A5D;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalIn 0.33s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes cookieModalIn {
  0% { transform: scale(0.92) translateY(40px); opacity: .3; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  margin-top: 0;
  font-size: 1.32rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #F1E9D9;
  font-size: 1rem;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal .cookie-toggle {
  margin-left: auto;
  min-width: 38px;
  pointer-events: auto;
}
.cookie-modal .cookie-toggle[disabled] {
  opacity: 0.5;
  pointer-events: none;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .btn-cookie {
  background: #85A658;
  color: #fff;
  padding: 9px 18px;
  border-radius: 34px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  cursor: pointer;
}
.cookie-modal .btn-cookie.close-cookie-modal {
  background: #fff;
  color: #274A5D;
  border: 1px solid #C8D0D5;
}
.cookie-modal .btn-cookie:hover, .cookie-modal .btn-cookie:focus {
  background: #67803D;
  color: #fff;
  border: 1px solid #67803D;
}
.cookie-modal .btn-cookie.close-cookie-modal:hover {
  background: #F1E9D9;
  color: #274A5D;
}

/* COOKIE MODAL LABELS AND SWITCHES */
.cookie-modal label {
  font-size: 1rem;
  font-weight: 500;
  color: #274A5D;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  border-radius: 10px;
  background: #C8D0D5;
  position: relative;
  outline: none;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #85A658;
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px;
  top: 2px;
  box-shadow: 0 1px 2px rgba(39,74,93,.13);
  transition: left 0.18s;
}
.cookie-toggle:checked:before {
  left: 20px;
}

@media (max-width: 540px) {
  .cookie-modal {
    min-width: 85vw;
    padding: 20px 10px 15px 10px;
  }
}

/* HIDE / SHOW UTILITIES */
.hide {
  display: none !important;
}

/* END OF STYLE */
