/* ===================================================================
   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,
tu, 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 {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F1F4F8;
  color: #13314c;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-smooth: always;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #305679;
  text-decoration: none;
  transition: color 0.25s cubic-bezier(0.4,0,0.2,1);
}
a:hover, a:focus {
  color: #4EB88A;
  outline: none;
}
ul, ol {
  list-style-position: inside;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ===================================================================
   TYPOGRAPHY (Modern Bold)
===================================================================*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #223B56;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 { font-size: 2.75rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4 { font-size: 1.05rem; margin-bottom: 8px; }
.text-section h2,
.text-section h3,
.text-section h4,
.text-section h5,
.text-section h6 {
  margin-top: 28px;
  margin-bottom: 12px;
}
p, ul, ol, blockquote {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
  color: #304050;
}
strong { font-weight: 700; }

/* ===================================================================
   CONTAINER AND LAYOUT
===================================================================*/
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 32px rgba(48,86,121,0.04), 0 1.5px 8px rgba(48,86,121,0.09);
}
@media (max-width: 1000px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 24px 8px;
  }
}

/* ===================================================================
   HEADER & NAVIGATION (Desktop & Mobile)
===================================================================*/
header {
  background: #305679;
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  border-radius: 7px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover,
header nav a:focus {
  background: #4EB88A;
  color: #222;
}
header .btn-primary {
  margin-left: 32px;
}
header .mobile-menu-toggle {
  background: #4EB88A;
  color: #223B56;
  border-radius: 50%;
  padding: 10px 13px;
  margin-left: 20px;
  font-size: 1.7rem;
  line-height: 1;
  box-shadow: 0 2px 12px rgba(78,184,138,0.11);
  display: none;
  transition: background 0.18s, color 0.18s;
  z-index: 52;
}
header .mobile-menu-toggle:focus,
header .mobile-menu-toggle:hover {
  background: #fff;
  color: #305679;
}
header .container > a > img {
  display: block;
  height: 42px;
  width: auto;
  margin-right: 32px;
}
@media (max-width: 1024px) {
  header nav {
    gap: 14px;
  }
  header .btn-primary {
    margin-left: 16px;
  }
}
@media (max-width: 880px) {
  header nav {
    display: none;
  }
  header .btn-primary {
    display: none;
  }
  header .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 540px) {
  header .container > a > img {
    height: 35px;
    margin-right: 8px;
  }
}

/* ===================================================================
   MOBILE MENU (OFFCANVAS)
===================================================================*/
.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: #223B56;
  color: #fff;
  z-index: 1003;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 0 0 0;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.5,1.6,.6,.9), opacity 0.25s cubic-bezier(.55,0.2,0.1,1);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 22px 0 0;
  font-size: 2.1rem;
  color: #fff;
  background: none;
  border: none;
  z-index: 1102;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #4EB88A;
}
.mobile-menu nav.mobile-nav {
  width: 100vw;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 30px;
}
.mobile-menu nav.mobile-nav a {
  padding: 18px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.23s, color 0.18s;
  border-radius: 0;
}
.mobile-menu nav.mobile-nav a:active,
.mobile-menu nav.mobile-nav a:focus,
.mobile-menu nav.mobile-nav a:hover {
  background: #4EB88A;
  color: #223B56;
}

@media (min-width: 881px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===================================================================
   HERO SECTIONS & SECTION LAYOUT
===================================================================*/
.hero {
  min-height: 320px;
  width: 100%;
  background: #305679;
  color: #fff;
  border-bottom-right-radius: 65px;
  border-bottom-left-radius: 65px;
  position: relative;
  box-shadow: 0 2px 33px rgba(48,86,121,0.11);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
}
.hero .container {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  padding-top: 30px;
  padding-bottom: 30px;
}
.hero .content-wrapper {
  color: #fff;
  max-width: 780px;
  gap: 18px;
}
.hero h1, .hero h2, .hero h3 {
  color: #fff;
}
.hero p {
  color: #e8f5fb;
  font-size: 1.15rem;
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  .hero {
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
    margin-bottom: 34px;
    min-height: 180px;
    padding: 10px 0 50px 0;
  }
}

/* ===================================================================
   FEATURE GRIDS, CARDS, FLEX LAYOUTS
===================================================================*/
.feature-grid, .service-grid, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0 0;
}
.feature-grid > div, .service-grid > div, .card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 15px rgba(48,86,121,0.09);
  padding: 32px 20px 26px 20px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 260px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.23s, transform 0.25s;
}
.feature-grid > div:hover,
.service-grid > div:hover,
.card:hover {
  box-shadow: 0 7px 28px rgba(48,86,121,0.18);
  transform: translateY(-3px) scale(1.012);
}
.feature-grid img, .service-grid img {
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
}
.card {
  /* Inherit basic styling above */
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.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-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-list, .blog-post-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 16px;
}

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

