/* CSS RESET & BASE STYLES */
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,
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;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: #222;
  background: #FAFAFA;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #204E60;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #4DA980;
  text-decoration: underline;
}
ul, ol {
  padding-left: 24px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  -webkit-appearance: none;
}
hr {
  border: none;
  border-top: 1px solid #dde4ea;
  margin: 32px 0;
}

/* VARIABLES (fallbacks in case CSS custom properties are not supported) */
:root {
  --color-primary: #204E60;
  --color-secondary: #4DA980;
  --color-accent: #FAFAFA;
  --color-bg: #FAFAFA;
  --color-bg-dark: #ecf3f7;
  --color-text: #222;
  --color-heading: #204E60;
  --color-muted: #678096;
  --color-border: #dde4ea;
  --shadow-elevate: 0 2px 16px rgba(32,78,96,0.10);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 6px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  color: var(--color-heading);
  font-family: var(--font-display);
  letter-spacing: -0.5px;
  font-weight: 700;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  line-height: 1.13;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.19;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  line-height: 1.23;
  font-weight: 600;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 600;
}
p, li, address {
  font-family: var(--font-body);
  color: var(--color-text);
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.6;
}
p:last-child, ul:last-child, ol:last-child {
  margin-bottom: 0;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
  color: var(--color-muted);
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(32,78,96,0.04);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  height: 84px;
}
header a img {
  height: 44px;
  width: auto;
}
nav {
  display: flex;
  gap: 20px;
  flex: 1 1 auto;
  align-items: center;
  margin-left: 32px;
}
nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  transition: color 0.18s;
}
nav a:hover, nav a:focus {
  color: var(--color-secondary);
  background: rgba(77,169,128,0.08);
}
.cta-button {
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 10px 28px;
  font-size: 1rem;
  margin-left: 28px;
  box-shadow: var(--shadow-elevate);
  transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
  border: none;
  cursor: pointer;
  outline: none;
  text-align: center;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 8px 26px rgba(77,169,128,0.18);
  transform: translateY(-2px) scale(1.025);
  text-decoration: none;
}
.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 2rem;
  margin-left: auto;
  display: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: rgba(32,78,96,0.10);
}

/* MOBILE BURGER MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32, 78, 96, 0.92);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 32px 16px 16px 16px;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.6,-0.2,.35,1.2);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  color: #fff;
  font-size: 2rem;
  background: rgba(32,78,96,0.10);
  border: none;
  border-radius: var(--radius-md);
  padding: 8px 12px;
  margin-bottom: 16px;
  transition: background 0.18s;
  cursor: pointer;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: rgba(77,169,128,0.20);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  padding: 14px 0;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.15s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: rgba(77,169,128,0.15);
  color: var(--color-secondary);
}

/* Responsive nav & burger menu visibility */
@media (max-width: 1060px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1061px) {
  .mobile-menu {
    display: none !important;
  }
}

/* MAIN LAYOUT */
main {
  min-height: 480px;
  padding-bottom: 0;
  background: #FAFAFA;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

/* FLEX-LAYOUTS (MANDATORY PATTERNS) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevate);
  padding: 28px 20px;
  flex: 1 1 300px;
}
.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: 12px;
  padding: 20px;
  background: #FAFAFA;
  border-left: 4px solid var(--color-secondary);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 16px rgba(32,78,96,0.06);
  margin-bottom: 20px;
  margin-top: 0;
  max-width: 520px;
  font-size: 1.05rem;
  color: #204E60;
}
.testimonial-card span {
  color: var(--color-text);
  font-size: 0.97rem;
  font-style: italic;
  font-weight: 500;
  margin-left: 0;
  letter-spacing: 0.02em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HOME FEATURES & SERVICES */
.feature-grid, .service-list, .team-list, .process-steps, .article-list, .faq-list, .contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.feature {
  flex: 1 1 230px;
  min-width: 230px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevate);
  padding: 26px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  border-left: 3px solid var(--color-primary);
  transition: transform 0.15s, box-shadow 0.21s;
}
.feature img {
  height: 42px;
  margin-bottom: 10px;
}
.feature:hover {
  transform: translateY(-5px) scale(1.025);
  box-shadow: 0 8px 32px rgba(32,78,96,0.09);
}

