/* ==========================================================
   CSS RESET & NORMALIZE (Reset, box-model, typography base)
   ========================================================== */
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, 
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Arial', sans-serif;
  background: #F2E9E4;
  color: #22577A;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #21706A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #38A3A5;
  outline: 0;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}

/* ===========================
   FONT-FAMILY (Geometric)
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@700;900&display=swap');
h1, h2, h3, h4, h5, h6, .cta-primary, .cta-secondary {
  font-family: 'Nunito', 'Arial', sans-serif;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.25;
}
h1 {font-size: 2.5rem; margin-bottom: 16px;}
h2 {font-size: 2rem; margin-bottom: 14px;}
h3 {font-size: 1.5rem; margin-bottom: 12px;}
h4 {font-size: 1.125rem; margin-bottom: 10px;}
body, p, li, cite, blockquote { 
  font-family: 'Arial', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #22577A;
}
blockquote {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 10px;
  line-height: 1.6;
}
cite {
  font-size: 0.92rem;
  color: #22577A;
  opacity: 0.87;
}

/* ===============
   CONTAINER & GRID
   =============== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* =========================================================
   HEADER + NAVIGATION (Desktop & Mobile Burger Menu)
   ========================================================= */
header {
  width: 100%;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(34, 87, 122, 0.10);
  z-index: 20;
  position: relative;
}
.logo-area {
  display: flex;
  align-items: center;
  padding: 22px 20px 16px 12px;
}
.logo-area img {
  height: 48px;
  width: auto;
  border-radius: 8px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 0 10px 0;
}
.main-nav a {
  font-family: 'Nunito', 'Arial', sans-serif;
  font-size: 1.08rem;
  color: #22577A;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #38A3A5;
  color: #fff;
}
.cta-primary {
  display: inline-block;
  font-size: 1.1rem;
  padding: 12px 32px;
  background: #22577A;
  color: #fff;
  border: none;
  border-radius: 32px 8px 32px 8px;
  font-family: 'Nunito', 'Arial', sans-serif;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-left: 32px;
  box-shadow: 0 3px 16px rgba(34, 87, 122, 0.07);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.26s, color 0.18s, transform 0.18s;
  outline: none;
  vertical-align: middle;
}
.cta-primary:hover, .cta-primary:focus {
  background: #38A3A5;
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 5px 20px rgba(56, 163, 165, 0.15);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #22577A;
  font-size: 2rem;
  margin-left: 26px;
  cursor: pointer;
  z-index: 50;
  padding: 4px 14px; /* Touch area */
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #22577A;
  color: #fff;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(0.66,0.02,0.23,1.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 2000;
  /* Initially hidden */
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  padding: 16px 6vw 6px 18px;
  cursor: pointer;
  align-self: flex-end;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: 36px;
  margin-top: 26px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Nunito', 'Arial', sans-serif;
  font-size: 1.25rem;
  padding: 12px;
  border-radius: 16px 0 16px 0;
  font-weight: 800;
  letter-spacing: 1.5px;
  transition: background 0.19s, color 0.19s;
  position: relative;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #38A3A5;
  color: #FFFFFF;
}

/* --------- Responsive HEADER Layout ---------- */
@media (max-width: 1024px) {
  .main-nav {gap: 12px;}
  .cta-primary {margin-left: 12px;}
}
@media (max-width: 900px) {
  .main-nav {
    gap: 8px;
    font-size: 0.95rem;
  }
  .cta-primary {
    padding: 10px 20px;
    font-size: 1rem;
    margin-left: 8px;
  }
}
@media (max-width: 820px) {
  .main-nav, .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .logo-area {
    padding: 18px 12px 12px 10px;
  }
}

@media (max-width: 480px) {
  .logo-area img {height: 34px;}
  header {padding-bottom: 6px;}
}

/* =============================
   HERO SECTION
   ============================= */
.hero {
  background: #FFFFFF;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 5px 28px rgba(34, 87, 122, 0.10);
  margin-bottom: 60px;
  padding: 40px 0 24px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 22px;
}
.hero h1 {
  font-size: 2.8rem;
  color: #22577A;
  font-weight: 900;
  letter-spacing: -1px;
}
.hero .subheadline {
  color: #22577A;
  font-size: 1.25rem;
  margin-bottom: 10px;
}

@media (max-width: 500px) {
  .hero h1 { font-size: 1.4rem; }
  .hero .subheadline { font-size: 1rem; }
  .hero {
    border-radius: 0 0 14px 14px;
    padding: 20px 0 18px 0;
  }
}

