/* 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;
  vertical-align: baseline;
  font: inherit;
  box-sizing: border-box;
}

html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { min-height: 100vh; width: 100vw; }

table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
}
th, td {
  text-align: left;
  padding: 16px 12px;
}
th { background: #f2f2f6; font-weight: 700; }
tr { border-bottom: 1px solid #e1e1e7; }

ul, ol {
  margin-left: 22px;
  margin-bottom: 16px;
}
li { line-height: 1.7; margin-bottom: 8px; }
img { max-width: 100%; display: block; border: 0; }
a { text-decoration: none; color: inherit; transition: color .2s; }

/* BASE TYPO & COLORS (Monochrome_Sophisticated) */
:root {
  --primary: #173359;
  --primary-800: #101A27;
  --primary-300: #445574;
  --secondary: #ffffff;
  --secondary-light: #E6E9F1;
  --accent: #008764;
  --neutral-900: #111111;
  --neutral-700: #333333;
  --neutral-500: #727272;
  --grey-bg: #F7F8FA;
  --border: #DEE0E6;
  --shadow: 0 2px 24px 0 rgba(0,0,0,.06);
  --radius: 14px;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--neutral-900);
  background: var(--secondary);
  /* dramatic contrast */
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary-800);
  font-weight: 700;
  line-height: 1.16;
  margin-bottom: 18px;
}
h1 { font-size: 2.5rem; letter-spacing: -2px; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.12rem; }

p, ul, ol, table, blockquote {
  color: var(--neutral-900);
  font-size: 1rem;
}

strong, b { color: var(--primary); font-weight: 700; }

blockquote {
  font-style: italic;
  color: var(--primary);
  background: var(--secondary-light);
  border-left: 4px solid var(--accent);
  padding: 12px 24px;
  border-radius: var(--radius);
  margin: 0 0 12px 0;
}

/* Container, Layout */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 0;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 280px;
  min-width: 260px;
  max-width: 345px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.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(--secondary-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 240px;
  max-width: 520px;
  margin-bottom: 20px;
  box-shadow: 0px 2px 12px 0 rgba(23,51,89,0.04);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO / CTA Button */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--secondary);
  border: none;
  padding: 0 34px;
  height: 48px;
  border-radius: 23px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.03rem;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.08);
  transition: background .2s, color .2s, transform .18s, box-shadow .18s;
  will-change: transform;
  margin-top: 16px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 4px 18px 0 rgba(23,51,89,0.12);
}

/* Header / NAVIGATION */
header {
  background: var(--secondary);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}
nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}
nav > a img {
  height: 44px;
  width: auto;
  display: block;
}
nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 22px 0 0;
}
nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary-800);
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 1rem;
  transition: background .2s, color .2s;
  position: relative;
}
nav ul li a:hover,
nav ul li a:focus,
nav ul li.active a {
  background: var(--secondary-light);
  color: var(--accent);
}

