/* ===================================================
   CSS RESET & NORMALIZE FOR CONSISTENCY
====================================================*/
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.5;
  background: #ffffff;
  color: #2d4678;
  min-height: 100vh;
}
img {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.5,1.2,.7,1);
}
ul, ol {
  list-style: none;
}
*, *:before, *:after {
  box-sizing: inherit;
}
input, button, textarea, select {
  font: inherit;
}

/* ====================================
   BRAND FONTS (Ensure font import in <head>)
====================================*/
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #ffffff;
  color: #2d4678;
  letter-spacing: 0.02em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.12;
  color: #2d4678;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 14px; letter-spacing:0.04em; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
}

p, ul, ol, blockquote, .testimonial-details, .contact-info, span {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #2d4678;
  line-height: 1.6;
  margin-bottom: 16px;
}

blockquote {
  font-size: 1.15rem;
  font-style: italic;
  color: #2d4678;
  margin-bottom: 10px;
  padding-left: 18px;
  border-left: 4px solid #F5C44A;
}

/* ================================
   GEOMETRIC/STRUCTURED CONTAINERS
================================ */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(54,86,144,.06), 0 1.5px 3.5px #ddebf5;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 1.5px solid #DDEDF6;
}

/* For all cards and content grouping */
.card-container, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: flex-start;
}
.card-container { gap: 24px; }
.card-grid { gap: 32px; }
.content-grid { gap: 20px; justify-content: space-between; }

.card {
  background: #fff;
  box-shadow: 0 2px 8px rgba(54,86,144,0.09);
  border-radius: 14px;
  border: 1.2px solid #DDEDF6;
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 4px 20px 0px rgba(54,86,144,0.13);
}

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

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px;
  border-radius: 12px;
  background: #DDEDF6;
  border: 1.5px solid #bdd9ec;
  margin-bottom: 20px;
}

/* For testimonials and quotations */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #DDEDF6;
  border-radius: 16px;
  border: 1.5px solid #bdd9ec;
  padding: 20px 32px 20px 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(54,86,144,0.07);
  min-width: 0;
}
.testimonial-card blockquote {
  color: #2d4678;
  font-size: 1.1rem;
  flex: 1 1 80%;
  margin-bottom: 0;
  border-left: 6px solid #F5C44A;
  padding-left: 14px;
  background: transparent;
}
.testimonial-details {
  font-size: 0.98rem;
  color: #365690;
  opacity: .85;
  font-style: normal;
}

/* Geometric-structured buttons and CTAs */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  margin-top: 12px;
  background: #365690;
  color: #fff;
  border-radius: 24px 6px 24px 6px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 1.1rem;
  border: 0;
  outline: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(54,86,144,0.10);
  transition: all 0.17s cubic-bezier(0.5, 1.15, 0.7, 1);
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: #2d4678;
  color: #F5C44A;
  box-shadow: 0 4px 16px rgba(54,86,144,0.17);
  text-decoration: none;
}

/* =============================
   NAVIGATION
=============================*/
header {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(54,86,144,0.03);
  padding: 0 0;
  position: relative;
  z-index: 40;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 20px;
  padding: 22px 0;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.03em;
}
.main-nav > a {
  padding: 7px 14px;
  border-radius: 10px 2.5px 10px 2.5px;
  font-weight: 600;
  transition: background 0.14s, color 0.14s;
}
.main-nav > a.cta-btn {
  margin-left: auto;
  font-size: 1rem;
  padding: 10px 22px;
}
.main-nav > a:hover, .main-nav > a:focus {
  background: #f5c44a18;
  color: #365690;
}
.main-nav img {
  width: 48px;
  margin-right: 16px;
  vertical-align: bottom;
}

.mobile-menu-toggle {
  display: none;
  background: #f5c44a;
  color: #2d4678;
  border: none;
  border-radius: 9px 2.5px 9px 2.5px;
  font-size: 2rem;
  padding: 6px 20px 6px 14px;
  margin: 0 12px 0 0;
  cursor: pointer;
  position: absolute;
  right: 12px;
  top: 17px;
  z-index: 51;
  box-shadow: 0 2px 6px rgba(54,86,144,.056);
  transition: background 0.17s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #365690;
  color: #fff;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: #ddebf6;
  position: fixed;
  top: 0;
  left: 0;
  width: 92vw;
  max-width: 355px;
  height: 100vh;
  padding: 36px 30px 30px 24px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-110%);
  transition: opacity 0.23s cubic-bezier(.6,.3,.3,1), transform 0.28s cubic-bezier(.6,.3,.3,1);
  z-index: 1111;
  box-shadow: 4px 0 36px rgba(54,86,144,.16);
}
.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #2d4678;
  align-self: flex-end;
  margin-bottom: 16px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #2d4678;
  font-weight: 600;
  font-size: 1.07rem;
  padding: 13px 0 13px 8px;
  border-radius: 8px 2.5px 8px 2.5px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f5c44a45;
  color: #2d4678;
}

