/* ===============================
   CSS RESET AND 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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #18466D;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #18466D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #6C9A8B;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* ===============================
   BRAND FONTS
=============================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #18466D;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 700;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #18466D;
}
strong {
  font-weight: 700;
  color: #18466D;
}


/* ===============================
   GENERAL LAYOUT CONTAINERS
=============================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #F3EDEA;
  border-radius: 24px;
  box-shadow: 0 4px 28px rgba(24, 70, 109, 0.04);
}

/* Section spacing between arbitrary sections in main */
main section:not(:last-of-type) {
  margin-bottom: 60px;
}


/* ===============================
   HEADER AND NAVIGATION
=============================== */
header {
  width: 100%;
  background: #18466D;
  color: #fff;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo img {
  height: 44px;
  display: block;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: #F3EDEA;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  padding: 8px 4px;
  border-radius: 4px;
}
.main-nav a:hover, .main-nav a:focus {
  background: #6C9A8B;
  color: #18466D;
}
.cta-btn {
  background: #6C9A8B;
  color: #fff;
  border: none;
  border-radius: 44px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 1.16rem;
  padding: 12px 32px;
  margin-left: 12px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(24, 70, 109, 0.07);
  transition: background 0.2s, transform 0.2s;
  position: relative;
  z-index: 2;
}
.cta-btn:hover, .cta-btn:focus {
  background: #18466D;
  color: #F3EDEA;
  transform: translateY(-2px) scale(1.03);
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #F3EDEA;
  cursor: pointer;
  z-index: 102;
  padding: 10px;
  border-radius: 6px;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: rgba(243,237,234,0.14);
  outline: none;
}

/* MOBILE MENU (default hidden) */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #18466D;
  z-index: 101;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.67,0.02,0.35,1.03);
  padding: 32px 24px 18px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  margin-bottom: 18px;
  padding: 8px;
  border-radius: 6px;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #6C9A8B;
  color: #18466D;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.mobile-nav a {
  color: #F3EDEA;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 14px 0 14px 4px;
  border-radius: 4px;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #6C9A8B;
  color: #18466D;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 10px;
  }
}

@media (max-width: 900px) {
  header .container {
    gap: 16px;
    min-height: 64px;
  }
  .main-nav { gap: 10px; }
  .cta-btn { padding: 10px 20px; margin-left: 6px; font-size: 1rem; }
  .logo img { height: 36px; }
}

@media (max-width: 768px) {
  .main-nav, .cta-btn {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    padding-top: 6px; padding-bottom: 6px;
  }
}

