/* === 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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  background: #F7F9FA;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1A252F;
  background: #F7F9FA;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.7;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
ul, ol {
  list-style: none;
}
a {
  color: #164A68;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #35A7A7;
  outline: none;
}

/* === BRAND FONT FAMILIES === */
h1, h2, h3, h4, h5, h6, .logo {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #164A68;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #164A68;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 500;
  color: #164A68;
  margin-bottom: 8px;
}
h4, h5, h6 {
  font-weight: 500;
}
p, address {
  font-size: 1rem;
  margin-bottom: 14px;
}
strong {
  font-weight: bold;
}

/* === LAYOUT STRUCTURE & CONTAINERS === */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
@media (max-width: 768px) {
  .text-section {
    max-width: 100%;
    margin: 0;
  }
}

/* === HEADER === */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 8px rgba(22,74,104,0.06);
  position: relative;
  z-index: 30;
}
header .container {
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
}
.logo img {
  display: block;
  height: 40px;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #164A68;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom-color 0.18s;
}
.main-nav a:hover,
.main-nav a:active {
  color: #35A7A7;
  border-bottom: 2px solid #35A7A7;
}
.cta-btn {
  display: inline-block;
  background: #35A7A7;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: bold;
  letter-spacing: 0.02em;
  border-radius: 32px;
  padding: 12px 28px;
  box-shadow: 0 2px 8px rgba(22,74,104,0.08);
  border: none;
  outline: none;
  cursor: pointer;
  text-align: center;
  margin-left: 10px;
  transition: background 0.18s, box-shadow 0.2s, color 0.16s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #164A68;
  color: #fff;
  box-shadow: 0 4px 16px rgba(53,167,167,0.12);
}

@media (max-width: 992px) {
  header .container {
    gap: 12px;
  }
  .main-nav {
    gap: 12px;
  }
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #164A68;
  cursor: pointer;
  margin-left: 12px;
  z-index: 65;
  transition: color 0.18s;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.mobile-menu-toggle:focus {
  color: #35A7A7;
  outline: 2px solid #35A7A7;
}
@media (max-width: 900px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 24px rgba(22,74,104,0.14);
  z-index: 80;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.88,.13,.41,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 26px 24px 26px;
  gap: 18px;
  overscroll-behavior-y: contain;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #164A68;
  font-size: 2rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 8px;
  z-index: 99;
  transition: color 0.18s;
}
.mobile-menu-close:focus {
  color: #35A7A7;
  outline: 2px solid #35A7A7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 12px;
}
.mobile-nav a {
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #164A68;
  padding: 12px 0;
  border-radius: 7px;
  transition: background 0.15s, color 0.18s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F7F9FA;
  color: #35A7A7;
}

@media (max-width: 480px) {
  .mobile-menu {
    width: 100vw;
    padding: 18px 12px 20px 12px;
  }
}

/* Mobile menu overlay darkens background when open */
.mobile-menu-backdrop {
  display: none;
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 70;
  background: rgba(22,74,104,0.14);
  transition: opacity 0.25s;
  opacity: 0;
}
.mobile-menu.open ~ .mobile-menu-backdrop {
  display: block;
  opacity: 1;
}

/* === HERO & PAGE SECTIONS === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 14px;
  box-sizing: border-box;
  box-shadow: none;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 36px;
    padding: 22px 4px;
    border-radius: 0;
  }
}

/* === FLEX MODULAR LAYOUTS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 22px rgba(22,74,104,0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 260px;
  flex: 1 1 320px;
  transition: box-shadow 0.2s, transform 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(53,167,167,0.13);
  transform: translateY(-2px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}

/* === FEATURE ITEMS === */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === TESTIMONIAL CARDS === */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(22,74,104,0.07);
  margin-bottom: 20px;
  position: relative;
  font-size: 1.13rem;
  color: #1A252F;
  min-width: 260px;
  max-width: 700px;
  transition: box-shadow 0.19s, transform 0.15s;
  flex-direction: column;
  align-items: flex-start;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 12px 40px rgba(53,167,167,0.14);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card p {
  color: #1A252F;
  font-style: italic;
}
@media (max-width: 600px) {
  .testimonial-card {
    padding: 14px 8px;
    font-size: 1rem;
  }
}


/* === TEAM MEMBER CARDS === */
.team-member-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 22px rgba(22,74,104,0.06);
  margin-bottom: 20px;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 360px;
  min-width: 200px;
  transition: box-shadow 0.18s, transform 0.14s;
}
.team-member-card:hover, .team-member-card:focus-within {
  box-shadow: 0 8px 32px rgba(53,167,167,0.13);
  transform: translateY(-2px) scale(1.01);
}

