/* CSS RESET & BASE STYLES */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  color: #1d2730;
  background: #fff;
  min-height: 100vh;
  font-weight: 400;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
}
a {
  color: #214668;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #19A89D;
  text-decoration: underline;
}


/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #142033;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; line-height: 1.18; }
h2 { font-size: 2rem; margin-bottom: 18px; line-height: 1.2; }
h3 { font-size: 1.3rem; margin-bottom: 10px; line-height: 1.28; }
h4 { font-size: 1.1rem; margin-bottom: 8px; }

p {
  color: #262e38;
  margin: 0 0 16px 0;
  font-size: 1rem;
  line-height: 1.65;
}

strong { font-weight: 700; }


/* CONTAINER LAYOUTS */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  margin: 0;
  padding: 0;
}

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

@media (max-width: 520px) {
  .section {
    padding: 24px 10px;
    margin-bottom: 38px;
  }
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid #EFF1F4;
  position: sticky;
  top: 0;
  z-index: 40;
}
header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
  gap: 18px;
}
.logo img {
  height: 38px;
  width: auto;
  vertical-align: middle;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #214668;
  text-decoration: none;
  padding: 8px 8px;
  border-radius: 6px;
  transition: background 0.15s, color 0.18s;
}
nav a:hover, nav a:focus {
  background: #F5F7FA;
  color: #19A89D;
}

.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #fff !important;
  background: #19A89D;
  border-radius: 8px;
  padding: 11px 28px;
  margin-left: 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 16px rgba(33, 70, 104, 0.06);
  border: none;
  outline: none;
  transition: background 0.25s, box-shadow 0.2s, transform 0.16s;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: #214668;
  color: #fff !important;
  box-shadow: 0 2px 18px rgba(25, 168, 157, 0.12);
  transform: translateY(-2px) scale(1.035);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #214668;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #F5F7FA;
}

/* MOBILE NAVIGATION */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.24s cubic-bezier(.4,0,.2,1);
  box-shadow: -8px 0 40px 0 rgba(33, 70, 104, 0.09);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #214668;
  font-size: 2.2rem;
  margin: 18px 26px 6px 0;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s;
}
.mobile-menu-close:hover {
  background: #F5F7FA;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  padding: 32px 40px;
  margin-top: 12px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #214668;
  padding: 9px 4px;
  border-radius: 7px;
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: color 0.18s, background 0.15s;
}
.mobile-nav a:hover {
  color: #19A89D;
  background: #F5F7FA;
}
@media (max-width: 1020px) {
  header > .container nav, header > .container .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (max-width: 767px) {
  .mobile-nav {
    padding: 28px 20px;
    gap: 22px;
  }
}

/* MAIN + SECTION SPACING */
main {
  padding-top: 24px;
}
@media (max-width: 600px) {
  main {
    padding-top: 10px;
  }
}

/* HERO SECTIONS */
.hero {
  padding: 60px 0 40px 0;
  background: #F5F7FA;
  margin-bottom: 48px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 240px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.hero h1, .hero h2 {
  color: #214668;
}
.hero p {
  color: #395369;
  font-size: 1.16rem;
}
.hero .btn-primary {
  margin-top: 12px;
}
@media (max-width: 600px) {
  .hero {
    padding: 36px 0 22px 0;
  }
  .hero .content-wrapper {
    gap: 14px;
    max-width: 98%;
  }
}

/* FEATURE, SERVICES, BENEFITS LISTS */
.feature-grid, .service-list, .benefit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin: 18px 0 0 0;
}
.feature-grid li, .service-list li, .benefit-grid li {
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 340px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(33, 70, 104, 0.07);
  padding: 28px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.feature-grid li:hover, .service-list li:hover, .benefit-grid li:hover {
  box-shadow: 0 4px 20px rgba(25,168,157,0.14);
  transform: translateY(-2px) scale(1.021);
}
.feature-grid img, .service-list img, .benefit-grid img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  margin-bottom: 8px;
  filter: grayscale(0.15);
}
.feature-grid h3, .service-list h3, .benefit-grid h3 {
  font-size: 1.15rem;
  margin: 0 0 6px 0;
  letter-spacing: -0.01em;
}
.feature-grid p, .service-list p, .benefit-grid p {
  font-size: 1rem;
  color: #395369;
  margin: 0;
}

@media (max-width: 900px) {
  .feature-grid, .service-list, .benefit-grid {
    gap: 18px;
  }
}
@media (max-width: 700px) {
  .feature-grid, .service-list, .benefit-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid li, .service-list li, .benefit-grid li {
    max-width: 100%;
  }
}

/* TESTIMONIALS */
.testimonials, .success-stories {
  padding: 40px 0;
}
.testimonials h2, .success-stories h2 {
  text-align: center;
}
.testimonials .content-wrapper, .success-stories .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.testimonial-card {
  background: #fff;
  box-shadow: 0 3px 16px rgba(33, 70, 104, 0.09);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  max-width: 370px;
  min-width: 240px;
  margin-bottom: 20px;
  color: #23344a;
  transition: box-shadow 0.19s, transform 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(33, 70, 104, 0.17);
  transform: translateY(-2px) scale(1.021);
}
.testimonial-card p {
  color: #23344a;
  font-size: 1.09rem;
  font-style: italic;
  margin: 0;
}
.testimonial-author {
  font-size: 0.97rem;
  color: #19A89D;
  margin-top: 2px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
@media (max-width: 700px) {
  .testimonials .content-wrapper, .success-stories .content-wrapper {
    flex-direction: column;
    gap: 17px;
    align-items: stretch;
  }
}

/* GENERIC CARDS CONTAINER */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(33, 70, 104, 0.07);
  margin-bottom: 20px;
  padding: 26px 18px;
  min-width: 220px;
  transition: box-shadow 0.16s, transform 0.16s;
}
.card:hover {
  box-shadow: 0 6px 16px rgba(25,168,157,0.12);
  transform: translateY(-2px) scale(1.012);
}

/* FLEX LAYOUTS */
.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;
}

