/* --- CSS 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F5F5F2;
  color: #222;
  font-family: 'Roboto', Georgia, serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: #12507A;
  transition: color 0.2s;
}
a:hover {
  color: #FFB102;
}

/* --- FONT SETTINGS --- */
h1, .h1 {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 2.5rem;
  line-height: 1.15;
  font-weight: 700;
  color: #12507A;
  margin-bottom: 24px;
}
h2, .h2 {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 600;
  color: #222;
  margin-bottom: 20px;
}
h3, .h3 {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #12507A;
  margin-bottom: 12px;
}
h4, .h4 {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #444;
  margin-bottom: 12px;
}
p, li {
  font-family: 'Roboto', Georgia, serif;
  font-size: 1rem;
  color: #2D3237;
}
strong {
  font-weight: 600;
  color: #12507A;
}

/* --- BASIC LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(18,80,122,0.06);
}

/* --- FLEX PATTERNS --- */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(18,80,122,0.085);
  margin-bottom: 20px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  min-width: 260px;
  flex: 1 1 280px;
}
.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: 24px 24px 20px 24px;
  margin-bottom: 24px;
  border-radius: 14px;
  background: #F5F5F2;
  box-shadow: 0 1px 8px rgba(18,80,122,0.05);
  border-left: 5px solid #12507A;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.testimonial-card p {
  color: #2D3237;
  font-size: 1.08rem;
  font-style: italic;
}
.testimonial-card strong {
  font-weight: 600;
  color: #222;
}
.testimonial-card:hover {
  box-shadow: 0 2px 16px rgba(18,80,122,0.13);
  border-left: 5px solid #FFB102;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/****************************
 * HEADER + NAVIGATION *
 ***************************/
header {
  background: #fff;
  border-bottom: 1px solid #E3E5E7;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 40;
  box-shadow: 0 2px 10px 0 rgba(18,80,122,0.022);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 70px;
}
header img {
  height: 38px;
  width: auto;
  margin-right: 36px;
}
nav {
  display: flex;
  gap: 20px;
}
nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 500;
  font-size: 1.05rem;
  padding: 7px 14px;
  border-radius: 7px;
  background: transparent;
  color: #12507A;
  transition: background 0.17s, color 0.17s;
}
nav a:hover, nav a:focus {
  background: #FFB1021a;
  color: #222;
}
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
  font-size: 1.08rem;
  color: #fff;
  background: #12507A;
  padding: 10px 30px;
  border-radius: 28px;
  box-shadow: 0 2px 10px 0 rgba(18,80,122,0.13);
  letter-spacing: .01em;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.15s, box-shadow 0.17s, transform 0.16s;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #154D6D;
  color: #FFB102;
  box-shadow: 0 5px 18px 0 rgba(18,80,122,0.17);
  transform: translateY(-2px) scale(1.014);
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 19px;
  right: 24px;
  background: #F5F5F2;
  color: #12507A;
  border: none;
  font-size: 2.2rem;
  border-radius: 50%;
  padding: 4px 14px 0 14px;
  line-height: 1;
  z-index: 99;
  cursor: pointer;
  box-shadow: 0 0 1px #8f95a3;
  transition: background 0.13s, color 0.17s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #FFB102;
  color: #fff;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  box-shadow: 0 4px 22px 0 rgba(18,80,122,0.28);
  z-index: 120;
  padding: 0 0 0 0;
  transition: transform 0.33s cubic-bezier(.68,-0.18,.32,1.23);
  transform: translateX(-100%);
  opacity: 0.995;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 25px 30px 10px 0;
  background: #fff;
  color: #12507A;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  padding: 4px 12px 2px 12px;
  box-shadow: 0 1px 4px #c0c6d4;
  cursor: pointer;
  transition: background 0.13s, color 0.17s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #FFB102;
  color: #fff;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0;
  margin-left: 28px;
}
.mobile-menu nav a {
  font-size: 1.13rem;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 500;
  padding: 16px 0 14px 0;
  border-bottom: 1px solid #eef0ff;
  width: 100%;
  color: #12507A;
  background: none;
  border-radius: 0;
}
.mobile-menu nav a:focus,
.mobile-menu nav a:hover {
  color: #FFB102;
  background: none;
}

