/* --- CSS RESET & NORMALIZATION --- */
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;
}
/* Set base font size and body styles */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #F8FAFB;
  font-family: 'Roboto', Arial, sans-serif;
  color: #264653;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #2A9D8F;
  text-decoration: none;
  transition: color .2s;
  font-weight: 600;
}
a:hover, a:focus {
  color: #E9C46A;
  outline: none;
}

/* --- Typography - Modern Bold ---*/
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #264653;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
  line-height: 1.11;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.1rem;
}
p, ul, ol, blockquote {
  margin-bottom: 18px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
ol, ul {
  padding-left: 28px;
  margin-bottom: 20px;
}
strong, b {
  font-weight: 700;
  color: #264653;
}
em, i {
  font-style: italic;
  color: #2A9D8F;
}
blockquote {
  border-left: 5px solid #2A9D8F;
  background: #fff;
  padding: 16px 26px;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #264653;
  margin: 0 0 10px 0;
  border-radius: 0.75rem;
}

/* --- Utility Containers --- */
.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 18px;
}

.content-wrapper, .feature_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0px;
}
.text-section {
  flex: 1 1 260px;
  max-width: 700px;
  min-width: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px 0 rgba(38,70,83,0.05);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #FFF;
  padding: 28px 22px;
  border-radius: 1.3rem;
  box-shadow: 0 2px 16px 0 rgba(38,70,83,0.08);
  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: 28px 28px 22px 28px;
  margin-bottom: 20px;
  background: #FCFCFC;
  border: 2.5px solid #2A9D8F;
  border-radius: 1.4rem;
  box-shadow: 0 4px 18px 0 rgba(42,157,143,0.07);
  min-width: 0;
  color: #264653;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F1FAEE;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(38,70,83,0.06);
}

/* --- Header --- */
header {
  width: 100%;
  background: #264653;
  box-shadow: 0 2px 12px rgba(38,70,83,0.09);
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}
header img {
  height: 44px;
  margin-right: 32px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 1.07rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background .21s, color .21s;
}
header nav a:hover, header nav a.active {
  background: #2A9D8F;
  color: #264653;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  background: #2A9D8F;
  color: #fff;
  padding: 12px 30px;
  border-radius: 2rem;
  border: 2.5px solid #2A9D8F;
  margin-left: 26px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .21s, color .21s, box-shadow .21s;
  box-shadow: 0 3px 12px 0 rgba(42,157,143,0.10);
}
.cta-button:hover, .cta-button:focus {
  background: #E9C46A;
  color: #264653;
  border-color: #E9C46A;
  box-shadow: 0 4px 16px 0 rgba(233,196,106,0.15);
  outline: none;
}

/* --- Burger Mobile Navigation --- */
.mobile-menu-toggle {
  display: none;
  background: #2A9D8F;
  color: #fff;
  font-size: 2.3rem;
  line-height: 1;
  border: none;
  border-radius: 10px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 18px;
  transition: background .2s, color .2s, box-shadow .2s;
  box-shadow: 0 2px 12px 0 rgba(42,157,143,0.13);
  z-index: 60;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E9C46A;
  color: #264653;
}

.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 320px;
  max-width: 94vw;
  height: 100vh;
  background: #264653;
  box-shadow: -4px 0 28px 0 rgba(38,70,83,0.31);
  z-index: 999;
  transform: translateX(110%);
  transition: transform 0.32s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  padding: 30px 24px 0 24px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #E9C46A;
  font-size: 2.35rem;
  position: absolute;
  top: 24px; right: 24px;
  cursor: pointer;
  z-index: 100;
  transition: color .15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #2A9D8F;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 66px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  padding: 13px 8px 13px 0;
  border-radius: 5px;
  transition: background .15s, color .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E9C46A;
  background: #2A9D8F;
  outline: none;
}

/* Overlay for mobile menu */
body.mobile-menu-active::before {
  content: "";
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(38,70,83,0.53);
  z-index: 990;
}