/* === ADDRESS AND CONTACT === */
address {
  font-style: normal;
  color: #164A68;
  font-size: 1rem;
  margin-bottom: 8px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* === LISTS WITH ICONS === */
section ul > li img,
.feature-item img {
  height: 26px;
  width: 26px;
  margin-right: 12px;
  vertical-align: middle;
}
section ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 12px 0 0 0;
}
section ul > li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.06rem;
}

/* === FOOTER === */
footer {
  width: 100%;
  background: #fff;
  color: #164A68;
  border-top: 1px solid #E6EEF2;
  padding-top: 15px;
  padding-bottom: 15px;
  margin-top: 40px;
}
footer .container {
  padding-top: 10px;
  padding-bottom: 10px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-logo img {
  height: 40px;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-legal {
  font-size: 0.97rem;
  color: #164A68;
}
.footer-nav a, .footer-legal a {
  transition: color 0.19s;
  padding: 2px 0;
}
.footer-nav a:hover, .footer-legal a:hover, .footer-nav a:focus, .footer-legal a:focus {
  color: #35A7A7;
}
.footer-contact-shortcut {
  font-size: 1rem;
  color: #164A68;
  margin-top: 8px;
  min-width: 240px;
}
.footer-contact-shortcut a {
  color: #35A7A7;
}
@media (max-width: 1050px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
  }
}
@media (max-width: 700px) {
  footer .content-wrapper {
    gap: 14px;
  }
}

/* === BUTTONS & INTERACTIONS === */
button, .cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  transition: background 0.15s, color 0.14s, box-shadow 0.18s;
}
button:disabled {
  opacity: 0.58;
  pointer-events: none;
}

/* === GENERIC / ELEMENT STYLES === */
hr {
  border: none;
  border-top: 1px solid #E6EEF2;
  margin: 32px 0;
}

