/* =====================
   CSS RESET & NORMALIZE
   ===================== */
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #143456;
  font-family: Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #208078;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #143456;
  outline: none;
}
ul, ol {
  padding-left: 1.2em;
  margin-top: 0;
  margin-bottom: 1.5em;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #143456;
  margin-top: 0;
  margin-bottom: 0.5em;
  font-weight: 600;
}
h1 { font-size: 2.5rem; line-height: 1.15; }
h2 { font-size: 2rem; line-height: 1.2; }
h3 { font-size: 1.35rem; line-height: 1.28; }
h4 { font-size: 1.1rem; }
/* Paragraph spacing */
p {
  margin-top: 0;
  margin-bottom: 1.2em;
}
strong { font-weight: 700; }

/* =========================
   LAYOUT CONTAINER CLASSES
   ========================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0; /* vertical stacking by default */
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

@media (min-width: 900px) {
  .content-wrapper {
    gap: 32px;
  }
}

/* =====================
   HEADER & NAVIGATION
   ===================== */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e6ebf2;
  padding: 0;
  position: relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: #143456;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
  padding: 6px 0;
  font-size: 1rem;
  transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #208078;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  border: none;
  border-radius: 24px;
  padding: 11px 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  cursor: pointer;
  background: #143456;
  color: #fff;
  box-shadow: 0 1px 4px rgba(20,52,86,0.06);
  outline: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.18s;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #208078;
  color: #fff;
  box-shadow: 0 8px 24px rgba(32,128,120,0.10);
  transform: translateY(-2px) scale(1.03);
}

.btn-secondary {
  background: #208078;
  color: #fff;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #143456;
  color: #fff;
  box-shadow: 0 2px 8px rgba(32,128,120,0.10);
}

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #143456;
  cursor: pointer;
  display: flex;
  align-items: center;
  margin-left: 10px;
  z-index: 301;
  padding: 6px 12px;
  border-radius: 12px;
  transition: background 0.12s;
}
.mobile-menu-toggle:focus {
  background: #F1F4F8;
}

/* Hide mobile menu by default on desktop */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 6px 32px 0 rgba(0,0,0,0.12);
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.85,.23,.13,.98);
  z-index: 900;
  display: flex;
  flex-direction: column;
  padding: 24px 32px 0 24px;
}
.mobile-menu.open { /* Toggle this class in JS */
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #143456;
  padding: 6px 12px;
  margin-bottom: 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F1F4F8;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 12px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  color: #143456;
  font-weight: 500;
  padding: 11px 0;
  border-radius: 8px;
  transition: background 0.14s, color 0.16s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F1F4F8;
  color: #208078;
}

@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1021px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  .mobile-menu {
    display: none !important;
  }
  .main-nav {
    display: flex;
  }
  .btn-primary {
    display: inline-block;
  }
}

/* ==========================
   FLEXBOX SECTION PATTERNS
   ========================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.feature {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(32,128,120,0.05);
  padding: 30px 26px;
  flex: 1 1 280px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, border 0.18s, transform 0.18s;
}
.feature:hover,
.feature:focus-within {
  box-shadow: 0 8px 24px 0 rgba(20,52,86,0.10);
  border: 1.5px solid #208078;
  transform: translateY(-2px) scale(1.02);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 0.5px 6px 0 rgba(32,128,120,0.08);
  padding: 26px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.22s, border 0.22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 22px 0 rgba(20,52,86,0.11);  border: 1.5px solid #208078;
}

.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 26px;
  background: #F1F4F8;
  border-radius: 16px;
  margin-bottom: 20px;
  border: 1px solid #e6ebf2;
  color: #143456;
  font-size: 1.1rem;
  box-shadow: 0 0.5px 8px 0 rgba(32,128,120,0.055);
  transition: box-shadow 0.18s, border 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 7px 28px 0 rgba(20,52,86,0.10);
  border: 1.5px solid #208078;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cta {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .cta {
    flex-direction: row;
    gap: 32px;
    align-items: center;
  }
}

.contact-details {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-size: 1.13em;
  margin-bottom: 14px;
}

/* padding & margin for sections */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section, section {
    margin-bottom: 36px;
    padding: 28px 6vw;
  }
  .content-wrapper,
  .feature-grid,
  .card-container,
  .content-grid,
  .text-image-section,
  .testimonial-card,.feature-item {
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
}