/* MIXED UTILITY LAYOUTS */
.section ul {
  margin-bottom: 12px;
}
.section ul li {
  margin-bottom: 8px;
  line-height: 1.48;
  padding-left: 0;
}
.section ol {
  padding-left: 16px;
  margin-bottom: 16px;
}
.section ol li {
  list-style-type: decimal;
  margin-bottom: 7px;
  color: #214668;
}

.map-placeholder {
  background: #F5F7FA;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  margin-top: 18px;
  font-size: 1.1rem;
  color: #395369;
}

@media (max-width: 900px) {
  .text-image-section {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
  }
}

/* SPECIALS */
.values ul, .team ul, .resources ul, .events ul, .faq ul, .network ul {
  padding-left: 0;
}
.values ul li, .team ul li, .resources ul li, .events ul li, .faq ul li, .network ul li,
.insights ul li, .trend-highlights ul li, .office-info ul li {
  position: relative;
  margin-bottom: 13px;
  color: #23344a;
  line-height: 1.48;
  padding-left: 0;
  font-size: 1rem;
}

.resources ul li a {
  color: #214668;
  transition: color 0.19s;
}
.resources ul li a:hover {
  color: #19A89D;
}


/* FORM ELEMENTS (for contact forms, if any) */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border: 1px solid #DFE1E5;
  border-radius: 8px;
  padding: 10px 13px;
  background: #F5F7FA;
  color: #1d2730;
  margin-bottom: 14px;
  transition: border 0.16s, box-shadow 0.16s;
  width: 100%;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: #19A89D;
  box-shadow: 0 1px 8px rgba(25,168,157,0.06);
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 7px;
  display: block;
  color: #214668;
}

