/* RESET & BASE -------------------------------------------------- */
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, font, 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, main, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
  vertical-align: baseline;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F5F6F8;
  color: #2F5572;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}

*, *:before, *:after {
  box-sizing: inherit;
}

a {
  color: #2F5572;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}
a:hover, a:focus {
  color: #E7A03C;
}

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

/* Typography ----------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2F5572;
  line-height: 1.15;
  margin-bottom: 16px;
  font-weight: 900;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.5rem; margin-bottom: 16px; }
h4 { font-size: 1.25rem; margin-bottom: 12px; }

p, ul, ol, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #2F5572;
  margin-bottom: 14px;
}
strong {
  color: #2F5572;
  font-weight: 700;
}
em {
  color: #E7A03C;
  font-style: normal;
}

blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #2F5572;
  background: #F5F6F8;
  border-left: 5px solid #E7A03C;
  margin: 0 0 12px 0;
  padding: 16px 20px 16px 24px;
  border-radius: 12px;
  font-style: italic;
  box-shadow: 0 2px 16px 0 rgba(47,85,114,0.05);
}

ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
  line-height: 1.65;
}

/* LAYOUT: CONTAINERS & SECTIONS ---------------------------------- */
.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

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

.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(47,85,114,0.08);
  margin-bottom: 20px;
  position: relative;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  min-width: 250px;
  transition: box-shadow 0.25s, transform 0.21s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 12px 40px 0 rgba(47,85,114,0.19);
  transform: translateY(-4px) scale(1.02);
  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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fafafc;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(47,85,114,0.09);
  margin-bottom: 20px;
  border-left: 5px solid #E7A03C;
  transition: box-shadow 0.2s, border 0.2s;
}
.testimonial-card:hover {
  border-left: 5px solid #2F5572;
  box-shadow: 0 6px 28px 0 rgba(47,85,114,0.17);
}
.testimonial-card blockquote {
  background: none;
  box-shadow: none;
  padding: 0 0 0 8px;
  margin-bottom: 0;
  border-left: none;
  color: #2F5572;
}
.testimonial-card p {
  font-size: 1rem;
  color: #111;
  margin: 0;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}

/* HEADER & NAV --------------------------------------------------- */
header {
  width: 100%;
  background: #fff;
  padding: 14px 0 14px 0;
  box-shadow: 0 2px 8px rgba(47,85,114,0.05);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: 100;
  min-height: 68px;
}
header > a img {
  height: 44px;
  margin-right: 16px;
  vertical-align: middle;
}

header nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  margin-left: 28px;
}
header nav a {
  color: #2F5572;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 7px 12px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  position: relative;
  z-index: 1;
}
header nav a:hover {
  background: #E7A03C;
  color: #fff;
}

.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: #E7A03C;
  color: #fff;
  padding: 12px 26px;
  border-radius: 32px;
  font-size: 1.05rem;
  box-shadow: 0 3px 18px 0 rgba(231,160,60,0.14);
  text-align: center;
  margin-left: auto;
  transition: background 0.26s, box-shadow 0.19s, transform 0.17s;
  border: none;
  cursor: pointer;
  position: relative;
}
.cta.primary {
  background: #2F5572;
  color: #fff;
  box-shadow: 0 2px 16px 0 rgba(47,85,114,0.13);
}
.cta:hover, .cta:focus {
  background: #E7A03C;
  color: #fff;
  box-shadow: 0 8px 32px 0 rgba(231,160,60,0.17);
  transform: translateY(-2px) scale(1.03);
}
header .cta.primary {
  margin-left: 24px;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #2F5572;
  margin-left: 20px;
  cursor: pointer;
  display: none;
  z-index: 201;
  padding: 6px 12px;
  transition: background 0.17s;
  border-radius: 8px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F5F6F8;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(47,85,114,0.97);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.77,0,0.18,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  z-index: 200;
  padding: 0;
  width: 100vw;
  height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  margin: 18px 24px 8px auto;
  align-self: flex-end;
  cursor: pointer;
  z-index: 250;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E7A03C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 12px 0 0 32px;
  width: 70vw;
  max-width: 360px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.24rem;
  font-weight: 700;
  padding: 11px 5px;
  border-radius: 5px;
  transition: background 0.18s, color 0.17s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #E7A03C;
  color: #2F5572;
}