/* ====================
   BLOG CATEGORIES BAR
   ==================== */
.blog-categories {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.blog-categories a {
  background: #F1F4F8;
  color: #143456;
  border-radius: 16px;
  padding: 7px 20px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: background 0.16s, color 0.16s;
}
.blog-categories a:hover,
.blog-categories a:focus {
  background: #208078;
  color: #fff;
}

/* =======================
   FOOTER STYLES
   ======================= */
footer {
  background: #F1F4F8;
  margin-top: 60px;
  border-top: 1px solid #e6ebf2;
  font-size: 0.98rem;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  padding-top: 32px;
  padding-bottom: 32px;
}
.logo-footer img {
  height: 36px;
  filter: grayscale(10%);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 20px;
}
.footer-nav a {
  color: #143456;
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #208078; 
  text-decoration: underline;
}
.footer-contact {
  margin-left: auto;
  min-width: 220px;
  color: #143456;
  opacity:0.91;
}
.footer-contact a { color: #208078; }
.footer-contact a:hover { color: #143456; }
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .footer-contact { margin-left: 0; }
}

/* ================
   TYPOGRAPHY SCALE
   ================ */
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.55rem; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.05rem; }
  h3 { font-size: 0.95rem; }
}

/* =============
   LISTS & DETAILS
   ============= */
ul.benefits-list, .about-team-intro ul {
  padding-left: 1.1em;
  margin-top: 0.4em;
  margin-bottom: 1.3em;
  list-style: disc outside;
}
ul.benefits-list li, .about-team-intro ul li {
  margin-bottom: 0.4em;
  font-size: 1rem;
}

/* ================
   OL & TIMELINE
   ================ */
ol {
  padding-left: 1.2em;
  margin: 0.5em 0 1.2em 0;
}
ol > li {
  margin-bottom: 0.6em;
}
.timeline {
  margin-top: 1.2em;
  font-size: 1rem;
  opacity: .95;
}

/* ============
   FORMS/INPUTS
   ============ */
input, textarea, select {
  font-family: Roboto, Arial, sans-serif;
  border-radius: 6px;
  border: 1px solid #e6ebf2;
  padding: 10px;
  font-size: 1rem;
  margin-bottom: 16px;
}
input:focus, textarea:focus, select:focus {
  border-color: #208078;
  outline: none;
}

/* ================
   RESPONSIVE FLEX
   ================ */
@media (max-width: 900px) {
  .feature-grid, .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
}

/* =========
   ANIMATION
   ========= */
.btn-primary, .btn-secondary, .feature, .card, .testimonial-card {
  transition: box-shadow 0.16s, border 0.18s, transform 0.18s, background 0.16s, color 0.13s;
}

/* Micro-interaction icon hover*/
.feature img, .contact-details img, .footer-contact img {
  transition: filter 0.17s, opacity 0.16s, transform 0.15s;
  filter: grayscale(18%);
}
.feature:hover img {
  filter: none;
  transform: scale(1.08);
}