/* === MODALS & DIALOGS === */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(22,74,104,0.13);
  z-index: 999;
  transition: opacity 0.19s;
  opacity: 1;
}
.cookie-consent-modal {
  position: fixed;
  left: 50%; top: 40%;
  transform: translate(-50%, -40%) scale(1);
  background: #fff;
  box-shadow: 0 8px 40px rgba(22,74,104,0.16);
  border-radius: 16px;
  z-index: 1000;
  min-width: 320px;
  max-width: 98vw;
  padding: 36px 32px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  outline: none;
  animation: modalPopIn 0.22s cubic-bezier(.92,.28,.67,1.28);
}
@keyframes modalPopIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.97); }
  to   { opacity: 1; transform: translate(-50%, -40%) scale(1); }
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.06rem;
}
/* Switch style for toggles */
.cookie-toggle {
  display: inline-block;
  width: 38px; height: 22px;
  background: #E6EEF2;
  border-radius: 11px;
  position: relative;
  transition: background 0.16s;
  flex-shrink: 0;
}
.cookie-toggle input {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
}
.cookie-toggle span {
  display: block;
  background: #fff;
  border-radius: 50%;
  width: 18px; height: 18px;
  position: absolute;
  left: 2px; top: 2px;
  transition: left 0.18s, background 0.16s;
  box-shadow: 0 0 4px rgba(22,74,104,0.05);
}
.cookie-toggle input:checked ~ span {
  left: 18px;
  background: #35A7A7;
}
.cookie-toggle input:checked ~ .toggle-bg {
  background: #35A7A7;
}
.cookie-toggle[aria-disabled="true"], .cookie-toggle input[disabled] ~ span {
  background: #E6EEF2 !important;
  opacity: 0.56;
  cursor: not-allowed;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; width: 100%;
  z-index: 999;
  background: #fff;
  color: #164A68;
  box-shadow: 0 -2px 28px rgba(22,74,104,0.08);
  padding: 20px 18px 18px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 1rem;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  transition: transform 0.27s cubic-bezier(.77,.02,.27,1), opacity 0.19s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px);
}
.cookie-banner-content {
  flex: 2 2 340px;
  min-width: 220px;
  max-width: 520px;
}
.cookie-banner-action {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
@media (max-width: 670px) {
  .cookie-banner {
    flex-direction: column;
    gap: 11px;
    padding: 15px 7px 12px 7px;
    font-size: 0.97rem;
  }
}
.cookie-banner button {
  padding: 8px 18px;
  border-radius: 8px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  outline: none;
  transition: background 0.15s, color 0.15s;
}
.cookie-accept {
  background: #35A7A7;
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #164A68;
}
.cookie-reject {
  background: #E6EEF2;
  color: #164A68;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #35A7A7;
  color: #fff;
}
.cookie-settings-btn {
  background: transparent;
  color: #164A68;
  border: 1px solid #35A7A7;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #F7F9FA;
  color: #35A7A7;
}

/* === FORM ELEMENTS === */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  padding: 9px 14px;
  border-radius: 5px;
  border: 1px solid #E6EEF2;
  outline: none;
  font-size: 1rem;
  background: #F7F9FA;
  color: #164A68;
  margin-bottom: 10px;
}
input:focus, textarea:focus, select:focus {
  border-color: #35A7A7;
  background: #fff;
}
label {
  font-weight: 500;
  color: #164A68;
  margin-bottom: 5px;
}

/* === SPACING UTILITIES === */
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 16px !important; }
.mb-4 { margin-bottom: 24px !important; }
.mb-5 { margin-bottom: 32px !important; }
.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 16px !important; }
.mt-4 { margin-top: 24px !important; }
.mt-5 { margin-top: 32px !important; }
.pt-3 { padding-top: 16px !important; }
pb-3 { padding-bottom: 16px !important; }

/* === RESPONSIVE TYPOGRAPHY === */
@media (max-width: 992px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.13rem; }
  p, address { font-size: 0.97rem; }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.13rem;
  }
}

/* === ANIMATIONS === */
.cta-btn, button, .card, .team-member-card, .testimonial-card {
  transition: box-shadow 0.2s, transform 0.17s;
}
.cta-btn:active, button:active {
  transform: scale(0.98);
}

@media (max-width: 600px) {
  .card, .team-member-card {
    padding: 16px 8px;
  }
  .testimonial-card {
    box-shadow: 0 4px 18px rgba(22,74,104,0.07);
  }
}

/* === SCROLLBAR STYLING (modern, unobtrusive) === */
::-webkit-scrollbar {
  width: 8px;
  background: #F7F9FA;
}
::-webkit-scrollbar-thumb {
  background: #E6EEF2;
  border-radius: 4px;
}

/* === SELECTION === */
::selection {
  background: #35A7A7;
  color: #fff;
}

/* === PRINT OPTIMIZATION === */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-consent-modal, .modal-backdrop { display: none !important; }
  body, html { background: #fff; color: #000; }
}

/* ==== Z-INDEX LAYERING ==== */
header { z-index: 30; }
.mobile-menu,
.cookie-consent-modal {
  z-index: 1000;
}
.modal-backdrop { z-index: 999; }
footer { z-index: 10; }
.cookie-banner { z-index: 998; }

/* ==== A11Y - VISIBLE FOCUS OUTLINES ==== */
a:focus-visible, button:focus-visible, .cta-btn:focus-visible {
  outline: 2px solid #35A7A7 !important;
  outline-offset: 2px !important;
  border-radius: 4px;
}

/* ==== UTILITIES ==== */
.hide { display: none !important; }
.visible { display: block !important; }
.team-member-card.fade-in {
    max-width: 100%;
}
/* ==== END OF STYLE.CSS ==== */