/* ================== CSS RESET & NORMALIZE ================== */
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,
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;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #273852;
  background-color: #F7FAFC;
  line-height: 1.7;
  transition: background 0.3s, color 0.3s;
  letter-spacing: 0.01em;
}
*::selection { background: #B5EDEB; color: #163449; }
a { color: #1FA198; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #14796e; text-decoration: underline; }
ul, ol { margin-left: 1.6em; margin-bottom: 1em; }
img { max-width: 100%; height: auto; display: block; border: 0; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #163449;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.4rem; font-weight: 700; margin-bottom: 20px; }
h2 { font-size: 2rem; font-weight: 700; margin-bottom: 18px; }
h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 14px; }
h4 { font-size: 1.1rem; font-weight: 500; }
p { margin-bottom: 1.2em; }
blockquote {
  font-style: italic;
  background: #F6F1FF;
  color: #2d2f3a;
  border-left: 5px solid #b9bafc;
  margin: 0 0 0.6em 0;
  padding: 18px 24px 18px 20px;
  border-radius: 10px;
}

/* =================== COLOR VARIABLES =================== */
:root {
  --primary: #163449;
  --secondary: #E2E8F0;
  --accent: #1FA198;
  --soft-blue: #D7ECFA;
  --soft-mint: #E2FBF7;
  --soft-purple: #F6F1FF;
  --soft-pink: #FEEFF6;
  --soft-yellow: #FCF9E6;
  --soft-grey: #F7FAFC;
  --shadow-light: 0 2px 10px 0 rgba(100,160,180,0.08), 0 1.5px 8px 0 rgba(185,201,228,0.12);
  --card-border: #e4e7ef;
}

/* =============== LAYOUT CONTAINERS =============== */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* Header & Navigation */
header {
  width: 100%;
  background: linear-gradient(90deg, #F6F1FF 0%, #E2FBF7 100%);
  box-shadow: var(--shadow-light);
  border-bottom: 1px solid var(--card-border);
  z-index: 102;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 16px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #273852;
  padding: 6px 14px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover, header nav a:focus {
  background: var(--soft-blue);
  color: var(--accent);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  background: linear-gradient(90deg, #B5EDEB 0%, #E2FBF7 100%);
  color: var(--primary);
  font-weight: 600;
  border: none;
  border-radius: 28px;
  font-size: 1.1rem;
  padding: 10px 26px;
  box-shadow: 0 2.5px 10px 0 rgba(79,194,202,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  margin-left: 16px;
  cursor: pointer;
  text-decoration: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #E2FBF7 0%, #B5EDEB 100%);
  color: var(--accent);
  box-shadow: 0 3.5px 14px 0 rgba(46,184,180,0.13);
}
button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: var(--accent);
  background: none;
  border: none;
  border-radius: 8px;
  padding: 4px 12px;
  margin-left: 8px;
  z-index: 110;
  transition: background 0.2s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: #F6F1FF;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg, #FCF9E6 0%, #B5EDEB 100%);
  box-shadow: 0 3px 18px rgba(100,160,180,0.18);
  z-index: 220;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.7,.37,.42,1.2);
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.29s cubic-bezier(.7,.37,.42,1.2);
}
.mobile-menu-close {
  font-size: 2.1rem;
  color: var(--accent);
  background: none;
  border: 0;
  align-self: flex-end;
  margin: 28px 28px 12px 0;
  z-index: 300;
  padding: 6px 14px;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-close:active,
.mobile-menu-close:focus {
  background: #E2E8F0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  padding: 0 38px;
  margin-top: 16px;
}
.mobile-nav a {
  font-size: 1.35rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--primary);
  padding: 12px 2px;
  letter-spacing: 0.015em;
  transition: color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
}

/* Hide mobile menu and burger on desktop */
@media (min-width: 1050px) {
  .mobile-menu,
  .mobile-menu.open {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

@media (max-width: 1050px) {
  header nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
/* ========== END OF MOBILE MENU ========== */

/* ========== HERO SECTIONS ========== */
.hero-section {
  width: 100%;
  min-height: 330px;
  background: linear-gradient(120deg, #F6F1FF 0%, #E2FBF7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 36px;
  padding-bottom: 36px;
  margin-bottom: 60px;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  box-shadow: 0 2px 14px 0 rgba(185,201,228,0.13);
}
.hero-section .content-wrapper {
  align-items: center;
  gap: 18px;
  text-align: center;
}
.hero-section h1 {
  font-size: 2.6rem;
  letter-spacing: 0.02em;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  margin-bottom: 10px;
}
.hero-section p {
  max-width: 520px;
  margin: 0 auto 18px auto;
  font-size: 1.2rem;
  color: #456;
}

.topic-hero {
  background: linear-gradient(120deg, #FEEFF6 0%, #B5EDEB 100%);
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
  padding-top: 38px;
  padding-bottom: 38px;
  margin-bottom: 64px;
  box-shadow: 0 2px 14px 0 rgba(249,208,243,0.10);
}
.topic-hero h1 {
  font-size: 2.2rem;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
}
.topic-hero p {
  font-size: 1.15rem;
  color: #3e5975;
}

/* ========== FEATURES SECTION & FLEX PATTERNS ========== */
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--soft-mint);
  border-radius: 30px;
  box-shadow: var(--shadow-light);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: stretch;
  margin-top: 18px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 28px 22px 24px 22px;
  border-radius: 22px;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--soft-blue);
  min-width: 238px;
  max-width: 320px;
  flex: 1 1 260px;
  margin-bottom: 20px;
}
.feature-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
}
.feature-item h3 {
  font-size: 1.22rem;
  margin-bottom: 0;
  color: var(--accent);
}
.feature-item p {
  color: #41595d;
  font-size: 1rem;
}

/* ============== CARDS, ARTICLES, CONTENT-GRID ============== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--soft-blue);
  padding: 30px 24px;
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  padding: 10px 0;
}

/* ============== ARTICLE LISTS ============== */
.article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  list-style: none;
  margin-bottom: 20px;
}
.article-list li {
  flex: 1 1 298px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--soft-blue);
  padding: 18px 20px 20px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap:10px;
}
.article-list h2, .article-list h3 {
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--accent);
}
.article-list p {
  color: #41595d;
  font-size: 0.98rem;
  margin-bottom: 6px;
}
.article-list a {
  align-self: flex-start;
  color: var(--accent);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 2px 0;
  border-bottom: 1px dashed var(--accent);
  transition: color 0.18s;
}
.article-list a:hover, .article-list a:focus {
  color: #163449;
  border-bottom: 1px solid #163449;
}

/* ============== TESTIMONIALS ============== */
.testimonials {
  background: var(--soft-purple);
  border-radius: 30px;
  padding: 38px 20px;
  margin-bottom: 60px;
  box-shadow: 0 2px 14px 0 rgba(128,119,191,0.06);
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-light);
  min-width: 280px;
  flex: 1 1 320px;
  margin-bottom: 20px;
  border: 1.5px solid var(--soft-blue);
}
.testimonial-card blockquote {
  margin: 0 0 8px 0;
  border-left: 4px solid var(--accent);
  background: #E2FBF7;
  color: #172231;
  font-size: 1.02rem;
  font-style: italic;
  border-radius: 7px;
  padding: 10px 18px 10px 16px;
}
.testimonial-author {
  font-weight: 500;
  color: var(--primary);
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-left: 8px;
  margin-right: 5px;
}

/* ========== ABOUT, CONTACT, SHORT INFO ========== */
.short-contact-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--soft-grey);
  border-radius: 15px;
  padding: 12px 18px;
  box-shadow: var(--shadow-light);
  margin-bottom: 18px;
}
.short-contact-info img {
  width: 22px; height: 22px;
}
.address-block {
  background: var(--soft-blue);
  border-radius: 18px;
  padding: 26px 20px 26px 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-light);
}
.address-block h2 { font-size: 1.08rem; margin-bottom: 7px; color: var(--primary); }
.address-block div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  margin-bottom: 5px;
}
.address-block img { width: 22px; height: 22px; }

