/* ===== 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,
b, 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.4;
  background-color: #FAF8F2;
  color: #24365C;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.2;
  margin: 0;
}
button {
  background: none;
  border: none;
  cursor: pointer;
}
:focus {
  outline: 2px solid #4ECDDB;
  outline-offset: 2px;
}

/* ===== BRAND TYPOGRAPHY & SCALE ===== */
h1, .h1 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: #24365C;
  margin-bottom: 16px;
  line-height: 1.2;
}
h2, .h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #24365C;
  margin-bottom: 14px;
  line-height: 1.22;
}
h3, .h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #24365C;
  margin-bottom: 8px;
}
h4, .h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #24365C;
}
p, li, dd, dt {
  font-size: 1rem;
  line-height: 1.7;
  color: #24365C;
  margin-bottom: 12px;
}
.hero-sub {
  font-size: 1.2rem;
  color: #4a5c7d;
  margin-bottom: 28px;
}
blockquote {
  border-left: 4px solid #4ECDDB;
  background: #edf4fa;
  padding: 16px 24px;
  margin-bottom: 12px;
  font-style: italic;
  color: #223047;
  border-radius: 8px;
}
strong {
  font-weight: 700;
}

/* ===== GENERAL CONTAINERS ===== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(20,40,80,0.04), 0 0px 0px rgba(0,0,0,0);
  padding: 32px 20px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  gap: 8px;
}
.hero {
  text-align: center;
  background: #EDF4FA;
  border-top: 6px solid #4ECDDB;
  box-shadow: 0 4px 20px rgba(36,54,92,0.06);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
/* MANDATORY FLEXBOX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(41,61,129,0.07);
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  flex: 1 1 220px;
  padding: 24px 16px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover,
.card:focus {
  box-shadow: 0 8px 28px rgba(41,61,129,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;
  background: #F2F7FA;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(60,95,134,0.07);
  padding: 20px;
  margin-bottom: 22px;
  min-width: 260px;
}
.testimonial-card blockquote {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  color: #18304C;
  font-size: 1.05rem;
}
.testimonial-card span {
  font-size: .97rem;
  color: #24365C;
  font-style: italic;
  margin-left: 16px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Feature Grid */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-grid > li {
  background: #F8FAFC;
  border: 1px solid #e4ebf2;
  border-radius: 12px;
  padding: 32px 18px 20px 18px;
  box-shadow: 0 1px 6px rgba(36,54,92,0.055);
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 265px;
  transition: border 0.2s, box-shadow 0.23s, transform 0.18s;
}
.feature-grid > li:hover {
  border-color: #4ECDDB;
  box-shadow: 0 6px 22px rgba(36,54,92,0.16);
  transform: translateY(-3px) scale(1.03);
}
.feature-grid img {
  height: 44px;
  width: 44px;
  margin-bottom: 16px;
}
.facts-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 15px;
}
.facts-list li {
  background: #edf6fb;
  border-left: 4px solid #4ECDDB;
  padding: 11px 18px;
  border-radius: 6px;
  color: #2C4058;
}
.fact-highlight, .daily-fact-highlight {
  background: #4ECDDB;
  color: #24365C;
  border-radius: 10px;
  padding: 20px 28px;
  font-weight: 500;
  box-shadow: 0 1px 6px rgba(30,128,120,0.07);
  font-size: 1.08rem;
  margin-bottom: 20px;
}
.daily-fact-highlight {
  background: #24365C;
  color: #fff;
}
.category-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 12px;
}
.category-links-grid a {
  background: #24365C;
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  padding: 14px 28px;
  border-radius: 7px;
  transition: background .2s, color .2s, transform .18s;
  font-weight: 500;
  box-shadow: 0 0.5px 3px rgba(60,80,110,0.035);
}
.category-links-grid a:hover,
.category-links-grid a:focus {
  background: #4ECDDB;
  color: #24365C;
  transform: scale(1.04);
}