/* Hide nav and show burger on mobile */
@media (max-width: 1020px) {
  header nav, header .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

/* MAIN & FLEX SPACING -------------------------------------------- */
main {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 22px;
}
section:nth-child(odd) {
  background: #fff6e7;
}
section:nth-child(even) {
  background: #f7faff;
}

@media (max-width: 990px) {
  .container {
    padding-left: 10px; padding-right: 10px;
  }
  section {
    padding: 32px 8px;
    margin-bottom: 38px;
  }
}
@media (max-width: 768px) {
  .section, section {
    padding: 24px 6px;
    margin-bottom: 32px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .card-container, .content-grid {
    gap: 14px;
  }
  .testimonial-card {
    padding: 15px;
    gap: 9px;
    margin-bottom: 14px;
  }
  .feature-item {
    gap: 9px;
    margin-bottom: 9px;
  }
}

/* FLEX-DIRECTION COLUMN ON MOBILE */
@media (max-width: 768px) {
  .text-image-section,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
}

/* FOOTER --------------------------------------------------------- */
footer {
  background: #2F5572;
  color: #fff;
  padding: 34px 0 20px 0;
  text-align: center;
}
footer nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 14px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 7px 10px;
  border-radius: 8px;
  background: none;
  transition: background 0.17s, color 0.12s;
}
footer nav a:hover {
  background: #E7A03C;
  color: #2F5572;
}
.footer-info {
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.95rem;
  margin-top: 6px;
}

/* BUTTONS -------------------------------------------------------- */
button, .button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 32px;
  background: #E7A03C;
  color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.18s, transform 0.11s;
  box-shadow: 0 3px 16px 0 rgba(231,160,60,0.13);
}
button:hover, button:focus, .button:hover, .button:focus {
  background: #2F5572;
  color: #fff;
  box-shadow: 0 7px 29px 0 rgba(47,85,114,0.17);
  transform: translateY(-1px) scale(1.02);
}

/* LISTS ---------------------------------------------------------- */
ul {
  list-style-type: disc;
  margin-left: 1.1em;
}
ol {
  list-style-type: decimal;
  margin-left: 1.4em;
}
ul li, ol li {
  margin-bottom: 7px;
}

/* DECORATIVE: Artistic elements ---------------------------------- */
section h1, section h2 {
  position: relative;
  z-index: 1;
  padding-left: 16px;
}
section h1:before, section h2:before {
  content: '';
  display: inline-block;
  width: 6px; height: 36px;
  background: #E7A03C;
  border-radius: 4px;
  margin-right: 13px;
  vertical-align: middle;
  position: absolute;
  left: 0; top: 3px;
}
@media (max-width: 540px) {
  section h1, section h2 { padding-left: 8px; }
  section h1:before, section h2:before { margin-right: 5px; height: 24px; }
}

/* Artistic Font for Headings */
h1, h2, h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: none;
  letter-spacing: 0.5px;
}

/* Artistic accent blobs (creative) */
@keyframes floating {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}
section::after {
  content: '';
  display: block;
  width: 68px;
  height: 68px;
  background: #E7A03C;
  opacity: 0.15;
  border-radius: 50%;
  position: absolute;
  right: 60px;
  bottom: 19px;
  z-index: 0;
  animation: floating 4s ease-in-out infinite;
}
@media (max-width: 600px) {
  section::after {
    width: 34px; height: 34px; right: 18px; bottom: 5px;
  }
}

