/* 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;
}
/* font imports */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;500&display=swap');

body {
  background: #F5F5F5;
  color: #1A3766;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: inline-block;
  vertical-align: middle;
}
a {
  color: #1A3766;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFD600;
  outline: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #1A3766;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}

strong {
  font-weight: 700;
  color: #1A3766;
}

.section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(26,55,102,0.06);
  position: relative;
}
.hero div {
  color: white;
}

main > section.hero {
  background: #1A3766;
  color: #fff;
  border-radius: 0 0 42px 42px;
  padding-top: 48px;
  padding-bottom: 48px;
  min-height: 330px;
}
main > section.hero h1,
main > section.hero h2,
main > section.hero p {
  color: #fff;
}
main > section.hero .cta {
  background: #FFD600;
  color: #1A3766;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* BUTTONS & CTA */
.cta, .cta-section a.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 40px;
  background: #FFD600;
  color: #1A3766;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(26,55,102,0.07);
  margin-top: 16px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.cta:hover, .cta:focus {
  background: #1A3766;
  color: #FFD600;
  box-shadow: 0 6px 24px rgba(26,55,102,0.13);
}

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

/* NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 3px 24px rgba(26,55,102,0.05);
  position: sticky;
  top: 0;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 8px;
  border-radius: 100px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.main-nav a.cta {
  background: #FFD600;
  color: #1A3766;
  font-weight: 800;
  padding: 12px 24px;
  margin-left: 8px;
  letter-spacing: 0.02em;
  box-shadow: 0 3px 14px rgba(26,55,102,0.12);
}
.main-nav a.cta:hover {
  background: #1A3766;
  color: #FFD600;
}
.main-nav a.active, .main-nav a:hover, .main-nav a:focus {
  background: #1A3766;
  color: #FFD600;
}

/* MOBILE BURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: #FFD600;
  color: #1A3766;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  margin-left: 12px;
  z-index: 1001;
  border: none;
  transition: opacity 0.2s;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 40px rgba(26,55,102, 0.14);
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  z-index: 1002;
  padding-top: 32px;
  will-change: transform;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  margin-right: 32px;
  margin-bottom: 16px;
  color: #1A3766;
  background: #FFD600;
  border-radius: 50%;
  width: 48px; height: 48px;
  display: flex;
  align-items: center; justify-content: center;
  transition: background 0.2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #1A3766;
  color: #FFD600;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 12px;
  margin-top: 24px;
  padding-left: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #1A3766;
  padding: 18px 0;
  line-height: 1.2;
  border-bottom: 1px solid #F4F4F4;
  width: 80%;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD600;
  color: #1A3766;
  border-radius: 10px;
  padding-left: 16px;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
  }
  header .container {
    min-height: 68px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* CARDS, FLEXBOX LAYOUTS, GRIDS */
.feature-grid, .service-cards, .benefits-grid, .benefit-icons, .testimonial-slider, .topic-tiles, .featured-posts-grid, .footer-contact, .blog-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.feature-grid > div,
.service-cards > div,
.benefits-grid > div,
.benefit-icons > div,
.topic-tiles > div,
.featured-posts-grid > div {
  flex: 1 1 220px;
  background: #F5F5F5;
  border-radius: 20px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 2px 20px rgba(26,55,102,0.06);
  min-width: 220px;
  min-height: 210px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > div:hover,
.service-cards > div:hover,
.benefits-grid > div:hover,
.benefit-icons > div:hover,
.topic-tiles > div:hover,
.featured-posts-grid > div:hover {
  box-shadow: 0 8px 32px rgba(26,55,102,0.16);
  transform: translateY(-4px) scale(1.02);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #F5F5F5;
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(26,55,102,0.07);
  padding: 24px;
  min-width: 210px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 8px 34px rgba(26,55,102,0.11);
  transform: translateY(-2px);
}

.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;
}
.text-image-section > * {
  flex: 1 1 260px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 28px 26px 28px;
  background: #fff;
  color: #181818;
  border-radius: 22px;
  min-width: 260px;
  box-shadow: 0 6px 36px rgba(26,55,102,0.15);
  transition: box-shadow 0.2s;
  margin-bottom: 20px;
  position: relative;
  font-size: 1.08rem;
  min-height: 195px;
}
.testimonial-card .stars {
  display: flex;
  gap: 4px;
}
.testimonial-card .name {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #1A3766;
}
.testimonial-card:hover {
  box-shadow: 0 10px 42px rgba(26,55,102,0.19);
}

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

.blog-categories {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
}
.blog-categories ul {
  gap: 14px;
  flex-wrap: wrap;
}
.blog-categories li {
  display: inline-block;
  list-style: none;
}
.blog-categories a {
  display: inline-block;
  padding: 8px 22px;
  background: #FFD600;
  color: #1A3766;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-right: 8px;
  transition: background 0.2s, color 0.2s;
}
.blog-categories a:hover,
.blog-categories a:focus {
  background: #1A3766;
  color: #FFD600;
}

/***** SECTION & MISC SPACING *****/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 8px;
}
ul {
  list-style: disc inside;
}
ol {
  list-style: decimal inside;
}
ul.service-list, .faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  padding-left: 0;
}
ul.service-list img {
  height: 28px;
  width: 28px;
  margin-right: 12px;
}
ul.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.06rem;
  background: #F5F5F5;
  border-radius: 14px;
  padding: 14px 18px;
  position: relative;
  box-shadow: 0 1px 9px rgba(26,55,102,0.07);
}