.service-list {
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.service {
  flex: 1 1 250px;
  min-width: 200px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevate);
  padding: 28px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.16s, transform 0.13s;
  margin-bottom: 20px;
}
.service img {
  height: 38px;
  margin-bottom: 8px;
}
.service:hover {
  box-shadow: 0 10px 36px rgba(32,78,96,.08);
  transform: translateY(-2px) scale(1.018);
}

.team-list {
  gap: 24px;
  flex-wrap: wrap;
}
.team-member {
  flex: 1 1 240px;
  min-width: 200px;
  background: #fafbfc;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 6px rgba(32,78,96,0.08);
  padding: 22px 18px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.process-steps {
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.process-step {
  flex: 1 1 210px;
  min-width: 180px;
  background: #f3f8fa;
  border-radius: var(--radius-md);
  padding: 23px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 1px 7px rgba(32,78,96,0.06);
  transition: box-shadow 0.16s;
}
.process-step img {
  height: 34px;
  margin-bottom: 6px;
}
.process-step:hover {
  box-shadow: 0 6px 20px rgba(32,78,96,0.12);
}

.step-by-step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 0;
}
.step-by-step-list li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
  background: #f3f8fa;
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: 0 2px 13px rgba(32,78,96,0.06);
}
.step-by-step-list img {
  height: 32px;
  margin-right: 8px;
}
.step-by-step-list strong {
  color: var(--color-secondary);
  margin-right: 8px;
}
.step-by-step-list span {
  color: var(--color-muted);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 0;
}
.faq-item {
  background: #eff6fa;
  border-radius: var(--radius-md);
  padding: 18px 16px;
  box-shadow: 0 1px 7px rgba(32,78,96,0.07);
  margin-bottom: 0;
}

/* CONTACT DETAILS */
.contact-details {
  gap: 26px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.contact-details > div {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  background: #f5fafd;
  border-radius: var(--radius-md);
  padding: 13px 18px;
  box-shadow: 0 1px 6px rgba(32,78,96,0.06);
  min-width: 230px;
  margin-bottom: 0;
}
.contact-details img {
  height: 28px;
  width: 28px;
}
.map {
  margin: 18px 0 0;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-muted);
}

/* BLOG */
.category-filters {
  margin-bottom: 18px;
  font-size: 1.06rem;
  color: var(--color-muted);
}
.category-filters a {
  color: var(--color-primary);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.16s, color 0.13s;
}
.category-filters a:hover, .category-filters a.active {
  background: var(--color-primary);
  color: #fff;
}
.article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.article-preview {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px rgba(32,78,96,0.07);
  flex: 1 1 280px;
  min-width: 230px;
  padding: 22px 18px 16px 19px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article-preview h3 {
  color: var(--color-primary);
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 4px;
}
.article-preview a {
  color: var(--color-secondary);
  font-weight: 600;
  margin-top: 8px;
}
.article-preview a:hover {
  text-decoration: underline;
}

/* CALL TO ACTION SECTION */
.cta {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  margin-top: 40px;
  box-shadow: 0 2px 20px rgba(32,78,96,0.09);
}
.cta .content-wrapper {
  align-items: center;
}
.cta h2, .cta p {
  color: #fff;
  text-align: center;
}
.cta .cta-button {
  margin-left: 0;
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-secondary);
  box-shadow: none;
}
.cta .cta-button:hover, .cta .cta-button:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* FOOTER */
footer {
  background: #204E60;
  color: #fff;
  padding: 36px 0 28px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}