/* ================= FOOTER ================= */
footer {
  background: linear-gradient(90deg, #F6F1FF 15%, #B5EDEB 100%);
  border-top: 1px solid var(--soft-blue);
  padding: 34px 0 24px 0;
  margin-top: 50px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-bottom: 6px;
}
footer nav a {
  color: var(--primary);
  font-size: 0.93rem;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 7px;
  transition: background 0.17s;
}
footer nav a:hover, footer nav a:focus { background: #E2FBF7; color: var(--accent); }
.contact-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  font-size: 0.97rem;
  color: #41595d;
  margin-bottom: 6px;
}
.contact-footer span {
  display: flex; align-items: center; gap: 7px;
}
.contact-footer img {
  width: 17px; height: 17px;
  margin-right: 2px;
}
footer p {
  color: #829fae;
  font-size: 0.97rem;
}

/* ============ LEGAL TEXT ============ */
.legal-text {
  font-size: 1rem;
  color: #41595d;
  background: #fff;
  border-radius: 16px;
  padding: 24px 18px 20px 18px;
  box-shadow: 0 2px 10px 0 rgba(130,150,180,0.06);
  margin-bottom: 18px;
}
.legal-text h2 {
  font-size: 1.16rem;
  margin: 16px 0 10px 0;
}
.legal-text ul {
  margin-bottom: 1.3em;
  margin-left: 1.5em;
}

/* ============ ARTICLE FILTER (disabled) ============ */
.article-filter {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-bottom: 16px;
  align-items: center;
}
.article-filter label {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 500;
}
.article-filter select, .article-filter input[type="search"] {
  background: #F6F1FF;
  border: 1.2px solid #B5EDEB;
  border-radius: 8px;
  padding: 6px 15px;
  font-size: 1rem;
  color: var(--primary);
  cursor: not-allowed;
  opacity: 0.35;
}

/* =============== CTA BUTTON WITHIN CONTENT =============== */
.content-cta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.content-cta .cta-btn {
  font-size: 1.1rem !important;
  padding: 10px 28px;
}

/* =============== COOKIE CONSENT BANNER =============== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 9999;
  background: linear-gradient(90deg,#FCF9E6 60%,#B5EDEB 100%);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  padding: 23px 22px;
  box-shadow: 0 -2.5px 14px 0 rgba(200,160,180,0.14);
  font-size: 1rem;
  border-top: 1.7px solid #E2E8F0;
  transition: transform 0.3s cubic-bezier(.7,.21,.42,1.2), opacity 0.25s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-banner-message {
  max-width: 520px;
  color: #273852;
  font-size: 1rem;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button,
.cookie-banner .btn-cookie-settings {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 28px;
  font-weight: 600;
  padding: 8px 22px;
  border: none;
  background: #F6F1FF;
  color: var(--primary);
  margin-top: 0;
  box-shadow: 0 1.7px 7px 0 rgba(169,179,210,0.07);
  transition: background 0.17s, color 0.17s;
  cursor: pointer;
}
.cookie-banner button.accept {
  background: #B5EDEB;
  color: var(--primary);
}
.cookie-banner button.reject {
  background: #F9CED4;
  color: #711851;
}
.cookie-banner button:focus,
.cookie-banner .btn-cookie-settings:focus {
  outline: 2px solid #1FA198;
}
.cookie-banner button.accept:hover,
.cookie-banner button.accept:focus {
  background: #1FA198;
  color: #fff;
}
.cookie-banner button.reject:hover,
.cookie-banner button.reject:focus {
  background: #E86699;
  color: #fff;
}
.cookie-banner .btn-cookie-settings {
  background: #FEEFF6;
  color: #163449;
  padding: 8px 18px;
}
.cookie-banner .btn-cookie-settings:hover,
.cookie-banner .btn-cookie-settings:focus {
  background: #FCF9E6;
  color: #1FA198;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed; left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(21, 30, 57, 0.26);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.35s;
  pointer-events: all;
}
.cookie-modal-overlay.hide { opacity: 0; pointer-events: none; }
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  padding: 34px 28px 30px 28px;
  box-shadow: 0 4px 22px 0 rgba(100,160,180,0.16);
  min-width: 312px;
  max-width: 98vw;
}
.cookie-modal h2 {
  font-size: 1.32rem;
  margin-bottom: .7em;
  color: var(--primary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 7px;
  margin-bottom: 19px;
}
.cookie-category {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.04rem;
}
.cookie-category label {
  font-weight: 500; color: #21253e;
}
.cookie-category input[type=checkbox] {
  accent-color: #1FA198; /* fallback: brand accent */
  width: 18px; height: 18px;
  margin-right: 4px;
  border-radius: 11px;
}
.cookie-modal-actions {
  display: flex; flex-direction: row; gap: 14px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal .btn {
  border-radius: 26px;
  padding: 7px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  background: #F6F1FF;
  color: var(--primary);
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.cookie-modal .btn.primary {
  background: #B5EDEB;
  color: var(--primary);
}
.cookie-modal .btn.primary:hover, .cookie-modal .btn.primary:focus {
  background: #1FA198;
  color: #fff;
}
.cookie-modal .btn.cancel {
  background: #FEEFF6;
  color: #b01161;
}
.cookie-modal .btn.cancel:hover, .cookie-modal .btn.cancel:focus {
  background: #FCF9E6;
  color: #711851;
}

/* ========== FORM ELEMENTS ========== */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  background: #F6F1FF;
  color: #163449;
  border: 1.5px solid #E2E8F0;
  border-radius: 9px;
  padding: 10px 15px;
  margin-bottom: 7px;
  outline: none;
  transition: border 0.16s, box-shadow 0.16s;
  box-sizing: border-box;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--accent);
  box-shadow: 0 2px 13px 0 rgba(98,196,166,0.07);
}