/* =====================
   COOKIES CONSENT BANNER
   ===================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #143456;
  box-shadow: 0 -4px 18px 0 rgba(20,52,86,0.11);
  border-top: 1.5px solid #e6ebf2;
  z-index: 2000;
  padding: 20px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  transition: transform 0.33s cubic-bezier(.64,.04,.34,.86), opacity 0.21s;
  opacity: 1;
  transform: translateY(0);
  font-size: 1rem;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cookie-btn-accept, .cookie-btn-reject, .cookie-btn-settings {
  border: none;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 8px 22px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.17s, color 0.14s, box-shadow 0.17s, border 0.16s;
}
.cookie-btn-accept {
  background: #208078;
  color: #fff;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #143456;
}
.cookie-btn-reject {
  background: #fff;
  color: #143456;
  border: 1px solid #e6ebf2;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #F1F4F8;
  border-color: #208078;
  color: #208078;
}
.cookie-btn-settings {
  background: #F1F4F8;
  color: #143456;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #208078;
  color: #fff;
}

/* COOKIES MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(20,52,86,0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.34s;
}
.cookie-modal-overlay.hide {
  opacity: 0; pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 60px 0 rgba(20,52,86,0.15);
  padding: 32px 26px 26px 26px;
  min-width: 300px;
  max-width: 95vw;
  color: #143456;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  font-size: 1.1rem;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #143456;
  cursor: pointer;
  border-radius: 6px;
  padding: 3px 8px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F1F4F8;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 10px;
}
.cookie-modal .category label {
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05em;
  margin-left: 3px;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 20px;
  border-radius: 11px;
  background: #e6ebf2;
  position: relative;
  outline: none;
  transition: background 0.14s;
  cursor: pointer;
  vertical-align: middle;
}
.cookie-toggle:checked {
  background: #208078;
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 2px;
  box-shadow: 0 1px 2px rgba(32,128,120,0.10);
  transition: left 0.2s;
}
.cookie-toggle:checked:before {
  left: 18px;
}
.category .essential {
  color: #208078;
  font-weight: 600;
}
/* Modal save/close buttons */
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 10px;
}
.cookie-modal-actions button {
  padding: 8px 24px;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  background: #208078;
  color: #fff;
  font-weight: 500;
  transition: background 0.17s; 
  cursor: pointer;
}
.cookie-modal-actions button.cancel {
  background: #fff;
  color: #143456;
  border: 1px solid #e6ebf2;
}
.cookie-modal-actions button.cancel:hover {
  background: #F1F4F8;
  color: #208078;
  border-color: #208078;
}
.cookie-modal-actions button.save:hover {
  background: #143456;
}

/* === MINIMALIST CUSTOM CHECKBOXES/Toggles (for cookie categories) === */

/* ===============
   MINIMAL STYLE UTILITIES
   =============== */
.bg-accent { background: #F1F4F8 !important; }
.rounded { border-radius: 16px !important; }
.shadow {
  box-shadow: 0 3px 18px 0 rgba(20,52,86,0.09) !important;
}

/* ===================
   ACCESSIBILITY FOCUS
   =================== */
a, button, input, textarea, select {
  outline-color: #208078 !important;
  outline-width: 2px;
  outline-offset: 2px;
}
:focus-visible {
  outline: 2.5px solid #208078 !important;
  outline-offset: 2.5px;
}

/* ================
   UTILITY CLASSES
   ================ */
.d-none { display: none!important; }
.flex-row { display: flex; flex-direction: row!important; }
.flex-col { display: flex; flex-direction: column!important; }
.align-center { align-items: center!important; }
.align-start { align-items: flex-start!important; }
.justify-between { justify-content: space-between!important; }
.gap-8 { gap: 8px!important; }
.gap-16 { gap: 16px!important; }
.gap-24 { gap: 24px!important; }
.m-b-20 { margin-bottom: 20px!important; }
.m-b-32 { margin-bottom: 32px!important; }
.p-20 { padding: 20px!important; }
.p-32 { padding: 32px!important; }

/* ===============
   PRINT SUPPORT
   =============== */
@media print {
  header, footer, .cookie-banner, .mobile-menu,
  .mobile-menu-toggle, .mobile-menu-close {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
}

/* ===============
   SCROLLBAR STYLE
   =============== */
::-webkit-scrollbar {
  width: 9px;
  background: #F1F4F8;
}
::-webkit-scrollbar-thumb {
  background: #e6ebf2;
  border-radius: 8px;
}

/* =============
   MISC DETAILS
   ============= */
::selection {
  background: #2080781A;
}

/* Hide visual empty elements from layout, not from ATs */
[aria-hidden="true"] {
  pointer-events: none;
  opacity: 0;
}