@media (max-width: 900px) {
  .feature-grid > div, .service-grid > div, .card {
    min-width: 90%;
    flex-basis: 100%;
  }
}
@media (max-width: 768px) {
  .feature-grid, .service-grid, .card-container, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* ===================================================================
   TESTIMONIALS & BLOCKQUOTES
===================================================================*/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F1F4F8;
  border-radius: 15px;
  box-shadow: 0 3px 12px rgba(48,86,121,0.03);
  margin-bottom: 24px;
  min-width: 0;
  max-width: 710px;
  border-left: 7px solid #4EB88A;
}
.testimonial-card img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  padding: 5px;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 1.09rem;
  color: #1D3557;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
}
.testimonial-card blockquote span {
  display: block;
  color: #305679;
  font-size: 0.98rem;
  font-weight: 700;
  margin-top: 6px;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 10px;
    gap: 10px;
  }
  .testimonial-card img {
    width: 40px;
    height: 40px;
  }
  .testimonial-card blockquote {
    font-size: 0.99rem;
  }
}

/* ===================================================================
   BUTTONS & INTERACTIONS
===================================================================*/
.btn-primary, a.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  background: #4EB88A;
  border: none;
  outline: none;
  border-radius: 14px;
  padding: 14px 32px;
  margin-top: 10px;
  box-shadow: 0 6px 16px rgba(78,184,138,0.15);
  transition: background 0.18s, color 0.18s, box-shadow 0.22s, transform 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary:focus,
.btn-primary:hover,
a.btn-primary:hover,
a.btn-primary:focus {
  background: #305679;
  color: #fff;
  box-shadow: 0 10px 24px rgba(48,86,121,0.12);
  transform: scale(1.03);
  outline: none;
}

/* ===================================================================
   FOOTER
===================================================================*/
footer {
  background: #223B56;
  padding: 32px 0 0 0;
  color: #fff;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
  margin-top: 62px;
}
footer .container {
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 36px;
  flex-wrap: wrap;
  padding-bottom: 18px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  transition: color 0.19s;
  padding: 0 0 0 0;
  border-radius: 0;
}
footer nav a:hover { color: #4EB88A; }
footer img {
  height: 36px;
  margin-bottom: 12px;
}
footer .text-section p {
  color: #F1F4F8;
  font-size: 0.98rem;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  footer {
    border-top-left-radius: 26px;
    border-top-right-radius: 26px;
    margin-top: 36px;
    padding-top: 18px;
  }
  footer img {
    height: 26px;
    margin-bottom: 8px;
  }
}

/* ===================================================================
   BLOG LIST & CATEGORY BADGES
===================================================================*/
.blog-post-list {
  margin-top: 18px;
}
.blog-post-list li {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2.5px 10px rgba(48,86,121,0.07);
  padding: 18px 22px;
  margin-bottom: 18px;
  transition: box-shadow 0.18s, transform 0.12s;
}
.blog-post-list li:hover {
  box-shadow: 0 8px 20px rgba(48,86,121,0.15);
  transform: translateY(-2px) scale(1.01);
}
.blog-categories {
  margin-top: 22px;
  color: #305679;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.03rem;
}
.blog-categories span {
  display: inline-block;
  background: #4EB88A;
  color: #fff;
  border-radius: 8px;
  padding: 2px 10px;
  margin: 0 4px;
  font-size: 0.93rem;
}

/* ===================================================================
   UTILITY & GEOMETRIC SHAPES
===================================================================*/
.geoshape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

/* ===================================================================
   COOKIE BANNER & MODAL
===================================================================*/
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  width: 100vw;
  z-index: 1300;
  background: #1D3557;
  color: #fff;
  padding: 24px 16px;
  box-shadow: 0 -2px 20px rgba(48,86,121,0.21);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  font-size: 1rem;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  opacity: 1;
  transition: opacity 0.33s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  outline: none;
  padding: 11px 18px;
  background: #fff;
  color: #305679;
  transition: background 0.14s, color 0.16s;
  font-size: 0.99rem;
  box-shadow: 0 2.5px 10px rgba(48,86,121,0.06);
  margin: 0;
}
.cookie-banner button.accept {
  background: #4EB88A;
  color: #fff;
}
.cookie-banner button.accept:hover,
.cookie-banner button.accept:focus {
  background: #305679;
  color: #fff;
}
.cookie-banner button.reject {
  background: #F1F4F8;
  color: #305679;
}
.cookie-banner button.reject:hover,
.cookie-banner button.reject:focus {
  background: #ececec;
  color: #223B56;
}
.cookie-banner button.settings {
  background: #fff;
  color: #305679;
  border: 2px solid #4EB88A;
  font-weight: 800;
  padding: 11px 18px;
}
.cookie-banner button.settings:hover,
.cookie-banner button.settings:focus {
  background: #4EB88A;
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 0.92rem;
    padding: 14px 7px;
  }
  .cookie-banner .cookie-actions {
    gap: 9px;
  }
}

