/* RESET & BASE --------------------------------------------------- */
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F7FA; /* Brand accent */
  color: #2a2b2f;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: #204B6C; text-decoration: none; transition: color .18s; }
a:hover, a:focus { color: #35A7A5; text-decoration: underline; }
ul, ol { padding-left: 24px; margin-bottom: 20px; }
li { margin-bottom: 8px; }
img { max-width: 100%; height: auto; display: block; }
hr { border: none; border-top: 1px solid #e2e7ee; margin: 24px 0; }

/* TYPOGRAPHY ------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #204B6C;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.25rem; margin-bottom: 20px; }
h2 { font-size: 1.75rem; color: #204B6C; margin-bottom: 16px; }
h3 { font-size: 1.25rem; color: #204B6C; margin-bottom: 10px; }
h4 { font-size: 1rem; }
h5, h6 { font-size: .95rem; }
p, ul, ol, dl, table {
  font-size: 1rem;
  color: #2a2b2f;
  margin-bottom: 18px;
  line-height: 1.7;
}
strong, b { font-weight: 700; color: #204B6C; }
small { font-size: 0.94em; }
dt { font-weight: 700; margin-top: 14px; }
dd { margin-left: 0; margin-bottom: 10px; }

/* CONTAINER & SECTION STYLING ------------------------------------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(32,75,108,0.04);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.text-section {
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

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

/* CARD LAYOUTS ---------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(32,75,108,0.04);
  margin-bottom: 20px;
  position: relative;
  padding: 30px 24px;
  min-width: 260px;
  transition: box-shadow .22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 18px rgba(32,75,108,0.08);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-grid, .service-list, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid {
  justify-content: flex-start;
  flex-direction: row;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(32,75,108,0.06);
  padding: 28px 22px;
  flex: 1 1 225px;
  max-width: 300px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow .22s;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 4px 18px rgba(53,167,165,.08);
}
.feature img {
  width: 44px;
  height: 44px;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.service {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(32,75,108,0.04);
  padding: 26px 20px;
  min-width: 220px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  transition: box-shadow .22s;
}
.service:hover, .service:focus-within {
  box-shadow: 0 4px 18px rgba(53,167,165,.08);
}
.service h2, .service h3 {
  font-size: 1.1rem;
}

.testimonial-list {
  gap: 24px;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 18px rgba(32,75,108,0.07);
  padding: 20px 22px;
  min-width: 220px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  transition: box-shadow .18s;
}
.testimonial-card p {
  color: #2a2b2f;
  font-size: 1.1rem;
  font-style: italic;
  margin: 0 0 6px 0;
  line-height: 1.56;
}
.testimonial-card strong {
  color: #204B6C;
  font-size: 1rem;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 4px 18px rgba(32,75,108,0.12);
}

/* TABLE ------------------------------------------------------------ */
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 1rem;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(32,75,108,0.04);
  margin-bottom: 24px;
}
th, td {
  padding: 18px 10px;
  text-align: left;
  border-bottom: 1px solid #e3e8ee;
}
th {
  background: #EEF2F6;
  color: #204B6C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
tr:last-child td {
  border-bottom: none;
}

/* BUTTONS ---------------------------------------------------------- */
.button, button, input[type="submit"] {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  padding: 12px 32px;
  border-radius: 28px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: #204B6C;
  color: #fff;
  transition: background .18s, box-shadow .21s, color .18s;
  box-shadow: 0 1px 4px rgba(32,75,108,0.05);
  min-width: 112px;
  margin-top: 10px;
  display: inline-block;
  text-align: center;
}
.button.primary, button.primary, input[type="submit"].primary {
  background: #35A7A5;
  color: #fff;
}
.button.secondary {
  background: #fff;
  color: #204B6C;
  border: 1px solid #204B6C;
}
.button:hover, button:hover, input[type="submit"]:hover, .button:focus, button:focus {
  background: #204B6C;
  color: #fff;
  box-shadow: 0 3px 16px rgba(32,75,108,0.14);
}
.button.primary:hover, .button.primary:focus {
  background: #2D6F8B;
}
.button.secondary:hover, .button.secondary:focus {
  background: #F5F7FA;
  color: #204B6C;
}

/* HEADER & NAV ----------------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 1px 8px rgba(32,75,108,0.06);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 990;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 16px 20px;
}
header img {
  height: 44px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  color: #204B6C;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background .16s;
}
header nav a:hover, header nav a:focus {
  background: #F5F7FA;
}
header .button {
  margin-left: 12px;
}

header .mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #204B6C;
  margin-left: 16px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 10px;
  transition: background .15s, color .15s;
}
header .mobile-menu-toggle:hover, header .mobile-menu-toggle:focus {
  background: #EEF2F6;
  color: #35A7A5;
}

/* MOBILE MENU ----------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(32,75,108,0.96);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.55,0,.15,1);
  padding: 0 0 0 0;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  padding: 24px 18px 0 18px;
  cursor: pointer;
  align-self: flex-end;
  transition: color .18s, background .15s;
  margin-bottom: 14px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #35A7A5;
  background: rgba(255,255,255,.05);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0 28px;
  margin-top: 16px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.27rem;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255,255,255, .08);
  transition: color .16s, background .15s;
  margin-bottom: 0;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #35A7A5;
  background: rgba(255,255,255,0.03);
  border-radius: 7px;
}

/* HERO SECTIONS --------------------------------------------------- */
.hero {
  background: #EEF2F6;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 4px 36px rgba(53, 167, 165, 0.10);
  padding: 60px 0 40px 0;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
}
.hero h1 {
  color: #204B6C;
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 13px;
}
.hero p {
  color: #2a2b2f;
  font-size: 1.25rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 26px;
}
.hero .button {
  margin-top: 10px;
}

/* FOOTER --------------------------------------------------------- */
footer {
  width: 100%;
  background: #204B6C;
  color: #fff;
  padding: 32px 0 22px 0;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  opacity: .97;
  padding: 5px 3px;
  transition: color .16s, opacity .16s;
}
footer nav a:hover, footer nav a:focus {
  opacity: 1;
  color: #35A7A5;
}
footer p {
  color: #e7e7ea;
  font-size: .96rem;
  margin-bottom: 0;
}

/* COOKIE CONSENT BANNER ------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 22px rgba(32,75,108,0.08);
  border-radius: 16px 16px 0 0;
  z-index: 2100;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 14px;
  gap: 16px;
  font-size: 1rem;
  color: #2a2b2f;
  transition: bottom .4s, opacity .3s;
}
.cookie-banner .cookie-text {
  flex: 1 1 auto;
  margin-right: 20px;
  min-width: 0;
  color: #204B6C;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner .button, .cookie-banner button {
  min-width: 80px;
  padding: 10px 22px;
  font-size: .98rem;
}

/* Cookie Settings Modal ------------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(32,75,108, 0.55);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 42px rgba(32,75,108,0.18);
  padding: 34px 22px 22px 22px;
  max-width: 440px;
  width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.35rem;
  margin-bottom: 9px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 13px;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  flex: 1 1 auto;
  color: #204B6C;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #35A7A5;
  width: 20px;
  height: 20px;
}
.cookie-modal .essential-info {
  font-size: .95rem;
  color: #6b7480;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 8px;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 16px;
  top: 12px;
  background: none;
  border: none;
  color: #204B6C;
  font-size: 1.45rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 50%;
  transition: background .15s, color .16s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: #35A7A5;
  background: #EEF2F6;
}

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

/* ELEMENTS, BLOCKS ------------------------------------------------ */
dl {
  margin-bottom: 22px;
}
dt {
  font-family: 'Montserrat',Arial,sans-serif;
  color: #204B6C;
  margin-top: 10px;
}
dd {
  color: #2a2b2f;
  font-size: 1rem;
  margin-bottom: 4px;
}

ol {
  margin-bottom: 18px;
}
ot {
  font-weight: bold;
}

/* FAQ/Accordion-like support (basic) ------------------------------ */
dt {
  cursor: pointer;
  transition: color .14s;
}
dt:hover, dt:focus { color: #35A7A5; }

/* Micro-Interactions/Transitions ---------------------------------- */
section, .card, .feature, .service, .testimonial-card,
.button, button, .mobile-menu, .mobile-menu-close,
.cookie-banner, .cookie-modal-overlay {
  transition-timing-function: cubic-bezier(.6,0,.19,1);
}

/* Responsive ------------------------------------------------------ */
@media (max-width: 1080px) {
  .container { max-width: 94vw; }
}

@media (max-width: 820px) {
  .container { max-width: 100vw; padding: 0 10px; }
  .feature-grid, .service-list, .testimonial-list { gap: 16px; }
}

@media (max-width: 768px) {
  header .container { flex-direction: row; flex-wrap: wrap; gap: 10px; padding: 12px 9px; }
  header nav, header .button { display: none; }
  header .mobile-menu-toggle { display: block; }
  .section, .hero, .card, .feature, .service, .testimonial-card, .cookie-modal {
    padding-left: 12px; padding-right: 12px;
  }
  .feature-grid, .service-list, .testimonial-list {
    flex-direction: column;
    gap: 10px;
  }
  .content-wrapper, .text-section {
    gap: 16px;
  }
  .testimonial-card, .feature, .service {
    min-width: 0; width: 100%;
  }
  .hero h1 { font-size: 1.35rem; }
  .hero p { font-size: 1.02rem; }
  .section { margin-bottom: 36px; padding-top: 20px; padding-bottom: 20px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 7px; }
  .cookie-banner .cookie-text { margin-right: 0; font-size: .97rem; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.2rem; }
  h2 { font-size: 1.0rem; }
  header img { height: 36px; }
  .footer .container { padding: 0 4px; font-size: .92rem; }
  .cookie-modal { padding: 18px 5px 8px 5px; font-size: .95rem; }
  .cookie-modal .modal-close { top: 8px; right: 6px; }
}

/* Hide scrollbar for mobile menu and modal overlay (optional) ------ */
.mobile-menu::-webkit-scrollbar, .cookie-modal-overlay::-webkit-scrollbar { display: none; }
.mobile-menu, .cookie-modal-overlay { -ms-overflow-style: none; scrollbar-width: none; }

/* Focus States ---------------------------------------------------- */
a:focus, .button:focus, button:focus, .modal-close:focus, .mobile-menu-close:focus {
  outline: 2px solid #35A7A5;
  outline-offset: 2px;
}

/* Hide visually when mobile menu closed ---------------------------- */
.mobile-menu {
  visibility: hidden;
}
.mobile-menu.open {
  visibility: visible;
}

/* Utility Classes ------------------------------------------------- */
.mt-0, .mt0 { margin-top: 0 !important; }
.mb-0, .mb0 { margin-bottom: 0 !important; }

/* Custom Scrollbar Styling for modal and mobile nav --------------- */
.mobile-menu, .cookie-modal {
  scrollbar-color: #35A7A5 #EEF2F6;
  scrollbar-width: thin;
}
.mobile-menu::-webkit-scrollbar, .cookie-modal::-webkit-scrollbar {
  width: 7px;
  background: #EEF2F6;
}
.mobile-menu::-webkit-scrollbar-thumb, .cookie-modal::-webkit-scrollbar-thumb {
  background: #35A7A5;
  border-radius: 4px;
}

/* Accessibility: High contrast text for testmonial/review cards */
.testimonial-card p, .testimonial-card strong { color: #204B6C!important; background: none; }

/* END ------------------------------------------------------------ */