/* =========================
   CSS RESET & NORMALIZATION
   ========================= */
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, main, 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;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: linear-gradient(135deg, #f4f7fa 0%, #e8eef3 100%);
  font-family: 'Roboto', Arial, sans-serif;
  color: #1a2633;
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #23436c;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #84a98c;
}
ul,ol {
  margin-left: 24px;
}
ul {
  list-style-type: disc;
}
ol {
  list-style-type: decimal;
}
strong, b {
  font-weight: bold;
}

/* ====================
   TYPOGRAPHY & COLORS
   ==================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #23436c;
  line-height: 1.15;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-weight: 600;
}
h4 {
  font-size: 1.125rem;
}
p {
  margin-bottom: 16px;
}

@media (min-width: 800px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.4rem; }
}

/* ====================
   SPACING & LAYOUT
   ==================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.feature-grid,
.testimonials,
.card-container,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 16px;
}
.text-image-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 24px 24px 18px 24px;
  box-shadow: 0 4px 24px rgba(35,67,108,0.08);
  max-width: 340px;
  min-width: 220px;
  flex: 1 1 280px;
  margin-bottom: 20px;
  border: 1px solid #e0e7ef;
}
.testimonial-card p {
  color: #222c37;
  font-size: 1.08rem;
  margin-bottom: 6px;
  font-weight: 500;
}
.testimonial-card span {
  color: #23436c;
  font-size: 0.98rem;
  font-weight: 500;
  opacity: 0.85;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(35, 67, 108, 0.07);
  padding: 30px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid #edf3fa;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 280px;
  margin-bottom: 12px;
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 20px;
}

@media (max-width: 900px) {
  .feature-grid, .content-grid, .card-container, .testimonials {
    gap: 16px;
  }
  .testimonial-card {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }

  .content-wrapper, .feature-grid, .testimonials, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section, .contact-info {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 30px 6px;
    margin-bottom: 36px;
  }
}

/* ================
   HEADER & NAVIGATION
   ================ */
header {
  background: #f4f7fa;
  box-shadow: 0 2px 8px rgba(35,67,108,0.05);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 65;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 0 16px;
  min-height: 74px;
  background: transparent;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 14px;
  color: #27436c;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover,
header nav a:focus {
  background: #edf6f3;
  color: #1d314c;
}
.cta-primary {
  background: linear-gradient(90deg, #23436c 60%, #84a98c 100%);
  color: #fff !important;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(35,67,108,0.08);
  border-radius: 24px;
  padding: 3px 3px;
  margin-left: 10px;
  transition: background 0.25s, transform 0.15s;
  position: relative;
  z-index: 1;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #84a98c 60%, #23436c 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

header nav img {
  height: 44px;
  margin-right: 18px;
  vertical-align: middle;
}

/* ================
   MOBILE MENU
   ================ */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #23436c;
  padding: 8px 12px;
  cursor: pointer;
  z-index: 120;
}
.mobile-menu {
  display: none;
}

@media (max-width: 1024px) {
  header nav {
    gap: 8px;
  }
  header nav a {
    padding: 7px 10px;
    font-size: 0.96rem;
  }
}
@media (max-width: 850px) {
  header nav a:not(:first-child) {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 18px;
    right: 18px;
  }
}
@media (max-width: 850px) {
  .mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #f4f7fa;
    box-shadow: 0 0 32px 4px rgba(35,67,108,0.10);
    z-index: 200;
    transform: translateX(-110%);
    transition: transform 0.35s cubic-bezier(0.77,0,0.175,1);
    overflow-y: auto;
  }
  .mobile-menu.open {
    transform: translateX(0);
  }
  .mobile-menu-close {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #23436c;
    margin: 24px 24px 0 0;
    cursor: pointer;
    transition: color 0.18s;
  }
  .mobile-menu-close:hover,
  .mobile-menu-close:focus {
    color: #84a98c;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    margin-top: 20px;
  }
  .mobile-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.18rem;
    padding: 16px 38px 16px 30px;
    border-radius: 0;
    color: #23436c;
    width: 100%;
    border-left: 4px solid transparent;
    transition: background 0.1s, border-color 0.16s, color 0.18s;
  }
  .mobile-nav a:hover, .mobile-nav a:focus {
    background: #e0e7ef;
    color: #84a98c;
    border-left: 4px solid #84a98c;
  }
}