/* ===============================
   HERO SECTION
=============================== */
.hero {
  background: #18466D;
  color: #fff;
  border-radius: 0 0 40px 40px;
  margin-bottom: 40px;
  padding: 56px 0 44px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .container {
  justify-content: center;
  align-items: flex-start;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  color: #F3EDEA;
  font-size: 2.8rem;
  margin-bottom: 8px;
}
.hero p {
  color: #F3EDEA;
  font-size: 1.25rem;
  margin-bottom: 18px;
}
.hero .cta-btn {
  background: #fff;
  color: #18466D;
  font-size: 1.06rem;
  border-radius: 44px;
  font-weight: 900;
  box-shadow: 0 2px 12px rgba(24, 70, 109, 0.115);
}
.hero .cta-btn:hover, .hero .cta-btn:focus {
  background: #6C9A8B;
  color: #fff;
}

@media (max-width: 480px) {
  .hero h1 {font-size: 2.0rem;}
  .hero p {font-size: 1.05rem;}
  .hero {padding: 30px 0 20px 0;}
}

/* ===============================
   FEATURES / CARD-GRID SYSTEM
=============================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  width: 100%;
  margin-bottom: 18px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 30px 22px 26px 22px;
  border-radius: 22px;
  box-shadow: 0 6px 24px rgba(24, 70, 109, 0.07), 0 1.5px 6px rgba(108, 154, 139, 0.07);
  width: 285px;
  min-width: 220px;
  max-width: 335px;
  min-height: 256px;
  position: relative;
  transition: box-shadow 0.26s, transform 0.19s;
}
.feature-item img {
  background: #F3EDEA;
  border-radius: 16px;
  width: 44px;
  height: 44px;
  padding: 7px;
  box-shadow: 0 2.5px 12px rgba(24, 70, 109, 0.09);
}
.feature-item h3 {
  color: #18466D;
  font-size: 1.20rem;
}
.feature-item p {
  color: #18466D;
  font-size: 1rem;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 12px 38px rgba(24, 70, 109, 0.11), 0 3px 12px rgba(108,154,139,0.11);
  transform: translateY(-6px) scale(1.025);
}

@media (max-width: 980px) {
  .feature-grid {
    gap: 18px;
  }
  .feature-item {
    min-width: 185px;
    width: 46vw;
    max-width: unset;
  }
}
@media (max-width: 700px) {
  .feature-grid {
    gap: 14px;
    flex-direction: column;
    align-items: center;
  }
  .feature-item {
    width: 95%;
    min-width: unset;
    margin: 0 auto;
  }
}

/* ===============================
   CARD LAYOUTS, GENERIC CARDS
=============================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3.5px 18px rgba(24, 70, 109, 0.09);
  padding: 28px 20px;
  min-width: 250px;
  flex: 1 1 275px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 7px 28px rgba(24,70,109,0.12);
  transform: translateY(-4px);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* ===============================
   TEXT SECTIONS
=============================== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section p {
  font-size: 1rem;
  color: #18466D;
}
.text-section ul, .text-section ol {
  margin-left: 1.2em;
  margin-bottom: 4px;
  color: #18466D;
  font-size: 1rem;
}
.text-section li {
  margin-bottom: 8px;
}

/* ===============================
   TESTIMONIALS
=============================== */
.testimonials, .testimonial-list {
  width: 100%;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  color: #18466D;
  padding: 24px 22px 22px 22px;
  border-radius: 20px;
  min-width: 225px;
  max-width: 345px;
  box-shadow: 0 3.5px 18px rgba(24, 70, 109, 0.10);
  font-size: 1.05rem;
  line-height: 1.74;
  position: relative;
  transition: box-shadow 0.16s, transform 0.14s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 9px 32px rgba(108,154,139,0.13);
  transform: translateY(-5px) scale(1.018);
}
.testimonial-card p {
  color: #18466D;
  font-size: 1.08rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 600;
}
.testimonial-card span {
  display: block;
  margin-top: 8px;
  color: #6C9A8B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}
@media (max-width: 900px) {
  .testimonial-list { gap:16px; }
  .testimonial-card {
    max-width: 98vw;
    min-width: unset;
  }
}
@media (max-width: 700px) {
  .testimonial-list {
    flex-direction: column;
    gap: 14px;
    align-items: center;
  }
  .testimonial-card {
    width: 98%;
    min-width: unset;
  }
}

/* ===============================
   CONTACT INFO
=============================== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  margin-bottom: 20px;
}
.contact-info div {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.01rem;
  color: #18466D;
}
.contact-info img {
  width: 23px; height: 23px; background: #F3EDEA; border-radius: 5px; padding: 2px;
}
.contact-cta, .thankyou-cta {
  margin-top: 18px;
}

/* ===============================
   FOOTER
=============================== */
footer {
  background: #F3EDEA;
  color: #18466D;
  padding: 0;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -2px 8px rgba(24, 70, 109, 0.03);
}
footer .container {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px 10px 16px 10px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  color: #18466D;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: color 0.17s;
  letter-spacing: 0.03em;
  padding: 4px 2px;
  border-radius: 3px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #6C9A8B;
  background: #fff;
}
.footer-contact {
  margin-bottom: 14px;
  font-size: 0.98rem;
  color: #18466D;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
}
.footer-brand {
  margin-bottom: 9px;
}
.footer-brand img {
  height: 38px;
  display: block;
  background: none;
}
.footer-copy {
  font-size: 0.93rem;
  color: #8da2b2;
  margin-top: 4px;
  text-align: center;
}

@media (max-width: 700px) {
  footer .container {
    padding: 19px 2px 10px 2px;
  }
  .footer-nav { gap: 10px; }
}

/* ===============================
   COOKIES CONSENT BANNER
=============================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #18466D;
  border-top: 5px solid #6C9A8B;
  box-shadow: 0 -2px 28px rgba(24,70,109,0.11);
  z-index: 1050;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 22px 24px;
  justify-content: space-between;
  gap: 20px;
  font-size: 1.02rem;
  transition: transform 0.39s cubic-bezier(0.62,0.01,0.39,1.07), opacity 0.24s;
}
.cookie-banner.hidden {
  opacity: 0;
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 2 1 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  border: none;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 20px;
  cursor: pointer;
  margin: 0 2px;
  transition: background 0.17s, color 0.13s, transform 0.16s;
}
.cookie-btn.accept {
  background: #18466D;
  color: #F3EDEA;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #6C9A8B;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  border: 2px solid #6C9A8B;
  color: #18466D;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #6C9A8B;
  color: #fff;
}
.cookie-btn.settings {
  background: #F3EDEA;
  color: #18466D;
  border: 1.5px solid #6C9A8B;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #18466D;
  color: #fff;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 10px;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    gap: 8px;
    justify-content: flex-end;
  }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(24,70,109,0.34);
  z-index: 1070;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.24s;
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 11px 48px rgba(24,70,109,0.22);
  padding: 34px 28px 24px 28px;
  min-width: 320px;
  max-width: 90vw;
  z-index: 1090;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  animation: cookieModalShow 0.42s cubic-bezier(0.62,0.01,0.39,1.07);
}
@keyframes cookieModalShow {
  from { transform: scale(0.89) translateY(60px); opacity: 0;}
  to { transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal .modal-close {
  position: absolute;
  top: 18px; right: 20px;
  background: none;
  border: none;
  color: #18466D;
  font-size: 2.2rem;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal .modal-close:hover {
  color: #6C9A8B;
}
.cookie-modal h3 {
  font-size: 1.5rem;
  color: #18466D;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  width: 100%;
  background: #F3EDEA;
  padding: 10px 16px;
  border-radius: 9px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #18466D;
}
.cookie-category input[type='checkbox'] {
  width: 20px;
  height: 20px;
  accent-color: #6C9A8B;
}
.cookie-category input[type='checkbox'][disabled] {
  filter: grayscale(0.7);
  opacity: 0.7;
}
.cookie-modal .modal-actions {
  width: 100%;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 8px;
}

@media (max-width: 500px) {
  .cookie-modal { padding: 24px 7px 16px 12px; }
}

/* ===============================
   RESPONSIVE UTILITIES
=============================== */
@media (max-width: 600px) {
  h1 {font-size: 1.45rem;}
  h2 {font-size: 1.13rem;}
  h3 {font-size: 1.02rem;}
  .container, .section {
    padding-left: 6px;
    padding-right: 6px;
  }
  .section {
    padding: 19px 6px;
    margin-bottom: 26px;
  }
}

/* GENERAL BUTTONS */
button, .cta-btn, .cookie-btn {
  outline: none;
}
button:focus-visible, .cta-btn:focus-visible, .cookie-btn:focus-visible {
  outline: 2.5px solid #6C9A8B;
  outline-offset: 2px;
}

/* ===============================
   HIGH CONTRAST / ACCESSIBILITY
=============================== */
[role="alert"], .alert {
  background: #f5c299;
  color: #18466D;
  border-left: 4px solid #18466D;
  padding: 12px;
  border-radius: 6px;
  font-size: 1.03rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  margin-bottom: 19px;
}

/* ===============================
   BOLD GEOMETRIC SEPARATORS & SHAPES
=============================== */
hr {
  border: none;
  height: 3px;
  background: #18466D;
  width: 64px;
  border-radius: 3px;
  margin: 32px 0 20px 0;
}

/* ========== STYLE ENDS ========== */