/* ----------------------
   RESET & BASE SETTINGS
   ---------------------- */
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.6;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #222;
  background: #fff;
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 24px;
}
a {
  color: #184D74;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #29B6F6;
}

/* Typography scale */
h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 24px;
  line-height: 1.12;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
p, li, label {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
  color: #184D74;
}

/* ------
CONTAINERS
-------- */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.text-section {
  max-width: 720px;
}

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

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

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

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

.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(24,77,116,0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  transition: transform 0.18s cubic-bezier(.4,0,.2,1),
    box-shadow 0.18s cubic-bezier(.4,0,.2,1);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 24px 0 rgba(24,77,116,0.12);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

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


/* -------------
NAVIGATION BAR
-------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(24,77,116,0.03);
  position: sticky;
  top: 0;
  z-index: 20;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  justify-content: flex-start;
}
.main-nav a {
  padding: 8px 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.18s;
  color: #222;
  border-bottom: 2px solid transparent;
}
.main-nav a.logo {
  margin-right: 28px;
  padding: 0;
}
.main-nav a.cta-btn.primary {
  background: #184D74;
  color: #fff;
  border-radius: 7px;
  padding: 10px 20px;
  font-weight: 600;
  margin-left: auto;
  margin-right: 0;
  border: none;
  box-shadow: 0 2px 8px rgba(24,77,116,0.08);
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
}
.main-nav a.cta-btn.primary:hover, .main-nav a.cta-btn.primary:focus {
  background: #29B6F6;
  color: #184D74;
  box-shadow: 0 4px 14px rgba(24,77,116,0.14);
}
.main-nav a:hover, .main-nav a:focus {
  color: #184D74;
  border-bottom: 2px solid #29B6F6;
}
.main-nav a.logo:hover, .main-nav a.logo:focus {
  border: none;
  background: none;
}
.main-nav a[aria-current="page"] {
  color: #184D74;
  border-bottom: 2px solid #184D74;
  font-weight: 600;
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 8px;
    font-size: 0.93rem;
  }
  .main-nav a.cta-btn.primary {
    padding: 7px 14px;
    font-size: 0.93rem;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
}

/* ------
MOBILE MENU
-------- */
.mobile-menu-toggle {
  background: #fff;
  border: none;
  font-size: 2rem;
  padding: 8px 14px;
  border-radius: 8px;
  color: #184D74;
  display: none;
  position: fixed;
  right: 20px;
  top: 18px;
  z-index: 501;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(24,77,116,0.08);
  transition: background 0.18s, box-shadow 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F2F5F7;
  outline: none;
  color: #29B6F6;
}

@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 500;
  box-shadow: 0 0 32px rgba(24,77,116,0.12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 20px;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: #F2F5F7;
  border: none;
  border-radius: 8px;
  margin-left: 16px;
  margin-bottom: 18px;
  color: #184D74;
  padding: 6px 16px 3px 12px;
  box-shadow: 0 1px 6px rgba(24,77,116,0.10);
  cursor: pointer;
  align-self: flex-end;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #29B6F6;
  color: #fff;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding-left: 36px;
  margin-top: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.16rem;
  color: #184D74;
  padding: 10px 0;
  border-bottom: 1px solid #F2F5F7;
  width: 80%;
  transition: color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #29B6F6;
}

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

/* Hide scroll beneath menu when open */
body.menu-open {
  overflow: hidden;
}

/* ---------
  HERO/CTA
----------- */
.hero {
  background: #F2F5F7;
  padding: 60px 0 44px 0;
  margin-bottom: 30px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 12px;
  padding-top: 10px;
  max-width: 700px;
}
.hero h1 {
  color: #184D74;
  margin-bottom: 12px;
}
.hero p {
  color: #444;
  margin-bottom: 24px;
  font-size: 1.125rem;
}

.cta {
  margin-bottom: 0;
  padding: 42px 0 32px 0;
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 16px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 13px 34px;
  font-size: 1.08rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.20s, color 0.20s, box-shadow 0.18s;
  box-shadow: 0 1px 8px rgba(24,77,116,0.05);
  background: #184D74;
  color: #fff;
  margin-top: 10px;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #29B6F6;
  color: #184D74;
  outline: none;
  box-shadow: 0 4px 26px rgba(24,77,116,0.18);
}

@media (max-width: 640px) {
  .cta-btn {
    width: 100%;
    font-size: 1rem;
    padding: 12px 0;
    min-width: none;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
}

/* ----------
   FEATURE/PRINCIPLE LISTS
----------- */
.features {
  background: #fff;
  margin-bottom: 60px;
  padding: 30px 0 24px 0;
}
.features .container {
  padding: 0 20px;
}
.features h2 {
  text-align: left;
  margin-bottom: 14px;
}
.features .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin-left: 0;
}
.features ul li {
  background: #F2F5F7;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(24,77,116,0.03);
  flex: 1 1 200px;
  min-width: 180px;
  max-width: 330px;
  padding: 24px 22px 16px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.13s;
}
.features ul li img {
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
}
.features ul li:hover {
  box-shadow: 0 4px 18px rgba(24,77,116,0.08);
  transform: translateY(-2px);
}

.principles ul {
  flex-direction: column;
  gap: 16px;
}
.principles ul li {
  max-width: unset;
  background: #fff;
  box-shadow: none;
  padding: 0;
}

/* -------------
TESTIMONIAL CARDS
-------------- */
.testimonials {
  padding-bottom: 40px;
  background: #F2F5F7;
}
.testimonials .container {
  padding: 0 20px;
}
.testimonials h2 {
  text-align: left;
  margin-bottom: 14px;
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 26px 18px 22px;
  background: #fff;
  border-radius: 10px;
  min-width: 220px;
  max-width: 370px;
  margin-bottom: 20px;
  box-shadow: 0 2px 18px 0 rgba(24,77,116,0.07);
  color: #222;
  transition: box-shadow 0.14s, transform 0.13s;
}
.testimonial-card p {
  color: #184D74;
  font-size: 1.13rem;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: #444;
  font-size: 0.98rem;
  font-weight: 500;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px rgba(24,77,116,0.13);
  transform: translateY(-2px);
}

@media (max-width: 800px) {
  .testimonials .content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    max-width: 100%;
  }
}

