/* RESET & BASELINE CSS */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: linear-gradient(135deg, #e2efc1 0%, #bfd979 100%);
  color: #112A23;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.6s;
}
* {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  margin: 0 0 16px 20px;
  padding-left: 16px;
}
li {
  margin-bottom: 8px;
}
a {
  color: #227C47;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #112A23;
  text-decoration: underline;
}

/* TYPOGRAPHY SCALE */
h1, .hero h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #112A23;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #227C47;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #112A23;
  margin-bottom: 14px;
}
h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #112A23;
}
.subheadline {
  font-size: 1.125rem;
  color: #227C47;
  font-weight: 500;
  margin-bottom: 20px;
}
p, address {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #112A23;
  margin-bottom: 16px;
}
address {
  font-style: normal;
  line-height: 1.7;
}
.certifications, .certified-experts {
  font-size: 0.95rem;
  color: #227C47;
  font-weight: 600;
  margin-top: 8px;
}
strong {
  font-weight: 700;
  color: #227C47;
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.feature-grid, .service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-listings > div, .feature-grid > div, .service-grid > div {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 10px rgba(34, 124, 71, 0.11);
  padding: 24px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 240px;
  flex: 1 1 280px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-listings > div:hover, .feature-grid > div:hover, .service-grid > div:hover {
  box-shadow: 0 6px 24px rgba(34, 124, 71, 0.17);
  transform: translateY(-4px) scale(1.02);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(34,124,71,0.12);
  padding: 28px 20px 24px 20px;
  display: flex;
  flex-direction: column;
}
.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;
  margin-bottom: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.partner-logos, .project-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin: 28px 0 0 0;
}
.partner-logos img {
  height: 42px;
  filter: grayscale(0.35);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(100deg, #BFD979 0%, #E2EFC1 60%, #fff 100%);
  border-radius: 0 0 72px 72px / 0 0 44px 44px;
  padding: 64px 0 44px 0;
  margin-bottom: 60px;
  box-shadow: 0 8px 22px 0 rgba(34,124,71,0.07);
  min-height: 310px;
}
.hero .container {
  align-items: flex-start;
  gap: 16px;
}
.hero h1 {
  color: #227C47;
  font-size: 2.5rem;
}
.hero .subheadline {
  color: #112A23;
  font-size: 1.25rem;
  max-width: 600px;
}
.hero .button {
  margin-top: 18px;
}

/* BUTTONS */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 28px;
  padding: 12px 30px;
  margin-top: 10px;
  cursor: pointer;
  border: none;
  outline: none;
  background: #BFD979;
  color: #112A23;
  box-shadow: 0 2px 8px rgba(34,124,71,0.08);
  transition: background 0.18s, color 0.18s, transform 0.12s, box-shadow 0.18s;
}
.button.primary {
  background: #227C47;
  color: #fff;
}
.button.secondary {
  background: #fff;
  color: #227C47;
  border: 2px solid #227C47;
}
.button.primary:hover,
.button.primary:focus {
  background: #166638;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}
.button.secondary:hover, .button.secondary:focus {
  background: #BFD979;
  color: #112A23;
  border-color: #166638;
  transform: translateY(-2px) scale(1.03);
}
.button:active {
  transform: scale(0.98);
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(34,124,71,0.04);
  position: sticky;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 0 0 0 0;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 18px; padding-bottom: 18px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #112A23;
  transition: color 0.14s;
  padding: 3px 6px;
  border-radius: 8px;
}
header nav a:hover, header nav a.active {
  background: #E2EFC1;
  color: #227C47;
}
header .button.primary {
  margin-top: 0;
  margin-left: 20px;
  font-size: 1rem;
  padding: 10px 23px;
}
header img[alt="Roam Horizon"] {
  height: 40px;
  width: auto;
  margin-right: 16px;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: #BFD979;
  border: none;
  border-radius: 50%;
  color: #227C47;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  right: 28px;
  top: 16px;
  z-index: 1201;
  box-shadow: 0 2px 8px rgba(34,124,71,0.09);
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #E2EFC1;
  color: #112A23;
}
.mobile-menu {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: #fff;
  z-index: 1200;
  flex-direction: column;
  padding: 0;
  opacity: 0;
  transform: translateX(100%);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.34s cubic-bezier(.32,1.17,.48,.97);
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #227C47;
  margin: 22px 22px 0 0;
  cursor: pointer;
  z-index: 1300;
  transition: color 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #112A23;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin-top: 36px;
  padding-left: 40px;
}
.mobile-nav a {
  font-size: 1.12rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #112A23;
  padding: 8px 0;
  border-radius: 6px;
  width: 100%;
  transition: color 0.14s, background 0.14s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #BFD979;
  color: #166638;
  padding-left: 6px;
}
@media (max-width: 1023px) {
  header nav {
    display: none;
  }
  header .button.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* TESTIMONIAL CARDS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(34,124,71,0.10);
  padding: 20px 28px 20px 28px;
  margin-bottom: 20px;
  flex: 1 1 320px;
  flex-direction: column;
  align-items: flex-start;
  min-width: 240px;
  max-width: 430px;
  transition: box-shadow 0.16s, transform 0.18s;
  position: relative;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(34,124,71,0.13);
  transform: translateY(-4px);
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #112A23;
  margin-bottom: 10px;
}
.testimonial-card strong {
  color: #227C47;
  font-size: 1rem;
}
.testimonial-card .rating {
  color: #FFD700;
  font-size: 1.2rem;
  letter-spacing: 2px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-top: 2px;
}
.content-wrapper .testimonial-card {
  margin-right: 20px;
}

/* VISUAL/INTERACTIVE ELEMENTS */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.service-listings, .feature-grid, .service-grid {
  margin-top: 20px;
  margin-bottom: 10px;
  width: 100%;
}

/* FOOTER */
footer {
  background: #227C47;
  color: #fff;
  padding: 36px 0 24px 0;
  border-radius: 46px 46px 0 0 / 18px 18px 0 0;
  box-shadow: 0 -8px 25px 0 rgba(34,124,71,0.09);
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 24px;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.footer-nav a {
  color: #E2EFC1;
  font-size: 1rem;
  transition: color 0.17s;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}
.social-media-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.social-media-links span {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
.social-media-links img {
  width: 28px;
  height: 28px;
  filter: grayscale(0.2);
  opacity: 0.86;
  transition: filter 0.13s, opacity 0.13s, transform 0.13s;
}
.social-media-links img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.11);
}
footer img[alt="Roam Horizon"] {
  height: 50px;
  margin-left: 16px;
}


/* ADDRESS LISTS & FORMS (for completeness) */
section address {
  background: #E2EFC1;
  padding: 18px 24px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(34,124,71,0.06);
  margin-bottom: 16px;
  color: #112A23;
  font-size: 1rem;
  word-break: break-word;
}
section address a {
  color: #227C47;
  text-decoration: underline;
}
section address a:hover, section address a:focus {
  color: #166638;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #112A23;
  box-shadow: 0 -2px 18px 0 rgba(34,124,71,0.12);
  border-radius: 28px 28px 0 0 / 13px 13px 0 0;
  z-index: 9001;
  padding: 24px 18px 20px 18px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  font-size: 0.97rem;
  animation: bannerShow 0.7s cubic-bezier(0.23,1.15,0.45,1);
}
@keyframes bannerShow {
  from { transform: translateY(100px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-consent-banner .button {
  font-size: 0.97rem;
  padding: 9px 18px;
  min-width: 90px;
}
.cookie-consent-banner .button {
  margin: 0;
}
.cookie-consent-banner .button.primary {
  background: #227C47;
  color: #fff;
}
.cookie-consent-banner .button.secondary {
  background: #E2EFC1;
  color: #227C47;
  border: 2px solid #227C47;
}
.cookie-consent-banner .button.outline {
  background: transparent;
  color: #166638;
  border: 1.5px solid #166638;
}
@media (max-width: 760px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 14px 16px 14px;
    max-width: 95vw;
    font-size: 0.91rem;
  }
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(18,42,35, 0.22);
  z-index: 11500;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: fadein 0.29s;
}
@keyframes fadein {
  from {opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal {
  background: #fff;
  color: #112A23;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(34,124,71,0.19);
  padding: 32px 24px 26px 24px;
  width: 96vw;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalShow 0.38s cubic-bezier(0.38,1.25,0.22,0.86);
}
@keyframes modalShow {
  from { transform: scale(0.93); opacity: 0.3; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.22rem;
  color: #227C47;
  margin-bottom: 5px;
}
.cookie-modal .cookie-switches {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  font-size: 1rem;
}
.cookie-category-row .switch {
  width: 38px;
  height: 22px;
  background: #E2EFC1;
  border-radius: 12px;
  position: relative;
  transition: background 0.2s;
  border: 1.2px solid #227C47;
}
.cookie-category-row .switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-category-row .slider {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px; height: 18px;
  background: #227C47;
  border-radius: 50%;
  transition: transform 0.2s, background 0.2s;
}
.cookie-category-row .switch input:checked + .slider {
  background: #bfd979;
  transform: translateX(16px);
}
.cookie-category-row .switch[aria-disabled="true"] {
  background: #BFD979;
  opacity: 0.7;
}
.cookie-category-row .switch[aria-disabled="true"] .slider {
  background: #227C47;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  right: 17px; top: 17px;
  background: none; border: none;
  font-size: 1.5rem;
  color: #227C47;
  cursor: pointer;
}
.cookie-modal-close:hover {
  color: #112A23;
}

/* Responsive Layout */
@media (max-width: 1023px) {
  .container {
    padding: 0 10px;
    max-width: 98vw;
  }
  header .container, footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .service-listings > div, .feature-grid > div, .service-grid > div {
    flex: 1 1 220px;
    min-width: 160px;
  }
  .testimonial-card {
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 6px;
  }
  .content-wrapper, .feature-grid, .service-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .section {
    padding: 26px 6px;
    margin-bottom: 38px;
  }
  .hero {
    padding: 38px 0 27px 0;
    border-radius: 0 0 38px 38px / 0 0 13px 13px;
    margin-bottom: 36px;
    min-height: 200px;
  }
  .partner-logos, .project-stats {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    margin: 18px 0 0 0;
  }
  .testimonial-card {
    padding: 17px 13px 15px 13px;
    max-width: 98vw;
    min-width: 0;
  }
  .feature-grid > div, .service-grid > div, .service-listings > div {
    padding: 16px 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  footer {
    border-radius: 20px 20px 0 0 / 10px 10px 0 0;
    padding: 22px 0 13px 0;
    margin-top: 20px;
  }
  footer img[alt="Roam Horizon"] {
    height: 40px;
  }
}

/* Micro-interactions + General Transitions */
input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}
:focus-visible {
  outline: 2px solid #227C47;
  outline-offset: 2px;
}
.button, .cookie-modal-close, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.2s, color 0.13s, border-color 0.14s, transform 0.14s;
}

/* Utility Classes */
.d-none { display: none !important; }
.mt-0  { margin-top: 0 !important; }
.mb-0  { margin-bottom: 0 !important; }
.mt-8  { margin-top: 8px !important; }
.mb-8  { margin-bottom: 8px !important; }
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.px-0  { padding-left: 0 !important; padding-right: 0 !important; }

/* Next-steps block (ThankYou page) */
.next-steps {
  background: #E2EFC1;
  border-radius: 12px;
  padding: 14px 18px 14px 18px;
  box-shadow: 0 2px 8px rgba(34,124,71,0.07);
  margin-bottom: 12px;
}
.next-steps h2 {
  font-size: 1.12rem;
  color: #227C47;
  margin-bottom: 6px;
}
.next-steps ul li {
  margin-bottom: 7px;
}

/* Misc. Classes for Compatibility */
.certifications, .certified-experts {
  display: block;
}
strong {
  font-weight: bold;
}

/* Hide unwanted position: absolute usage for content - only decorative allowed */
.card, .feature-grid > div, .service-grid > div, .service-listings > div, .testimonial-card {
  position: relative;
  z-index: 1;
}

/* END OF CSS */