/***** ADDRESS BLOCKS, CONTACT INFO *****/
.contact-info, .address-block, .opening-hours, .map {
  margin-bottom: 24px;
  font-size: 1.1rem;
  color: #222;
}
.contact-info > div, .footer-contact > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.map {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.address-block {
  background: #F5F5F5;
  border-radius: 12px;
  padding: 18px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  margin-bottom: 20px;
}

/***** FOOTER *****/
footer {
  width: 100%;
  background: #1A3766;
  color: #fff;
  padding: 45px 0 25px 0;
  font-size: 1.05rem;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 52px;
  align-items: flex-start;
  justify-content: flex-start;
  padding-bottom: 12px;
}
.footer-logo {
  flex: 0 0 140px;
  display: flex;
  align-items: flex-start;
}
.footer-logo img {
  width: 105px;
  height: auto;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #FFD600;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
  transition: color 0.18s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 280px;
  color: #fff;
  font-size: 1rem;
}
.footer-contact img {
  height: 20px;
  width: 20px;
}

/***** COOKIE CONSENT BANNER *****/
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: #fff;
  color: #1A3766;
  border-radius: 18px;
  box-shadow: 0 12px 48px rgba(26,55,102,0.18);
  padding: 32px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  z-index: 9999;
  max-width: 540px;
  margin: 0 auto;
  font-size: 1.08rem;
  animation: fadeInBanner 0.44s cubic-bezier(.66,0,.35,1);
}
@keyframes fadeInBanner {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  min-width: 112px;
  padding: 12px 20px;
  background: #FFD600;
  color: #1A3766;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 32px;
  border: none;
  transition: background 0.18s, color 0.18s;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #1A3766;
  color: #FFD600;
}
.cookie-banner button.settings {
  background: transparent;
  color: #1A3766;
  border: 2px solid #FFD600;
}
.cookie-banner button.settings:hover {
  background: #FFD600;
  color: #1A3766;
}

/***** COOKIE MODAL *****/
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(26,55,102, 0.38);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
  animation: fadeInOverlay 0.3s cubic-bezier(.66,0,.35,1);
}
@keyframes fadeInOverlay {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  max-width: 440px;
  width: 94vw;
  padding: 38px 28px 28px 28px;
  box-shadow: 0 12px 60px rgba(26,55,102,0.19);
  color: #1A3766;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: slideUpModal 0.38s cubic-bezier(.77,0,.18,1);
  position: relative;
}
@keyframes slideUpModal {
  from { transform: translateY(72px); opacity: 0; } to { opacity: 1; transform: translateY(0); }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-modal .modal-buttons {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px; right: 16px;
  background: #FFD600;
  color: #1A3766;
  padding: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  border: none;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #1A3766;
  color: #FFD600;
}

input[type='checkbox'].toggle {
  appearance: none;
  width: 28px;
  height: 16px;
  border-radius: 8px;
  background: #F3F3F3;
  outline: none;
  position: relative;
  transition: background 0.18s;
  cursor: pointer;
}
input[type='checkbox'].toggle:checked {
  background: #FFD600;
}
input.toggle::-webkit-slider-thumb {
  appearance: none;
}
input[type='checkbox'].toggle:before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 12px; height: 12px;
  background: #777;
  border-radius: 50%;
  transition: left 0.18s, background 0.18s;
}
input[type='checkbox'].toggle:checked:before {
  background: #1A3766;
  left: 14px;
}
input[type='checkbox'][disabled] {
  opacity: 0.67;
}

