/* --- 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 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #181A1B;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #163D57;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #000;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1em;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #111;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -1.5px;
  line-height: 1.2;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 24px;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.10rem;
  margin-bottom: 8px;
}
p, li, blockquote, table, ul, ol {
  font-size: 1rem;
  margin-bottom: 14px;
  color: #222;
}
blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-style: italic;
  background: #F2F4F8;
  border-left: 4px solid #181A1B;
  padding: 18px 24px;
  margin: 0 0 8px 0;
  color: #181A1B;
}
strong {
  font-weight: 600;
  color: #111;
}

/* --- LAYOUT CONTAINERS --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (min-width: 900px) {
  .content-wrapper {
    gap: 32px;
  }
  .section {
    padding: 60px 20px;
  }
}

/* --- HEADER --- */
header {
  background: #fff;
  border-bottom: 1px solid #E6E7E9;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #181A1B;
  opacity: 0.93;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border 0.2s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #163D57;
  border-bottom: 2px solid #163D57;
}
.cta-btn {
  background: #181A1B;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 24px;
  padding: 12px 32px;
  font-size: 1.13rem;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(22, 61, 87, 0.08);
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: background 0.22s, color 0.21s, box-shadow 0.3s;
  margin-left: 16px;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #163D57;
  color: #fff;
  box-shadow: 0 4px 26px rgba(22,61,87,0.18);
}
header img {
  max-height: 48px;
  height: 48px;
  width: auto;
}

/* --- MOBILE NAV --- */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #181A1B;
  border: none;
  font-size: 2em;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(22,61,87,0.11);
  cursor: pointer;
  margin-left: 8px;
  z-index: 41;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #163D57;
  background: #F2F4F8;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 90vw;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 32px rgba(22,61,87,0.23);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.86,.01,.31,.99);
  z-index: 50;
  display: flex;
  flex-direction: column;
  padding: 32px 18px 24px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #F2F4F8;
  color: #181A1B;
  border: none;
  font-size: 2em;
  align-self: flex-end;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  margin-bottom: 16px;
  transition: background 0.2s;
  z-index: 52;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #181A1B;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 18px;
}
.mobile-nav a {
  color: #163D57;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.12em;
  padding: 12px 0 12px 10px;
  border-radius: 8px;
  transition: background 0.19s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2F4F8;
  color: #000;
}

@media (min-width: 1025px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none;
  }
}
@media (max-width: 1024px) {
  .main-nav, .cta-btn {
    display: none !important;
  }
}

/* overlay on mobile menu open */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(24, 26, 27, 0.34);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s;
}
.mobile-menu.open ~ .mobile-menu-overlay {
  pointer-events: auto;
  opacity: 1;
}

/* --- HERO SECTION --- */
.hero {
  background: #181A1B;
  color: #fff;
  min-height: 320px;
  display: flex;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1,
.hero p {
  color: #fff;
}
.hero .cta-btn {
  background: #fff;
  color: #181A1B;
  margin-top: 24px;
  box-shadow: 0 3px 16px rgba(22, 61, 87, 0.25);
}
.hero .cta-btn:hover, .hero .cta-btn:focus {
  background: #163D57;
  color: #fff;
}

@media (min-width: 800px) {
  .hero .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* --- FLEXBOX GRID PATTERNS --- */
.card-container, .feature-grid, .service-list, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 18px;
  background: #FAFAFC;
  box-shadow: 0 2px 18px rgba(22, 61, 87, 0.07);
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 36px rgba(22, 61, 87, 0.17);
  transform: translateY(-3px);
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 768px) {
  .content-grid, .feature-grid, .card-container, .service-list, .text-image-section {
    flex-direction: column !important;
    gap: 20px !important;
  }
}

/* --- FEATURE GRID & CARDS --- */
.feature-grid li, .service-list li {
  background: #fff;
  box-shadow: 0 2px 12px rgba(22,61,87,0.09);
  border-radius: 14px;
  padding: 32px 20px 26px 20px;
  min-width: 220px;
  max-width: 355px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, border 0.23s;
  border: 1.5px solid #F2F4F8;
}
.feature-grid li:hover, .service-list li:hover {
  box-shadow: 0 10px 32px rgba(22,61,87,0.15);
  border-color: #E6E7E9;
}
.feature-grid img, .feature-grid svg {
  height: 42px;
  width: 42px;
  filter: grayscale(1) contrast(1.3);
  margin-bottom: 6px;
}
.service-list span {
  display: inline-block;
  font-size: 0.98rem;
  color: #5BC8D4;
  margin-top: 2px;
}
.price-row, .service-list .price-row {
  color: #181A1B;
  margin-top: 10px;
  font-weight: 600;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 12px rgba(22,61,87,0.09);
  margin-bottom: 24px;
  min-width: 0;
  max-width: 620px;
  border: 1.4px solid #F2F4F8;
  transition: box-shadow 0.22s, border 0.23s;
}
.testimonial-card blockquote {
  background: transparent;
  border: none;
  color: #181A1B;
  font-size: 1.13em;
}
.testimonial-card p {
  color: #232425;
  font-size: 1em;
  margin-bottom: 0;
}
.testimonial-card:hover {
  box-shadow: 0 6px 22px rgba(22, 61, 87, 0.17);
  border-color: #E6E7E9;
}

/* --- BUTTONS --- */
button, .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 24px;
  background: #181A1B;
  color: #fff;
  font-size: 1.08em;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.23s, color 0.17s, box-shadow 0.21s;
}
button:hover, .btn:hover, button:focus, .btn:focus {
  background: #163D57;
  color: #fff;
  box-shadow: 0 3px 12px rgba(22,61,87,0.07);
}

