/* RESET & BASE TYPOGRAPHY ----- */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  color: #203B5F;
  background: #F7F7F9;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.7;
  font-size: 1rem;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #203B5F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #59B3C1;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #203B5F;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; line-height: 1.13; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }
p, li { font-size: 1rem; margin-bottom: 12px; }
strong { font-weight: 600; }


/* LAYOUT STRUCTURE & SPACING ---- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(32,59,95,0.09);
  padding: 24px;
  flex: 1 1 320px;
  position: relative;
  transition: box-shadow 0.22s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 4px 20px 0 rgba(32,59,95,0.17);
  transform: translateY(-4px) scale(1.0125);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 8px 0 rgba(32,59,95,0.08);
  margin-bottom: 20px;
  color: #203B5F;
  font-size: 1.07em;
  transition: box-shadow 0.18s, transform 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 22px 0 rgba(32,59,95,0.13);
  transform: translateY(-2px) scale(1.007);
}
.case-study-card {
  border-left: 4px solid #59B3C1;
  background: #f3f5fa;
  padding: 18px 22px;
  margin-bottom: 24px;
  border-radius: 8px;
}
.event-card {
  background: #fff;
  box-shadow: 0 1px 8px 0 rgba(32,59,95,0.08);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.event-card:hover {
  box-shadow: 0 4px 20px 0 rgba(32,59,95,0.13);
  transform: translateY(-2px) scale(1.008);
}
.event-summary {
  padding: 12px 18px;
  background: #e8eef4;
  border-radius: 8px;
  margin-bottom: 20px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fff;
  border-radius: 8px;
  padding: 18px 22px;
  box-shadow: 0 1px 8px 0 rgba(32,59,95,0.07);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0 0 0;
}
.contact-info img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
}

/* HEADER & NAVIGATION ----- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(32,59,95,0.06);
  margin-bottom: 12px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 16px 20px;
  position: relative;
}
header nav {
  display: flex;
  gap: 16px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #203B5F;
  padding: 8px 10px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover,
header nav a:focus {
  background: #EFF6FA;
  color: #59B3C1;
}
header img {
  max-height: 46px;
}
.btn.btn-primary {
  background: #203B5F;
  color: #fff;
  padding: 10px 28px;
  font-size: 1.06em;
  border-radius: 32px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  transition: background 0.18s, box-shadow 0.18s, transform 0.16s;
  margin-left: auto;
  cursor: pointer;
  box-shadow: 0 1px 6px 0 rgba(32,59,95,0.07);
  min-width: 140px;
  outline: none;
  display: inline-block;
}
.btn.btn-primary:hover,
.btn.btn-primary:focus {
  background: #59B3C1;
  color: #fff;
  box-shadow: 0 2px 14px 0 rgba(32,59,95,0.18);
  transform: translateY(-2px) scale(1.03);
}
.btn {
  background: #e8eef4;
  color: #203B5F;
  padding: 9px 22px;
  font-size: 1em;
  border-radius: 28px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.13s;
  outline: none;
}
.btn:hover,
.btn:focus {
  background: #59B3C1;
  color: #fff;
  transform: translateY(-1px) scale(1.025);
}

/* Hamburger button ---- */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #203B5F;
  cursor: pointer;
  margin-left: 16px;
  transition: color 0.18s, transform 0.15s;
  z-index: 1201;
  outline: none;
}
.mobile-menu-toggle:focus {
  color: #59B3C1;
  transform: scale(1.06);
}

/* MOBILE MENU OVERLAY ------ */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,59,95,0.97);
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.7,.3,0,1);
  z-index: 1200;
  padding: 0;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 28px;
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: #fff;
  cursor: pointer;
  z-index: 1203;
  outline: none;
  transition: color 0.18s, transform 0.13s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #59B3C1;
  transform: scale(1.1);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding-top: 48px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 12px 0;
  border-radius: 4px;
  width: 100%;
  text-align: center;
  transition: background 0.18s, color 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #59B3C1;
  color: #203B5F;
}