/* ===== HEADER ===== */
header {
  background: #fff;
  box-shadow: 0 1px 10px rgba(36,54,92,0.06);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 40;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  min-height: 64px;
}
.logo-link {
  margin-right: 30px;
  display: flex;
  align-items: center;
}
nav ul {
  display: flex;
  gap: 20px;
  align-items: center;
}
nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
  color: #24365C;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.22s, color 0.16s;
}
nav ul li a:hover,
nav ul li a:focus {
  background: #f3fafd;
  color: #1f8cbb;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.03rem;
  display: inline-block;
  background: #4ECDDB;
  color: #24365C;
  border-radius: 8px;
  padding: 12px 26px;
  margin-left: 25px;
  box-shadow: 0 1.5px 6px rgba(76,205,219,0.12);
  border: 0;
  letter-spacing: .03em;
  text-align: center;
  transition: background .18s, color .15s, box-shadow .19s, transform .16s;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #24365C;
  color: #fff;
  box-shadow: 0 2px 18px rgba(36,54,92,0.22);
  transform: scale(1.03);
}
.cta-btn.primary {
  background: #24365C;
  color: #fff;
}
.cta-btn.primary:hover,
.cta-btn.primary:focus {
  background: #4ECDDB;
  color: #24365C;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  background: #EDF4FA;
  border: 0;
  border-radius: 6px;
  font-size: 2rem;
  color: #24365C;
  padding: 8px 14px;
  margin-left: 8px;
  display: none;
  z-index: 102;
  transition: background .17s, box-shadow .14s, color .18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #4ECDDB;
  color: #18304C;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 92vw;
  max-width: 400px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 20px rgba(41,61,129,0.12);
  z-index: 200;
  transform: translateX(110%);
  transition: transform .36s cubic-bezier(0.8,0.2,0.4,1);
  display: flex;
  flex-direction: column;
  padding: 0 0 16px 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 1.8rem;
  color: #24365C;
  background: none;
  border: 0;
  align-self: flex-end;
  margin: 20px 18px 4px 0;
  padding: 0 6px;
  cursor: pointer;
  z-index: 201;
  transition: color .14s;
}
.mobile-menu-close:hover {
  color: #4ECDDB;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 0 34px;
  margin-top: 18px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  color: #24365C;
  font-weight: 500;
  padding: 11px 0;
  border-radius: 6px;
  transition: background 0.2s, color 0.16s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #EDF4FA;
  color: #1f8cbb;
}
/* Overlay effect */
.mobile-menu-overlay {
  display: none;
}
.mobile-menu.open + .mobile-menu-overlay {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  z-index: 160;
}