@media (max-width: 1060px) {
  .container { max-width: 99vw; }
  .main-nav { flex-wrap: wrap; }
  .main-nav > a.cta-btn { margin-left:0; }
}
@media (max-width:900px) {
  .main-nav {
    gap: 0 15px;
    font-size: 0.96rem;
  }
}
@media (max-width:768px) {
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Show menu overlay when active */
.mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  background: rgba(45,70,120,0.13);
  z-index:1110;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.18s;
}
.mobile-menu.active + .mobile-menu-overlay {
  opacity:1;
  pointer-events: auto;
}

/* =============================
   FOOTER
=============================*/
footer {
  background: #2d4678;
  color: #fff;
  padding: 38px 0 24px 0;
  border-top: 4px solid #F5C44A;
}
footer span {
  color: white !important;
}
footer .content-wrapper {
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  align-items: flex-start;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #fff;
  transition: color 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F5C44A;
  text-decoration: underline;
}
.contact-info {
  font-size: 0.97rem;
  color: #e7eaf0;
  font-style: normal;
  font-family: 'Open Sans', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-info img {
  width: 18px;
  vertical-align: text-bottom;
  margin-right: 6px;
}
.social-icons {
  display: flex;
  gap: 18px;
  margin-top: 8px;
}
.social-icons img {
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 50%;
  padding: 4px;
  border: 2px solid #F5C44A;
  transition: filter 0.14s;
}
.social-icons img:hover,
.social-icons img:focus {
  filter: brightness(0.90) sepia(1) hue-rotate(-15deg);
}

/* =============================
   LISTS & SECTIONS
=============================*/
ul, ol {
  margin-bottom: 16px;
  padding-left: 26px;
}
ul li, ol li {
  margin-bottom: 12px;
  font-size:1.02rem;
  position: relative;
  padding-left: 20px;
  color: #213456;
  font-family: 'Open Sans', Arial, sans-serif;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 3px;
  background: #F5C44A;
  position: absolute;
  left: 0;
  top: 6px;
  clip-path: polygon(0 0,100% 24%,76% 100%,0 85%);
}
ol li::before {
  content: counter(li);
  color: #2d4678;
  font-weight: bold;
  margin-right: 8px;
}
/* Only for inside main content, avoid on navs */

/* Map placeholder and icon img fix */
.map-placeholder, .weather-widget {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  background: #DDEDF6;
  border: 1.5px solid #bdd9ec;
  border-radius: 12px;
  padding: 16px 22px;
  margin: 20px 0;
}
.weather-widget img {
  width: 48px; height: 48px;
}

.text-section {
  margin-bottom: 18px;
}

/* ==========================
   COOKIE CONSENT BANNER
==========================*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #2d4678;
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  z-index:11110;
  box-shadow: 0 -2px 18px rgba(54,86,144,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 22px 14px;
  opacity:1;
  transition: opacity 0.27s cubic-bezier(.3,.64,.36,1);
}
.cookie-banner.hide { opacity:0; pointer-events:none; }
.cookie-banner__text {
  flex: 1 1 60%;
  margin-right: 10px;
  color: #fff;
  font-size: 1rem;
  max-width: 690px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-banner__btn {
  padding: 10px 22px;
  border-radius: 18px 5px 18px 5px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: 0;
  background: #F5C44A;
  color: #2d4678;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
  margin-left: 0;
}
.cookie-banner__btn:focus,
.cookie-banner__btn:hover {
  background: #365690;
  color: #fff;
}
.cookie-banner__btn.settings {
  background: #fff;
  color: #2d4678;
  border: 1.5px solid #F5C44A;
}
.cookie-banner__btn.settings:hover,
.cookie-banner__btn.settings:focus {
  background: #F5C44A;
  color: #2d4678;
}

@media (max-width: 720px) {
  .cookie-banner { flex-direction: column; gap: 18px; padding:18px 6px; }
  .cookie-banner__text { max-width: 100%; margin-right: 0; }
  .cookie-banner__actions { gap:8px; justify-content: flex-start; }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; right:0; top: 0; bottom:0;
  background: rgba(54,86,144,0.16);
  z-index:11120;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity:0;
  pointer-events:none;
  transition: opacity 0.24s cubic-bezier(.47,.9,.42,1);
}
.cookie-modal.active {
  opacity:1; pointer-events:auto;
}
.cookie-modal__panel {
  background: #fff;
  border-radius: 18px 5px 18px 5px;
  box-shadow: 0 8px 52px rgba(54,86,144,0.16);
  padding: 32px 26px 24px 26px;
  max-width: 390px;
  min-width:260px;
  color: #2d4678;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal__close {
  position: absolute;
  right: 18px;
  top: 16px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #2d4678;
  cursor: pointer;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 18px;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #DDEDF6;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 1rem;
  border: 1px solid #bdd9ec;
}
.cookie-option input[type=checkbox],
.cookie-option input[type=radio] {
  accent-color: #365690;
  width: 18px; height: 18px;
  margin: 0 5px 0 0;
}
.cookie-option.essential {
  opacity: 0.6;
  pointer-events: none;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal__btn {
  padding: 8px 16px;
  border-radius: 15px 5px 15px 5px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: 0;
  background: #F5C44A;
  color: #2d4678;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.cookie-modal__btn:focus, .cookie-modal__btn:hover {
  background: #365690;
  color: #fff;
}

/* ============================
   OTHER INTERACTIVE ELEMENTS
============================*/
button, input[type=button], input[type=submit], input[type=reset] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 9px 2.5px 9px 2.5px;
  background: #F5C44A;
  color: #2d4678;
  padding: 9px 18px;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
button:hover, button:focus,
input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover,
input[type=button]:focus, input[type=submit]:focus, input[type=reset]:focus {
  background: #365690;
  color: #fff;
}


/* =============================
   STRUCTURED SPACING/MARGINS
=============================*/
main section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width:788px) {
  main section { padding:28px 7px; }
}
.card, .card-container > *, .content-grid > *, .feature-item, .testimonial-card, .section > * {
  margin-bottom: 20px;
}
.card-container, .content-grid {
  gap: 24px;
}
.text-image-section {
  gap: 30px;
}
.testimonial-card {
  gap: 20px;
  padding: 20px;
}
.feature-item {
  gap: 15px;
}