/* ------------
  SERVICE LISTS
------------ */
.services-list ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-left: 0;
}
.services-list ul li {
  background: #F2F5F7;
  border-radius: 10px;
  padding: 24px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2.5px 16px 0 rgba(24,77,116,0.065);
  list-style-type: none;
  transition: box-shadow 0.16s, transform 0.14s;
}
.services-list ul li:hover {
  box-shadow: 0 4px 24px rgba(24,77,116,0.12);
  transform: translateY(-2.5px);
}
.services-list ul ul {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin-left: 20px;
  gap: 8px;
}

/* -------------
   PROCESS/ABOUT
---------------- */
.about-team ul, .about-process ol, .about-process ul {
  margin-bottom: 8px;
  margin-left: 24px;
}
.about-process ol {
  margin-top: 0px;
}

/* -------------
   CONTACT INFO
---------------- */
.contact-info .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-block ul {
  list-style: none;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-block li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.07rem;
  color: #184D74;
}
.contact-block img {
  width: 20px;
  height: 20px;
  filter: grayscale(0.8);
  opacity: 0.7;
}
.cta-block {
  margin-top: 16px;
}

@media (max-width: 700px) {
  .contact-info .content-wrapper {
    gap: 24px;
  }
}

/* -------------
    FOOTER
--------------- */
footer {
  background: #fff;
  border-top: 1px solid #F2F5F7;
  padding: 34px 0 22px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #666;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 2px 0;
  transition: color 0.19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #184D74;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  color: #184D74;
  font-size: 1rem;
}
.footer-brand img {
  width: 32px;
  height: 32px;
  margin-bottom: 5px;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  filter: grayscale(0.5) brightness(1.1);
  transition: filter 0.19s;
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: none;
}