/* Hide the CTA button in desktop nav for mobile, handled in media query */
nav .cta-btn {
  margin-left: 10px;
  margin-top: 0;
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  cursor: pointer;
  padding: 8px 12px;
  margin-left: auto;
  z-index: 22;
  transition: background .15s;
  border-radius: 50%;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--secondary-light);
}
/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(23,51,89,0.97);
  backdrop-filter: blur(2px);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform .33s cubic-bezier(.64,.04,.35,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  margin: 22px 16px 0 0;
  cursor: pointer;
  z-index: 202;
  align-self: flex-end;
  transition: color .16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 28px;
  width: 100%;
  padding: 60px 36px 24px 0;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.21rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  transition: background .18s, color .18s;
  min-width: 200px;
  text-align: right;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 1024px) {
  nav ul {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  nav ul {
    gap: 8px;
  }
}
@media (max-width: 768px) {
  nav ul, nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  nav {
    padding: 0 12px;
  }
  .container {
    padding: 0 8px;
  }
}

/* SECTIONS & STRUCTURE */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
section:last-child { margin-bottom: 0; }

/* Lists in features or service overviews */
.service-features, .service-list, .team-grid  {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding: 0;
}
.service-features li, .service-list li, .team-grid li {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 22px;
  min-width: 240px;
  max-width: 340px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow .22s, border-color .16s, transform .17s;
  will-change: transform;
}
.service-features li:hover, .service-list li:hover, .team-grid li:hover {
  box-shadow: 0 6px 26px 0 rgba(23,51,89,0.10);
  border-color: var(--primary-300);
  transform: translateY(-4px) scale(1.01);
}
.service-features img, .service-list img, .team-grid img {
  height: 38px;
  margin-bottom: 2px;
}

/* Feature icons */
.feature-item img, .service-features img {
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
}

/* Footer Styling */
footer {
  background: var(--neutral-900);
  color: var(--secondary);
  padding: 42px 0 24px 0;
}
footer .container {
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}
footer img {
  height: 38px;
  margin-bottom: 18px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  margin: 18px 0 6px 0;
  padding: 0;
}
.footer-links li a {
  color: #fff;
  opacity: 0.83;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background .2s, color .2s, opacity .16s;
}
.footer-links li a:hover,
.footer-links li a:focus {
  background: var(--accent);
  color: #fff;
  opacity: 1;
}
.legal-mention {
  font-size: .95rem;
  color: #d3d5db;
  margin-top: 10px;
  letter-spacing: 0.02em;
}

/* TABLES */
table {
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 30px;
}
th {
  background: var(--secondary-light);
  color: var(--primary-800);
  font-size: 1.04rem;
  font-weight: 700;
}
td {
  color: var(--neutral-700);
  background: #fff;
  font-size: 1rem;
}
tr:nth-child(even) td { background: var(--grey-bg); }

/* Address, Map, Misc */
.address-map {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 20px;
}
.address-map img {
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* SUBTLE SHADOW FOR CARDS */
.card, .testimonial-card, .service-features li, .service-list li, .team-grid li {
  box-shadow: var(--shadow);
}

/* TRANSITIONS/MICRO-INTERACTIONS */
button, .cta-btn, .footer-links li a, nav ul li a, .mobile-nav a, .card, .testimonial-card, .service-features li, .team-grid li {
  transition: background .20s, color .18s, box-shadow .16s, border-color .13s, transform .15s;
}

/* FOCUS STATES */
.cta-btn:focus, nav ul li a:focus, .footer-links li a:focus, .mobile-nav a:focus, .mobile-menu-toggle:focus,
button:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  z-index: 11;
}

/* Testimonial strong contrast on light bg */
.testimonial-card blockquote {
  background: none;
  color: var(--primary-800);
  border-left: 4px solid var(--primary);
}
.testimonial-card p {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
.testimonial-card strong { font-weight: 700; color: var(--primary-800); }

/* Responsive: Mobile Layouts */
@media (max-width: 992px) {
  .card-container, .service-features, .service-list, .team-grid, .content-grid {
    gap: 14px;
  }
}
@media (max-width: 820px) {
  .card-container, .service-features, .service-list, .team-grid, .content-grid {
    flex-direction: column;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card, .card {
    min-width: 92vw;
    max-width: 98vw;
  }
}
@media (max-width: 560px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.15rem; }
  section { padding: 24px 4px; }
  .container { padding: 0 2.5vw; }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; right: 0; left: 0;
  width: 100vw;
  background: #fff;
  color: var(--primary-800);
  box-shadow: 0 -2px 28px 0 rgba(17,17,17,0.12);
  border-top: 1px solid var(--border);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 18px 18px 12px;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 1rem;
  animation: cookiein .46s cubic-bezier(.76,.16,.3,1);
}
@keyframes cookiein {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin: 0 12px 0 0;
  font-size: 1rem;
  color: var(--primary-800);
}
.cookie-banner .cookie-btn {
  border: none;
  background: var(--primary);
  color: #fff;
  border-radius: 19px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 9px 29px;
  font-size: 1rem;
  margin: 0 8px 0 0;
  cursor: pointer;
  transition: background .17s, color .14s, transform .15s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
.cookie-banner .cookie-btn--secondary {
  background: var(--secondary-light);
  color: var(--primary-800);
  border: 1px solid var(--primary-300);
  font-weight: 500;
}
.cookie-banner .cookie-btn--secondary:hover, .cookie-banner .cookie-btn--secondary:focus {
  background: var(--accent);
  color: #fff;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23,51,89,0.75);
  z-index: 2650;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookie .17s cubic-bezier(.76,.16,.3,1);
}
@keyframes fadeInCookie {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: var(--primary-800);
  padding: 36px 30px 24px 30px;
  border-radius: var(--radius);
  box-shadow: 0 6px 24px 0 rgba(23,51,89,0.14);
  max-width: 98vw;
  width: 410px;
  font-size: 1rem;
  position: relative;
  animation: popupCookie .28s cubic-bezier(.76,.16,.3,1);
}
@keyframes popupCookie {
  from { transform: translateY(18px) scale(.95); opacity: 0;} to { transform: none; opacity: 1; }
}
.cookie-modal h3 {
  margin-top: 0;
  font-size: 1.11rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.76rem;
  cursor: pointer;
  transition: color .17s;
}
.cookie-modal-close:hover {
  color: var(--primary-800);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 0.99rem;
}
.cookie-modal .cookie-toggle {
  margin-right: 8px;
}
.cookie-modal .cookie-toggle[disabled] {
  opacity: 0.43;
  cursor: not-allowed;
}
.cookie-modal .cookie-toggle {
  width: 24px;
  height: 24px;
  accent-color: var(--accent);
}
.cookie-modal .cookie-modal-footer {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.cookie-modal .cookie-btn { margin: 0; }

@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 16px 7px; }
  .cookie-modal { padding: 24px 7vw 14px 7vw; width: 95vw; }
}

/* --- END COOKIE SECTION --- */

/* General Utilities */
.mt-30 { margin-top: 30px; }
.mb-0 { margin-bottom: 0 !important; }

/* Accessibility helpers for visually-hidden */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Misc Classes for Spacing Consistency */
ul:not([class]), ol:not([class]) { margin-bottom: 24px; }
.text-section ul, .text-section ol { margin-bottom: 0; }

/* Prevent overlapping, always add gap in flex layouts */
.content-wrapper, .card-container, .service-features, .service-list, .team-grid, .footer-links, .testimonial-card { gap: 20px; }

/* END CSS */