.footer-nav a {
  color: #fff;
  font-size: 0.97rem;
  font-weight: 500;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
}
.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.footer-contact img {
  height: 34px;
  width: auto;
  margin-right: 10px;
}
.footer-contact address {
  font-style: normal;
  color: #fff;
  font-size: 0.97rem;
}
.footer-contact a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.18s;
}
.footer-contact a:hover { color: var(--color-secondary); }
.footer-copy {
  color: #dde4ea;
  font-size: 0.94rem;
  margin-top: 4px;
  text-align: left;
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #204E60;
  color: #fff;
  z-index: 10000;
  padding: 18px 20px 18px 20px;
  box-shadow: 0 -2px 18px rgba(32,78,96,0.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  transition: transform 0.32s cubic-bezier(.57,-0.1,.44,1.06);
}
.cookie-consent-banner.closed {
  transform: translateY(110%);
}
.cookie-consent-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  background: #fff;
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 9px 20px;
  margin-top: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.16s, color 0.12s;
  box-shadow: 0 1px 6px rgba(32,78,96,0.08);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn.reject {
  background: #fff7f7;
  color: #c13c3c;
  border: 1px solid #eedede;
}
.cookie-btn.reject:hover {
  background: #c13c3c;
  color: #fff;
}
.cookie-btn.settings {
  background: #e2eeeb;
  color: var(--color-primary);
  border: none;
}
.cookie-btn.settings:hover {
  background: #dde4ea;
  color: var(--color-secondary);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(32, 78, 96, 0.48);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.23s;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(32,78,96,0.21);
  padding: 36px 28px 28px 28px;
  max-width: 430px;
  width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 10002;
  font-size: 1rem;
  position: relative;
  animation: fadeInModal 0.32s;
}
@keyframes fadeInModal {
  0% { opacity: 0; transform: scale(.9); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  margin-bottom: 10px;
  color: var(--color-heading);
  font-size: 1.18rem;
  font-family: var(--font-display);
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #dde4ea;
}
.cookie-modal-category:last-child {
  border-bottom: none;
}
.cookie-modal-label {
  font-weight: 600;
  color: var(--color-primary);
}
.cookie-modal-toggle {
  margin-left: auto;
}
.cookie-modal .cookie-btn {
  width: 100%;
  margin: 14px 0 0 0;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #dde4ea;
  color: var(--color-primary);
  border: none;
  font-size: 1.19rem;
  border-radius: 1em;
  padding: 5px 10px;
  cursor: pointer;
  transition: background 0.15s, color 0.13s;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  background: var(--color-secondary);
  color: #fff;
}

/* TOGGLE SWITCHES (cookie categories) */
.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #dde4ea;
  transition: 0.2s;
  border-radius: 12px;
}
.switch input:checked + .slider {
  background-color: var(--color-secondary);
}
.slider:before {
  position: absolute;
  content: '';
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: .2s;
  box-shadow: 0 1px 4px rgba(32,78,96,0.11);
}
.switch input:checked + .slider:before {
  transform: translateX(20px);
}

/* GENERAL BUTTON STYLING */
button {
  cursor: pointer;
}

/* UTILITIES */
.muted {
  color: var(--color-muted);
}
.text-center {
  text-align: center;
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 900px) {
  .feature-grid, .service-list, .process-steps, .card-container, .team-list, .article-list, .content-grid, .contact-details {
    flex-direction: column;
    gap: 20px;
  }
  .content-wrapper {
    gap: 16px;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
}
@media (max-width: 768px) {
  header .container {
    height: 64px;
    gap: 12px;
  }
  .cta {
    margin-top: 24px;
    border-radius: var(--radius-md);
  }
  .section {
    padding: 26px 8px;
    margin-bottom: 32px;
  }
  .content-wrapper {
    padding: 0 0;
  }
  .content-grid, .card-container, .feature-grid, .service-list, .team-list, .article-list, .process-steps, .contact-details {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .card {
    padding: 18px 12px;
  }
  .feature, .service, .team-member, .process-step, .article-preview {
    min-width: 0;
    padding: 15px 10px 11px 10px;
    margin-bottom: 12px;
  }
  .testimonial-card {
    max-width: 100%;
    padding: 13px 10px;
  }
  .faq-item {
    padding: 12px 8px;
  }
  .footer-contact,
  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }
  .footer-contact img {
    margin-bottom: 4px;
  }
  .cookie-modal {
    padding: 22px 8px 14px 8px;
  }
}

@media (max-width: 500px) {
  .content-wrapper {
    max-width: 96vw;
    padding: 0;
  }
  .container {
    padding-left: 4px;
    padding-right: 4px;
  }
  .section {
    padding: 14px 0 15px 0;
    margin-bottom: 18px;
  }
  .cta .content-wrapper {
    padding: 0 2vw;
  }
}

/* MICRO-INTERACTIONS & EFFECTS */
.feature:active, .service:active, .process-step:active, .card:active {
  transform: scale(0.98);
}
.article-preview:active {
  background: #f3f8fa;
}
.cta-button:active {
  transform: scale(0.99);
}

/* SELECTION COLOR */
::selection {
  background: #4DA980;
  color: #fff;
}

/* MODAL OVERLAY (for cookie modal) accessibility improvements */
.cookie-modal-overlay[aria-hidden="true"] {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s;
}


/* === END OF CSS === */
