/* --- 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;
}

html {
  scroll-behavior: smooth;
}

body, html {
  min-height: 100vh;
  width: 100%;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #1A3365;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #1A3365;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #24C486;
  outline: none;
}
ul, ol {
  list-style: none;
}

/* --- BRAND FONTS (Google Fonts import) --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1A3365;
  font-weight: 700;
  letter-spacing: 0.01em;
}

h1 {
  font-size: 2.2rem;
  line-height: 1.15;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.5rem;
  line-height: 1.18;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 600;
}

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

/* --- GEOMETRIC STRUCTURED LAYOUTS --- */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 5px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: #F3F8FB;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(26, 51, 101, 0.07);
  padding: 24px 28px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(36, 196, 134, 0.13);
}

.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;
  background: #F3F8FB;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(36, 196, 134, 0.10);
  padding: 20px 26px;
  margin-bottom: 20px;
  min-width: 250px;
  border-left: 5px solid #24C486;
  transition: box-shadow 0.18s, border-left 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(36,196,134,0.18);
  border-left: 5px solid #1A3365;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #1A3365;
  margin-bottom: 3px;
}
.testimonial-card strong {
  font-size: 0.98rem;
  font-weight: 600;
  color: #24C486;
}

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

.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.map-static {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #F3F8FB;
  border-radius: 12px;
  padding: 18px;
  font-size: 1.1rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
  margin-top: 10px;
  color: #1A3365;
}
.contact-details img {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 10px;
}
.contact-details a {
  color: #1A3365;
  text-decoration: underline dotted #24C486;
  padding-bottom: 1px;
}
.contact-details a:hover {
  color: #24C486;
}

ul {
  padding-left: 0;
}
ul > li {
  margin-bottom: 18px;
}
ul > li:last-child {
  margin-bottom: 0;
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #24C486;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 14px 36px;
  box-shadow: 0 2px 10px rgba(36,196,134,0.12);
  letter-spacing: 0.025em;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 10px;
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #1A3365;
  color: #fff;
  box-shadow: 0 4px 22px rgba(26,51,101,0.14);
  transform: translateY(-2px) scale(1.04);
}

/* --- HEADER --- */
header {
  width: 100%;
  background: #fff;
  border-bottom: 3px solid #F3F8FB;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 60;
  height: 72px;
  box-shadow: 0 1px 8px rgba(26, 51, 101, 0.04);
}
header > a img {
  height: 44px;
  margin-right: 26px;
  margin-left: 4px;
  margin-top: 3px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 16px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #1A3365;
  padding: 8px 4px 8px 4px;
  border-radius: 6px;
  transition: background 0.14s, color 0.14s;
}
header nav a:hover, header nav a:focus {
  background: #F3F8FB;
  color: #24C486;
}
header .btn-primary {
  margin-left: auto;
}

/* Hamburger Menu Button */
.mobile-menu-toggle {
  display: none;
  background: #24C486;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 2.1rem;
  padding: 8px 16px;
  cursor: pointer;
  margin-left: 20px;
  transition: background 0.19s;
  z-index: 1002;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #1A3365;
  color: #fff;
}

/* --- MOBILE MENU STYLES --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #1A3365;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 40px 28px 28px;
  box-shadow: 2px 0 32px rgba(26,51,101,0.21);
  transform: translateX(-105vw);
  transition: transform 0.34s cubic-bezier(.77,.2,.05,1.0);
  z-index: 9999;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  margin-bottom: 18px;
  margin-right: -8px;
  transition: color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #24C486;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.22rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 6px;
  transition: background 0.14s, color 0.14s;
  min-width: 220px;
  width: 100%;
  display: flex;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #24C486;
  color: #1A3365;
}

@media (max-width: 1000px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  header .btn-primary {
    display: none;
  }
}

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

/* --- FOOTER --- */
footer {
  background: #F3F8FB;
  border-top: 3px solid #24C486;
  padding: 0;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 38px 18px 22px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  font-size: 0.97rem;
  color: #1A3365;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 3px 0;
  transition: color 0.14s;
}
footer nav a:hover {
  color: #24C486;
}
footer .container > div:first-child {
  min-width: 70px;
}

