/* =========================================================================
   CSS 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after { box-sizing: inherit; }
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: linear-gradient(120deg, #F0F4F9 60%, #e6eefa 100%);
  color: #1a2836;
  line-height: 1.6;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: background 0.4s;
}
a { color: #154577; text-decoration: none; transition: color 0.2s; }
a:focus, a:hover { color: #F1B232; text-decoration: underline; }
img { max-width: 100%; display: block; border-radius: 12px; }
strong { font-weight: 700; }
::-webkit-input-placeholder { color: #879ab8; }
::-moz-placeholder { color: #879ab8; }
:-ms-input-placeholder { color: #879ab8; }
::placeholder { color: #879ab8; }

/* FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500|Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #154577;
  font-weight: 700;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }      /* 40px */
h2 { font-size: 2rem; margin-bottom: 16px; }         /* 32px */
h3 { font-size: 1.5rem; margin-bottom: 12px; }       /* 24px */
h4 { font-size: 1.25rem; margin-bottom: 8px; }       /* 20px */
p, ul, ol { font-size: 1rem; margin-bottom: 16px; }
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
}

/* =========================================================================
   LAYOUT SPACING (consistent as per requirements)
   ======================================================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(21, 69, 119, 0.10), 0 1.5px 4px rgba(34, 43, 64, 0.07);
  transition: box-shadow 0.25s, transform 0.22s;
  padding: 32px 24px;
  min-width: 270px;
}
.card:hover {
  box-shadow: 0 8px 40px rgba(21, 69, 119, 0.17), 0 2px 8px rgba(34, 43, 64, 0.13);
  transform: translateY(-4px) scale(1.015);
}
.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;
  background: #F0F4F9;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(21,69,119,0.08);
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 570px;
  transition: box-shadow 0.2s;
}
.testimonial-card p { color: #174674; font-size: 1.07rem; }
.testimonial-card span { color: #486390; font-size: 1rem; font-weight: 600; }
.testimonial-card .star-rating {
  color: #F1B232;
  font-size: 1.2em;
  letter-spacing: 2px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

ul {
  padding-left: 23px;
  margin-bottom: 20px;
}
li { margin-bottom: 11px; }

/* =========================================================================
   HEADER & NAVIGATION
   ======================================================================= */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(21, 69, 119, 0.05);
  padding: 0 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  position: sticky;
  top: 0;
  z-index: 11;
}
header > a img { height: 38px; width: auto; border-radius: 0; }
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #154577;
  font-size: 1.07rem;
  font-weight: 600;
  border-radius: 18px;
  padding: 7px 14px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover, header nav a:focus {
  background: #F0F4F9;
  color: #F1B232;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(90deg, #F1B232 35%, #FFD685 100%);
  color: #154577;
  font-weight: bold;
  border: none;
  border-radius: 20px;
  padding: 11px 26px;
  margin-left: 28px;
  box-shadow: 0 2px 9px rgba(241,178,50,0.05);
  font-size: 1.1rem;
  cursor: pointer;
  outline: none;
  transition: background 0.22s, box-shadow 0.15s, color 0.17s, transform 0.16s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #ffd685 30%, #F1B232 100%);
  color: #0D2F50;
  box-shadow: 0 6px 24px 2px rgba(241,178,50,0.15);
  transform: translateY(-2px) scale(1.03);
}

/* =========================================================================
   MOBILE MENU
   ======================================================================= */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #154577;
  font-size: 2.1rem;
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 30;
  cursor: pointer;
  padding: 7px 13px;
  border-radius: 13px;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F0F4F9;
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(110deg, #F0F4F9 65%, #f7edd7 100%);
  box-shadow: 0 0 40px 0 rgba(21,69,119,0.12);
  z-index: 120;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.41,1.2,.54,1), box-shadow 0.18s;
  display: flex;
  flex-direction: column;
  padding-top: 64px;
}
.mobile-menu.open { transform: translateX(0); box-shadow: 0 0 80px 0 rgba(21,69,119,0.20); }
.mobile-menu-close {
  position: absolute;
  top: 25px;
  right: 22px;
  background: #fff;
  color: #F1B232;
  border: none;
  font-size: 2rem;
  font-weight: bold;
  border-radius: 26px;
  padding: 6px 13px;
  cursor: pointer;
  box-shadow: 0 1px 12px rgba(21, 69, 119, 0.05);
  transition: background 0.2s;
  z-index: 200;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fdede8;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 24px 0 0 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  color: #154577;
  font-weight: 600;
  padding: 13px 0 13px 0;
  border-bottom: 1px solid #e3e9f4;
  width: 97%;
  box-sizing: border-box;
  border-radius: 0;
  transition: color 0.20s, background 0.14s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #f1b23211;
  color: #F1B232;
}