/* --- MAIN & SECTIONS --- */
main,
footer {
  width: 100%;
}
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
section:last-child {
  margin-bottom: 0;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 10px;
}
.text-section ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style-type: disc;
  padding-left: 22px;
}
.text-section li {
  position: relative;
  padding-left: 0px;
}

.benefit-highlight {
  background: #fffbe8;
  border-left: 6px solid #FFB102;
  border-radius: 7px;
  padding: 15px 24px;
  margin-top: 18px;
  font-size: 1.11rem;
  font-weight: 500;
  color: #30301d;
}

ul li img {
  margin-right: 8px;
  vertical-align: middle;
  width: 24px;
  height: 24px;
  display: inline-block;
  transform: translateY(5px);
}
ul li strong {
  font-weight: 650;
  color: #12507A;
}

/* --- TABLE STYLING --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
}
th, td {
  font-family: 'Roboto', Georgia, serif;
  font-size: 1rem;
  text-align: left;
  padding: 11px 13px 11px 0;
  border-bottom: 1px solid #e7e7e2;
  color: #2D3237;
}
th {
  background: #fff;
  color: #12507A;
  font-weight: 700;
}

/* --- FOOTER --- */
footer {
  background: #fff;
  border-top: 1px solid #E3E5E7;
  box-shadow: 0 -2px 9px 0 rgba(18,80,122,0.028);
  color: #444;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 38px 20px 26px 20px;
}
footer nav {
  display: flex;
  gap: 18px;
}
footer nav a {
  color: #12507A;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 7px 10px;
  border-radius: 7px;
}
footer nav a:hover, footer nav a:focus {
  background: #FFB1021a;
  color: #222;
}
.footer-contact {
  margin-top: 10px;
  margin-bottom: 3px;
}
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.99rem;
  color: #555;
}
footer small {
  color: #666;
  font-size: 0.94rem;
}

/* --- BLOG PAGE --- */
.popular-articles {
  margin-top: 34px;
  background: #F5F5F2;
  padding: 22px 18px 18px 20px;
  border-radius: 10px;
  box-shadow: 0 1px 7px #12507A09;
  font-size: 1rem;
  color: #12507A;
}

/* --- BUTTONS --- */
button, .cta-btn {
  outline: none;
}
button:focus, .cta-btn:focus {
  outline: 2px solid #12507A;
  outline-offset: 1px;
}

/* --- ANIMATION & MICROINTERACTIONS --- */
.cta-btn,
button,
nav a,
.mobile-menu nav a,
.testimonial-card {
  transition: 
    background 0.13s, 
    color 0.15s,
    box-shadow 0.22s,
    border 0.18s,
    transform 0.18s;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 1110px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  h1, .h1 {
    font-size: 2rem;
  }
  h2, .h2 {
    font-size: 1.5rem;
  }
  .card, .testimonial-card {
    padding: 15px 13px;
  }
  .container {
    max-width: 98vw;
    padding: 0 6vw;
  }
}
@media (max-width: 768px) {
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start!important;
    gap: 19px;
  }
  section {
    padding: 25px 0 22px 0;
  }
  .content-wrapper, .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .card-container,.content-grid {
    flex-direction: column;
    gap: 16px;
  }
  nav {
    display: none;
  }
  .cta-btn {
    width: 100%;
    padding: 13px 0;
    font-size: 1.01rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  footer nav {
    gap: 10px;
    flex-wrap: wrap;
  }
  h1, .h1 {
    font-size: 1.45rem;
  }
  h2, .h2 {
    font-size: 1.18rem;
  }
}
@media (max-width: 540px) {
  .container {
    padding: 0 7vw;
  }
  .card {
    min-width: unset;
    padding: 11px 5px;
  }
  .cta-btn {
    font-size: 0.95rem;
  }
  .testimonial-card {
    font-size: 0.98rem;
    padding: 10px 6px;
  }
}