/* --- RESPONSIVE SECTIONS --- */
@media (max-width: 900px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 768px) {
  section {
    margin-bottom: 36px;
    padding: 26px 8px;
  }
  .card, .testimonial-card {
    padding: 15px 15px;
  }
  .map-static {
    padding: 12px;
    gap: 8px;
    font-size: 0.98rem;
  }
}
@media (max-width: 700px) {
  .container {
    max-width: 94vw;
  }
  footer .container, .card-container, .content-grid {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: stretch !important;
  }
  .map-static, .contact-details {
    font-size: 0.98rem;
  }
  h1 { font-size: 1.37rem; }
  h2 { font-size: 1.05rem; }
}
@media (max-width: 600px) {
  section {
    padding-left: 3px;
    padding-right: 3px;
  }
  .testimonial-card {
    padding: 10px 9px;
  }
}

@media (max-width: 900px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* --- GEOMETRIC VISUALS & CARD STYLES --- */
ul > li > img {
  width: 46px;
  height: 46px;
  margin-bottom: 5px;
}
ul > li > strong {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
}
ul > li > p {
  font-size: 1rem;
  margin-top: 4px;
  color: #1A3365;
}

ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 0;
}
ul > li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #F3F8FB;
  border-radius: 14px;
  padding: 18px 20px;
  min-width: 184px;
  box-shadow: 0 2px 10px rgba(26,51,101,0.06);
  flex: 1 1 220px;
  margin-bottom: 0 !important;
  border-left: 4px solid #24C486;
  transition: box-shadow 0.13s, border-left 0.13s;
}
ul > li:hover {
  box-shadow: 0 8px 24px rgba(36,196,134,0.13);
  border-left: 4px solid #1A3365;
}

@media (max-width: 1000px) {
  ul {
    flex-direction: column;
    gap: 13px;
  }
  ul > li {
    min-width: 130px;
    padding: 11px 12px;
    font-size: 0.96rem;
  }
}

/* Geometric accents */
.card:before, .testimonial-card:before, ul > li:before {
  content: '';
  display: none;
}
/* You could add geometric decorative shapes here with ::before if needed */

/* --- MICRO-INTERACTIONS --- */
.btn-primary,
header nav a,
.card,
ul > li,
.testimonial-card,
.mobile-nav a,
.mobile-menu-toggle,
.mobile-menu-close {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.18s, transform 0.13s;
}

/* Hide overflow on x for body (prevent menu scroll) */
body.mobile-menu-open {
  overflow: hidden;
  position: relative;
}