/* Show/hide mobile navigation */
@media (max-width: 990px) {
  header nav, header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header {
    justify-content: flex-start;
  }
  header > a {
    margin-right: auto;
  }
}
@media (min-width: 991px) {
  .mobile-menu-toggle, .mobile-menu { display: none!important; }
}

/* =========================================================================
   MAIN CONTENT AREA, GRID, SECTIONS
   ======================================================================= */
main {
  padding-top: 36px;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
}

@media (max-width: 820px) {
  .container {
    padding: 0 10px;
  }
  section {
    padding: 30px 0;
    margin-bottom: 38px;
  }
}

/* Flexbox responsive behavior for text-image-sections */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .card-container { flex-direction: column; gap: 18px; }
  .content-grid { flex-direction: column; gap: 17px; }
}
@media (max-width:500px){
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.13rem; }
  .cta-btn { font-size: 1rem; padding: 10px 18px; }
}

/* =========================================================================
   CARDS & CONTENT BLOCKS
   ======================================================================= */
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(21, 69, 119, 0.09), 0 1px 2px rgba(34, 43, 64, 0.06);
  padding: 32px 22px;
  /* spacing per pattern */
  min-width: 220px;
  margin-bottom: 20px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-height: 62px;
}

/* =========================================================================
   BUTTONS & INTERACTIVE
   ======================================================================= */
button {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 18px;
  outline: none;
  cursor: pointer;
  border: none;
  transition: background 0.17s, color 0.14s, box-shadow 0.14s, transform 0.10s;
}
button:focus {
  outline: 2px solid #F1B232;
  background: #FFF9ED;
}

/* =========================================================================
   TESTIMONIALS
   ======================================================================= */
.testimonial-card {
  background: #F0F4F9;
  color: #174674;
  box-shadow: 0px 3px 12px rgba(21, 69, 119, 0.06);
  border-radius: 18px;
  font-size: 1.02rem;
  margin-bottom: 20px;
  max-width: 570px;
}
.testimonial-card p {
  color: #154577;
}
.testimonial-card span {
  color: #486390;
  font-size: 1rem;
  font-weight: 600;
}
.testimonial-card .star-rating {
  color: #F1B232;
}
@media (max-width: 600px) {
  .testimonial-card { padding: 13px; }
}

/* =========================================================================
   FOOTER
   ======================================================================= */
footer {
  background: #154577;
  color: #fff;
  padding: 42px 0 22px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 19px;
  justify-content: center;
  margin-bottom: 12px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity: 0.94;
  transition: color 0.16s, opacity 0.13s;
}
footer nav a:hover, footer nav a:focus {
  color: #F1B232;
  opacity: 1;
}
.footer-contact {
  text-align: center;
  font-size: 0.99rem;
  color: #e3e9f4;
}
.footer-contact a {
  color: #F1B232;
}


