/* ========================================================================== */
/*                         CSS RESET AND 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;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  line-height: 1.5;
  background: #F8F8F8;
  font-family: 'Roboto', Arial, sans-serif;
  color: #175377;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #175377;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #82C4DA;
  outline-offset: 2px;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #175377;
  margin-bottom: 12px;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: 1.3rem; margin-bottom: 8px; }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1rem; }
p, li, dl, dd, table, address { font-size: 1rem; }
p { margin-bottom: 14px; }

/* Typography hierarchy */
strong { font-weight: 700; }

/* ========================================================================== */
/*                  BRAND COLOR VARIABLES (with fallback)                     */
/* ========================================================================== */
:root {
  --color-primary: #175377;
  --color-secondary: #82C4DA;
  --color-accent: #F8F8F8;
  --color-bg-gradient-from: #e6f2fa;
  --color-bg-gradient-to: #f5fcff;
  --color-dark: #11415D;
  --color-white: #fff;
  --color-card-shadow: rgba(22, 90, 125, 0.07);
  --color-btn-hover: #11415D;
  --color-shadow: rgba(17, 83, 119, 0.07);
}

/* ========================================================================== */
/*                             CONTAINER & LAYOUT                             */
/* ========================================================================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
/* Flex container for sections (see requirements) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(130deg, var(--color-bg-gradient-from) 50%, var(--color-bg-gradient-to) 100%);
  border-radius: 20px;
  box-shadow: 0 4px 24px 0 var(--color-card-shadow);
}
main > section:not(:first-child) { margin-top: 40px; }
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Flex Container Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 2px 16px var(--color-card-shadow);
  padding: 28px 22px;
  min-width: 260px;
  flex: 1 1 320px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(22,90,125,0.13);
  transform: translateY(-2px) scale(1.03);
  z-index: 1;
}
.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: var(--color-white);
  padding: 26px 24px;
  margin-bottom: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 12px var(--color-card-shadow);
  max-width: 380px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.testimonial-card p {
  color: #11415D;
  font-size: 1.04rem;
  font-style: italic;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: var(--color-secondary);
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px 0 rgba(22,90,125,0.15);
  transform: translateY(-2px) scale(1.02);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}
.service-list > div {
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 2px 16px var(--color-card-shadow);
  padding: 22px 16px;
  min-width: 260px;
  flex: 1 1 250px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.service-list > div:hover {
  box-shadow: 0 6px 24px 0 rgba(22,90,125,0.13);
  transform: translateY(-2px) scale(1.027);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.map-placeholder {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px dashed var(--color-secondary);
  border-radius: 10px;
  padding: 15px 18px;
  background: #f1f8fa;
}

/* Table style */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 8px var(--color-card-shadow);
}
thead {
  background: var(--color-secondary);
}
thead th {
  padding: 16px;
  color: #175377;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  text-align: left;
  font-size: 1.12rem;
}
tbody td {
  padding: 15px;
  border-top: 1px solid #e3e8eb;
  color: #11415D;
  background: var(--color-white);
}

/* ========================================================================== */
/* HEADER + NAVBAR STYLES                                                     */
/* ========================================================================== */
header {
  background: linear-gradient(97deg, #e6f2fa 60%, #f8fcff 100%);
  padding: 0 0 0 0;
  box-shadow: 0 2px 8px var(--color-card-shadow);
}
header .container {
  min-height: 78px;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  gap: 16px;
  padding-top: 0;
  padding-bottom: 0;
}
header img {
  height: 46px;
  max-width: 100%;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 18px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #175377;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.19s;
}
nav a:hover, nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
}
header .btn-primary {
  margin-left: 22px;
}
/* Hamburger (burger menu) */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #175377;
  margin-left: 20px;
  transition: color 0.18s;
  z-index: 120;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(128deg, #fafdff 60%, #def0fc 100%);
  box-shadow: 0 12px 32px 0 rgba(23, 83, 119, 0.21);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(0.77,0,0.18,1);
  display: flex;
  flex-direction: column;
  padding: 0 0;
  gap: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  margin: 24px 24px 8px auto;
  background: none;
  border: none;
  font-size: 2.6rem;
  color: #175377;
  cursor: pointer;
  z-index: 10001;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px 30px;
  margin-top: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.29rem;
  color: #175377;
  padding: 12px 0 12px 0;
  transition: color 0.19s;
  border-bottom: 2px solid transparent;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2.4px solid var(--color-secondary);
}