/***** THANK YOU, CTA SECTION, ETC *****/
.cta-section {
  background: #FFD600;
  color: #1A3766;
  border-radius: 22px;
  margin-bottom: 60px;
  padding: 50px 20px 45px 20px;
  text-align: left;
  box-shadow: 0 6px 32px rgba(26,55,102,0.08);
}
.cta-section .cta {
  margin-top: 14px;
  background: #1A3766;
  color: #FFD600;
}
.cta-section .cta:hover {
  background: #fff;
  color: #1A3766;
}

section.thank-you {
  background: #fff;
  text-align: center;
  border-radius: 24px;
  padding: 60px 24px;
}
section.thank-you h1 {
  color: #1A3766;
  margin-bottom: 26px;
}
section.thank-you .cta {
  margin-top: 28px;
}

/***** FORMS & SEARCH *****/
input[type="search"] {
  padding: 14px 20px;
  font-size: 1.1rem;
  border-radius: 40px;
  border: 2px solid #FFD600;
  background: #fff;
  color: #1A3766;
  font-family: 'Roboto', Arial, sans-serif;
  margin-top: 18px;
  width: 100%;
  max-width: 386px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  box-shadow: 0 2px 18px rgba(26,55,102,0.06);
}
input[type="search"]:focus {
  border-color: #1A3766;
  box-shadow: 0 4px 22px rgba(26,55,102,0.16);
}

/***** INFOGRAPHICS, ICONS, IMAGES *****/
.infographic {
  margin: 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  background: #F5F5F5;
  border-radius: 16px;
  padding: 18px;
}

/***** UTILITIES *****/
.hide-on-desktop {
  display: none !important;
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  main > section.hero {
    padding-top: 32px;
    padding-bottom: 32px;
    border-radius: 0 0 28px 28px;
    min-height: 220px;
  }
  .section, section {
    margin-bottom: 36px;
    padding: 22px 6px;
    border-radius: 14px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .feature-grid, .service-cards, .benefits-grid, .benefit-icons, .testimonial-slider, .topic-tiles, .featured-posts-grid, .footer-contact, .blog-categories ul {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div, .service-cards > div, .benefits-grid > div, .benefit-icons > div, .topic-tiles > div, .featured-posts-grid > div {
    min-width: 0;
    width: 100%;
    min-height: unset;
    padding: 16px 10px;
    border-radius: 10px;
  }
  .testimonial-slider {
    gap: 14px;
  }
  .testimonial-card {
    min-width: 0;
    padding: 18px 10px 16px 10px;
    border-radius: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  .footer-contact {
    gap: 7px;
  }
  .footer-logo img {
    width: 78px;
  }
  .footer-logo {
    flex: 0 0 90px;
  }
  .footer-nav a {
    font-size: 0.98rem;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    bottom: 6px;
    left: 6px; right: 6px;
    max-width: 98vw;
    padding: 22px 10px;
    border-radius: 10px;
  }
}

/***** HIGH CONTRAST ACCESSIBILITY FOR CRITICAL ELEMENTS *****/
.testimonial-card,
.faq-list li,
ul.service-list li {
  background: #fff;
  color: #222;
  border-left: 6px solid #FFD600;
}
.testimonial-card p {
  color: #181818 !important;
}
.faq-list li strong {
  color: #1A3766;
}

/* Make sure no cards overlap and padding keeps everything clear */
.feature-grid > div,
.service-cards > div,
.benefits-grid > div,
.benefit-icons > div,
.topic-tiles > div,
.featured-posts-grid > div,
.card,
.testimonial-card {
  margin-bottom: 20px;
}

/***** FOCUS STATES FOR ACCESSIBILITY *****/
a:focus,
.cta:focus,
button:focus,
input:focus {
  outline: 2px solid #FFD600;
  outline-offset: 2px;
}

/***** MICRO-ANIMATIONS *****/
.cta, .main-nav a, .footer-nav a, .blog-categories a, .cookie-banner button, .mobile-menu-close {
  transition: background 0.2s, color 0.18s, box-shadow 0.13s, transform 0.16s;
}
.cta:active, .main-nav a:active, .footer-nav a:active, .cookie-banner button:active, .mobile-menu-close:active {
  transform: scale(0.98);
}
.featured-posts-grid > div:active, .service-cards > div:active {
  transform: scale(0.97);
}

/***** Z-INDEX LAYERS *****/
/*
  10 - header,
  1001 - burger button,
  1002 - mobile menu,
  9999 - cookie banner
  10000 - cookie modal overlay
*/

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