/* === 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,
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;
}
/* Reset list styles */
ul,ol { list-style: none; }
/* Reset anchor styles */
a { text-decoration: none; color: inherit; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  color: inherit;
  outline: none;
  box-shadow: none;
  padding: 0;
}
img { max-width: 100%; display: block; border-style: none; height: auto; }
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #11355E;
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  color: #11355E;
  margin-bottom: 20px;
}
h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 24px; }
h2 { font-size: 2rem;  margin-bottom: 16px;  }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }
p, ul, li, address, blockquote {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #11355E;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
ul, ol {
  margin-bottom: 18px;
  padding-left: 15px;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.7;
}


/* === COLORS === */
:root {
  --color-primary: #11355E;
  --color-secondary: #67A8A0;
  --color-accent: #F2E9DB;
  --color-dark: #14213d;
  --color-light: #fff;
  --color-shadow: rgba(17,53,94,0.07);
  --color-shadow-subtle: rgba(17,53,94,0.04);
}

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-light);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-light);
  border-radius: 16px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 32px 24px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px var(--color-shadow);
}

.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;
  padding: 20px;
  background: var(--color-accent);
  border-radius: 14px;
  box-shadow: 0 2px 10px var(--color-shadow-subtle);
  margin-bottom: 20px;
  max-width: 400px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px var(--color-shadow);
  transform: translateY(-4px);
}
.testimonial-card p {
  color: #14213d;
  font-style: italic;
}
.testimonial-card span {
  color: #11355E;
  font-size: 1rem;
  font-weight: 500;
  margin-top: -8px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-light);
  padding: 22px 20px;
  border-radius: 14px;
  box-shadow: 0 1px 6px var(--color-shadow-subtle);
  min-width: 240px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s;
}
.feature-item img {
  width: 40px; height: 40px;
  margin-bottom: 10px;
}
.feature-item:hover {
  box-shadow: 0 6px 20px var(--color-shadow);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.text-section {
  padding: 0;
  margin-bottom: 0;
}

.quick-facts, .decision-support, .client-success-stories, .core-values {
  background: #FAFAFA;
  border-radius: 12px;
  padding: 20px 16px;
  margin-top: 10px;
}

/* === HEADER & NAVIGATION === */
header {
  background: var(--color-light);
  border-bottom: 1px solid #EAEEF1;
  position: relative;
  z-index: 100;
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 18px;
  gap: 25px;
}
.header-bar img {
  height: 46px;
}
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  display: block;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #11355E;
  padding: 6px 4px;
  transition: color 0.15s;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
}
.cta-button {
  display: inline-block;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: var(--color-primary);
  color: var(--color-light);
  border-radius: 24px;
  padding: 11px 30px;
  margin-left: 18px;
  box-shadow: 0 2px 8px var(--color-shadow-subtle);
  border: none;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.13s;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-secondary);
  color: var(--color-dark);
  box-shadow: 0 6px 24px var(--color-shadow);
  transform: translateY(-2px);
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 26px;
  top: 28px;
  background: var(--color-light);
  font-size: 2rem;
  color: var(--color-primary);
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  z-index: 150;
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--color-shadow-subtle);
  transition: background 0.13s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-accent);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17,53,94,0.95);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.77,0,0.175,1);
  z-index: 3000;
  padding-top: 60px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  z-index: 3200;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  padding: 36px 32px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #fff;
  padding: 12px 0;
  font-weight: 500;
  transition: color 0.14s;
  min-width: 160px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
}