/* Cookie Consent Banner & Modal ---------------------------------- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -6px 18px 0 rgba(47,85,114,0.12);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 22px 6vw 22px 6vw;
  z-index: 300;
  gap: 30px;
  transition: transform 0.45s cubic-bezier(0.77,0,0.18,1), opacity 0.3s;
}
.cookie-consent-banner.hide {
  transform: translateY(110%);
  opacity: 0;
}
.cookie-consent-banner p {
  font-size: 1rem;
  color: #2F5572;
  max-width: 480px;
}
.cookie-buttons {
  display: flex;
  gap: 16px;
}
.cookie-consent-banner button {
  border-radius: 24px;
  font-size: 1rem;
  padding: 10px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: #2F5572;
  color: #fff;
  border: none;
  cursor: pointer;
  margin-left: 0;
  transition: background 0.18s, color 0.18s;
}
.cookie-consent-banner .accept {
  background: #E7A03C;
  color: #fff;
}
.cookie-consent-banner .reject {
  background: #ff4753;
  color: #fff;
}
.cookie-consent-banner .settings {
  background: #F5F6F8;
  color: #2F5572;
  border: 1px solid #2F5572;
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  opacity: 0.86;
}

@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    gap: 16px;
    padding: 18px 2vw;
    align-items: stretch;
  }
  .cookie-buttons {
    justify-content: flex-end;
    align-items: flex-end;
  }
}

.cookie-modal-overlay {
  position: fixed;
  top:0; left: 0; right: 0; bottom: 0;
  background: rgba(47,85,114,0.42);
  z-index: 401;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  box-shadow: 0 12px 38px 0 rgba(47,85,114,0.24);
  border-radius: 18px;
  padding: 38px 32px 30px 32px;
  min-width: 320px;
  max-width: 96vw;
  color: #2F5572;
  z-index: 402;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: floating 2s linear infinite alternate;
}
.cookie-modal h3 {
  font-size: 1.4rem;
  margin-bottom: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 10px 0;
}
.cookie-category input[type=checkbox] {
  accent-color: #E7A03C;
  width: 20px; height: 20px;
}
.cookie-category label {
  font-size: 1.09rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-modal .actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.cookie-modal .close-modal {
  background: #E7A03C;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
  margin-left: auto;
  transition: background 0.16s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #2F5572;
}
@media (max-width: 520px) {
  .cookie-modal {
    min-width: 94vw;
    padding: 22px 4vw 20px 4vw;
  }
}

/* Micro-interactions --------------------------------------------- */
.cta, .button, .card, .testimonial-card, .cookie-consent-banner, .cookie-modal {
  transition-property: box-shadow, background, color, transform;
  transition-duration: 0.18s;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
}

/* Accessibility: focus visible ----------------------------------- */
a:focus, button:focus, .cta:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px dashed #E7A03C;
  outline-offset: 2px;
}

/* SCROLLBAR STYLES ----------------------------------------------- */
::-webkit-scrollbar {
  width: 12px;
  background: #F5F6F8;
  border-radius: 12px;
}
::-webkit-scrollbar-thumb {
  background: #E7A03C;
  border-radius: 12px;
}

/* RESPONSIVE TYPOGRAPHY ------------------------------------------ */
@media (max-width: 540px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.12rem; }
  h3 { font-size: 1rem; }
  p, ul, li, a, .footer-info { font-size: 0.98rem; }
}

/* Hide elements for accessibility */
.visually-hidden {
  position: absolute!important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* ADDITIONAL: Artistic hover shadows for creative flair ---------- */
.card, .testimonial-card {
  box-shadow: 0 4px 24px 0 rgba(231,160,60,0.09);
}
.card:hover {
  box-shadow: 0 14px 50px 0 rgba(47,85,114,0.2), 0 0 0 5px #FFFCF3;
  border-left: 7px solid #E7A03C;
}

/* Ensuring NO ABSOLUTE positioning for content, only for blobs, see above */

/* END OF STYLE --------------------------------------------------- */