/* -- COOKIE BANNER -- */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  max-width: 100%;
  background: #1A3365;
  color: #fff;
  padding: 18px 26px 18px 18px;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -2px 12px rgba(26,51,101,0.17);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 8888;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(.7,.25,.3,.9), opacity 0.33s;
  font-size: 1rem;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.cookie-banner p {
  color: #fff;
  max-width: 540px;
  margin: 0;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #24C486;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 7px 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-left: 4px;
  transition: background 0.13s, color 0.13s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #F3F8FB;
  color: #1A3365;
}
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: #1A3365;
  border: 1.5px solid #24C486;
  margin-left: 4px;
}
.cookie-banner .cookie-settings-btn:hover {
  background: #24C486;
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 7px 11px 7px;
    gap: 8px;
    font-size: 0.95rem;
  }
  .cookie-banner .cookie-actions {
    gap: 6px;
    flex-wrap: wrap;
  }
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(26,51,101,0.50);
  z-index: 9001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.40s cubic-bezier(.71,.23,.29,.78);
}
.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  color: #1A3365;
  min-width: 320px;
  max-width: 95vw;
  border-radius: 20px;
  box-shadow: 0 2px 40px rgba(26,51,101,0.22);
  padding: 38px 28px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 21px;
  font-size: 1.04rem;
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
}
.cookie-modal h2 {
  font-size: 1.17rem;
  margin-bottom: 5px;
  color: #24C486;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  color: #1A3365;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.cookie-modal .categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 8px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 13px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  margin-bottom: 7px;
}
.cookie-modal input[type=checkbox] {
  width: 22px; height: 22px;
  border-radius: 5px;
  accent-color: #24C486;
  border: 2px solid #1A3365;
}
.cookie-modal .cookie-toggle[disabled] + span {
  opacity: 0.4;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row-reverse;
  gap: 13px;
  margin-top: 11px;
}
.cookie-modal button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #24C486;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 23px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #1A3365;
}
.cookie-modal .modal-actions .close-btn {
  background: #fff;
  color: #1A3365;
  border: 1.5px solid #24C486;
}
.cookie-modal .modal-actions .close-btn:hover {
  background: #24C486;
  color: #fff;
}

@media (max-width: 500px) {
  .cookie-modal {
    padding: 18px 7px 14px 7px;
    min-width: 0;
  }
}

/* --- GEOMETRIC STRUCTURED EFFECTS: SHADOWS, BORDERS, SPACING --- */
.card, .testimonial-card, ul > li, .map-static {
  box-shadow: 0 2px 18px rgba(36, 196, 134, 0.05);
}

/* --- TABLE OF CONTENTS, CATEGORIES, TAG STYLES --- */
ul li:before, ul.categories li:before {
  display: none !important;
}
.categories li {
  display: inline-block;
  background: #F3F8FB;
  color: #1A3365;
  border-radius: 7px;
  padding: 6px 16px;
  margin-right: 10px;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.categories li:hover {
  background: #24C486;
  color: #fff;
}

/* --- FORMS --- */
input, textarea, select {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  border: 1.6px solid #F3F8FB;
  padding: 11px 14px;
  background: #fff;
  margin-bottom: 16px;
  width: 100%;
  transition: border 0.15s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  border: 1.6px solid #24C486;
  outline: none;
  box-shadow: 0 2px 10px rgba(36,196,134,0.07);
}

/* --- SPECIALS: MAP, INFOGRAPHIC --- */
.map-static {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  color: #1A3365;
}
.map-static span {
  font-weight: 500;
  margin-left: 8px;
}

/* --- SECTION CTA STYLE --- */
section .btn-primary {
  margin-top: 11px;
}

/* Ensure >20px margin between all content cards/sections */
section + section {
  margin-top: 35px;
}
.card + .card,
.testimonial-card + .testimonial-card,
ul > li + li {
  margin-top: 20px !important;
}

/* --- SPECIAL OVERRIDES FOR PAGE-LEVEL STYLES --- */
section > .container > h2,
section > .container > h1 {
  margin-bottom: 18px;
}

.text-section h2, .text-section h3 {
  margin-top: 16px;
  margin-bottom: 7px;
}

.text-section ul {
  margin-top: 10px;
  margin-left: 0;
  gap: 0;
}

/* --- STAR ICONS in TESTIMONIALS --- */
.testimonial-card img {
  width: 24px;
  height: 24px;
  display: inline-block;
  margin-right: 2px;
  vertical-align: middle;
}

/* --- THANK YOU PAGE --- */
.text-section a.btn-primary {
  margin-top: 18px;
  margin-bottom: 0;
}

/* --- SELECTION COLOR --- */
::selection {
  background: #24C486;
  color: #fff;
}

/* --- SCROLLBAR STYLE --- */
body::-webkit-scrollbar {
  width: 8px;
  background: #F3F8FB;
}
body::-webkit-scrollbar-thumb {
  background: #24C486;
  border-radius: 10px;
}

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