/* CTA BLOCKS */
.cta {
  background: #214668;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 26px rgba(33, 70, 104, 0.08);
  padding: 40px 0;
  margin: 44px 0 24px 0;
}
.cta .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.cta h2 {
  color: #fff;
}
.cta p {
  color: #D4EBEA;
}
.cta .btn-primary {
  background: #19A89D;
  color: #fff;
  border-radius: 8px;
  transition: background 0.18s;
}
.cta .btn-primary:hover {
  background: #fff;
  color: #214668 !important;
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 1px solid #EFF1F4;
  margin-top: 46px;
  padding: 34px 0 22px 0;
  font-size: 1rem;
}
footer > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 4px;
}
footer nav a {
  color: #8595ad;
  font-size: 1rem;
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border-radius: 6px;
  padding: 4px 9px;
  transition: background 0.15s, color 0.17s;
}
footer nav a:hover {
  background: #F5F7FA;
  color: #19A89D;
}
footer p {
  color: #8595ad;
  font-size: 0.97rem;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -1px 24px rgba(33, 70, 104, 0.08);
  border-top: 1px solid #EFF1F4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 24px;
  z-index: 9999;
  font-size: 1rem;
  opacity: 1;
  transition: bottom 0.3s, opacity 0.2s;
}
.cookie-banner.hide {
  opacity: 0;
  bottom: -200px;
  pointer-events: none;
}
.cookie-banner p {
  color: #23344a;
  margin: 0;
  flex: 2 1 340px;
}
.cookie-banner .cookie-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner .btn-cookie {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 7px;
  padding: 8px 22px;
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.15s;
}
.btn-cookie-accept {
  background: #19A89D;
  color: #fff;
}
.btn-cookie-accept:hover, .btn-cookie-accept:focus {
  background: #214668;
  color: #fff;
}
.btn-cookie-reject {
  background: #F5F7FA;
  color: #214668;
}
.btn-cookie-reject:hover, .btn-cookie-reject:focus {
  background: #E9ECEF;
}
.btn-cookie-settings {
  background: transparent;
  color: #19A89D;
  border: 1px solid #19A89D;
}
.btn-cookie-settings:hover, .btn-cookie-settings:focus {
  background: #19A89D;
  color: #fff;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(33,70,104,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  padding: 36px 30px 30px 30px;
  border-radius: 17px;
  box-shadow: 0 9px 44px rgba(33,70,104,0.13);
  max-width: 367px;
  width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 9px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 17px 0 8px 0;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.cookie-category .category-label {
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #214668;
  font-size: 1.05rem;
}
.cookie-category .category-toggle {
  margin-top: 2px;
}
/* toggle switch style for cookies */
.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #E5E7EB;
  transition: background 0.2s;
  border-radius: 14px;
}
.switch input:checked + .slider {
  background-color: #19A89D;
}
.switch .slider:before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.22s;
  box-shadow: 0 1px 5px rgba(33,70,104,.09);
}
.switch input:checked + .slider:before {
  transform: translateX(18px);
}
/* modal footer actions */
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .btn-cookie {
  padding: 9px 19px;
  min-width: 80px;
  font-size: 1rem;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.6rem;
  color: #214668;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.13s;
}
.cookie-modal .modal-close:hover {
  background: #F5F7FA;
}

/* LEGAL SECTIONS */
.legal {
  background: #F5F7FA;
  border-radius: 11px;
  margin-bottom: 44px;
  padding: 38px 0 30px 0;
}
.legal .content-wrapper {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 14px rgba(33,70,104,0.07);
  padding: 34px 24px 22px 24px;
  margin-top: 18px;
  line-height: 1.65;
}
.legal a { color: #19A89D; }
.legal a:hover { text-decoration: underline; color: #214668; }

@media (max-width: 700px) {
  .legal .content-wrapper {
    padding: 18px 6px 12px 6px;
    margin-top: 7px;
  }
  .legal {
    padding: 14px 0 8px 0;
  }
}

/* THANK YOU SECTION */
.thankyou {
  min-height: 320px;
  background: #F5F7FA;
  text-align: center;
  padding: 60px 0 40px 0;
}
.thankyou .content-wrapper {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 3px 14px rgba(33,70,104,0.10);
  padding: 44px 27px 34px 27px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.thankyou h1 {
  color: #19A89D;
  font-size: 2.1rem;
}

/* RESPONSIVE TWEAKS */
@media (max-width: 700px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .container { padding: 0 10px; }
  .cta { padding: 24px 0; }
}
@media (max-width: 520px) {
  h1 { font-size: 1.3rem; }
  .cta .content-wrapper {
    gap: 12px;
    padding: 8px 6px;
  }
  .thankyou .content-wrapper {
    padding: 18px 7px 18px 7px;
  }
  .cookie-banner { flex-direction: column; gap: 12px; padding: 18px 8px; }
}

/* MICROINTERACTIONS: TRANSITIONS & HOVERS */
.card, .feature-grid li, .service-list li, .benefit-grid li, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.16s;
}
.btn-primary, .btn-cookie, .cookie-banner .btn-cookie, .cookie-modal .btn-cookie {
  transition: background 0.18s, color 0.18s, box-shadow 0.14s, transform 0.18s;
}
.cookie-banner, .mobile-menu { transition: transform 0.24s, opacity 0.18s; }

/* ACCESSIBILITY: FOCUS */
a:focus, .btn-primary:focus, .btn-cookie:focus, .mobile-menu-toggle:focus {
  outline: 2px solid #19A89D;
  outline-offset: 2px;
}

/* EFFECTIVE WHITE SPACE */
.section, .about, .team, .values, .support, .network, .resources, .events, .faq, .office-info {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 650px) {
  .section, .about, .team, .values, .support, .network, .resources, .events, .faq, .office-info {
    margin-bottom: 34px;
    padding: 24px 5px;
  }
}

/* CLEAR FLOATS (in case) */
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