/********************
* COOKIE BANNER
*********************/
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; width: 100vw;
  background: #fffbe8;
  color: #222;
  font-family: 'Roboto', Georgia, serif;
  font-size: 1rem;
  box-shadow: 0 -3px 22px 0 rgba(18,80,122,0.08);
  border-top: 2px solid #FFB102;
  padding: 22px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1200;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.44s cubic-bezier(.81,-0.05,.32,1.15), opacity 0.32s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100px);
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
  margin-top: 5px;
  flex-wrap: wrap;
}
.cookie-banner .cookie-btns button {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 500;
  font-size: 1.01rem;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  margin-top: 0px;
  cursor: pointer;
  background: #12507A;
  color: #fff;
  transition: background 0.15s, color 0.14s, border 0.13s;
}
.cookie-banner .cookie-btns .btn-secondary {
  background: #fff;
  border: 1px solid #12507A;
  color: #12507A;
}
.cookie-banner .cookie-btns .btn-tertiary {
  background: #fffbe8;
  border: 1px solid #FFB102;
  color: #3a3122;
}
.cookie-banner .cookie-btns button:hover, .cookie-banner .cookie-btns button:focus {
  background: #FFB102;
  color: #222;
  border: 1px solid #FFB102;
}

/**** Cookie Modal ****/
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(18, 80, 122, 0.35);
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border: 2px solid #FFB102;
  border-radius: 16px;
  padding: 38px 28px 28px 28px;
  min-width: 320px;
  max-width: 98vw;
  box-shadow: 0 8px 48px 0 rgba(18,80,122,0.22);
  display: flex;
  flex-direction: column;
  gap: 23px;
  animation: bounceIn 0.36s cubic-bezier(.54,-0.31,.47,1.64);
}
@keyframes bounceIn {
  0% { transform: scale(0.93); opacity: 0.4; }
  60% { transform: scale(1.058); opacity: .97; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: #12507A;
  font-size: 1.3rem;
  font-family: 'Montserrat', Georgia, serif;
  margin-bottom: 6px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 10px 0 16px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
}
.cookie-category label {
  font-family: 'Roboto', Georgia, serif;
  font-size: 1rem;
  color: #222;
}
.cookie-category .toggle {
  width: 38px;
  height: 22px;
  border-radius: 12px;
  background: #E3E5E7;
  position: relative;
  margin-right: 5px;
  transition: background 0.17s;
  flex-shrink: 0;
  cursor: pointer;
}
.cookie-category .toggle input[type='checkbox'] {
  opacity: 0;
  width: 38px;
  height: 22px;
  position: absolute;
  left: 0; top: 0;
  margin: 0;
}
.cookie-category .toggle:after {
  content: '';
  display: block;
  width: 19px;
  height: 19px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px #2222;
  position: absolute;
  left: 2px;
  top: 1.5px;
  transition: left 0.17s, background 0.17s;
}
.cookie-category .toggle.active {
  background: #FFB102;
}
.cookie-category .toggle.active:after {
  left: 17px;
  background: #FFD362;
}
.cookie-category .desc {
  font-size: .97rem;
  color: #6e6e6e;
}
.cookie-modal .cookie-buttons {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.cookie-modal .cookie-buttons button {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 8px;
  background: #12507A;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.15s;
}
.cookie-modal .cookie-buttons .btn-secondary {
  background: #fffbe8;
  color: #222;
  border: 1px solid #FFB102;
}
.cookie-modal .cookie-buttons button:hover, .cookie-modal .cookie-buttons button:focus {
  background: #FFB102;
  color: #222;
}

/*******************
  ACCESSIBILITY
********************/
:focus {
  outline: 2px dashed #FFB102;
  outline-offset: 1px;
}

/*********************************
  ELEGANT-CLASSIC VISUAL EFFECTS
**********************************/
.card,
.section,
.testimonial-card {
  box-shadow: 0 1px 9px 0 rgba(18,80,122,0.06);
  border-radius: 18px;
}
/* Remove if no .feature-card class exists. Left for extendability */
.feature-card {
  background: #fff;
  padding: 18px 22px;
  border-radius: 13px;
  box-shadow: 0 2px 8px #12507A13;
}

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