/* Prevent scrolling when mobile menu open */
body.menu-open {
  overflow: hidden;
}

/* ===================
   HERO & HEADERS
   =================== */
section:first-of-type {
  background: linear-gradient(135deg, #23436c 0%, #84a98c 120%);
  color: #fff;
}
section:first-of-type h1,
section:first-of-type h2,
section:first-of-type p {
  color: #fff;
}
section:first-of-type .cta-primary {
  background: linear-gradient(90deg, #fff 60%, #84a98c 100%);
  color: #23436c !important;
}
section:first-of-type .cta-primary:hover {
  background: linear-gradient(90deg, #84a98c 60%, #fff 100%);
  color: #23436c !important;
}

/* ================
   FEATURES & CARDS
   ================ */
.feature {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(35,67,108,0.04);
  padding: 28px 20px 20px 20px;
  flex: 1 1 220px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  border: 1px solid #e8eef3;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature img {
  height: 40px;
  width: 40px;
  margin-bottom: 10px;
  filter: drop-shadow(0px 1px 2px rgba(35,67,108,0.08));
}
.feature h3 {
  font-size: 1.12rem;
  color: #23436c;
}
.feature:hover,
.feature:focus-within {
  box-shadow: 0 4px 22px rgba(35,67,108,0.12);
  transform: translateY(-2px) scale(1.02);
}

.service {
  background: #f4f7fa;
  border-radius: 12px;
  box-shadow: 0 1.5px 6px rgba(132,169,140,0.08);
  flex: 1 1 220px;
  min-width: 180px;
  padding: 24px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  border: 1px solid #e8eef3;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.17s;
}
.service img {
  height: 34px;
  width: 34px;
  margin-bottom: 10px;
  filter: drop-shadow(0px 1px 2px rgba(35,67,108,0.08));
}
.service h3 {
  color: #23436c;
  font-size: 1.05rem;
}
.service:hover {
  box-shadow: 0 3px 20px rgba(35,67,108,0.09);
  transform: translateY(-2px) scale(1.017);
}

/* ================
   FOOTER
   ================ */
footer {
  padding: 50px 0 15px 0;
  background: #23436c;
  color: #fff;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 8px;
}
footer nav a {
  color: #e4eef8;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 400;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.16s, color 0.15s;
}
footer nav a:hover,
footer nav a:focus {
  background: #84a98c;
  color: #23436c;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 8px;
  font-size: 0.98rem;
  opacity: 0.89;
}
.footer-legal a {
  color: #C2E5C4;
  padding: 3px 6px;
}
.footer-social {
  display: flex;
  gap: 18px;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  opacity: 0.88;
  transition: opacity 0.18s, filter 0.18s;
}
.footer-social a:hover img {
  filter: brightness(1.18) drop-shadow(1px 1px 5px #fff2);
  opacity: 1;
}
.footer-copyright {
  margin-top: 8px;
  font-size: 0.92rem;
  color: #dbe6f2;
  opacity: 0.80;
}
@media (max-width: 600px) {
  footer .container,
  footer nav, .footer-legal, .footer-social {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===============
   COOKIE CONSENT
   =============== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 3000;
  background: #23436c;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  width: 100vw;
  padding: 24px 10px 18px 10px;
  box-shadow: 0 -2px 16px rgba(35,67,108,.13);
  font-size: 0.98rem;
  animation: cookie-slide-in 0.7s cubic-bezier(0.7,0,.22,1) 1;
  will-change: transform,opacity;
}
@keyframes cookie-slide-in {
  from { opacity: 0; transform: translateY(12vh); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  margin-bottom: 0;
  color: #fff;
  text-align: center;
  max-width: 520px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 5px;
}
.cookie-banner button {
  background: #fff;
  color: #23436c;
  border: none;
  border-radius: 20px;
  padding: 7px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 1px 6px #0f314a18;
  margin: 0 3px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.17s;
}
.cookie-banner .cookie-btn-accept {
  background: linear-gradient(90deg, #84a98c 60%, #23436c 100%);
  color: #fff;
}
.cookie-banner .cookie-btn-accept:hover { background: #23436c; color: #fff; }
.cookie-banner .cookie-btn-reject {
  background: #e0e7ef;
  color: #23436c;
}
.cookie-banner .cookie-btn-reject:hover { background: #84a98c; color: #fff; }
.cookie-banner .cookie-btn-settings {
  background: #23436c;
  color: #fff;
  border: 1px solid #84a98c;
  box-shadow: 0 0 0 0;
}
.cookie-banner .cookie-btn-settings:hover { background: #84a98c; color: #23436c; }

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right:0; bottom:0;
  width: 100vw; height:100vh;
  background: rgba(35, 67, 108, 0.28);
  z-index: 3999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in 0.4s cubic-bezier(0.7,0,.22,1);
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  max-width: 375px;
  width: 95vw;
  border-radius: 18px;
  box-shadow: 0 4px 24px #23436c21;
  padding: 32px 22px 22px 22px;
  color: #23436c;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-content h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 500;
  color: #23436c;
}
.cookie-modal-content .modal-btns {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #23436c;
  font-size: 2rem;
  position: absolute;
  top: 9px; right: 17px;
  cursor: pointer;
  z-index: 4001;
  opacity: 0.7;
  transition: color 0.17s, opacity 0.17s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #84a98c;
  opacity: 1;
}
/* Toggle Switch */
.cookie-switch {
  width: 34px;
  height: 18px;
  position: relative;
  display: inline-block;
}
.cookie-switch input {
  display: none;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  background: #e0e7ef;
  border-radius: 999px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background 0.2s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #84a98c;
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 2px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(14px);
}

/* ==================
   MISC / GEN. THEME
   ================== */
::-webkit-scrollbar {
  width: 10px;
  background: #e0e7ef;
}
::-webkit-scrollbar-thumb {
  background: #c2d5e5;
  border-radius: 6px;
}

main {
  min-height: 600px;
}

blockquote {
  background: #e8eef3;
  border-left: 6px solid #23436c;
  margin: 18px 0 18px 0;
  padding: 16px 22px;
  font-size: 1.13rem;
  border-radius: 6px;
}

dt {
  font-weight: 600;
  color: #23436c;
  margin-top: 12px;
}
dd {
  margin-bottom: 8px;
  margin-left: 0;
  color: #222c37;
}

/* List Gaps */
ul, ol {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
@media (max-width: 700px) {
  h1 {font-size: 2rem;}
  h2 {font-size: 1.3rem;}
  h3 {font-size: 1.08rem;}
  .testimonial-card, .card, .feature, .service {
    min-width: 0;
    width: 100%;
    max-width: none;
    padding-left: 6vw;
    padding-right: 6vw;
  }
}

/* ==================
    ANIMATIONS & INTERACTIONS
   ================== */
button, .cta-primary {
  transition: background 0.16s, color 0.16s, box-shadow 0.14s, transform 0.16s;
  outline: none;
}
button:active, .cta-primary:active {
  box-shadow: 0 1px 4px #23436c29;
  transform: scale(0.97);
}

/* Utility classes */
.text-center {
  text-align: center !important;
}

/* For cards in about/team */
.leadership-message {
  background: #e8eef3;
  border-radius: 10px;
  padding: 16px 20px;
  margin-top: 18px;
  font-style: italic;
  font-size: 1.015rem;
  color: #273b54;
  box-shadow: 0 2px 8px #c2d5e53c;
}
.leadership-message span {
  display: block;
  color: #23436c;
  font-style: normal;
  margin-top: 7px;
  font-weight: 600;
}

/* Prevent image overflowing */
.feature img, .service img, .footer-social img {
  pointer-events: none;
  user-select: none;
}

/* Accessibility & focus */
a:focus, button:focus, .cta-primary:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2px solid #84a98c;
  outline-offset: 2px;
}

/* ====================
   FORM (if any visible)
   ==================== */
input, textarea, select {
  font: inherit;
  padding: 9px 11px;
  border-radius: 6px;
  border: 1px solid #c2d5e5;
  background: #fff;
  margin-bottom: 14px;
  width: 100%;
  transition: border 0.12s, box-shadow 0.13s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #84a98c;
  box-shadow: 0 1px 8px #84a98c22;
}
button {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
}

/* ================
   RESPONSIVE & MISC
   ================ */
@media (max-width: 510px) {
  .feature, .service, .testimonial-card, .card {
    padding-left: 2vw; padding-right: 2vw;
    border-radius: 9px;
  }
  .cookie-modal-content {
    padding: 17px 8px 14px 8px;
    border-radius: 12px;
  }
}

/* End */