/* Prevent overlap */
.card, .card-container > *, .feature-item, .testimonial-card, .section > * {
  min-width: 0;
}

/* =============================
   RESPONSIVE DESIGN
=============================*/
@media (max-width:900px) {
  .container { padding: 0 4vw; }
  h1 { font-size:2.05rem; }
  h2 { font-size:1.18rem; }
}
@media (max-width:768px) {
  .container { padding-left: 8px; padding-right:8px; }
  .main-nav { font-size: 0.99rem; }
  main section, .section {
    padding:24px 4px;
    margin-bottom: 36px;
    border-radius: 10px;
  }
  .card, .feature-item {
    padding: 18px 12px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 17px 8px;
  }
  .card-container,
  .content-grid,
  .feature-item,
  .text-image-section {
    flex-direction: column !important;
    gap: 18px !important;
  }
  .footer-nav { flex-direction: column; gap: 8px; }
}
@media (max-width:495px) {
  h1 { font-size: 1.08rem; }
  .cta-btn { font-size: 0.98rem; padding:10px 12px; }
}

/* =============================
   MICRO-INTERACTIONS
=============================*/
.card, .cta-btn, .feature-item, .testimonial-card, .main-nav a, .mobile-nav a {
  transition: box-shadow 0.17s, background 0.15s, color 0.15s, transform 0.13s;
}
.card:hover,
.feature-item:hover,
.testimonial-card:hover {
  box-shadow: 0 7px 28px 0 rgba(54,86,144,0.16);
  transform: translateY(-2px) scale(1.012);
}
u
.main-nav > a.cta-btn {
  margin-left: auto;
}

/* =============================
   BASIC UTILITIES
=============================*/
.flex { display: flex; gap: 18px; align-items: center; }
.flex-col { flex-direction: column; }
.justify-between { justify-content: space-between; }
.space-between { justify-content: space-between; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }

.hide {
  display: none !important;
}

/* Accessibility: Focus Styles */
a:focus, button:focus, .cta-btn:focus {
  outline: 2.5px dashed #F5C44A;
  outline-offset: 3px;
}

/* =============================
   GEOMETRIC SHAPES DECORATION
=============================*/
.section::before {
  content: '';
  display: block;
  width: 48px;
  height: 8px;
  background: #F5C44A;
  border-radius: 12px 2.5px 12px 2.5px;
  margin-bottom: 18px;
}
.section:first-child::before { display: none; }

/* =============================
   PRINT
=============================*/
@media print {
  *, *::before, *::after { background: #fff !important; color: #000 !important; box-shadow:none !important; }
  .main-nav, .mobile-menu, .footer-nav, .social-icons, .cta-btn, .cookie-banner, .cookie-modal, .mobile-menu-toggle { display:none !important; }
  main, .container, .content-wrapper { padding: 0 !important; margin: 0 !important; }
}
/* =============================
End of CSS
=============================*/
