/* --- CSS RESET & 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,
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background: #F8FAFB;
  color: #23374D;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #5990A7;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #23374D;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li + li {
  margin-top: 6px;
}

/* --- BRAND TYPOGRAPHY (CREATIVE + ARTISTIC) --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -1px;
  color: #23374D;
  margin-bottom: 12px;
  line-height: 1.12;
}
h1 {
  font-size: 2.5rem;
  color: #23374D;
  text-shadow: 0 3px 22px rgba(89,144,167,0.11);
}
h2 {
  font-size: 2rem;
  color: #5990A7;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.4rem;
  color: #253e65;
}
p, ul, ol {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #37475a;
  margin-bottom: 10px;
}
p {
  line-height: 1.7;
  margin-bottom: 1em;
}
strong {
  font-weight: 700;
  color: #1b263b;
}

/* --- ARTISTIC ACCENT FONTS FOR HERO HEADLINE --- */
.hero h1, .call-to-action h2 {
  font-family: 'Montserrat', cursive, sans-serif;
  font-weight: 900;
  background: linear-gradient(90deg,#23374D 25%, #5990A7 75%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

/* --- COLORS & CREATIVE ARTISTIC ELEMENTS --- */
:root {
  --brand-primary:#23374D;
  --brand-secondary:#5990A7;
  --brand-accent:#E3E9F1;
  --brand-art-yellow:#FFD864;
  --brand-art-coral:#FF7C7C;
  --brand-bg-light:#F8FAFB;
  --brand-bg-hero:#E3E9F1;
  --brand-card:#fff;
  --shadow-main:0 4px 35px rgba(35,55,77,0.10);
  --card-radius: 18px;
}

/* --- CONTAINER & SPACING SYSTEM --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--brand-card);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-main);
  position: relative;
  padding: 28px 22px;
  min-width: 270px;
  transition: box-shadow 0.25s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 8px 25px rgba(89,144,167,0.13);
  transform: translateY(-4px) scale(1.025);
}
.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: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(89,144,167,0.14);
  margin-bottom: 20px;
  border-left: 7px solid var(--brand-art-coral);
  min-width: 280px;
  max-width: 525px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HERO + ARTISTIC COMPOSITION --- */
.hero {
  background: var(--brand-bg-hero);
  min-height: 400px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero .content-wrapper {
  max-width: 620px;
  background: rgba(255,255,255,0.95);
  border-radius: 24px 64px 24px 64px;
  box-shadow: 0 6px 39px rgba(89,144,167,0.13);
  padding: 42px 32px;
  position: relative;
  gap: 18px;
}
.hero:after {
  content: "";
  display: block;
  position: absolute;
  right: -120px;
  top: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--brand-art-yellow);
  opacity: 0.13;
  pointer-events: none;
  z-index: 0;
}

/* --- FEATURE GRID --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 16px;
}
.feature-grid > div {
  flex: 1 1 220px;
  min-width: 220px;
  background: var(--brand-card);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(89,144,167,0.09);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border-left: 5px solid var(--brand-art-yellow);
  transition: box-shadow 0.19s, border-color 0.23s;
}
.feature-grid > div img {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
}
.feature-grid > div:hover {
  border-color: var(--brand-art-coral);
  box-shadow: 0 8px 26px rgba(255,124,124,0.11);
}

/* --- CALL TO ACTION --- */
.call-to-action {
  background: linear-gradient(90deg,var(--brand-secondary) 0%, var(--brand-art-yellow) 140%);
  color: #253e65;
  border-radius: 28px;
  margin-bottom: 42px;
  box-shadow: 0 6.5px 30px rgba(89,144,167,0.15);
}
.call-to-action .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 14px;
}
.call-to-action h2 {
  color: #23374D;
}
.call-to-action p {
  font-size: 1.11rem;
  font-weight: 600;
}


/* --- BUTTONS & CTA --- */
.cta-primary, .cta-secondary, .cookie-accept, .cookie-reject, .cookie-settings, .modal-save, .modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8em 2.2em;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 1.07rem;
  font-weight: 800;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  background: var(--brand-primary);
  color: #fff;
  margin-top: 8px;
  box-shadow: 0 3px 16px rgba(35,55,77,0.09);
  transition: background 0.19s, box-shadow 0.22s, transform 0.17s;
  outline: none;
  text-decoration: none;
  position: relative;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--brand-art-coral);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(255,124,124,0.14);
}
.cta-secondary {
  background: var(--brand-secondary);
  color: #fff;
}
.cta-secondary:hover {
  background: var(--brand-art-yellow);
  color: #161c1f;
}