/* Cookie Modal */
#cookie-modal {
  position: fixed;
  z-index: 1350;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 29, 41, 0.77);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.29s;
}
#cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal__content {
  background: #fff;
  color: #223B56;
  padding: 38px 26px 28px 26px;
  border-radius: 22px;
  box-shadow: 0 8px 36px rgba(48,86,121,0.17);
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
}
.cookie-modal__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.cookie-modal__header h3 {
  font-size: 1.16rem;
  color: #305679;
}
.cookie-modal__close {
  background: none;
  border: none;
  font-size: 1.65rem;
  color: #305679;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: #4EB88A;
}
.cookie-preference-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 11px;
  margin-top: 3px;
}
.cookie-preference-group input[type='checkbox'] {
  appearance: none;
  border-radius: 7px;
  background: #F1F4F8;
  border: 2px solid #305679;
  width: 32px;
  height: 18px;
  position: relative;
  transition: background 0.21s, border 0.18s;
  cursor: pointer;
}
.cookie-preference-group input[type='checkbox']:checked {
  background: #4EB88A;
  border-color: #4EB88A;
}
.cookie-preference-group label {
  font-weight: 600;
  color: #223B56;
}
.cookie-preference-group .cookie-essential {
  background: #4EB88A;
  color: #fff;
  border: none;
  font-size: 0.93rem;
  padding: 4px 8px;
  border-radius: 5px;
  font-weight: 700;
  margin-left: 12px;
}
.cookie-modal__actions {
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: right;
}
.cookie-modal__actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  outline: none;
  padding: 11px 18px;
  font-size: 0.95rem;
  box-shadow: 0 2.5px 10px rgba(48,86,121,0.10);
  margin: 0;
}
.cookie-modal__actions .accept {
  background: #4EB88A;
  color: #fff;
}
.cookie-modal__actions .reject {
  background: #F1F4F8;
  color: #305679;
}
.cookie-modal__actions .settings {
  background: #fff;
  color: #305679;
  border: 2px solid #4EB88A;
  font-weight: 800;
  padding: 11px 18px;
}
.cookie-modal__actions .accept:hover,
.cookie-modal__actions .accept:focus {
  background: #305679;
}
.cookie-modal__actions .reject:hover {
  background: #ececec;
  color: #223B56;
}

@media (max-width: 500px) {
  .cookie-modal__content {
    padding: 16px 6px 14px 8px;
    min-width: unset;
    max-width: 98vw;
  }
}

/* ===================================================================
   RESPONSIVE UTILITIES: section heading, spacing, flex
===================================================================*/
@media (max-width: 700px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
  .feature-grid, .service-grid, .card-container {
    gap: 14px;
  }
}
@media (max-width: 420px) {
  h1 { font-size: 1.43rem; }
  h2 { font-size: 1nerem; }
  .hero {
    border-bottom-right-radius: 11px;
    border-bottom-left-radius: 11px;
    min-height: 90px;
  }
}

/* ===================================================================
   FORM FIELDS (For possible newsletter & contact forms)
===================================================================*/
input, select, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 11px 12px;
  border: 2px solid #305679;
  border-radius: 8px;
  font-size: 1rem;
  background: #fff;
  color: #1D3557;
  margin-bottom: 18px;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: #4EB88A;
  outline: none;
}

/* ===================================================================
   MISC: Accessibility & Selection
===================================================================*/
::selection {
  background: #4EB88A;
  color: #fff;
}

/* ===================================================================
   END OF CSS
===================================================================*/
