/* RESET & BASE STYLES */
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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #FAFAFA;
  color: #222;
  line-height: 1.6;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
img { display: block; max-width: 100%; height: auto; border: 0; }
a { text-decoration: none; color: #274C77; transition: color 0.2s; }
a:hover, a:focus { color: #FFD166; }
ul, ol { padding-left: 1.5em; margin-bottom: 1em; }
li { margin-bottom: 0.3em; }
p + ul, p + ol { margin-top: -0.6em; }
strong { font-weight: bold; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', 'Open Sans', Arial, sans-serif; color: #274C77; margin-bottom: 16px; font-weight: 700; letter-spacing: -0.5px; }
h1 { font-size: 2.8rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.4rem; margin-bottom: 14px; color: #2376b7; font-family: 'Montserrat', cursive; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }
h5, h6 { font-size: 1rem; margin-bottom: 8px; }
p, ul, ol, dl { font-size: 1.08rem; margin-bottom: 1em; }
.text-section p, .text-section ul, .text-section li { color: #234154; }

/* SECTION & CONTAINER SPACING */
.section { margin-bottom: 60px; padding: 40px 20px; }
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.content-wrapper { display: flex; flex-direction: column; gap: 28px; }

/* HEADER NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(39,76,119,0.06);
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 10px 18px;
}
header img {
  height: 62px;
  width: auto;
  margin-right: 16px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #274C77;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.25s;
}
header nav a:hover, header nav a:focus {
  color: #FFD166;
}
.cta-btn {
  background: #FFD166;
  color: #274C77;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 13px 32px;
  border: none;
  border-radius: 30px 10px 30px 10px;
  box-shadow: 0 3px 18px 0 rgba(39,76,119,0.12);
  cursor: pointer;
  margin-left: 16px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  outline: none;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 10;
}
.cta-btn:hover, .cta-btn:focus {
  background: #274C77;
  color: #FFD166;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px 0 rgba(39,76,119,0.20);
}

/* HERO SECTION */
.hero {
  background: #A3CEF1;
  background-image: url('../assets/creative-bg.svg'), linear-gradient(120deg,#A3CEF1 70%, #FFD166 130%);
  background-repeat: no-repeat;
  background-position: right bottom;
  border-bottom-left-radius: 120px 48px;
  border-bottom-right-radius: 48px 120px;
  box-shadow: 0 5px 50px 0 rgba(39,76,119,0.08);
  margin-bottom: 60px;
  padding: 64px 0 48px 0;
  position: relative;
  overflow: visible;
}
.hero .container {
  min-height: 330px;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 14px;
  color: #274C77;
  text-shadow: 2px 4px 0 #FFD166, 0px 7px 24px #274C7744;
}
.hero p {
  font-size: 1.25rem;
  color: #274C77;
  margin-bottom: 32px;
}
.hero .cta-btn {
  margin-left: 0;
  font-size: 1.15rem;
  box-shadow: 0 8px 25px 0 rgba(255,209,102,0.13);
}

/* FLEX FEATURE GRID / CARD */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 32px 9px 24px 16px;
  box-shadow: 0 2px 14px 0 rgba(163,206,241,0.13);
  padding: 30px 26px 24px 24px;
  flex: 1 1 240px;
  min-width: 245px;
  max-width: 365px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.18s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  overflow: hidden;
  border: 1.5px dashed #A3CEF1;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  box-shadow: 0 8px 38px 0 rgba(39,76,119,0.15);
  transform: translateY(-4px) scale(1.025);
  border-color: #FFD166;
}
.feature-grid img {
  margin-bottom: 7px;
  width: 56px; height: 56px; object-fit: contain;
  border-radius: 16px 32px 8px 14px;
  box-shadow: 0 3px 12px 0 #A3CEF140;
  background: #A3CEF1;
  padding: 6px;
}
.feature-grid h3 {
  font-family: 'Montserrat', cursive;
  font-size: 1.16rem;
  color: #274C77;
}
.feature-grid p {
  color: #234154;
  font-size: 1.05rem;
}

/* CARD CONTAINER FLEX (for other grids) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}

/* GENERAL FLEX GRIDS */
.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;
}

/* TESTIMONIALS */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 32px;
  background: #fff;
  border-radius: 18px 40px 15px 14px;
  box-shadow: 0 4px 22px 0 rgba(163,206,241,0.18);
  border-left: 6px solid #FFD166;
  border-right: 2.5px dashed #A3CEF1;
  color: #234154;
  min-width: 255px;
  max-width: 430px;
  margin-bottom: 20px;
  position: relative;
  font-size: 1.13rem;
  transition: box-shadow 0.21s, transform 0.14s, border-color 0.18s;
  z-index: 1;
}
.testimonial-card:hover, .testimonial-card:focus-visible {
  box-shadow: 0 10px 40px 0 rgba(39,76,119,0.19);
  border-left-color: #A3CEF1;
  border-right-color: #FFD166;
  transform: translateY(-3px) scale(1.02);
}
.testimonial-card p {
  color: #222;
  margin-bottom: 12px;
  font-size: 1.13rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.testimonial-card span {
  color: #274C77;
  font-size: 0.98rem;
  font-style: italic;
}

/* CTA SECTION */
.cta-section {
  background: #274C77;
  color: #fff;
  padding: 48px 0;
  margin-top: 24px;
  border-radius: 50px 100px 20px 28px;
  box-shadow: 0 3px 32px 0 rgba(39,76,119,0.14);
}
.cta-section .container { align-items: center; }
.cta-section h2, .cta-section p { color: #fff; }
.cta-section .cta-btn { margin-top: 20px; background: #FFD166; color: #274C77; }
.cta-section .cta-btn:hover { background: #fff; color: #274C77; }

/* FOOTER */
footer {
  background: #fff;
  border-top: 4px solid #A3CEF1;
  padding: 0 0 16px 0;
  margin-top: 40px;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 25px 0 9px 0;
}
.footer-content nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-content nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #274C77;
  font-weight: 500;
  margin-right: 12px;
}
.footer-content nav a:hover, .footer-content nav a:focus {
  color: #FFD166;
  text-decoration: underline;
}
.footer-content img {
  width: 50px; height: 50px; margin-bottom: 14px; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #274C77;
  font-size: 0.99rem;
}
.footer-contact img { width: 20px; height: 20px; vertical-align: -4px; margin-right: 7px; }
.footer-legal {
  text-align: right;
  font-size: 0.96rem;
  color: #7897B1;
  margin-top: 17px;
}

/* FAQ (dt/dd) */
dl { margin-bottom: 28px; }
dt { font-weight: bold; color: #274C77; margin-bottom: 5px; font-size: 1.1rem; }
dd { margin-bottom: 18px; padding-left: 14px; color: #234154; }

/* MAP PLACEHOLDER */
.map-placeholder {
  background: #A3CEF1;
  border-radius: 22px 11px 33px 6px;
  padding: 22px 20px;
  color: #274C77;
  font-size: 1.08rem;
  margin-top: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 #A3CEF140;
  font-family: 'Montserrat', serif;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1001;
  background: #FFD166;
  color: #274C77;
  font-size: 2.2rem;
  padding: 7px 15px;
  border-radius: 50%;
  border: none;
  box-shadow: 0 2px 18px 0 #FFD16699;
  cursor: pointer;
  transition: background 0.23s, color 0.23s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #274C77;
  color: #FFD166;
  outline: none;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 100vw;
  max-width: 350px;
  background: #274C77;
  color: #fff;
  z-index: 2002;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.83,0,0.17,1);
  box-shadow: -4px 0 30px 0 rgba(39,76,119,0.15);
  padding: 16px 0 0 0;
}
.mobile-menu.active {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  color: #FFD166;
  font-size: 2rem;
  border: none;
  align-self: flex-end;
  margin: 8px 28px 6px 0;
  cursor: pointer;
  transition: color 0.19s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 38px 0 0 38px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 10px 8px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #FFD166;
  color: #274C77;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff8f0;
  color: #234154;
  box-shadow: 0 -2px 24px 0 rgba(163,206,241,0.18);
  border-top: 5px solid #FFD166;
  padding: 28px 20px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  z-index: 3500;
  font-size: 1.02rem;
  animation: fadeInCookie 0.6s;
}
@keyframes fadeInCookie {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}
.cookie-btn {
  background: #A3CEF1;
  color: #274C77;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 26px;
  border-radius: 18px;
  margin: 0 3px;
  box-shadow: 0 1px 10px 0 #A3CEF140;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.cookie-btn.accept {
  background: #FFD166;
  color: #274C77;
  font-weight: bold;
}
.cookie-btn.reject {
  background: #A3CEF1;
  color: #274C77;
}
.cookie-btn.settings {
  background: #fff;
  border: 1.2px solid #A3CEF1;
  color: #274C77;
}
.cookie-btn:hover, .cookie-btn:focus {
  opacity: 0.92;
  background: #274C77;
  color: #fff;
}
/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 3600;
  background: rgba(39,76,119,.54);
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.25s;
}
.cookie-modal-overlay.active {
  display: flex;
}
@keyframes fadeInCookieModal {
  from { opacity: 0;} to { opacity: 1;}
}
.cookie-modal {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 10px 44px 0 #274C7745;
  max-width: 410px;
  width: 91vw;
  padding: 36px 34px 27px 34px;
  position: relative;
  color: #222;
  animation: popInCookieModal .27s;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@keyframes popInCookieModal {
  from { transform: scale(0.9);} to { transform: scale(1);}
}
.cookie-modal h3 {
  font-size: 1.19rem;
  color: #274C77;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category {
  background: #FAFAFA;
  border-radius: 12px;
  padding: 13px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  box-shadow: 0 1px 7px 0 #A3CEF125;
}
.cookie-category.essential {
  opacity: 0.75;
}
.cookie-category-label {
  color: #274C77;
  font-size: 1.06rem;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #A3CEF1;
  border-radius: 20px;
  outline: none;
  position: relative;
  margin-left: 18px;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-toggle:checked {
  background: #FFD166;
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2.5px; left: 3px;
  transition: left 0.19s;
}
.cookie-toggle:checked:before {
  left: 17px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 22px;
  background: none;
  border: none;
  color: #FFD166;
  font-size: 1.5rem;
  cursor: pointer;
  font-weight: bold;
  z-index: 1;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: #274C77; }
.cookie-modal .cookie-btn-group { margin-top: 11px; }

/* LISTS in CARDS/FEATURES/FOOTER */
ul, ol { margin-bottom: 1.1em; }
ul li, ol li { color: #274C77; margin-bottom: 7px; padding-left: 2px; }
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* BUTTONS general */
button, .btn {
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.2s, color 0.2s;
}

/* DECORATIVE ELEMENTS */
h1:after, h2:after, .testimonial-card:before {
  content: '';
  display: block;
  height: 5px;
  width: 48px;
  border-radius: 2.5px;
  background: #FFD166;
  margin-top: 13px;
  opacity: 0.82;
}
.testimonial-card:before {
  content: '\201C';
  position: absolute;
  top: 17px; left: 17px;
  font-family: 'Montserrat', serif;
  font-size: 2.6rem;
  color: #A3CEF1;
  opacity: 0.28;
  z-index: 0;
  pointer-events: none;
}

/* LINKS in CONTENT */
.content-wrapper a {
  color: #2376b7;
  text-decoration: underline;
  transition: color 0.15s;
}
.content-wrapper a:hover, .content-wrapper a:focus {
  color: #FFD166;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1080px) {
  .footer-content, .feature-grid, .testimonial-list, .content-grid { gap: 18px; }
}
@media (max-width: 900px) {
  .footer-content, .feature-grid, .testimonial-list, .content-grid { flex-direction: column; gap: 14px; }
  .container {
    padding: 0 8px;
    gap: 24px;
  }
  .hero { padding: 44px 0 36px 0; border-radius: 90px 36px 32px 44px; }
  header .container { flex-direction: column; gap: 12px; }
}
@media (max-width: 840px) {
  .feature-grid > div, .testimonial-card, .card {
    min-width: 98%;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero .container { min-height: 200px; }
  header nav, header .cta-btn { display: none !important; }
  .mobile-menu-toggle { display: block; }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 15px 0 8px 0;
  }
  .testimonial-list, .feature-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .section, .hero, .cta-section, .cookie-banner, .map-placeholder {
    padding-left: 6px; padding-right: 6px; border-radius: 22px 12px 8px 18px;
  }
  .cta-section { border-radius: 38px 50px 18px 13px; }
  .map-placeholder { padding: 12px 9px; }
  .card, .testimonial-card, .feature-grid > div { min-width: 96vw; max-width: 100vw; }
  .content-wrapper { gap: 16px; }
  .mobile-nav { margin: 28px 0 0 16px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.3rem; }
  h2 { font-size: 1.21rem; }
  .cta-btn { padding: 10px 12px; font-size: 1rem; }
  .footer-content img { width: 38px; height: 38px; }
  .cookie-modal { padding: 22px 8px 17px 12px; }
  .footer-content, .feature-grid, .testimonial-list, .content-grid {
    gap: 12px;
  }
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.cta-btn, .cookie-btn, .feature-grid > div, .testimonial-card, .card {
  transition: box-shadow 0.22s, transform 0.15s, border 0.16s, color 0.13s, background 0.13s;
}
.cta-btn:active, .cookie-btn:active {
  transform: scale(0.98);
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 10px;
  background: #FAFAFA;
}
::-webkit-scrollbar-thumb {
  background: #A3CEF1;
  border-radius: 6px;
}


/* CUSTOM FONTS (Web safe and next best fallback suggested) */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');