/* Hide menu and show hamburger on mobile ----- */
@media (max-width: 992px) {
  header .container {
    gap: 18px;
    padding: 12px 15px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .btn.btn-primary {
    min-width: 88px;
    padding: 8px 20px;
    font-size: 1rem;
    margin-left: auto;
  }
}
@media (min-width: 993px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* MAIN CONTENT ---- */
main {
  width: 100%;
  min-height: 60vh;
  margin-bottom: 60px;
}

/* UL lists (feature sections) ---- */
.content-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.content-wrapper ul li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 1.07em;
  color: #203B5F;
}
.content-wrapper ul img {
  width: 27px;
  height: 27px;
}

/* FOOTER ELEMENTS ------ */
footer {
  background: #203B5F;
  color: #fff;
  font-size: 1rem;
  padding: 34px 0 22px 0;
  border-top: 5px solid #59B3C1;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
footer img {
  max-height: 38px;
}
footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
footer nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1em;
  font-weight: 600;
  transition: color 0.18s;
  padding: 4px 0;
  border-radius: 2px;
}
footer nav a:hover,
footer nav a:focus {
  color: #59B3C1;
  background: #143155;
}
footer address {
  color: #e8eef4;
  font-size: 0.99em;
  text-align: center;
  font-style: normal;
  line-height: 1.6;
}
footer address a {
  color: #fff;
  text-decoration: underline;
}
footer address img {
  width: 20px;
  height: 20px;
  display: inline;
  vertical-align: middle;
  margin: 0 2px 0 5px;
}

/* COOKIE CONSENT BANNER & MODAL --------- */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #203B5F;
  color: #fff;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 12px;
  gap: 22px;
  transition: transform 0.29s cubic-bezier(.71,.1,.36,.93);
  box-shadow: 0 -3px 24px 0 rgba(32,59,95,0.10);
  font-size: 1rem;
}
#cookie-banner.hide {
  transform: translateY(120%);
}
#cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
#cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 24px;
  padding: 8px 20px;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.15s;
  font-weight: 600;
  font-size: 1em;
  outline: none;
}
#cookie-banner .accept {
  background: #59B3C1;
  color: #fff;
}
#cookie-banner .reject {
  background: #fff;
  color: #203B5F;
  border: 1px solid #D4DCE6;
}
#cookie-banner .settings {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}
#cookie-banner button:focus,
#cookie-banner button:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.11);
}

/* Cookie modal (centered): */
#cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1302;
  background: rgba(32,59,95,0.66);
  display: none;
  align-items: center;
  justify-content: center;
}
#cookie-modal-backdrop.show {
  display: flex;
}
#cookie-modal {
  background: #fff;
  color: #203B5F;
  border-radius: 13px;
  max-width: 420px;
  max-height: 90vh;
  padding: 38px 32px 30px 32px;
  box-shadow: 0 2px 48px 0 rgba(32,59,95,0.29);
  font-size: 1em;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
#cookie-modal h2 {
  color: #203B5F;
  font-size: 1.34em;
  margin-bottom: 0.2em;
  margin-top: 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 10px 0;
}
.cookie-category label {
  font-size: 1.02em;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  accent-color: #59B3C1;
  width: 18px;
  height: 18px;
}
#cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: #203B5F;
  cursor: pointer;
  outline: none;
  transition: color 0.17s;
}
#cookie-modal-close:hover,
#cookie-modal-close:focus {
  color: #59B3C1;
}
#cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
#cookie-modal .modal-actions button {
  padding: 8px 20px;
  border-radius: 24px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1em;
  cursor: pointer;
}
#cookie-modal .save {
  background: #59B3C1;
  color: #fff;
}
#cookie-modal .cancel {
  background: #e8eef4;
  color: #203B5F;
}

/* TYPOGRAPHY SCALE & SYSTEM ------- */
@media (max-width: 1400px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.4rem; }
}

/* RESPONSIVE LAYOUTS ----- */
@media (max-width: 1100px) {
  .container { max-width: 94vw; }
}
@media (max-width: 820px) {
  .section { padding: 32px 10px; }
}
@media (max-width: 768px) {
  .container { padding: 0 8px; }
  .content-grid,
  .card-container,
  .text-image-section {
    flex-direction: column !important;
    gap: 16px;
  }
  .feature-item { gap: 11px; }
  .section { margin-bottom: 32px; padding: 26px 4px; }
  .card { padding: 14px; }
  .testimonial-card, .case-study-card, .event-card, .faq-item, .event-summary { padding: 12px 10px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.19rem; }
  .btn, .btn.btn-primary { font-size: 0.98em; padding: 8px 12px; }
}

/* MICRO-ANIMATIONS & FOCUS ------------ */
button, .btn, .btn.btn-primary, input, a {
  transition: background 0.15s, color 0.18s, box-shadow 0.15s, transform 0.13s;
}
:focus-visible {
  outline: 2px solid #59B3C1;
  outline-offset: 2px;
}

/* CUSTOM UTILITIES --------------- */
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.gap-20 { gap: 20px !important; }

/* SPECIAL CLASSES (for constructor support) -------- */
.section {
  border-radius: 0;
  background: none;
}

/* Accessibility: High contrast for reviews/testimonials ---- */
.testimonial-card, .case-study-card {
  background: #fff;
  color: #203B5F;
}

/* Hide visually (for aria, not for layout) ---- */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Misc ----- */
::-webkit-scrollbar {
  width: 9px;
  background: #F7F7F9;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: #E4E9F2;
  border-radius: 10px;
}

/* Hide default number input spinner arrows for design consistency */
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] { -moz-appearance: textfield; }

/* END CSS */