/* --- CTAs --- */
.cta-btn {
  box-shadow: 0 2px 12px rgba(22, 61, 87, 0.10);
  background: #181A1B;
  color: #fff;
  border: none;
  transition: background 0.22s, box-shadow 0.22s;
}
.cta-btn:active {
  background: #000;
}

/* --- TABLES --- */
table {
  width: 100%;
  margin-bottom: 20px;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 12px rgba(22,61,87,0.06);
}
thead th {
  background: #181A1B;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12em;
  padding: 14px 10px;
}
tbody tr {
  border-bottom: 1px solid #F2F4F8;
}
td, th {
  padding: 14px 10px;
  text-align: left;
}
tbody tr:last-child {
  border-bottom: none;
}
caption {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  margin-bottom: 6px;
  color: #111;
}

/* --- TEXT SECTIONS --- */
.text-section {
  background: #F8FAFB;
  border-radius: 10px;
  padding: 32px 22px;
  color: #202226;
  box-shadow: 0 1px 8px rgba(22,61,87,0.05);
  margin-bottom: 18px;
}
.text-section ul {
  padding-left: 22px;
  margin-bottom: 10px;
  list-style-type: disc;
}
.text-section li {
  margin-bottom: 7px;
  color: #222;
}

/* --- CONTACT DETAILS --- */
.contact-details, .contact-highlight {
  background: #fff;
  border-radius: 10px;
  padding: 22px 18px;
  box-shadow: 0 1px 8px rgba(22,61,87,0.06);
  margin-bottom: 16px;
  color: #163D57;
  font-size: 1.04em;
}
.contact-highlight {
  background: #F2F4F8;
  color: #181A1B;
  font-weight: 600;
}
.contact-details a {
  color: #163D57;
  text-decoration: underline;
}
.contact-details a:hover, .contact-details a:focus {
  text-decoration: none;
  color: #000;
}

/* --- FOOTER --- */
footer {
  background: #181A1B;
  color: #fff;
  padding: 48px 0 16px 0;
  font-size: 0.97em;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-end;
}
.footer-nav, .legal-nav {
  display: flex;
  gap: 20px;
}
.footer-nav a, .legal-nav a {
  color: #F2F4F8;
  opacity: 0.80;
  transition: color 0.18s, opacity 0.16s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-nav a:hover, .legal-nav a:hover {
  color: #5BC8D4;
  opacity: 1;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer-brand img {
  height: 36px;
  width: auto;
  filter: grayscale(1) brightness(9);
  margin-bottom: 8px;
}
footer p {
  color: #BEC3CA;
  margin-bottom: 0;
  font-size: 1em;
}
@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }
  .footer-nav, .legal-nav {
    flex-direction: column;
    gap: 10px;
  }
  .footer-brand {
    align-items: flex-start;
  }
}