@media (max-width: 1024px) {
  .header-bar {
    gap: 16px;
    padding: 20px 10px 16px;
  }
  .main-nav {
    gap: 20px;
  }
  .cta-button { margin-left: 8px; }
}
@media (max-width: 880px) {
  .header-bar {
    flex-direction: row;
    gap: 8px;
  }
  .main-nav {
    gap: 8px;
  }
}
@media (max-width: 768px) {
  .header-bar {
    flex-direction: row;
    justify-content: space-between;
    padding: 16px 6px 12px;
  }
  .main-nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* === HERO SECTIONS === */
.hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  padding: 60px 0 40px;
  margin-bottom: 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.hero h1 {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  text-align: left;
  letter-spacing: 0;
}
.hero p {
  font-size: 1.1rem;
  color: #2D4160;
  margin-bottom: 28px;
  text-align: left;
  max-width: 700px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
@media (max-width: 640px) {
  .hero .container { padding: 0 4px; }
  .hero h1 { font-size: 1.45rem; margin-bottom: 12px; }
  .hero p { font-size: 1rem; margin-bottom: 16px; }
}

/* === FEATURES & CARDS === */
.features {
  background: var(--color-light);
  margin-bottom: 60px;
  padding: 40px 0px;
}
.feature-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
@media (max-width: 900px) {
  .feature-grid { gap: 14px; }
  .feature-item { min-width: 170px; }
}
@media (max-width: 680px) {
  .feature-grid { flex-direction: column; gap: 20px; }
  .feature-item { width: 100%; min-width: 0; }
}

/* === TESTIMONIALS === */
.testimonials {
  background: var(--color-light);
  padding: 40px 0px;
  margin-bottom: 60px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
@media (max-width: 780px) {
  .testimonial-slider { flex-direction: column; gap: 24px; }
}
.client-logos {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 32px;
}
.client-logos img {
  height: 36px;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.client-logos img:hover {
  opacity: 1;
}

/* === ABOUT/TEAM/VALUES === */
.strengths-list, .core-values ul {
  margin: 0 0 4px 0;
  padding-left: 6px;
}
.strengths-list li, .core-values ul li {
  margin-left: 1em;
  position: relative;
  color: #11355E;
}
.strengths-list li:before, .core-values ul li:before {
  content: '–';
  color: var(--color-secondary);
  font-weight: bold;
  margin-right: 7px;
}

/* === SERVICES LIST === */
.feature-list {
  margin: 0;
  padding-left: 6px;
}
.feature-list li {
  margin-bottom: 14px;
  color: #11355E;
}
.feature-list li strong {
  color: var(--color-secondary);
  font-weight: 600;
}

/* === CALL TO ACTION === */
.call-to-action {
  background: var(--color-secondary);
  color: var(--color-light);
  padding: 42px 0px;
  text-align: center;
  border-radius: 0;
  margin-bottom: 0px;
}
.call-to-action h2 {
  color: var(--color-light);
}
.call-to-action p {
  color: #fdfdfd;
}
.call-to-action .cta-button {
  background: var(--color-primary);
  color: #fff;
  margin-top: 14px;
}
.call-to-action .cta-button:hover {
  background: #fff;
  color: var(--color-primary);
}

/* === CONTACT PAGE === */
.contact-info .contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  margin-top: 12px;
}
.contact-info .text-section {
  flex: 1 1 220px;
  min-width: 200px;
}
.contact-info .maps-widget {
  flex: 1 1 180px;
  background: #f9f9f9;
  border-radius: 12px;
  padding: 18px 10px 16px 10px;
  text-align: center;
  box-shadow: 0 2px 10px var(--color-shadow-subtle);
}
@media (max-width: 800px) {
  .contact-info .contact-details {
    flex-direction: column;
    gap: 20px;
  }
}

/* === THANK YOU PAGE === */
.thankyou-message {
  background: var(--color-accent);
  min-height: 360px;
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 60px 0 40px;
}
.thankyou-message h1 {
  font-size: 2rem;
  color: var(--color-primary);
}
.thankyou-message ul li {
  color: var(--color-primary);
}

/* === LEGAL PAGES === */
.legal {
  background: #FAFAFA;
  border-radius: 18px;
  margin-bottom: 60px;
  padding: 40px 10px;
}
.legal h1, .legal h2, .legal h3 {
  color: var(--color-primary);
}
.legal a { color: var(--color-secondary); text-decoration: underline; }
.legal a:hover { color: var(--color-primary); }

/* === FOOTER === */
footer {
  background: #f9fafd;
  border-top: 1.5px solid #e3e7eb;
  padding: 32px 0 22px 0;
}
.footer-menu {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-menu a {
  color: #698aac;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.16s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--color-primary);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: center;
  text-align: left;
  margin-bottom: 4px;
}
.footer-contact img {
  height: 42px;
}
.footer-contact address {
  font-size: 1rem;
  color: #50687e;
  font-style: normal;
  line-height: 1.7;
}
@media (max-width: 600px) {
  .footer-menu { flex-direction: column; gap: 8px; }
  .footer-contact { flex-direction: column; gap: 12px; }
}


/* === BUTTONS, LINKS, FORMS === */
button, .cta-button, .mobile-menu-toggle, .mobile-menu-close {
  -webkit-tap-highlight-color: transparent;
  transition: background 0.18s, color 0.13s, box-shadow 0.17s, transform 0.12s;
}
button:focus-visible, .cta-button:focus-visible, .mobile-menu-toggle:focus-visible, .mobile-menu-close:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}
a { transition: color 0.15s, border 0.15s; }
a:focus-visible { outline: 2px solid var(--color-secondary); outline-offset: 1px; }

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #14213d;
  box-shadow: 0 -2px 24px rgba(17,53,94,0.1);
  z-index: 5000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 22px 16px;
  transition: transform 0.36s cubic-bezier(0.77,0,0.175,1), opacity 0.15s;
  opacity: 1;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  max-width: 520px;
  font-size: 1rem;
  margin-right: 18px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  padding: 9px 20px;
  border-radius: 22px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  box-shadow: 0 1px 8px rgba(103,168,160,0.09);
  cursor: pointer;
  transition: background 0.15s, color 0.13s;
}
.cookie-btn.settings {
  background: var(--color-primary);
  color: #fff;
}
.cookie-btn.reject {
  background: #e3e7eb;
  color: #14213d;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 4px 20px var(--color-shadow);
  border: 1.5px solid var(--color-primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e3e7eb;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 8px;
  }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(17,53,94,0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6000;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 36px var(--color-shadow);
  padding: 38px 32px 32px;
  width: 96vw;
  max-width: 430px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalIn 0.33s cubic-bezier(.77,0,.175,1);
}
@keyframes modalIn {
  0% { opacity:0; transform: translateY(50px) scale(0.98); }
  100% { opacity:1; transform: translateY(0) scale(1); }
}
.cookie-modal-content h2 {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.cookie-categories {
  margin: 14px 0 12px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-size: 1rem;
  color: #14213d;
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 22px;
  height: 22px;
  margin-right: 2px;
}
.cookie-category .locked {
  color: #bbb;
  font-size: 0.98em;
}
.cookie-modal-close {
  position: absolute;
  top: 11px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--color-primary);
  font-size: 2rem;
  cursor: pointer;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

/* === RESPONSIVE LAYOUTS === */
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
  .section, .legal {
    padding: 18px 8px;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .footer-menu {
    gap: 16px;
  }
  .section {
    margin-bottom: 38px;
    padding: 24px 0;
  }
  .testimonial-slider, .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .hero {
    padding-top: 26px; padding-bottom: 24px;
    min-height: 220px;
  }
}
@media (max-width: 480px) {
  .container { padding: 0 3vw; }
  .section, .legal { padding: 10px 0; }
}

/* === GENERAL MICRO-INTERACTIONS === */
.card, .feature-item, .testimonial-card, .cta-button {
  transition: box-shadow 0.2s, transform 0.13s;
}
.card:active, .feature-item:active {
  transform: scale(0.98);
}
.cta-button:active {
  transform: scale(0.97);
}

/* === PRINT OPTIMIZATION === */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal, .cta-button { display: none !important; }
  header, footer { background: none !important; color: #000; }
  .card, .feature-item, .testimonial-card { box-shadow: none !important; background: #fff !important; border: 1px solid #ccc; }
}