.button-inline {
  display: inline-block;
  margin-left: 17px;
}

/* --- HEADER/NAV --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2.5px 13px rgba(89,144,167,0.08);
  padding: 0;
  z-index: 150;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  min-height: 64px;
  gap: 15px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 21px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--brand-primary);
  padding: 7px 13px;
  border-radius: 22px;
  transition: background .16s, color .16s;
  font-size: 1.01rem;
}
header nav a:hover, header nav a:focus {
  background: var(--brand-art-yellow);
  color: #23374D;
}
header img {
  max-height: 48px;
  height: 42px;
  margin-right: 12px;
  vertical-align: middle;
}
header .cta-primary {
  margin-left: 27px;
  font-size: 1rem;
  padding: 0.59em 2em;
  background: var(--brand-secondary);
}
header .cta-primary:hover {
  background: var(--brand-art-yellow);
  color: #161c1f;
}

/* --- MOBILE BURGER MENU STYLES --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2em;
  padding: 6px 13px;
  color: var(--brand-secondary);
  cursor: pointer;
  transition: color 0.15s;
  z-index: 1150;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--brand-secondary);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(35,55,77,0.97);
  z-index: 1400;
  transform: translateX(-105vw);
  transition: transform 0.37s cubic-bezier(.74, .16, .19, .96);
  box-shadow: 0 6px 34px rgba(35,55,77,0.30);
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2.5em;
  color: var(--brand-art-yellow);
  position: absolute;
  top: 24px;
  right: 35px;
  cursor: pointer;
  transition: color 0.12s;
  z-index: 1500;
}
.mobile-menu-close:focus {
  outline: 1.5px solid var(--brand-art-yellow);
}
.mobile-nav {
  margin-top: 90px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  padding-left: 39px;
}
.mobile-nav a {
  font-size: 1.34em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--brand-art-yellow);
  text-decoration: none;
  padding: 7px 0 7px 0px;
  border-radius: 0 22px 22px 0;
  width: auto;
  margin-right: auto;
  transition: background .19s, color .18s, padding .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-art-coral);
  padding-left: 17px;
  color: #fff;
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: var(--brand-accent);
  border-radius: 22px;
  box-shadow: 0 4px 22px rgba(89,144,167,0.11);
  padding: 40px 24px;
  margin-bottom: 55px;
}
.testimonials .content-wrapper {
  gap: 26px;
}
.testimonial-card {
  background: #fff;
  color: #23374D;
  padding: 30px 22px;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 3px 13px rgba(89,144,167,0.09);
  border-left: 8px solid var(--brand-art-coral);
  font-size: 1.1rem;
}
.testimonial-card span {
  margin-left: 15px;
  font-style: italic;
  color: var(--brand-art-coral);
  font-weight: 700;
}
.testimonial-card p {
  color: #23374D;
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 5px;
  font-size: 1.11rem;
}
/* Ensure contrast for testimonial text */
.testimonial-card, .testimonials {
  color: #23374D;
}

/* --- FOOTER --- */
footer {
  background: #23374D;
  color: #fff;
  padding: 55px 0 17px 0;
  box-shadow: 0 -1.5px 8px rgba(35,55,77,0.05);
  border-radius: 32px 32px 0 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 42px 28px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
footer nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #FFD864;
  font-weight: 700;
  font-size: 1rem;
  transition: color 0.17s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--brand-art-coral);
}
footer img {
  min-width: 64px;
  max-width: 85px;
  margin-bottom: 15px;
}
.contact-details p, .contact-details a {
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  margin-bottom: 7px;
}
.contact-details img {
  height: 18px;
  width: 18px;
  margin-right: 7px;
  display: inline;
  vertical-align: sub;
}