/* --- HERO & Sections --- */
main > section {
  margin-bottom: 60px;
  padding: 40px 0;
}
main h1, main h2, main h3 {
  color: #264653;
}
main h1 {
  background: linear-gradient(90deg, #264653 70%, #2A9D8F 95%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
          background-clip: text;
  text-fill-color: transparent;
}
main .container {
  width: 100%;
  margin: 0 auto;
}

.feature_grid > div {
  flex: 1 1 220px;
  min-width: 220px;
  background: #F4F9F8;
  padding: 28px 18px;
  border-radius: 1.25rem;
  box-shadow: 0 2px 14px 0 rgba(38,70,83,0.06);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  border: 2px solid #E9C46A22;
  position: relative;
  transition: box-shadow 0.22s, border 0.22s;
}
.feature_grid > div:hover {
  box-shadow: 0 9px 36px 0 rgba(42,157,143,0.19);
  border: 2px solid #2A9D8F;
  z-index: 9;
}
.feature_grid img {
  width: 52px; height: 52px;
  margin-bottom: 0.8em;
}

/* --- Testimonial Cards --- */
.testimonial-card span {
  font-size: 1.08rem;
  color: #2A9D8F;
  font-weight: 600;
  margin-top: -8px;
}
.testimonial-card blockquote {
  color: #264653;
  background: #fff;
  border-left: 3.5px solid #E9C46A;
  font-size: 1.12rem;
  border-radius: 0 .9rem .9rem 0;
}
.testimonial-card div {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #2A9D8F;
  font-weight: 700;
  margin-bottom: 0px;
}

/* --- Category Tag --- */
.category-tag {
  display: inline-block;
  background: #2A9D8F;
  color: #fff;
  padding: 4px 18px;
  border-radius: 13px;
  font-size: 0.91rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- Footer --- */
footer {
  background: #264653;
  color: #fff;
  padding: 40px 0px 12px 0px;
  margin-top: 30px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 7px;
  transition: background .18s, color .18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #264653;
  background: #E9C46A;
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 7px;
}
.contact-info div {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #F1FAEE;
}
.contact-info img {
  width: 20px;
  height: 20px;
}
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}
.footer-logo img {
  height: 38px;
}
.copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #A7BBCB;
  font-size: 0.93rem;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #264653;
  color: #fff;
  padding: 22px 16px 22px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  font-size: 1rem;
  z-index: 2000;
  box-shadow: 0 -7px 27px rgba(42,157,143,0.14);
  border-radius: 1.1rem 1.1rem 0 0;
  transition: transform 0.31s cubic-bezier(.7,0,.2,1);
}
.cookie-banner.hidden {
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 24px;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  transition: background .16s, color .16s;
  outline: none;
}
.cookie-banner .accept {
  background: #2A9D8F;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #E9C46A;
  color: #264653;
}
.cookie-banner .reject {
  background: #fff;
  color: #264653;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #E9C46A;
  color: #264653;
}
.cookie-banner .settings {
  background: #E9C46A;
  color: #264653;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #2A9D8F;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(38,70,83,0.54);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2100;
}
.cookie-modal .modal-content {
  background: #fff;
  color: #264653;
  border-radius: 1.25rem;
  padding: 38px 32px 32px 32px;
  max-width: 90vw;
  width: 410px;
  box-shadow: 0 10px 40px rgba(38,70,83,0.18);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #264653;
  font-size: 1.22rem;
  margin-bottom: 0.5em;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1.01rem;
  margin-bottom: 10px;
}
.cookie-modal input[type="checkbox"] {
  margin-right: 12px;
  accent-color: #2A9D8F;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.cookie-modal .save {
  background: #2A9D8F;
  color: #fff;
}
.cookie-modal .close {
  background: #fff;
  color: #264653;
  border: 2px solid #2A9D8F;
}
.cookie-modal .save:hover {
  background: #E9C46A;
  color: #264653;
}
.cookie-modal .close:hover {
  background: #E9C46A;
  color: #264653;
}
.cookie-modal .cookie-category {
  padding: 9px 0 9px 8px;
  font-size: 0.97rem;
}

/* --- Micro animations & transitions ---*/
.cta-button, .card, .feature_grid > div, .testimonial-card, .cookie-banner, .cookie-modal .modal-content {
  transition: box-shadow .21s, background .22s, border .22s, color .15s, transform .20s;
}
.card:hover, .feature_grid > div:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 6px 30px 0 rgba(42,157,143,0.13);
}

/* --- Spacing for main sections/cards --- */
main > section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .content-grid, .feature_grid {
  gap: 24px;
}
.card, .feature_grid > div, .testimonial-card {
  margin-bottom: 20px;
}

/* --- List styles --- */
ul, ol {
  padding-left: 30px;
  margin-top: 8px;
  margin-bottom: 20px;
  color: #264653;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.75;
}
li {
  margin-bottom: 7px;
}

/* --- Responsive Design - Mobile First --- */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
    padding: 0 7vw;
  }
  header .container {
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .feature_grid > div, .card {
    min-width: 180px;
    flex-grow: 1;
  }
  .content-wrapper {
    gap: 18px;
  }
  main h1 {
    font-size: 2rem;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 9px;
    max-width: 98vw;
  }
  header .container {
    flex-direction: row;
    height: 70px;
    gap: 8px;
  }
  header nav {
    display: none;
  }
  .cta-button {
    margin-left: auto;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .content-wrapper, .feature_grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  footer .container {
    gap: 14px;
    padding-left: 0; padding-right: 0;
  }
  .footer-nav, .contact-info {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
}
@media (max-width: 520px) {
  header .container {
    height: 58px;
  }
  header img, .footer-logo img {
    height: 30px;
  }
  main h1 {
    font-size: 1.35rem;
  }
  .cta-button, .cookie-banner button, .cookie-modal button {
    padding: 7px 11px;
    font-size: 0.93rem;
  }
  .cookie-modal .modal-content {
    padding: 20px 7vw 20px 7vw;
    width: 94vw;
  }
}

/* --- Hide scroll when modal/menu open --- */
body.mobile-menu-active, body.cookie-modal-active {
  overflow: hidden;
}

/* --- Miscellaneous --- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: #2A9D8Faa;
  border-radius: 8px;
}

/* --- Geometric/Modern Bold Accents --- */
.feature_grid > div, .card, .testimonial-card, .cookie-modal .modal-content {
  border-radius: 18px 32px 18px 32px/12px 24px 12px 24px;
}
.card::before,
.feature_grid > div::before {
  content: "";
  position: absolute;
  right: 20px; top: 20px;
  width: 22px; height: 22px;
  background: #E9C46A;
  border-radius: 50%;
  opacity: 0.07;
  z-index: 2;
}

/* --- Button Accessibility Fixes --- */
button:focus-visible, .cta-button:focus-visible {
  outline: 3px solid #E9C46A;
  outline-offset: 2px;
}

/* --- Fix for very wide screens --- */
@media (min-width: 1600px) {
  .container {
    max-width: 1320px;
  }
}