/* ===== FOOTER ===== */
footer {
  background: #24365C;
  color: #fff;
  padding: 42px 12px 22px 12px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  border-radius: 18px 18px 0 0;
  margin-top:40px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-brand img {
  width: 45px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
}
.footer-menu a {
  color: #FAF8F2;
  font-size: 1.01rem;
  font-weight: 500;
  border-radius: 6px;
  padding: 6px 9px;
  background: none;
  transition: background .18s, color .15s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  background: #4ECDDB;
  color: #24365C;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.97rem;
  color: #c2e2e7;
  align-items: flex-start;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact img {
  width: 19px;
  height: 19px;
}
/* ===== FAQ & TOC ===== */
.faq-list, .faq-snippets, .user-rights, .core-values {
  margin: 14px 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-list dt, .faq-snippets dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #18304C;
  margin-bottom: 0px;
}
.faq-list dd, .faq-snippets dd {
  margin-top: 2px;
  margin-left: 14px;
  margin-bottom: 10px;
  color: #263859;
}
.core-values li, .user-rights li {
  color: #3e6d99;
  font-weight: 500;
  background: #f3fafd;
  border-left: 3px solid #4ECDDB;
  padding: 10px 15px;
  border-radius: 6px;
}
.inspiration-quote {
  font-size: 1.1rem;
  color: #18304C;
  margin-top: 18px;
  background: #EDF4FA;
  border-left: 4px solid #4ECDDB;
  padding: 16px 24px;
  border-radius: 8px;
}

/* ===== TEAM MEMBERS ===== */
.team-members-list {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.team-members-list li {
  color: #29406b;
  font-weight: 500;
  padding-left: 8px;
}
.founders-motivation {
  color: #18304C;
  font-style: italic;
  font-size: 1.04rem;
}

/* ===== CONTACT DETAILS ===== */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0 8px 0;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #24365C;
  font-weight: 500;
}
.map {
  background: #F3F7FA;
  border-radius: 9px;
  padding: 18px;
  color: #223047;
  font-size: 1.01rem;
  margin-top: 10px;
  box-shadow: 0 1px 6px rgba(40,90,100,0.05);
}

/* ====== CARD EXTRAS ====== */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ===== BUTTONS GENERAL ===== */
button, .cta-btn, .category-links-grid a {
  transition: all 0.2s cubic-bezier(0.57,1.57,0.22,1);
}
button:active, .cta-btn:active, .category-links-grid a:active {
  transform: scale(0.96);
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 3px solid #4ECDDB;
  box-shadow: 0 -1.5px 30px rgba(20,70,130,0.13);
  z-index: 9999;
  padding: 24px 18px 21px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  min-width: 0;
  animation: cookieIn 0.6s cubic-bezier(0.7,0.02,0.24,1);
}
@keyframes cookieIn {
  from { transform: translateY(90px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  color: #223047;
  font-size: 1.01rem;
}
.cookie-consent-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.cookie-btn {
  background: #4ECDDB;
  color: #24365C;
  font-weight: 600;
  border-radius: 6px;
  border: 0;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: background .18s, color .17s, box-shadow .19s, transform .15s;
  box-shadow: 0 1.2px 8px rgba(36,54,92,0.09);
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #24365C;
  color: #fff;
}
.cookie-btn.reject {
  background: #F8FAFC;
  color: #24365C;
  border: 1px solid #D1DFEA;
}
.cookie-btn.reject:hover {
  background: #EDF4FA;
  color: #24365C;
}
.cookie-btn.settings {
  background: #fff;
  color: #24365C;
  border: 1px solid #4ECDDB;
}
.cookie-btn.settings:hover {
  background: #4ECDDB;
  color: #24365C;
}
/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 10001;
  min-width: 310px;
  max-width: 95vw;
  width: 410px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 55px rgba(36,54,92,0.22);
  transform: translate(-50%, -50%) scale(1);
  animation: cookieModalIn 0.2s cubic-bezier(0.7,0.02,0.24,1);
  display: flex;
  flex-direction: column;
  padding: 28px 22px 18px 22px;
}
@keyframes cookieModalIn {
  from { transform: translate(-50%,-45%) scale(0.92); opacity:0; }
  to   { transform: translate(-50%,-50%) scale(1); opacity:1; }
}
.cookie-modal h3 {
  font-size: 1.19rem;
  color: #24365C;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 10px;
  font-weight: 600;
}
.cookie-modal .cookie-category {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-modal label {
  font-size: 1rem;
  color: #18304C;
  font-weight: 500;
  cursor: pointer;
}
/* Cookie toggle switches */
.switch {
  position: relative;
  width: 38px;
  height: 20px;
  display: inline-block;
  margin-right: 8px;
}
.switch input { display: none; }
.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #D1DFEA;
  transition: background 0.18s;
  border-radius: 20px;
}
.switch-slider:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s cubic-bezier(0.66,0.11,0.35,1.38);
}
.switch input:checked + .switch-slider {
  background-color: #4ECDDB;
}
.switch input:checked + .switch-slider:before {
  transform: translateX(18px);
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-close {
  background: none;
  border: 0;
  font-size: 1.35em;
  color: #24365C;
  position: absolute;
  right: 19px;
  top: 13px;
  cursor: pointer;
  transition: color .14s;
}
.cookie-modal .cookie-close:hover {
  color: #4ECDDB;
}
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(36,54,92,0.15);
  animation: cookieOverlayIn 0.18s;
}
@keyframes cookieOverlayIn {
  from { opacity:0; }
  to { opacity:1; }
}
/* ===== TABLES ===== */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
th, td {
  padding: 11px 16px;
  text-align: left;
  border-bottom: 1px solid #E1EBF4;
}
th {
  background: #F2F7FA;
  color: #24365C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 900px) {
  .feature-grid > li, .card {
    min-width: 180px;
    max-width: 100%;
    padding: 26px 10px 17px 10px;
  }
}
@media (max-width: 768px) {
  nav ul, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  nav {
    min-height: 54px;
    padding: 4px 10px;
  }
  .container {
    padding: 0 6vw;
  }
  .content-wrapper {
    padding: 21px 7px;
  }
  .section {
    padding: 29px 7px;
    margin-bottom: 40px;
  }
  h1, .h1 {
    font-size: 1.45rem;
  }
  h2, .h2 {
    font-size: 1.12rem;
  }
  h3, .h3 {
    font-size: 1.01rem;
  }
  .feature-grid, .category-links-grid, .footer-menu, .footer-contact, .card-container, .facts-list {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  .category-links-grid a, .cta-btn {
    width: 100%;
    text-align: center;
    margin-left: 0;
    margin-bottom: 5px;
    border-radius: 8px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 12px;
    padding: 16px 8px;
  }
  .footer-brand, .footer-menu, .footer-contact {
    gap: 10px;
  }
  .footer-contact {
    font-size: 0.95rem;
    flex-direction: column;
  }
  .hero {
    padding: 20px 2px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .facts-list li, .core-values li {
    padding: 9px 8px;
    font-size: 0.98rem;
  }
  .cookie-modal {
    padding: 16px 7px 9px 7px;
    width: 96vw;
    min-width: 0;
  }
  .cookie-consent-banner {
    padding: 16px 6px 16px 6px;
  }
}
@media (max-width: 500px) {
  .feature-grid > li {
    min-width: 120px;
    padding: 14px 7px 9px 7px;
  }
  .category-links-grid a {
    padding: 10px 6px;
    font-size: 1.09rem;
  }
  footer {
    border-radius: 10px 10px 0 0;
    padding: 15px 3px 12px 3px;
    font-size: 0.92rem;
  }
  .footer-brand img {
    width: 33px;
  }
  .cookie-modal h3 {
    font-size: 1.05rem;
  }
}

/* ===== UTILITY ===== */
.mr-8 { margin-right: 8px; }
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.text-center { text-align: center!important; }

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