/* =====================
   SECTION SPACING RULES
   ===================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper, .text-section {
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* Cards & Card Containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFFFFF;
  border-radius: 18px 18px 6px 6px;
  box-shadow: 0 2px 14px rgba(34,87,122,0.10);
  margin-bottom: 20px;
  padding: 32px 26px;
  min-width: 240px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(34,87,122,0.15);
  transform: translateY(-4px) 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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(34, 87, 122, 0.10);
  border-left: 8px solid #38A3A5;
  border-radius: 14px 32px 14px 32px;
  padding: 20px;
  margin-bottom: 20px;
  max-width: 590px;
  min-width: 220px;
  color: #212732;
}
.testimonial-card blockquote {
  margin-bottom: 0px;
  font-size: 1.125rem;
  color: #22577A;
  font-style: italic;
}
.testimonial-card cite {
  color: #21706A;
  margin-left: 8px;
}

/* Responsive testimonials */
@media (max-width: 550px) {
  .testimonial-card {
    padding: 14px 9px;
    border-radius: 10px 15px 10px 15px;
    border-left-width: 5px;
    font-size: 0.98rem;
  }
}

/* Feature List / Item */
.feature-list, .feature-item {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.feature-list li, .feature-item li {
  margin-left: 0.7em;
  position: relative;
  padding-left: 22px;
  color: #22577A;
}
.feature-list li:before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #38A3A5;
  border-radius: 2px;
  position: absolute;
  left: 0; top: 6px;
}

/* =========================
   CTA ROWS & SECONDARY CTAS
   ========================= */