@media (max-width: 720px) {
  footer .container {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
}

/* -------------
COOKIE BANNER
------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #184D74;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px 22px 22px;
  box-shadow: 0 -4px 34px 0 rgba(24,77,116,0.21);
  z-index: 3000;
  font-size: 1rem;
  animation: banner-slide-in 0.45s cubic-bezier(.11,.91,.38,1.11);
}
@keyframes banner-slide-in {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  padding: 8px 20px;
  cursor: pointer;
  background: #29B6F6;
  color: #184D74;
  margin-left: 0;
  transition: background 0.16s, color 0.16s;
  box-shadow: 0 2px 8px rgba(41,182,246,0.10);
}
.cookie-btn.reject {
  background: #fff;
  color: #184D74;
  border: 1.5px solid #29B6F6;
}
.cookie-btn.settings {
  background: #222;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #184D74;
  color: #fff;
  outline: none;
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 10px 14px 10px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-buttons {
    width: 100%;
    gap: 6px;
  }
}

/* ---------
COOKIE MODAL
----------- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(24,77,116,0.12);
  z-index: 3004;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: modal-fade-in 0.35s cubic-bezier(.11,.91,.38,1.11);
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  min-width: 330px;
  max-width: 96vw;
  padding: 36px 28px 24px 28px;
  box-shadow: 0 8px 48px rgba(24,77,116,0.22);
  color: #184D74;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: modal-slide-in 0.33s cubic-bezier(.11,.91,.38,1.11);
}
@keyframes modal-slide-in {
  from { transform: translateY(50px); opacity: 0 }
  to { transform: translateY(0); opacity: 1 }
}
.cookie-modal h2 {
  margin-bottom: 14px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #184D74;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 18px;
}
.cookie-category-label {
  flex: 1;
  font-size: 1.02rem;
  color: #184D74;
}
.cookie-switch {
  appearance: none;
  width: 40px;
  height: 22px;
  background: #F2F5F7;
  border-radius: 11px;
  position: relative;
  outline: none;
  margin: 0;
  transition: background 0.18s;
}
.cookie-switch:checked {
  background: #29B6F6;
}
.cookie-switch:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(24,77,116,0.13);
  transition: left 0.18s;
}
.cookie-switch:checked:before {
  left: 21px;
}
.cookie-modal .buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal .close {
  position: absolute;
  top: 16px; right: 18px;
  background: #F2F5F7;
  color: #184D74;
  font-size: 1.2rem;
  border: none;
  border-radius: 6px;
  padding: 2px 11px 4px 9px;
  cursor: pointer;
  transition: background 0.15s, color 0.13s;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  background: #29B6F6;
  color: #fff;
  outline: none;
}

@media (max-width: 500px) {
  .cookie-modal {
    min-width: unset;
    padding: 26px 7px 16px 7px;
  }
}

/* -------------
   RESPONSIVE LAYOUTS
-------------- */
@media (max-width: 1020px) {
  .container {
    max-width: 94vw;
    padding: 0 12px;
  }
}
@media (max-width: 700px) {
  .hero {
    padding: 40px 0 22px 0;
  }
  .section,
  .features {
    padding: 30px 0 16px 0;
    margin-bottom: 36px;
  }
  .card {
    padding: 20px 10px;
    margin-bottom: 15px;
  }
  .features ul {
    gap: 12px;
  }
  .features ul li {
    padding: 13px 9px 11px 11px;
  }
}
@media (max-width: 530px) {
  .footer-brand p {
    font-size: 0.93rem;
  }
}

/* Ensure no overlap */
section, .section, .features, .card-container, .content-grid, .card, .testimonial-card {
  margin-bottom: 20px;
}

/* Hide outline for mouse, show on keyboard */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid #29B6F6;
  outline-offset: 2px;
}

/* Custom scrollbar for aesthetic minimalism */
::-webkit-scrollbar {
  width: 8px;
  background: #F2F5F7;
}
::-webkit-scrollbar-thumb {
  background: #C4D2DD;
  border-radius: 4px;
}

/* ---
Page-specific spacings for .about-team, .services-list, .about-process, .about-location */
.about-team, .about-process, .about-location, .services-list, .contact-info {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/*
END OF STYLE.CSS
*/