/* =========== RESPONSIVE DESIGN (MOBILE-FIRST) =========== */
@media (max-width: 900px) {
  .container {
    padding: 0 14px;
    max-width: 100vw;
  }
  .features {
    padding: 30px 8px;
  }
  .section {
    padding: 32px 8px;
  }
  .testimonials {
    padding: 25px 8px;
  }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero-section h1 { font-size: 1.77rem; }
  .topic-hero h1 { font-size: 1.54rem; }
  .feature-grid, .content-grid, .testimonials .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section { flex-direction: column; gap: 18px; }
  .short-contact-info { flex-direction: column; gap: 9px; }
  .footer .contact-footer, .contact-footer { flex-direction: column; gap: 8px; align-items: flex-start; }
  .cta-btn, .content-cta .cta-btn { width: 100%; justify-content: center; min-width: 0; margin-left: 0; margin-bottom: 12px; }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 19px;
    padding: 20px 7px;
  }
  .cookie-modal {
    padding: 18px 6px 18px 8px;
  }
}
@media (max-width: 510px) {
  html { font-size: 14px; }
  .container { padding: 0 3vw; }
  .section, .features, .testimonials, .address-block, .card {
    padding-left: 2vw; padding-right: 2vw;
  }
  .footer .container, footer .container { padding-left: 2vw; padding-right: 2vw; }
}

/* ============= SPACING, HIERARCHY, LISTS, ETC. ============= */
section:not(.hero-section):not(.topic-hero):not(.testimonials):not(.features) {
  margin-bottom: 60px;
}
ul, ol {
  margin-bottom: 16px;
  margin-left: 1.4em;
  color: #47536b;
  font-size: 1rem;
}
ul li, ol li {
  margin-bottom: 7px;
}
/* Add subtle animation helpers */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}
/* Micro-interactions for cards/buttons */
.card:hover, .feature-item:hover, .testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(85, 200, 196, 0.12);
  transform: translateY(-3px) scale(1.016);
  transition: box-shadow 0.18s, transform 0.18s;
  z-index: 2;
}

/* ===================== END ===================== */
