/* --- CSS RESET & NORMALIZATION --- */
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, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, main, 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;
}
html {
  scroll-behavior: smooth;
  height: 100%;
}
body {
  min-height: 100vh;
  min-width: 320px;
  background: #F5F6FA;
  color: #293B5F;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
a {
  color: #13A89E;
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.5,0,.2,1);
}
a:hover, a:focus {
  color: #293B5F;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
img {
  border: 0;
  display: block;
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: inherit;
  line-height: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
  box-shadow: none;
}
button {
  cursor: pointer;
  background: inherit;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #293B5F;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.2;
}
h1 { font-size: 2.2rem; margin-bottom: 20px; }
h2 { font-size: 1.6rem; margin-bottom: 18px; }
h3 { font-size: 1.22rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1.08rem; margin-bottom: 10px; }
p, ul, ol, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #293B5F;
}
strong {
  font-weight: 700;
}

/* --- GEOMETRIC STRUCTURED LAYOUT --- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.text-section {
  max-width: 740px;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(41,59,95,0.07);
}
@media (max-width: 992px) {
  .section {
    padding: 32px 8px;
    margin-bottom: 36px;
    border-radius: 14px;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 24px 4px;
    margin-bottom: 24px;
    border-radius: 10px;
  }
}

.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 -12px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(41,59,95,0.10);
  padding: 28px 22px;
  margin-bottom: 20px;
  flex: 1 1 300px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  transition: box-shadow 0.18s cubic-bezier(.5,0,.2,1), transform 0.16s cubic-bezier(.4,1.2,.6,1);
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(19,168,158,0.15);
  transform: translateY(-3px) scale(1.02);
}

.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F5F6FA;
  border-left: 5px solid #13A89E;
  border-radius: 12px;
  box-shadow: 0 1px 8px 0 rgba(41,59,95,0.07);
  margin-bottom: 20px;
  transition: box-shadow 0.15s linear, border-color 0.18s cubic-bezier(.5,0,.2,1);
}
.testimonial-card:hover {
  border-left-color: #293B5F;
  box-shadow: 0 6px 20px 0 rgba(41,59,95,0.12);
}
.testimonial-card p {
  flex: 1 1 auto;
  color: #293B5F;
  font-size: 1rem;
  margin: 0 0 0 0;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #293B5F;
  font-size: 0.96rem;
  opacity: 0.80;
  margin-left: auto;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HERO SECTION & BUTTONS --- */
.hero {
  min-height: 312px;
  background: linear-gradient(90deg, #f5f6fa 0%,#e0f5f3 100%);
  display: flex;
  align-items: center;
  margin-bottom: 48px;
  border-radius: 0 0 48px 48px;
  box-shadow: 0 6px 20px 0 rgba(19,168,158,0.05);
}
.hero .content-wrapper {
  max-width: 690px;
  margin: 0 auto;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}
.hero h1 {
  font-size: 2.8rem;
  letter-spacing: -1.5px;
  color: #293B5F;
  text-shadow: 1px 3px 0 rgba(19,168,158,0.04);
}
.hero .subtitle {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.18rem;
  color: #293B5F;
  margin-bottom: 8px;
}
.cta, .cta.primary, .cta.secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 48px;
  padding: 13px 36px;
  font-size: 1.05rem;
  letter-spacing: 0.07em;
  text-decoration: none;
  border: none;
  transition: background 0.16s cubic-bezier(.4,1.2,.6,1), color 0.12s linear, box-shadow 0.14s linear, transform 0.11s cubic-bezier(.4,1.6,.8,1);
  box-shadow: 0 2px 7px 0 rgba(41,59,95,0.10);
}
.cta.primary {
  background: #13A89E;
  color: #fff;
  box-shadow: 0 4px 22px 0 rgba(19,168,158,0.12);
}
.cta.primary:hover, .cta.primary:focus {
  background: #293B5F;
  color: #fff;
  transform: scale(1.04);
}
.cta.secondary {
  background: #fff;
  border: 2px solid #13A89E;
  color: #13A89E;
  box-shadow: 0 2px 7px 0 rgba(41,59,95,0.07);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #13A89E;
  color: #fff;
  transform: scale(1.04);
}