/* =========================================================================
   COOKIE CONSENT BANNER & MODAL
   ======================================================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2140;
  background: linear-gradient(90deg,#ffffff, #F1B23222 85%);
  box-shadow: 0 -2px 18px rgba(21,69,119,0.17);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 32px 22px 32px;
  font-size: 1rem;
  min-height: 72px;
  max-width: 100vw;
  transition: transform 0.3s cubic-bezier(.42,1,.5,.98), opacity 0.25s;
}
.cookie-banner.hide {
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-banner .cookie-btn {
  background: #F1B232;
  color: #154577;
  border: none;
  padding: 10px 20px;
  border-radius: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 1px 6px rgba(241,178,50,0.09);
  transition: background 0.13s, color 0.11s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #154577;
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: #F0F4F9;
  color: #154577;
  padding: 10px 16px;
  border-radius: 13px;
  border: 1px solid #E0DFDF;
  font-size: 1rem;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #F1B23233;
  color: #154577;
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 10px; }
  .cookie-banner .cookie-actions { flex-direction: row; gap: 9px; }
}
/* Cookie settings modal */
.cookie-modal-backdrop {
  position: fixed;
  top:0;left:0;right:0;bottom:0;
  background: rgba(21,69,119,0.25);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.24s;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 25px rgba(21,69,119,0.17), 0 1px 4px rgba(34, 43, 64, 0.12);
  min-width: 320px;
  max-width: 97vw;
  padding: 32px 28px 22px 28px;
  position: relative;
  z-index: 2215;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookieModalIn 0.37s cubic-bezier(.47,1.4,.43,1);
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: translateY(80px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: #154577;
  margin-bottom: 12px;
}
.cookie-modal h3 {
  font-size: 1.10rem;
  color: #F1B232;
  margin-bottom: 8px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 11px;
  font-weight: 500;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  appearance: none;
  border: 2px solid #F1B232;
  border-radius: 5px;
  width: 20px; height: 20px;
  outline: none;
  margin-right: 8px;
  transition: background 0.15s, border 0.15s;
}
.cookie-modal input[type="checkbox"]:checked {
  background: #F1B232;
  box-shadow: 0 0 4px #F1B23280;
}
/* Essential cookies always enabled style */
.cookie-modal .essential-field label {
  color: #174674;
  font-style: italic;
  opacity: 0.73;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 13px;
  margin-top: 8px;
}
.cookie-modal .modal-close {
  position: absolute;
  top:24px;right:20px;
  background: #F0F4F9;
  color: #F1B232;
  font-size: 1.44rem;
  border: none;
  border-radius: 18px;
  padding: 3px 11px;
  cursor: pointer;
  transition: background 0.12s;
}
.cookie-modal .modal-close:hover {
  background: #f1b23215;
}
@media (max-width:480px){
  .cookie-modal {padding:19px 2vw;}  
}


/* =========================================================================
   MISC & ACCESSIBILITY
   ======================================================================= */
:focus-visible {
  outline: 2px solid #F1B232;
  outline-offset: 2px;
}
hr {
  border: 0;
  border-top: 1px solid #DFE3EA;
  margin: 40px 0;
}

/* =========================================================================
   SHADOWS & RADIUS SYSTEM (visual depth)
   ======================================================================= */
.card, .cta-btn, .testimonial-card, .cookie-banner, .cookie-modal {
  box-shadow: 0 2.5px 22px rgba(21,69,119,0.07), 0 1px 2px rgba(34, 43, 64, 0.06);
}
.card, .testimonial-card, .cookie-modal, .cookie-banner {
  border-radius: 18px;
}
img {
  border-radius: 11px;
}

/* =========================================================================
   VISUAL HIERARCHY: Accent, secondary, link, muted
   ======================================================================= */
.accent {
  color: #F1B232;
}
.bg-accent {
  background: #F1B232;
  color: #154577;
}
.bg-secondary {
  background: #F0F4F9;
  color: #154577;
}

/* =========================================================================
   UTILITIES
   ======================================================================= */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-20 { margin-bottom:20px!important; }
.mt-20 { margin-top:20px!important; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.center { align-items: center; justify-content: center; }
.gap-20 { gap: 20px; }

/* =========================================================================
   CUSTOM SCROLLBAR FOR MODALS
   ======================================================================= */
.cookie-modal::-webkit-scrollbar { width: 9px; background: #F0F4F9; }
.cookie-modal::-webkit-scrollbar-thumb { background: #F1B23299; border-radius: 5px; }

/* =========================================================================
   ANIMATIONS (micro-interactions)
   ======================================================================= */
.cta-btn, .card, .testimonial-card, .cookie-btn, .cookie-settings-btn, .mobile-menu-close {
  transition: box-shadow 0.17s, background 0.21s, color 0.15s, transform 0.17s;
}

/* =========================================================================
   END OF FILE
   ======================================================================= */
