/* 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, 
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;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  font-size: 16px;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #222E3A;
  background: #F6F6F4;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #457A6D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #222E3A;
}
ul,ol {
  padding-left: 1.6em;
}
ul {
  list-style: square inside;
}
strong {
  font-weight: 600;
}

/* BRAND TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #222E3A;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
h1 {
  font-size: 2.375rem; /* 38px */
  margin-bottom: 0.75em;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
h2 {
  font-size: 1.875rem; /* 30px */
  margin-bottom: 0.6em;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
h3 {
  font-size: 1.375rem; /* 22px */
  margin-bottom: 0.5em;
  letter-spacing: 0.02em;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5em;
}
p, li, blockquote {
  font-size: 1rem;
  margin-bottom: 1.2em;
  font-family: 'Open Sans', Arial, sans-serif;
}
blockquote {
  border-left: 4px solid #457A6D;
  padding-left: 16px;
  font-style: italic;
  margin-bottom: 0.75em;
}
.text-section h2 {
  margin-top: 2em;
}

/* CONTAINER & LAYOUT STRUCTURE */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(68, 90, 109, 0.06);
}

/* FLEX SPACING CLASSES AS REQUIRED */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(34, 46, 58, 0.04);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  flex: 1 1 320px;
}
.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: #F6F6F4;
  border-left: 6px solid #457A6D;
  border-radius: 13px;
  padding: 20px 28px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(68,122,109,0.06);
  max-width: 540px;
}
.testimonial-card blockquote {
  margin: 0 0 .5em 0;
  color: #222E3A;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 13px rgba(34,46,58,0.06);
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 24px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #222E3A;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 8px;
  letter-spacing: 0.025em;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #F6F6F4;
  color: #457A6D;
}
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  background: #457A6D;
  color: #fff;
  padding: 11px 30px;
  border-radius: 28px;
  font-size: 1rem;
  border: none;
  outline: none;
  cursor: pointer;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(34,46,58,0.10);
  transition: background 0.18s, transform 0.09s;
}
.button-primary:hover, .button-primary:focus {
  background: #222E3A;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

/* HERO, FEATURE, AND CARD ENHANCEMENTS */
.section > .container > .content-wrapper > h1,
.section > .container > .content-wrapper > h2 {
  margin-bottom: 12px;
}
.section > .container > .content-wrapper > p {
  margin-bottom: 20px;
}
.features-list, .services-list, .benefits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.features-list li, .services-list li, .benefits-list li {
  background: #fff;
  box-shadow: 0 2px 8px rgba(68,122,109,0.07);
  border-radius: 18px;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1 1 320px;
  min-width: 240px;
}
.features-list img, .services-list img, .benefits-list img {
  width: 36px;
  height: 36px;
  margin-right: 8px;
}

/* SEARCH BAR */
.search-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.search-bar input[type="text"] {
  font-family: 'Open Sans', Arial, sans-serif;
  border: 2px solid #457A6D;
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 1rem;
  min-width: 220px;
  transition: border-color 0.18s, box-shadow 0.15s;
  outline: none;
}
.search-bar input[type="text"]:focus {
  border-color: #222E3A;
  box-shadow: 0 0 0 2px #457A6D22;
}

/* TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  background: #FFF;
  margin-bottom: 22px;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 10px;
}
thead {
  background: #457A6D;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
table th, table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid #F6F6F4;
  font-size: 1rem;
  vertical-align: middle;
}
tbody tr:last-child td {
  border-bottom: none;
}
tbody tr:nth-child(even) {
  background: #F6F6F4;
}

/* RATINGS */
.rating {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
}
.rating img {
  width: 20px;
  height: 20px;
}

/* FOOTER */
footer {
  background: #222E3A;
  color: #fff;
  padding: 36px 0 0 0;
  margin-top: 44px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
footer img {
  width: 52px;
  height: auto;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
footer nav a {
  color: #F6F6F4;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  margin-bottom: 3px;
}
footer nav a:hover, footer nav a:focus {
  color: #457A6D;
}
footer .contact-details p, footer .contact-details li {
  color: #F6F6F4;
  font-size: 1rem;
  margin-bottom: 5px;
  font-family: 'Open Sans', Arial, sans-serif;
}
footer .disclaimer {
  width: 100%;
  margin-top: 18px;
  border-top: 1px solid #457A6D22;
  padding: 11px 0 0 0;
  text-align: center;
  font-size: 0.92rem;
  color: #F6F6F4BB;
}

/* SOCIAL MEDIA ICON PLACEHOLDER */
.social-media-links {
  display: flex;
  gap: 14px;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: #457A6D;
  color: #fff;
  border: none;
  border-radius: 100px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 16px;
  top: 18px;
  z-index: 61;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #222E3A;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.62, 0, .19, 1);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 20px 20px 26px;
  box-shadow: 6px 0 30px rgba(34,46,58,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
  /* For smooth slide-in */
}
.mobile-menu-close {
  background: #457A6D;
  color: #fff;
  border: none;
  border-radius: 88px;
  width: 38px;
  height: 38px;
  font-size: 1.35rem;
  align-items: center;
  justify-content: center;
  display: flex;
  margin-bottom: 28px;
  cursor: pointer;
  transition: background 0.16s;
}
.mobile-menu-close:hover,.mobile-menu-close:focus {
  background: #222E3A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: 100%;
}
.mobile-nav a {
  color: #222E3A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.23rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 13px 0 13px 4px;
  border-bottom: 1px solid #F6F6F4;
  border-radius: 7px;
  transition: background 0.16s, color 0.16s;
  min-width: 170px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6F6F4;
  color: #457A6D;
}
@media (max-width: 1080px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 990px) {
  header .container {
    gap: 16px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .content-wrapper {
    gap: 22px;
  }
  .features-list, .services-list {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .content-wrapper {
    gap: 16px;
  }
  .features-list li, .services-list li {
    min-width: 170px;
    flex: 1 1 180px;
    padding: 12px 9px;
  }
  .section {
    padding: 30px 8px;
  }
}
@media (max-width: 820px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .button-primary {
    display: none;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 33px;
    padding: 16px 3vw;
    border-radius: 12px;
  }
  h1 {font-size: 1.75rem;}
  h2 {font-size: 1.27rem;}
  h3 {font-size: 1.04rem;}
  p, li, blockquote {font-size: 0.98rem;}
  .content-wrapper {
    gap: 12px;
  }
  .features-list, .services-list, .benefits-list {
    flex-direction: column;
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .testimonial-card {
    padding: 13px 12px;
    border-radius: 10px;
    max-width: 100%;
  }
  .search-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    width: 100%;
  }
  table th, table td {
    padding: 10px 6px;
    font-size: 0.94rem;
  }
}
@media (max-width: 540px) {
  .container {
    max-width: 99vw;
    padding: 0 4px;
  }
  .section {
    padding: 9px 2vw;
  }
  header img {
    height: 36px;
    margin-right: 8px;
  }
  .card {
    padding: 14px 7px;
    border-radius: 7px;
  }
  .testimonial-card {
    border-radius: 7px;
    padding: 8px 7px;
  }
  .mobile-menu {
    padding: 23px 7px 7px 18px;
  }
  .mobile-menu-close {
    margin-bottom: 12px;
  }
  .mobile-nav a {
    font-size: 1.09rem;
    padding: 8.5px 0 8.5px 2px;
    min-width: 109px;
  }
}

/* VISUAL GEOMETRY & ACCENTUATION */
.section {
  /* Use sharp edges with subtle radius for geometric style */
  border-radius: 14px;
  box-shadow: 0 2px 18px rgba(34,46,58,0.05), 0 1px 1px rgba(34,46,58,0.01);
}
.card, .testimonial-card, table {
  border-radius: 11px;
}
.features-list li, .services-list li {
  border-radius: 18px 2px 18px 2px;
  border: 2px solid #F6F6F4;
  position: relative;
}
.features-list li:before, .services-list li:before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: #457A6D;
  border-radius: 3px;
  margin-right: 9px;
}

/* BUTTON AND LINK STATES */
.button-primary {
  box-shadow: 0 2px 12px rgba(68,122,109,0.10);
  border-bottom: 2.5px solid #222E3A;
  transition: background 0.16s, transform 0.09s, border-color 0.15s;
}
.button-primary:active {
  background: #2e4446;
  border-bottom: 2.5px solid #457A6D;
  transform: translateY(1px) scale(0.99);
}

/* MICRO-INTERACTIONS */
.features-list li,
.services-list li,
.card,
.testimonial-card {
  transition: box-shadow 0.22s cubic-bezier(.26,.69,.58,1), transform 0.16s cubic-bezier(.27,.69,.64,1);
}
.features-list li:hover,
.services-list li:hover,
.card:hover,
.testimonial-card:hover {
  box-shadow: 0 6px 25px rgba(68,122,109,0.11), 0 1.4px 1.4px rgba(68,122,109,0.04);
  transform: translateY(-2px) scale(1.013);
}
input[type="text"], .button-primary, .mobile-menu-close, .mobile-menu-toggle {
  transition: box-shadow 0.18s, border-color 0.18s, background 0.16s, color 0.16s;
}

/* Z-INDEX FOR MOBILE MENU */
.mobile-menu, .mobile-menu-toggle { z-index: 9999; }

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: #222E3A;
  color: #fff;
  z-index: 9000;
  width: 100vw;
  box-shadow: 0 -4px 30px rgba(34,46,58,0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 19px 20px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  gap: 16px;
  transition: transform 0.44s cubic-bezier(.78, .24, .27, 1), opacity 0.36s;
}
.cookie-banner.hide {
  transform: translateY(140px);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .banner-text {
  max-width: 600px;
  line-height: 1.65;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.cookie-banner .banner-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: #457A6D;
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 9px 22px;
  font-size: 1rem;
  cursor: pointer;
  margin-left: 0;
  letter-spacing: 0.04em;
  transition: background 0.15s, color 0.15s;
}
.cookie-banner .banner-btn:hover, .cookie-banner .banner-btn:focus {
  background: #fff;
  color: #222E3A;
}
.cookie-banner .secondary-btn {
  background: #F6F6F4;
  color: #222E3A;
}
.cookie-banner .secondary-btn:hover, .cookie-banner .secondary-btn:focus {
  background: #457A6D;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(0.8);
  opacity: 0;
  pointer-events: none;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(34,46,58,0.18);
  width: 96vw;
  max-width: 410px;
  z-index: 9950;
  padding: 33px 30px 23px 30px;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #222E3A;
  transition: transform 0.36s cubic-bezier(.7, 0, .33, 1), opacity 0.28s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal .modal-header {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #222E3A;
}
.cookie-modal .modal-text {
  margin-bottom: 13px;
  font-size: 1rem;
  line-height: 1.45;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-category .category-title {
  font-size: 1rem;
  font-weight: 700;
  color: #222E3A;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category .cookie-toggle {
  width: 36px;
  height: 22px;
  border-radius: 26px;
  border: none;
  background: #F6F6F4;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: background 0.2s;
}
.cookie-category .cookie-toggle[aria-checked="true"] {
  background: #457A6D;
}
.cookie-category .cookie-toggle:before {
  content: '';
  width: 18px; height: 18px;
  position: absolute;
  left: 2px; top: 2px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.17s, background 0.18s;
  box-shadow: 0 2px 6px rgba(34,46,58,0.07);
}
.cookie-category .cookie-toggle[aria-checked="true"]:before {
  left: 16px;
  background: #fff;
}
.cookie-category .cookie-toggle[disabled], .cookie-category .cookie-toggle[aria-disabled="true"] {
  background: #e8e8e8;
  cursor: not-allowed;
  opacity: .67;
}
.cookie-modal .modal-btns {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 18px;
}
.cookie-modal .modal-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 8px 19px;
  border: none;
  background: #457A6D;
  color: #fff;
  border-radius: 17px;
  cursor: pointer;
  transition: background 0.14s;
}
.cookie-modal .modal-btn:hover, .cookie-modal .modal-btn:focus {
  background: #222E3A;
}
.cookie-modal .modal-btn.close-btn {
  background: transparent;
  color: #222E3A;
  border: 1.2px solid #222E3A;
  font-weight: 600;
}
.cookie-modal .modal-btn.close-btn:hover, .cookie-modal .modal-btn.close-btn:focus {
  background: #F6F6F4;
  color: #457A6D;
  border-color: #457A6D;
}

/* ACCESSIBILITY OUTLINE */
a:focus, button:focus, .banner-btn:focus, .modal-btn:focus {
  outline: 2.5px solid #457A6D;
  outline-offset: 2px;
}

/* GEOMETRIC CUSTOM DECORATIONS */
.section, .card, table, .testimonial-card {
  border-radius: 13px 2px 13px 2px;
  /* diagonally-cut corners for geometric effect */
}

/* ADAPTIVE GEOMETRY ON MOBILE */
@media (max-width: 768px) {
  .section, .card, table, .testimonial-card {
    border-radius: 7px 2px 11px 2px;
  }
}

/* MISC LAYOUT CLASSES FROM FLEXBOX REQUIREMENTS */
.card-container, .content-grid, .features-list, .services-list, .benefits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}
@media (max-width: 1020px) {
  .card-container, .content-grid, .features-list, .services-list, .benefits-list {
    gap: 14px;
  }
}

/* PREVENT ABS/POS OVERLAP IN CONTENT */
.card, .testimonial-card, .section {
  position: relative;
  z-index: 1;
}

/* ENSURE CARD/SECTION MARGINS AS REQUIRED BY INSTRUCTIONS */
.card, .testimonial-card, .section {
  margin-bottom: 20px;
}

/* ACCESSIBILITY: DARK TEXT IN TESTIMONIALS */
.testimonial-card, .testimonial-card blockquote, .testimonial-card footer, .testimonial-card strong {
  color: #222E3A !important;
  background: inherit;
}

/* CUSTOM SCROLLBAR FOR STRUCTURED FEEL */
::-webkit-scrollbar {
  width: 9px;
  background: #F6F6F4;
}
::-webkit-scrollbar-thumb {
  background: #457A6D;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #222E3A;
}

/* GEOMETRIC INPUTS AND CHECKBOXES */
input, select, textarea {
  border-radius: 7px;
}

input:focus, select:focus, textarea:focus {
  border-color: #457A6D;
}

/* PRINT FRIENDLY */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal, footer {
    display: none !important;
  }
  .section, .container, .content-wrapper {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }
}