/* --- TEXT SECTIONS --- */
.text-section {
  max-width: 680px;
  margin-bottom: 0px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.text-section h2 {
  margin-top: 11px;
}

/* --- GENERAL SPACING & ARTISTIC TOUCHES --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

ul {
  list-style-type: disc;
}
ol {
  list-style-type: decimal;
}

/* --- MICRO-INTERACTIONS & ANIMATIONS --- */
.card, .feature-grid > div, .cta-primary, .cta-secondary, .testimonial-card, header nav a, .mobile-nav a, .cookie-accept, .cookie-settings, .cookie-reject {
  transition: box-shadow 0.20s, border-color 0.21s, background 0.17s, color 0.15s, transform 0.17s;
}

/* --- FORMS --- */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border: 2px solid var(--brand-secondary);
  border-radius: 9px;
  padding: 10px 14px;
  margin-bottom: 16px;
  width: 100%;
  background: #F8FAFB;
  outline: none;
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand-art-coral);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbe7;
  color: #23374D;
  border-top: 3px solid var(--brand-art-yellow);
  box-shadow: 0 -3.5px 12px rgba(89,144,167,0.08);
  display: flex;
  flex-direction: column;
  z-index: 2000;
  align-items: center;
  justify-content: space-between;
  padding: 28px 22px 18px 22px;
  gap: 18px;
  transition: transform 0.35s, opacity 0.25s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  font-size: 1rem;
  margin-bottom: 0;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
}
.cookie-accept {
  background: var(--brand-art-yellow);
  color: #23374D;
  font-weight: bold;
}
.cookie-accept:hover { background: #FFEFA8; }
.cookie-settings {
  background: var(--brand-secondary);
  color: #fff;
}
.cookie-settings:hover {
  background: var(--brand-art-coral);
}
.cookie-reject {
  background: var(--brand-art-coral);
  color: #fff;
  font-weight: bold;
}
.cookie-reject:hover {
  background: #D85757;
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 2050;
  top:0; left:0; width:100vw; height:100vh;
  background: rgba(35,55,77,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.23s;
}
.cookie-modal {
  background: #fff;
  padding: 38px 32px 28px 32px;
  border-radius: 22px;
  width: 95vw;
  max-width: 370px;
  box-shadow: 0 4px 28px rgba(89,144,167,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  position: relative;
}
.cookie-modal h3 {
  font-size: 1.3rem;
  color: var(--brand-secondary);
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 1rem;
  margin: 12px 0 6px 0;
  font-family: 'Open Sans', sans-serif;
}
.cookie-category label {
  font-weight: 600;
}
.cookie-category input[type=checkbox] {
  width: 22px;
  height: 22px;
  accent-color: var(--brand-secondary);
}
.cookie-category.disabled label {
  color: #aaa;
}
.modal-actions {
  margin-top: 24px;
  width: 100%;
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}
.modal-save {
  background: var(--brand-art-yellow);
  color: #23374D;
}
.modal-save:hover {
  background: var(--brand-secondary);
  color: #fff;
}
.modal-close {
  background: var(--brand-art-coral);
  color: #fff;
}
.modal-close:hover {
  background: #D85757;
}

/* --- RESPONSIVE DESIGN -- MOBILE-FIRST --- */
@media (max-width: 990px) {
  .container {
    max-width: 100vw;
  }
  .hero .content-wrapper {
    padding: 35px 16px;
    max-width: 100%;
  }
  .feature-grid {
    gap: 21px;
  }
}
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    min-height: 58px;
  }
  header nav {
    display: none;
  }
  header .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .hero {
    padding-top: 30px;
    min-height: 290px;
  }
  section, .testimonials {
    padding: 22px 7px;
    margin-bottom: 38px;
  }
  .call-to-action {
    padding: 19px 5px;
    border-radius: 16px;
  }
  .feature-grid, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div {
    min-width: 0;
    width: 100%;
    padding: 20px 12px;
    border-radius: 12px;
  }
  .section {
    margin-bottom: 32px;
    padding: 23px 4px;
  }
  .card-container {
    gap: 13px;
  }
  .card {
    padding: 16px 7px;
    border-radius: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 21px;
    align-items: flex-start;
  }
  .testimonials .content-wrapper {
    gap: 14px;
  }
  .testimonial-card {
    padding: 18px 11px;
    border-radius: 9px;
    font-size: 1rem;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  footer {
    border-radius: 18px 18px 0 0;
    padding: 33px 0 10px 0;
  }
}
@media (max-width: 510px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.14rem; }
  h3 { font-size: 1.03rem; }
  .hero .content-wrapper { padding: 19px 3px; border-radius: 12px 24px 12px 24px; }
}

/* --- UTILITY CLASSES --- */
.gap-top { margin-top: 38px !important; }
.gap-bottom { margin-bottom: 38px !important; }

/* --- Z-INDEX LAYERS --- */
header { z-index: 1300; }
.mobile-menu { z-index: 1400; }
.cookie-banner { z-index: 2000; }
.cookie-modal-backdrop { z-index: 2050; }

/* --- VISIBILITY/ACCESSIBILITY --- */
:focus {
  outline: 2px dashed #FFD864;
  outline-offset: 2px;
}

/* --- PLACEHOLDER FOR JS HOOKS (for demonstration) --- */
.mobile-menu,
.cookie-modal-backdrop,
.cookie-banner {
  will-change: opacity, transform;
}