.cta-row {
  text-align: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 16px rgba(34,87,122, 0.07);
  padding: 36px 0 32px 0;
  margin-bottom: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cta-row .container {
  align-items: center;
}
.cta-row .content-wrapper {
  flex-direction: row;
  gap: 32px;
  align-items: center;
  justify-content: center;
}
.cta-row h2 {
  flex: 1;
  color: #21706A;
  font-size: 2rem;
}
.cta-secondary {
  background: #38A3A5;
  color: #fff;
  border: none;
  display: inline-block;
  text-align: center;
  font-size: 1.07rem;
  padding: 12px 28px;
  margin: 14px 10px 0 0;
  border-radius: 24px 6px 24px 6px;
  font-family: 'Nunito', 'Arial', sans-serif;
  font-weight: 800;
  letter-spacing: 0.6px;
  box-shadow: 0 2px 12px rgba(34, 87, 122, 0.09);
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.2s, box-shadow 0.22s, color 0.2s, transform 0.14s;
  outline: none;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #22577A;
  color: #fff;
  transform: scale(1.03);
  box-shadow: 0 5px 20px rgba(56, 163, 165, 0.14);
}
@media (max-width: 800px) {
  .cta-row .content-wrapper {flex-direction: column; gap: 16px;}
  .cta-row h2 {font-size:1.3rem; margin-bottom: 10px;}
  .cta-secondary {margin: 8px 6px 0 0;}
}
@media (max-width: 550px) {
  section, .section {padding: 22px 5px;}
  .cta-row {padding: 20px 0; border-radius: 11px;}
  .cta-row .container {padding: 0 4px;}
}

/* ========================
   FOOTER
   ======================== */
footer {
  background: #22577A;
  color: #fff;
  font-size: 1rem;
  width: 100%;
  padding-top: 24px;
}
footer section {
  margin-bottom: 0;
  padding: 30px 20px 8px 20px;
}
footer .container {
  align-items: flex-start;
}
footer .content-wrapper {
  align-items: flex-start;
  gap: 18px;
  border-top: 1px solid #38A3A5;
  padding-top: 18px;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #fff;
}
.footer-nav a, .footer-legal a {
  font-family: 'Nunito', 'Arial', sans-serif;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-right: 6px;
  border-radius: 6px;
  padding: 2px 8px;
  transition: background 0.19s, color 0.15s;
}
.footer-nav a:hover, .footer-legal a:hover,
.footer-nav a:focus, .footer-legal a:focus {
  background: #38A3A5;
  color: #fff;
}
.footer-contact {
  font-size: 0.96rem;
  color: #fff;
  opacity: 0.92;
  line-height: 1.55;
}

/* ==========================
   COOKIES BANNER/MODAL
   ========================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  color: #22577A;
  box-shadow: 0 -2px 16px rgba(34,87,122,0.13);
  padding: 26px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  z-index: 3000;
  gap: 22px;
  font-size: 1rem;
  transition: transform 0.19s;
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner .cookie-text {
  max-width: 740px;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn, .cookie-settings-btn {
  background: #21706A;
  color: #fff;
  border: none;
  border-radius: 18px 4px 18px 4px;
  font-family: 'Nunito', 'Arial', sans-serif;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 10px 22px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.14s;
}
.cookie-btn.accept {
  background: #38A3A5;
}
.cookie-btn.reject {
  background: #22577A;
}
.cookie-btn:hover, .cookie-settings-btn:hover, .cookie-btn:focus, .cookie-settings-btn:focus {
  background: #38A3A5;
  color: #fff;
  transform: scale(1.04);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 4px 12px 8px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-btns {gap: 8px;}
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  background: rgba(34,87,122,0.6);
  z-index: 3500;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.19s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px 12px 24px 12px;
  box-shadow: 0 9px 36px rgba(34,87,122,0.19);
  max-width: 480px;
  width: 95%;
  padding: 34px 26px 22px 26px;
  color: #22577A;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modalPopIn 0.23s cubic-bezier(.85,-0.09,.31,1.08);
  position: relative;
}
@keyframes modalPopIn {
  0% { transform: scale(0.8) translateY(30px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px; right: 20px;
  background: none;
  color: #22577A;
  border: 0;
  font-size: 1.7rem;
  cursor: pointer;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: #21706A;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 8px;
}
.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
}
.cookie-toggle input {
  opacity: 0;
  width: 44px;
  height: 24px;
  cursor: pointer;
}
.cookie-toggle .toggle-slider {
  position: absolute;
  top: 0; left: 0;
  width: 44px; height: 24px;
  background: #e4f4f3;
  border-radius: 12px;
  transition: background 0.14s;
}
.cookie-toggle input:checked + .toggle-slider {
  background: #21706A;
}
.cookie-toggle .toggle-slider:after {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.16s;
  box-shadow: 0 1px 4px rgba(56,163,165,0.12);
}
.cookie-toggle input:checked + .toggle-slider:after {
  left: 23px;
  background: #38A3A5;
}
.cookie-modal .cookie-btns {
  justify-content: flex-end;
}

/* ========================
   RESPONSIVENESS
   ======================== */
@media (max-width: 850px) {
  .container {
    max-width: 100vw;
    padding: 0 7px;
  }
}
@media (max-width: 610px) {
  h1 {font-size: 1.6rem;}
  h2 {font-size: 1.2rem;}
  .feature-list li, .feature-item li {font-size:0.98rem;}
}
@media (max-width: 650px) {
  .content-wrapper {gap: 14px;}
}
@media (max-width: 500px) {
  section, .section {
    margin-bottom: 32px;
    padding: 14px 3px;
  }
}

/* =============================
   ICONS IN CONTACT SECTION
   ============================= */
.text-section img {
  width: 20px;
  height: 20px;
  display: inline-block;
  margin-right: 10px;
  vertical-align: sub;
}

/* ==============
   VISUAL DETAILS
   ============== */
.card, .testimonial-card, section, .cta-row, .cookie-banner, .cookie-modal {
  /* Subtle geometric shadow effect */
  box-shadow: 0 2px 12px rgba(34, 87, 122, 0.06);
}

.card, .cta-row, .testimonial-card, .cookie-modal {
  border-radius: 18px 32px 14px 6px;
}

a.cta-primary, a.cta-secondary, button {
  outline: none;
  border: none;
  transition: box-shadow 0.18s, background 0.18s, transform 0.16s, color 0.14s;
  cursor: pointer;
}
a.cta-primary:focus, a.cta-secondary:focus, button:focus {
  box-shadow: 0 0 0 3px #21706A66;
}

a:active, .cta-primary:active, .cta-secondary:active, button:active {
  transform: scale(0.97);
}

hr {
  border: none;
  border-top: 1.5px solid #e9e9e9;
  margin: 32px 0;
}

/* ===================
   GEOMETRIC Details
   =================== */
section, .card, .cta-row {
  position: relative;
}
section::after, .card::after, .cta-row::after {
  content: '';
  display: block;
  position: absolute;
  right: 22px; bottom: 12px;
  width: 32px; height: 32px;
  background: rgba(56, 163, 165, 0.07);
  border-radius: 4px 28px 18px 10px;
  transform: rotate(7deg);
  z-index: 0;
  pointer-events: none;
}
.card::after { right: 18px; bottom: 9px; width:22px; height:22px;}
.cta-row::after { right: 32px; bottom: 18px; width: 46px; height: 46px; opacity: 0.04;}

/* Remove geometric detail on mobile for space */
@media (max-width:590px) {
  section::after, .card::after, .cta-row::after {
    display: none !important;
  }
}

/* =============================
   ACCESSIBILITY (Focus styles)
   ============================= */
a:focus-visible, .cta-primary:focus-visible, .cta-secondary:focus-visible, button:focus-visible {
  outline: 3px solid #21706A;
  outline-offset: 1px;
}

/* ===================
   PRINT BASIC CLEANUP
   =================== */
@media print {
  header, footer, .cookie-banner, .cookie-modal-overlay {display:none;}
  section, .section, .container, .content-wrapper, .text-section {padding:0; margin:0;}
}