.label {
  display: inline-block;
  background: #13A89E;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 8px 24px 24px 8px;
  padding: 5px 20px 5px 14px;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(41,59,95,0.04);
  position: sticky;
  top: 0;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}
header a img {
  height: 48px;
  width: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #293B5F;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  padding: 2px 8px;
  border-radius: 6px;
  line-height: 1.2;
  transition: background 0.14s, color 0.13s;
}
nav a.cta {
  margin-left: 12px;
}
nav a:hover, nav a:focus {
  background: #13A89E;
  color: #fff;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 1.7rem;
  border: none;
  background: #13A89E;
  color: #fff;
  border-radius: 12px;
  margin-left: 20px;
  transition: background 0.16s;
  z-index: 120;
}
.mobile-menu-toggle:hover {
  background: #293B5F;
}
.mobile-menu {
  position: fixed;
  left: 0; top: 0; bottom: 0; right: 0;
  background: rgba(41,59,95,0.92);
  color: #fff;
  transform: translateX(110%);
  transition: transform 0.35s cubic-bezier(.8,0,.2,1);
  z-index: 220;
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.29s cubic-bezier(.64,1.6,.28,.86);
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 18px; right: 22px;
  width: 44px; height: 44px;
  background: #fff;
  color: #293B5F;
  border-radius: 12px;
  font-size: 2.1rem;
  border: none;
  z-index: 240;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.13s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #13A89E;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0 32px;
}
.mobile-nav a {
  font-size: 1.3rem;
  color: #fff;
  padding: 12px 0;
  border-radius: 0;
  border-bottom: 1px solid #13A89E;
  text-align: left;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 0.14s, color 0.13s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #13A89E;
  color: #fff;
}

@media (max-width: 1100px) {
  header .container nav {
    gap: 10px;
  }
}
@media (max-width: 991px) {
  header .container {
    padding: 14px 8px;
  }
  header a img {
    height: 40px;
  }
}
@media (max-width: 830px) {
  header .container nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 831px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}
@media (max-width: 830px) {
  .mobile-menu {
    display: flex;
  }
}
@media (max-width: 600px) {
  .mobile-nav {
    margin: 0 12px;
  }
}