/* --- SPACING & ALIGNMENT FOR FLEXBOX --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container,
.feature-grid,
.card-grid,
.service-list,
.content-grid,
.text-image-section {
  gap: 24px;
}
.feature-item {
  gap: 15px;
  align-items: flex-start;
}
.testimonial-card {
  gap: 20px;
  padding: 20px;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1100px) {
  .container {
    max-width: 94vw;
  }
}
@media (max-width: 700px) {
  h1 {
    font-size: 2.0rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .section {
    padding: 30px 8px;
  }
}
@media (max-width: 500px) {
  .feature-grid li, .service-list li {
    min-width: unset;
    max-width: 100%;
    padding: 18px 10px 18px 10px;
  }
  .card {
    padding: 18px 10px;
  }
  .text-section {
    padding: 14px 7px;
  }
  .contact-details, .contact-highlight {
    padding: 12px 7px;
    font-size: 0.96em;
  }
}

/* --- MICRO-INTERACTIONS & EFFECTS --- */
.cta-btn, button, .feature-grid li, .service-list li, .card, .testimonial-card {
  transition: box-shadow 0.21s, transform 0.17s, background 0.18s, color 0.16s;
}
.feature-grid li:hover, .service-list li:hover, .card:hover {
  transform: translateY(-3px) scale(1.015);
  z-index: 2;
}
.testimonial-card:hover {
  transform: scale(1.025);
  z-index: 3;
}

/* --- FORMS (if needed in future) --- */
input, textarea, select {
  width: 100%;
  padding: 12px 10px;
  margin-bottom: 16px;
  border-radius: 7px;
  border: 1.2px solid #E6E7E9;
  background: #F8FAFB;
  font-size: 1em;
  color: #222;
  box-shadow: 0 1px 4px rgba(22,61,87,0.03);
  transition: border 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #5BC8D4;
  outline: none;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: #181A1B;
  color: #fff;
  z-index: 1999;
  width: 98vw;
  max-width: 550px;
  box-shadow: 0 6px 32px rgba(22,61,87,0.21);
  border-radius: 20px 20px 0 0;
  padding: 26px 18px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.44s cubic-bezier(.44,.13,.32,.98), opacity 0.38s;
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.cookie-banner p {
  font-size: 1em;
  color: #fff;
  margin-bottom: 8px;
}
.cookie-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 8px;
}
.cookie-btn {
  border-radius: 18px;
  padding: 10px 18px;
  background: #5BC8D4;
  color: #181A1B;
  font-weight: 600;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  margin: 0;
  cursor: pointer;
  transition: background 0.18s, color 0.16s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #163D57;
  color: #fff;
}
.cookie-btn.secondary {
  background: #fff;
  color: #181A1B;
  border: 1px solid #5BC8D4;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #E6E7E9;
}

/* --- COOKIE MODAL --- */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24,26,27,0.34);
  z-index: 2001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 52%;
  transform: translate(-50%,-50%) scale(0.92);
  background: #fff;
  color: #181A1B;
  z-index: 2002;
  min-width: 330px;
  max-width: 96vw;
  width: 450px;
  border-radius: 14px;
  box-shadow: 0 22px 64px rgba(22,61,87,0.19);
  padding: 32px 26px 26px 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s, transform 0.33s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #F2F4F8;
  border: none;
  color: #181A1B;
  font-size: 1.5em;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  z-index: 2003;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #181A1B;
  color: #fff;
}
.cookie-modal h3 {
  font-size: 1.15em;
  font-weight: 700;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 13px;
  gap: 12px;
}
.cookie-category .toggle {
  display: flex;
  align-items: center;
  min-width: 36px;
}
.cookie-category label {
  font-size: 1em;
  color: #181A1B;
  margin-left: 4px;
}
/* Styled toggle switches */
.cookie-switch {
  position: relative;
  width: 34px;
  height: 20px;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #F2F4F8;
  border-radius: 15px;
  transition: background 0.22s;
}
.cookie-switch input:checked + .cookie-slider {
  background: #5BC8D4;
}
.cookie-slider::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(22,61,87,0.08);
  transition: transform 0.22s;
}
.cookie-switch input:checked + .cookie-slider::before {
  transform: translateX(14px);
}
.cookie-category[aria-disabled='true'], .cookie-category[aria-disabled='true'] * {
  opacity: 0.54;
  pointer-events: none;
}

.cookie-modal .cookie-btn-row {
  margin-top: 20px;
  justify-content: flex-end;
}

@media (max-width:550px) {
  .cookie-modal {
    min-width: unset;
    width: 96vw;
    padding: 18px 8px 18px 11px;
  }
  .cookie-modal h3 {
    font-size: 1em;
  }
}

/* --- MONOCHROME EFFECTS --- */
body, .section, .card, .feature-grid li, .service-list li, .contact-details, .testimonial-card {
  background: #fff;
}
.section {
  box-shadow: 0 0.5px 9px rgba(22,61,87,0.04);
  border-radius: 17px;
}
.hero, header, footer {
  background: #181A1B;
}

/* --- OVERRIDE SYSTEM COLOR SCHEME (NO DARK MODE YET) --- */
@media (prefers-color-scheme: dark) {
  body {
    background: #181A1B;
    color: #fff;
  }
}
