/* RESET & NORMALIZE  (Mobile-first) */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F4F7FA;
  color: #2D323B;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1rem;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}
a {
  color: #215787;
  text-decoration: none;
  transition: color .2s;
}
a:focus {
  outline: 2px solid #E1B233;
  outline-offset: 2px;
}
a:hover, a:active {
  color: #E1B233;
}
ul, ol {
  margin-left: 1.25rem;
  margin-bottom: 1.25rem;
}
li {
  margin-bottom: 0.5rem;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #215787;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 { font-size: 2.1rem; margin-bottom: 22px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.175rem; margin-bottom: 12px; }

::-webkit-input-placeholder { color: #757575; opacity: 1; }
:-moz-placeholder { color: #757575; opacity: 1; }
::-moz-placeholder { color: #757575; opacity: 1; }
:-ms-input-placeholder { color: #757575; opacity: 1; }
::placeholder { color: #757575; opacity: 1; }

img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

main {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: transparent;
  min-height: 60vh;
}

.section {
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 6px 26px rgba(33,87,135,0.08), 0 1.5px 5px rgba(33,87,135,0.10);
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.text-section {
  background: none;
  border-radius: 18px;
  padding: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 22px rgba(225,178,51,0.08), 0 1.5px 5px rgba(33,87,135,0.05);
  padding: 26px 20px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border-radius: 16px;
  background: #FFEBC0;
  padding: 18px 16px;
  box-shadow: 0 3px 12px 0 rgba(225,178,51,0.08);
  margin-bottom: 20px;
}

/* --- Header & Navigation --- */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(33,87,135,0.07);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  position: relative;
  z-index: 60;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}

header img {
  max-height: 54px;
  border-radius: 12px;
  background: transparent;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #215787;
  padding: 8px 0;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
nav a:hover, nav a:focus {
  background: #FFEBC0;
  color: #a36b06;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  background: #E1B233;
  color: #215787;
  padding: 13px 28px;
  border-radius: 50px;
  box-shadow: 0 2px 9px 0 rgba(225,178,51,0.09);
  text-decoration: none;
  border: none;
  cursor: pointer;
  margin-left: 22px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #f9c846;
  color: #1d2230;
  box-shadow: 0 6px 18px rgba(225,178,51,0.20);
}

/* Hamburger menu (mobile) */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 18px;
  font-size: 2.2rem;
  background: transparent;
  border: none;
  color: #215787;
  border-radius: 10px;
  cursor: pointer;
  margin-left: 24px;
  transition: background .15s, color .15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FFEBC0;
  color: #a36b06;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(244,247,250,0.98);
  z-index: 200;
  padding: 0 0 0 0;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  box-shadow: 0 0 0 0 #000;
  opacity: 1;
}
.mobile-menu.active {
  transform: translateX(0);
  box-shadow: 0 0 24px 4px rgba(33,87,135,0.10);
}
.mobile-menu-close {
  align-self: flex-end;
  padding: 16px 20px 6px 20px;
  font-size: 2.3rem;
  background: transparent;
  border: none;
  color: #215787;
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 13px;
  margin-top: 8px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #215787;
  padding: 20px 34px 16px 34px;
  border-radius: 0;
  width: 100%;
  background: transparent;
  border-bottom: 1px solid #e8e6e1;
  transition: background .22s, color .22s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #FFEBC0;
  color: #a36b06;
}

/* Hide hamburger and mobile by default (desktop) */
.mobile-menu-toggle { display: none; }
.mobile-menu { display: none; }
.mobile-menu.active { display: flex; }

@media (max-width: 1023px) {
  nav { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
  .mobile-menu { display: flex; }
  .btn-primary { margin-left: auto; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding: 6px 8px;
  }
}

/* HERO SECTION */
.hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #FFEBC0;
  border-radius: 23px;
  box-shadow: 0 4px 22px rgba(225,178,51,0.10), 0 2px 5px rgba(33,87,135,0.03);
  padding: 36px 20px 30px 20px;
  margin-bottom: 30px;
  margin-top: 22px;
  min-height: 180px;
}
.hero h1 {
  color: #215787;
  line-height: 1.09;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
}
.hero p {
  font-size: 1.18rem;
  color: #2d323b;
  margin-bottom: 10px;
}

.cta-text {
  font-size: 1.18rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: #215787;
  background: #FFEBC0;
  border-radius: 14px;
  padding: 11px 22px;
  box-shadow: 0 1.5px 7px 0 rgba(225,178,51,0.07);
  display: inline-block;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  color: #2d323b;
  border-radius: 17px;
  box-shadow: 0 4px 20px 0 rgba(33,87,135,0.05), 0 2px 10px 0 rgba(225,178,51,0.09);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 510px;
}
.testimonial-card p {
  color: #215787;
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 7px;
}
.testimonial-card span {
  color: #E1B233;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* --- Footer --- */
footer {
  background: #FFEBC0;
  color: #215787;
  border-radius: 36px 36px 0 0;
  box-shadow: 0 -4px 24px 0 rgba(33,87,135,0.04);
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 38px 16px 26px 16px;
}
footer img {
  max-height: 44px;
  border-radius: 12px;
}
footer nav {
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #1d2230;
  font-size: 0.97rem;
  font-weight: 600;
  padding: 3px 0;
  border-radius: 6px;
}
footer nav a:hover, footer nav a:focus {
  background: #fffbe7;
  color: #E1B233;
}
footer .contact-info {
  font-size: 1rem;
  color: #215787;
  margin-top: 5px;
  line-height: 1.5;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 300;
  background: #FFEBC0;
  color: #215787;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  box-shadow: 0 -2px 20px 0 rgba(33,87,135,0.10);
  font-size: 1.1rem;
  border-top-left-radius: 17px;
  border-top-right-radius: 17px;
  animation: cookie-slidein 0.45s cubic-bezier(.74,0,.23,1);
}
@keyframes cookie-slidein {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 22px;
  padding: 8px 22px;
  margin: 0;
  cursor: pointer;
  box-shadow: 0 1.5px 6px rgba(225,178,51,0.09);
  background: #fff;
  color: #215787;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}
.cookie-btn.accept {
  background: #E1B233;
  color: #215787;
}
.cookie-btn.reject {
  background: #fff;
  color: #a36b06;
}
.cookie-btn.settings {
  background: #FFEBC0;
  color: #215787;
  border: 2px solid #e1b233;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #f9c846;
  color: #1d2230;
}
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 400;
  background: rgba(44,46,51,0.23);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-in 0.18s;
}
@keyframes cookie-modal-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #215787;
  border-radius: 24px;
  box-shadow: 0 7px 36px 0 rgba(33,87,135,0.13);
  padding: 36px 22px 26px 22px;
  min-width: 95vw;
  max-width: 415px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  font-size: 1.08rem;
}
.cookie-modal-content h3 {
  color: #E1B233;
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 7px;
}
.cookie-category label {
  font-weight: 500;
  font-size: 1rem;
  color: #215787;
}
.cookie-category input[type="checkbox"] {
  accent-color: #E1B233;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid #E1B233;
  background: #fff4cc;
  outline: none;
  margin-right: 4px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 19px;
  background: transparent;
  border: none;
  font-size: 1.35rem;
  cursor: pointer;
  color: #215787;
  border-radius: 6px;
}

/* --- Forms (generic) --- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  border: 1.5px solid #E1B233;
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 1rem;
  margin-bottom: 15px;
  background: #fff;
  box-shadow: 0 1.5px 5px rgba(225,178,51,0.10);
  color: #215787;
  transition: border 0.17s;
}
input:focus, textarea:focus, select:focus {
  border: 2.5px solid #215787;
  outline: none;
}

button {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* --- Utility spacing & animation classes --- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.rounded-lg { border-radius: 24px; }
.rounded { border-radius: 15px; }
.shadow-soft { box-shadow: 0 5px 24px 0 rgba(33,87,135,0.09); }
.transition { transition: all .18s cubic-bezier(.6,.1,.2,1); }

/* --- Responsive & Flex Adaptation --- */
@media (max-width: 1023px) {
  .container { max-width: 100vw; }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 26px 10px 16px 10px;
  }
}
@media (max-width: 968px) {
  .hero {
    padding: 27px 8px 20px 8px;
    margin: 0 0 21px 0;
  }
  .section {
    margin-bottom: 38px;
    padding: 28px 8px;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 5px; }
  .hero { font-size: 1.02rem; }
  .footer .container { gap: 10px; }
  .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .section {
    padding: 18px 1px;
    margin-bottom: 22px;
  }
  .testimonial-card { max-width: 100vw; }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .feature-item { margin-bottom: 14px; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.12rem; }
  .hero { font-size: 1rem; }
  .btn-primary {
    padding: 10px 16px;
    font-size: 0.95rem;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 14px 8px;
    gap: 7px;
    font-size: 1rem;
  }
  .cookie-banner-buttons { flex-direction: column; gap: 7px; }
  .cookie-modal-content { min-width: 99vw; padding: 14px 6px; font-size: 1rem; }
}

/* --- Misc --- */
::-webkit-scrollbar { width: 10px; background: #FFEBC0; }
::-webkit-scrollbar-thumb { background: #E1B233; border-radius: 6px; }

/* Accessibility highlight for keyboard navigation */
:focus-visible {
  outline: 2.5px solid #E1B233;
  outline-offset: 2.5px;
}

/* --- Micro-interaction, subtle movement on hover --- */
.card, .testimonial-card, .feature-item, .btn-primary, .cookie-btn {
  transition: box-shadow .16s cubic-bezier(.68,.32,.48,1), transform .12s cubic-bezier(.44,.21,.13,1);
}
.card:hover, .testimonial-card:hover, .feature-item:hover {
  box-shadow: 0 12px 40px 0 rgba(34,99,175,0.09), 0 3.5px 14px 0 rgba(225,178,51,0.10);
  transform: translateY(-4px) scale(1.012);
}

/* --- Font-face fallback --- */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat Bold'), local('Montserrat-Bold'), url('https://fonts.gstatic.com/s/montserrat/v25/JTURjIg1_i6t8kCHKm45_cJD3gnD-w.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular'), url('https://fonts.gstatic.com/s/roboto/v30/KFOmCnqEu92Fr1Me4mxP.ttf') format('truetype');
}

/* --- END CSS --- */
