/* 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,
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; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }

body {
  min-height: 100vh;
  background: #F6F9FC;
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background-color: #F6F9FC;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #2559A2; text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: #FFB800; }

ul, ol { margin-left: 1.2em; }
li { margin-bottom: 10px; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2559A2;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; color: #1A1A1A; font-weight: 600; }

/* =============== LAYOUT FLEXBOX CONTAINERS ================== */
.container {
  width: 100%;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 32px 8px 32px 8px;
  box-shadow: 0 8px 32px 0 rgba(37,89,162,0.07);
  position: relative;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.card {
  background: #fff;
  border-radius: 24px 8px 24px 8px;
  box-shadow: 0 2px 9px 0 rgb(255,184,0,0.09);
  padding: 28px 24px;
  margin-bottom: 20px;
  min-width: 260px;
}

.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: 20px;
  background: #FFB80018;
  border-radius: 18px 8px 18px 8px;
  box-shadow: 0 1px 7px 0 rgba(37, 89, 162, 0.08);
  margin-bottom: 20px;
  margin-top: 12px;
  color: #222;
  max-width: 600px;
}

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

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* =============== HEADER & NAV ===================== */
header {
  background: #fff;
  box-shadow: 0 5px 24px 0 rgba(37,89,162,0.07);
  position: sticky;
  top: 0;
  z-index: 200;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #2559A2;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background .2s, color .2s;
}
header nav a:hover,
header nav a:focus {
  background: #FFB80025;
  color: #FFB800;
}
.cta-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 11px 26px;
  background: #2559A2;
  color: #fff !important;
  border: none;
  border-radius: 16px 4px 16px 4px;
  box-shadow: 0 4px 18px 0 rgba(37,89,162,0.15);
  cursor: pointer;
  margin-left: 12px;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, transform .13s;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #1A1A1A;
  color: #FFB800 !important;
  transform: translateY(-2px) scale(1.045);
  box-shadow: 0 8px 24px 0 rgba(255,184,0,0.18);
}
.cta-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 10px 22px;
  background: #FFB800;
  color: #1A1A1A !important;
  border: none;
  border-radius: 16px 4px 16px 4px;
  box-shadow: 0 4px 18px 0 rgba(255,184,0,0.08);
  cursor: pointer;
  margin-top: 15px;
  margin-bottom: 10px;
  transition: background 0.19s, color 0.19s, transform .13s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #fff;
  color: #2559A2 !important;
  border: 1.5px solid #FFB800;
  outline: none;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  color: #2559A2;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 210;
  padding: 6px 12px;
  margin-left: 14px;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus { color: #FFB800; }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37,89,162,0.95);
  z-index: 3000;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 36px 30px 24px 30px;
  transform: translateX(100%);
  transition: transform 0.37s cubic-bezier(.6,.02,.3,1) 0s;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.5rem;
  color: #FFB800;
  background: none;
  border: none;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 16px;
  transition: color 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus { color: #fff; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  color: #fff;
  font-weight: 600;
  padding: 14px 6px 14px 0;
  border-radius: 0 12px 12px 0;
  transition: background .2s, color .2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFB800;
  color: #2559A2;
}

/* =============== HERO & SECTIONS ============== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 32px 8px 32px 8px;
  box-shadow: 0 8px 32px 0 rgba(37,89,162,0.07);
  position: relative;
}
main > section:first-child {
  background: linear-gradient(120deg, #FFB800 0%, #fff 100%);
  box-shadow: 0 6px 28px 0 rgba(255,184,0,0.08), 0 0px 0 #fff;
}
main > section:first-child h1 { color: #1A1A1A; font-size: 2.7rem; font-weight: 800; }
main > section:first-child p { color: #373737; font-size: 1.235rem; }

/* =============== ICONS & FEATURES ============== */
section ul,
section ol {
  margin-left: 0;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
}
section ul li,
section ol li {
  background: #F6F9FC;
  padding: 22px 16px 18px 16px;
  border-radius: 20px 6px 20px 6px;
  flex: 1 1 210px;
  min-width: 180px;
  max-width: 305px;
  box-shadow: 0 0 0.5px 0 #2559A2, 0 1.5px 8px 0 rgba(255,184,0,0.05);
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  transition: box-shadow 0.25s, background .17s, transform .16s;
  position: relative;
}
section ul li:hover, section ul li:focus, section ol li:hover, section ol li:focus {
  background: #FFB80012;
  box-shadow: 0 5px 20px 0 rgba(255,184,0,0.15);
  transform: translateY(-2.5px) scale(1.03);
}
section ul li img, section ol li img {
  width: 40px; height: 40px;
  margin-bottom: 0.2em;
  filter: drop-shadow(0 2px 10px #2559A240);
}
section ul li h3 {
  margin-top: 5px;
}

/* =============== TESTIMONIALS =============== */
.testimonial-card {
  font-size: 1.15rem;
  line-height: 1.5;
  background: #FFB80018;
  color: #1A1A1A;
  border-left: 5px solid #FFB800;
  box-shadow: 0 3px 16px 0 rgba(255,184,0,0.07),0 0 0.5px 0 rgba(37,89,162,0.03);
  margin-bottom: 20px;
  margin-top: 12px;
  position: relative;
}
.testimonial-card span {
  font-size: 1rem;
  color: #2559A2;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: 8px;
}
.testimonial-card strong { color: #1A1A1A; }

/* =============== FOOTER =============== */
footer {
  background: #2559A2;
  color: #fff;
  padding: 28px 0 10px 0;
  margin-top: 30px;
  border-radius: 32px 8px 0 0;
}
footer .container { flex-direction: column; gap: 14px; }
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  opacity: 0.92;
  padding: 6px 11px;
  border-radius: 12px;
  transition: background .15s, color .2s;
}
footer nav a:hover, footer nav a:focus {
  background: #FFB800;
  color: #2559A2;
}
.footer-contact {
  font-size: 1rem;
  opacity: 0.94;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.footer-contact a { color: #FFB800; font-weight: 600; }
.footer-contact a:hover, footer-contact a:focus { color: #fff; text-decoration: underline; }

/* =============== COOKIE CONSENT BANNER =============== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 5000;
  background: #fff;
  color: #1A1A1A;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: 0 -4px 32px 0 rgba(37,89,162,.08);
  padding: 22px 18px;
  min-height: 70px;
  font-size: 1rem;
  gap: 18px;
  border-radius: 20px 20px 0 0;
  animation: slideInCookie .5s cubic-bezier(.6,.1,.3,1);
}
@keyframes slideInCookie {
  from { transform: translateY(110%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 16px;
  font-size: 1rem;
  background: #2559A2;
  color: #fff;
  border: none;
  border-radius: 11px 4px 11px 4px;
  cursor: pointer;
  margin-left: 8px;
  margin-bottom: 3px;
  font-weight: 700;
  transition: background .19s, color .16s;
}
.cookie-banner button.accept { background: #FFB800; color: #1A1A1A; }
.cookie-banner button.reject { background: #fff; color: #2559A2; border: 1.5px solid #FFB800; }
.cookie-banner button.settings { background: #2559A2; color: #fff; }
.cookie-banner button:hover, .cookie-banner button:focus { filter: brightness(0.95); }
.cookie-banner button:active { filter: brightness(0.85); }

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0;top: 0;right:0;bottom:0;
  background: rgba(37,89,162,0.95);
  z-index: 6000;
  justify-content: center;
  align-items: center;
  animation: fadeInModal .33s cubic-bezier(.6,.12,.4,1);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal.open { display: flex; }
.cookie-modal-content {
  background: #fff;
  color: #1A1A1A;
  border-radius: 28px 8px 28px 8px;
  padding: 38px 30px 30px 30px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 14px 38px 0 rgba(255,184,0,0.09),0 1px 2px #2559A2;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: popUpModal .24s cubic-bezier(.7,-0.3,.8,1.6);
}
@keyframes popUpModal {
  from { transform: scale(0.91); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal-content h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #2559A2;
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.cookie-modal-content label, .cookie-modal-content p {
  font-size: 1rem;
  line-height: 1.45;
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 13px;
}
.cookie-category input[type='checkbox'] {
  accent-color: #FFB800;
  width: 20px; height: 20px;
}
.cookie-modal .close-modal {
  background: none;
  color: #FFB800;
  border: none;
  font-size: 2rem;
  position: absolute;
  top: 10px; right: 18px;
  cursor: pointer;
  transition: color .17s;
}
.cookie-modal .close-modal:hover, 
.cookie-modal .close-modal:focus { color: #2559A2; }
.cookie-modal-btns {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  margin-top: 7px;
}

/* =============== ANIMATIONS & HOVER EFFECTS ============= */
section, .card, .testimonial-card, .cookie-banner, .cookie-modal-content, .cta-primary, .cta-secondary {
  transition: box-shadow 0.21s, transform 0.12s, background .22s, color 0.16s;
}
main > section:first-child {
  animation: heroFadeIn 0.7s cubic-bezier(.6,.02,.3,1) both;
}
@keyframes heroFadeIn {
  from { opacity:0; transform: translateY(40px); }
  to   { opacity:1; transform: translateY(0); }
}

section ul li:before, section ol li:before { display: none; }

/* =============== TYPOGRAPHY =============== */
::-webkit-input-placeholder { color:#a9b5c9; }
::-moz-placeholder { color:#a9b5c9; }
:-ms-input-placeholder { color:#a9b5c9; }
::placeholder { color:#a9b5c9; }

/* =============== RESPONSIVE (MOBILE FIRST) ============ */
@media (max-width: 768px) {
  html { font-size: 15px; }
  body { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.44rem; }
  section { padding: 24px 4vw; }
  .section { padding: 32px 4vw; }
  .container { max-width: 98vw; padding-left: 6vw; padding-right: 6vw; }
  header .container { flex-direction: row; gap: 8px; }
  header nav { display: none; }
  .cta-primary { margin-left: 5px; }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-contact { font-size: 0.98rem; flex-direction: column; gap: 5px; }
  .content-wrapper { gap: 15px; }
  .testimonial-card { font-size: 1rem; max-width: 100%; }
  section ul, section ol {
    gap: 14px; flex-direction: column;
  }
  section ul li, section ol li {
    flex: 1 1 100%; min-width: 0; max-width: 100%;
  }
  .text-image-section { flex-direction: column; gap: 14px; }
}
@media (max-width: 520px) {
  html { font-size: 14px; }
  section, .section { padding: 16px 2vw; }
  .container { padding-left: 2vw; padding-right: 2vw; }
  .cookie-banner { padding: 15px 4px; font-size: 0.99rem; }
  .cookie-modal-content { padding: 15vw 4vw 12vw 4vw; min-width: 0; }
}

/* =============== CREATIVE ARTISTIC EXTRAS =============== */
/* Blend accent squiggle and border by accent color with shadow around h2's for creative vibes */
h2::after {
  content: '';
  display: block;
  height: 4px;
  width: 60px;
  background: #FFB800;
  margin-top: 7px;
  border-radius: 3px;
  box-shadow: 0 1.5px 10px 0 #FFB80060;
}
.card, .testimonial-card { position: relative; z-index: 1; }
.card::before, .testimonial-card::before {
  content: '';
  display: block;
  position: absolute;
  left: -14px; top: -14px;
  width: 35px; height: 22px;
  background: #FFB80031;
  border-radius: 32px 10px 28px 8px;
  filter: blur(6px);
  z-index: 0;
  pointer-events:none;
  opacity: .7;
}
.card::after, .testimonial-card::after {
  content: '';
  display: block;
  position: absolute;
  right: -11px; bottom: -12px;
  width: 19px; height: 27px;
  background: #2559A213;
  border-radius: 10px 24px 8px 18px;
  filter: blur(3px);
  z-index: 0;
  pointer-events:none;
  opacity: .75;
}

/* Unmistakably artistic font variations for big display */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;600&family=Roboto:wght@400;500;700&display=swap');

h1, h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.7px;
  text-shadow: 0 2px 8px #FFB80019, 0 3px 18px #2559A212;
}
h1 {
  font-size: 2.5rem;
  background: linear-gradient(to right,#2559A2,#FFB800 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
h2 {
  font-size: 2rem;
  color: #2559A2;
  font-weight: 700;
}

/* Artistic button hover squiggle (using pseudo) */
.cta-primary, .cta-secondary {
  overflow: hidden;
  position: relative;
}
.cta-primary::after, .cta-secondary::after {
  content: '';
  position: absolute;
  left: -30px; top: 70%;
  width: 40px; height: 10px;
  background: #FFB800;
  border-radius: 10px 10px 10px 2px;
  opacity: 0.35;
  filter: blur(5px);
  transition: left .27s cubic-bezier(.27,1.3,.9,.93);
  pointer-events: none;
}
.cta-primary:hover::after,
.cta-primary:focus::after,
.cta-secondary:hover::after,
.cta-secondary:focus::after {
  left: 80%;
}

/* Artistic marker underlines in lead text and hero */
main > section:first-child p {
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, #FFB80025 60%, #2559A212 100%);
  border-radius: 12px 3px 12px 3px;
  padding: 2px 7px;
}

/* Avoid unwanted overlapping */
.card, .testimonial-card, .feature-item, section, .content-wrapper, .text-section {
  margin-bottom: 20px;
}

/* ============== NICE SCROLLBAR =============== */
::-webkit-scrollbar {
  width: 9px;
  background: #F6F9FC;
  border-radius: 12px;
}
::-webkit-scrollbar-thumb {
  background: #FFB80099;
  border-radius: 9px;
}
::-webkit-scrollbar-thumb:hover { background: #2559A2; }

/* ACCESSIBILITY (FORCE BUTTON :focus STATE) */
button:focus, .cta-primary:focus, .cta-secondary:focus {
  outline: 2.5px solid #FFB800;
  outline-offset: 2px;
}

/* =============== FORM ELEMENTS (IF ANY) =============== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 1.5px solid #2559A2;
  border-radius: 9px 4px 9px 4px;
  padding: 11px 13px;
  margin-bottom: 18px;
  background: #fff;
  color: #222;
  transition: border 0.13s, box-shadow 0.19s;
}
input:focus, textarea:focus, select:focus {
  border-color: #FFB800;
  box-shadow: 0 0 3px 0 #FFB80033;
  outline: none;
}

/* =============== Z-INDEX LAYERS =============== */
header { z-index: 200; }
.mobile-menu { z-index: 3000; }
.cookie-banner { z-index: 5000; }
.cookie-modal { z-index: 6000; }

/* =============== PRINT OVERRIDES =============== */
@media print {
  header, footer, .cookie-banner, .cookie-modal { display: none !important; }
  section, .container { box-shadow: none !important; background: #fff !important; }
}