/* --- BLOG POST CARDS & FILTERS --- */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.blog-post {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(41,59,95,0.08);
  padding: 20px 16px;
  flex: 1 1 300px;
  min-width: 232px;
  transition: box-shadow 0.13s, transform 0.11s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.blog-post h3 {
  font-size: 1.12rem;
  color: #293B5F;
  margin-bottom: 7px;
}
.blog-post p {
  font-size: 0.98rem;
}
.blog-post a {
  color: #13A89E;
  font-weight: 700;
  margin-top: 6px;
  text-decoration: none;
  transition: color 0.16s;
}
.blog-post a:hover, .blog-post a:focus {
  color: #293B5F;
  text-decoration: underline;
}
.filters {
  margin-bottom: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  color: #293B5F;
}
.filters a {
  color: #13A89E;
  margin-left: 3px;
  margin-right: 3px;
}
.filters a:hover, .filters a:focus {
  color: #293B5F;
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.search-bar input[type="text"] {
  flex: 1 1 auto;
  border: 1.5px solid #13A89E;
  border-radius: 12px;
  padding: 9px 14px;
  font-size: 1rem;
  background: #fff;
  color: #293B5F;
  outline: none;
  transition: border 0.14s;
}
.search-bar input[type="text"]:focus {
  border-color: #293B5F;
}
.search-bar button {
  background: #13A89E;
  color: #fff;
  border-radius: 10px;
  font-size: 1.1rem;
  padding: 9px 13px;
  transition: background 0.14s;
  border: none;
}
.search-bar button:hover, .search-bar button:focus{ background: #293B5F; }

/* --- FOOTER --- */
footer {
  background: #fff;
  border-top: 3px solid #13A89E;
  box-shadow: 0 -2px 16px 0 rgba(41,59,95,0.03);
  position: relative;
  z-index: 10;
  padding: 28px 0 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
footer nav {
  display: flex;
  gap: 14px;
  margin-bottom: 6px;
}
.contact-footer {
  font-size: 0.98rem;
  color: #293B5F;
  margin-bottom: 6px;
}
.social-media {
  display: flex;
  gap: 12px;
}
.social-media a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #13A89E;
  border-radius: 50%;
  transition: background 0.14s;
  box-shadow: 0 1px 6px 0 rgba(41,59,95,0.025);
}
.social-media a:hover {
  background: #293B5F;
}
.social-media img {
  width: 22px;
  height: 22px;
}

@media (max-width: 700px) {
  footer .container {
    align-items: stretch;
    padding-left: 0;
    padding-right: 0;
  }
  footer nav {
    flex-wrap: wrap;
  }
}

/* --- RESPONSIVE FLEX PATTERNS --- */
@media (max-width: 1100px) {
  .container { max-width: 100%; }
}
@media (max-width: 900px) {
  .content-wrapper, .content-grid, .blog-list {
    flex-direction: column !important;
    gap: 16px !important;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* --- UTILITY CLASSES --- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-24 { margin-bottom: 24px !important; }
.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.align-center { align-items: center !important; }

/* --- TYPOGRAPHY & LISTS --- */
ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  margin-bottom: 20px;
}
ul li {
  padding-left: 28px;
  position: relative;
  color: #293B5F;
  margin-bottom: 10px;
}
ul li:before {
  content: '';
  position: absolute;
  left: 0; top: 13px;
  width: 14px;
  height: 2.2px;
  background: #13A89E; /* geometric bar */
  border-radius: 12px;
  display: inline-block;
}

.text-section ul li:before {
  width: 11px;
  top: 10px;
}
.text-section ul li {
  font-size: 0.98rem;
  margin-bottom: 7px;
}
.section ul {
  margin-bottom: 8px;
}
ul:last-child, .text-section ul:last-child { margin-bottom: 0; }

/* --- FORMS ELEMENTS AND INPUTS (only search) --- */
input[type='text'], input[type='email'], input[type='password'] {
  border: 1.5px solid #13A89E;
  border-radius: 11px;
  padding: 10px 17px;
  font-size: 1rem;
  background: #fff;
  color: #293B5F;
  transition: border 0.14s;
}
input[type='text']:focus, input[type='email']:focus {
  border-color: #293B5F;
}

/* --- ACCENT AND SUCCESS/ERROR COLORS --- */
.success { color: #10c369; }
.error { color: #c63737; }

/* --- COOKIE CONSENT BANNER --- */
#cookie-consent-banner, .cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #293B5F;
  color: #fff;
  z-index: 1001;
  padding: 24px 8px 24px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -3px 22px 0 rgba(41,59,95,0.14);
  flex-wrap: wrap;
  gap: 18px;
  font-size: 1rem;
  transition: transform 0.26s cubic-bezier(.4,1.4,.5,1);
  opacity: 1;
  min-height: 0;
}
#cookie-consent-banner.hide, .cookie-consent-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  min-height: 0;
}
.cookie-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: #13A89E;
  border: none;
  border-radius: 24px;
  padding: 9px 27px;
  margin-right: 5px;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #0e8e89;
}
.cookie-btn.reject {
  background: #fff;
  color: #13A89E;
  border: 1.5px solid #13A89E;
}
.cookie-btn.reject:hover {
  color: #fff;
  background: #293B5F;
  border-color: #293B5F;
}
.cookie-btn.settings {
  background: #293B5F;
  border: 1.5px solid #fff;
}
.cookie-btn.settings:hover {
  background: #fff;
  color: #293B5F;
}

/* --- COOKIE MODAL --- */
#cookie-modal-overlay, .cookie-modal-overlay {
  position: fixed;
  z-index: 1202;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(41,59,95,0.78);
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s cubic-bezier(.6,2,.4,.8);
}
#cookie-modal-overlay.active, .cookie-modal-overlay.active {
  display: flex;
}
#cookie-modal, .cookie-modal {
  background: #fff;
  color: #293B5F;
  border-radius: 18px;
  padding: 38px 34px 28px 34px;
  max-width: 444px;
  width: 96%;
  box-shadow: 0 12px 26px 0 rgba(41,59,95,0.28);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modal-bounce-in 0.32s cubic-bezier(.5,1.4,.5,1);
  position: relative;
}
@keyframes modal-bounce-in {
  0% { opacity: 0; transform: scale(0.89) translateY(66px); }
  90% { opacity: 1; transform: scale(1.04) translateY(-9px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.cookie-modal-close {
  position: absolute;
  top: 15px; right: 20px;
  width: 30px; height: 30px;
  background: #13A89E;
  color: #fff;
  font-size: 1.25rem;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.12s;
  z-index: 15;
}
.cookie-modal-close:hover {
  background: #293B5F;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  accent-color: #13A89E;
}
.cookie-category label {
  font-size: 1rem;
  color: #293B5F;
  font-weight: 600;
}
.cookie-category.essential label {
  color: #293B5F;
  opacity: 0.8;
}
.cookie-category.essential input[type='checkbox'] {
  pointer-events: none;
}
@media (max-width: 520px) {
  #cookie-modal, .cookie-modal {
    padding: 16px 6vw 16px 6vw;
    border-radius: 8px;
  }
}

/* --- ADAPTIVE & GEOMETRIC STRUCTURAL SPACING --- */
@media (max-width: 768px) {
  .container, .content-grid, .card-container, .card-grid, .card, .section, .content-wrapper {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .section {
    border-radius: 10px;
    padding: 22px 5px;
  }
  .card {
    min-width: 0;
    width: 100%;
    padding: 13px 8px;
  }
  .blog-post {
    min-width: 0;
    width: 100%;
    padding: 13px 8px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* --- SPECIAL CLASSES FOR STRUCTURED SECTIONS (GEOMETRIC) --- */
.card, .blog-post, .testimonial-card {
  box-shadow: 0 1px 8px 0 rgba(41,59,95,0.04);
  border-radius: 12px;
  margin-bottom: 20px;
}

.card > h3 > span, .blog-post h3 span {
  color: #13A89E;
  font-size: 1rem;
  font-weight: 700;
}
.text-section {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 480px) {
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.14rem; }
  h3 { font-size: 1.04rem; }
  .hero h1 { font-size: 1.38rem; }
}

/* --- MICRO-INTERACTIONS --- */
.card, .blog-post, .testimonial-card, .cta, .cookie-btn {
  transition: box-shadow 0.18s cubic-bezier(.28,1.1,.35,1), background 0.14s, color 0.13s, transform 0.14s;
}
.card:active, .blog-post:active, .cta:active, .cookie-btn:active {
  transform: scale(0.98);
}

/* --- Z-INDEX FOR MODALS AND MENUS --- */
header { z-index: 101; }
.mobile-menu { z-index: 220; }
#cookie-consent-banner, .cookie-consent-banner { z-index: 1001; }
#cookie-modal-overlay, .cookie-modal-overlay{ z-index: 1202; }

/* --- ACCESSIBILITY HIGHLIGHTS --- */
a:focus, .cta:focus, .cookie-btn:focus, .mobile-menu-close:focus {
  outline: 2.5px solid #13A89E;
  outline-offset: 2.5px;
  box-shadow: 0 0 0 3px #f5f6fa;
}

/* --- GEOMETRIC DECORATIVE SHAPES (OPTIONAL DEMO) --- */
.decorative-diamond {
  width: 38px; height: 38px;
  background: #13A89E;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  position: absolute;
  right: -14px;
  top: -16px;
  z-index: 22;
  opacity: 0.07;
}

/* --- END GEOMETRIC STRUCTURED CSS --- */