/* Hide nav and show burger on mobile */
@media (max-width: 980px) {
  header nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ========================================================================== */
/* BUTTONS & LINKS                                                            */
/* ========================================================================== */
.btn-primary,
button.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  color: var(--color-white);
  background: linear-gradient(98deg,#175377 76%, #82C4DA 100%);
  padding: 12px 32px;
  border-radius: 24px;
  outline: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 2.5px 12px var(--color-shadow);
  letter-spacing: .01em;
  transition: background 0.20s, box-shadow 0.18s, transform 0.19s;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(98deg,#11415D 80%, #63bad6 100%);
  color: #fff;
  box-shadow: 0 6px 20px 0 rgba(17,83,119,.12);
  transform: translateY(-2px) scale(1.04);
}

button {
  font-family: inherit;
  font-size: 1rem;
}

input[type=email], input[type=text] {
  font-family: 'Roboto', Arial, sans-serif;
  padding: 11px 16px;
  border: 1.5px solid #e6f2fa;
  border-radius: 8px;
  font-size: 1rem;
  margin-right: 14px;
  background: #fafdff;
  color: #175377;
  transition: box-shadow 0.16s, border-color 0.18s;
}
input[type=email]:focus, input[type=text]:focus {
  outline: none;
  border-color: #82C4DA;
  box-shadow: 0 2px 8px var(--color-card-shadow);
}

/* ========================================================================== */
/* HERO + GRADIENT MODERN THEME                                               */
/* ========================================================================== */
.hero {
  background: linear-gradient(110deg, #e6f2fa 72%, #82C4DA 120%) !important;
  min-height: 340px;
  display: flex;
  align-items: center;
  border-radius: 22px;
  margin-bottom: 60px;
}
.hero .content-wrapper {
  max-width: 620px;
  gap: 18px;
}
.hero h1 {
  font-size: 2.5rem;
  color: #175377;
  letter-spacing: -1px;
}
.hero p {
  color: #175377;
  font-size: 1.18rem;
}

/* ========================================================================== */
/* TESTIMONIAL SLIDER/WRAPPER                                                 */
/* ========================================================================== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 20px;
}

/* ========================================================================== */
/* FOOTER STYLES                                                              */
/* ========================================================================== */
footer {
  margin-top: 60px;
  background: linear-gradient(98deg, #e6f2fa 74%, #f8fcff 100%);
  box-shadow: 0 -2px 8px rgba(22,90,125,0.07);
  border-radius: 22px 22px 0 0;
  padding: 28px 0 20px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 34px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: #175377;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color .18s, border-bottom .19s;
}
footer nav a:hover,
footer nav a:focus {
  color: #82C4DA;
  border-bottom: 2px solid #82C4DA;
}
footer address {
  font-style: normal;
  color: #175377;
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 2.5px;
}

/* ========================================================================== */
/* COOKIE CONSENT BANNER + MODAL                                              */
/* ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  width: 100%;
  z-index: 99999;
  background: linear-gradient(100deg, #e6f2fa 60%, #fafdff 100%);
  box-shadow: 0 -3px 12px var(--color-card-shadow);
  padding: 24px 20px 18px 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  font-size: 1rem;
}
.cookie-banner p {
  color: #11415D;
  margin-bottom: 0;
  flex: 1 1 320px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner .btn-cookie {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 20px;
  padding: 7px 20px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  margin: 0 0 0 0;
  cursor: pointer;
  transition: background 0.19s, box-shadow 0.18s, color 0.16s;
}
.cookie-banner .btn-cookie.cookie-settings {
  background: var(--color-secondary);
  color: #11415D;
}
.cookie-banner .btn-cookie:hover, .cookie-banner .btn-cookie:focus {
  background: var(--color-btn-hover);
  color: #fff;
}
.cookie-banner .btn-cookie.cookie-settings:hover,
.cookie-banner .btn-cookie.cookie-settings:focus {
  background: #63bad6;
  color: #175377;
}

/* Cookie settings modal */
.cookie-modal-overlay {
  transition: background 0.2s;
  z-index: 100000;
  background: rgba(23,83,119,0.15);
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
}
.cookie-modal {
  background: linear-gradient(104deg, #fff 72%, #e6f2fa 100%);
  border-radius: 18px;
  box-shadow: 0 8px 40px 0 rgba(23,83,119,0.13);
  padding: 32px 28px;
  max-width: 410px;
  width: 96%;
  font-size: 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadein 0.34s cubic-bezier(0.77,0,0.18,1);
}
@keyframes fadein {
  from { opacity: 0; transform: translateY(24px) scale(.96); }
  to { opacity: 1; transform: none; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: #175377;
  margin-bottom: 5px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  color: #11415D;
}
.cookie-modal .cookie-category input[type=checkbox] {
  accent-color: #175377;
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-category .essential {
  color: #aaa;
  font-size: 0.96em;
  font-style: italic;
  padding-left: 12px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #175377;
  cursor: pointer;
}

/* ========================================================================== */
/* RESPONSIVE DESIGN/MOBILE-FIRST LAYOUTS - FLEXBOX ONLY                      */
/* ========================================================================== */
@media (max-width: 1200px) {
  .container { max-width: 94vw; }
}
@media (max-width: 900px) {
  .container { max-width: 100vw; }
  footer .container {
    flex-direction: column;
    gap: 22px;
  }
  .section {
    padding: 34px 10px;
  }
  .service-list { gap: 16px; }
}
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .hero {
    padding: 30px 5px;
    min-height: 220px;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 40px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .service-list {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.16rem; }
  h3 { font-size: 1.05rem; }
  .hero h1 { font-size: 1.25rem; }
  .btn-primary,
  button.btn-primary {
    padding: 10px 16px;
    font-size: 0.99rem;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.97rem;
    padding: 18px 6px 16px 6px;
  }
  .cookie-banner .cookie-actions {
    gap: 7px;
    flex-direction: row;
    margin-top: 2px;
  }
}

/* ========================================================================== */
/* VISUAL DECORATION (SHADOWS, GRADIENT DIVIDERS, ETC.)                       */
/* ========================================================================== */
hr {
  border: none;
  border-top: 2px solid #e6f2fa;
  margin: 32px 0;
}

/* Gradient underline for h2 */
h2::after {
  content: '';
  display: block;
  width: 64px;
  height: 3.5px;
  border-radius: 2px;
  background: linear-gradient(90deg,#175377 70%, #82C4DA 100%);
  margin-top: 9px;
}

/* Lists */
ul li, ol li {
  margin-bottom: 7px;
  color: #11415D;
  font-size: 1.02rem;
}

/* Definition lists */
dl {
  margin-bottom: 13px;
}
dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #175377;
  margin-top: 10px;
}
dd {
  margin-left: 24px;
  margin-bottom: 9px;
  color: #11415D;
}

/* Newsletter signup area */
input[type=email] {
  min-width: 160px;
  margin-bottom: 10px;
}
input[type=email]::placeholder {
  color: #82C4DA;
  opacity: 1;
}

/* Hide map if not available */
.map-placeholder span {
  color: #7ba6ba;
  font-size: 0.99rem;
}

/* ========================================================================== */
/* UTILITY CLASSES                                                            */
/* ========================================================================== */
.text-center {
  text-align: center;
}
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.ml-20 { margin-left: 20px; }
.mb-24 { margin-bottom: 24px; }
.mt-8 { margin-top: 8px; }

/* Hide visually (for a11y) */
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* ========================================================================== */
/* FOCUS VISIBLE                                                              */
/* ========================================================================== */
:focus-visible {
  outline: 2.5px solid #82C4DA;
  outline-offset: 2.5px;
}

/* ========================================================================== */
/* ANIMATIONS                                                                 */
/* ========================================================================== */
.card, .service-list > div, .testimonial-card {
  transition: box-shadow 0.23s, transform 0.21s;
}
.btn-primary, .cookie-banner .btn-cookie, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.19s, color 0.19s, box-shadow 0.16s, transform 0.18s;
}

/* ========================================================================== */
/* OVERRIDES FOR SELECTORS FROM HTML – CRITICAL                               */
/* ========================================================================== */
/* Ensure there is never any display: grid or column- properties */
/* All flex layouts as per requirements */


/* END OF CSS */
