/* ============================
  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;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  background: #fafcfb;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  background: #F7F7F6;
  color: #17425A;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #15B88A;
  outline-offset: 2px;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  border-radius: 14px;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  color: inherit;
}

/* ============================
  CSS VARIABLES FOR BRAND + PASTEL
  ============================ */
:root {
  --primary: #17425A;
  --primary60: #3E6280;
  --secondary: #F7F7F6;
  --accent: #15B88A;
  --accent-darker: #11956E;
  --pastel-blue: #A6CFEB;
  --pastel-green: #C6F5E4;
  --pastel-teal: #D7F9F1;
  --pastel-pink: #FDE4EC;
  --pastel-yellow: #FFF9E2;
  --header-shadow: 0 4px 28px rgba(174,205,235,0.07);
  --card-shadow: 0 2px 16px rgba(22, 96, 121, 0.08), 0 1.5px 6px rgba(21,184,138,0.05);
  --focus-ring: 0 0 0 2px var(--accent);
  --transition: all 0.22s cubic-bezier(.77,.03,.23,1);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius: 12px;
}

/* ============================
  GENERAL LAYOUT CONTAINERS
  ============================ */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

main {
  margin-top: 36px;
  margin-bottom: 56px;
}

/* Spacing for sections (MANDATORY) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (max-width: 700px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
    border-radius: var(--radius-md);
  }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0 auto;
  max-width: 700px;
}
@media (max-width: 700px) {
  .content-wrapper {
    gap: 16px;
    max-width: 100%;
  }
}

/* ============================
  TYPOGRAPHY
  ============================ */
h1, h2, h3, h4, .brand {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #17425A;
  text-shadow: 0 2px 8px #D7F9F1;
}
h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  color: #16647D;
}
h3 {
  font-size: 1.35rem;
  color: var(--primary);
}
h4 {
  font-size: 1.13rem;
  color: var(--primary60);
}
p, li {
  font-size: 1.08rem;
  color: #254D66;
  line-height: 1.77;
}
strong {
  font-weight: 700;
  color: #11956E;
}
small {
  font-size: 0.98rem;
}

@media (max-width: 700px) {
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.38rem;
  }
}

/* ============================
  HEADER + NAVIGATION
  ============================ */
header {
  background: linear-gradient(90deg, #D7F9F1 0%, #FDE4EC 100%);
  box-shadow: var(--header-shadow);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 24px;
  min-height: 68px;
  justify-content: space-between;
}
header img {
  height: 44px;
  width: auto;
  margin-right: 30px;
  border-radius: 0;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--primary60);
  background: none;
  border-radius: 7px;
  padding: 8px 12px;
  transition: var(--transition);
}
header nav a:hover, header nav a:focus {
  color: var(--primary);
  background: var(--pastel-green);
}
.cta-btn.primary {
  appearance: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 12px 32px;
  border-radius: 100px;
  box-shadow: 0 1px 16px rgba(21,184,138,0.14);
  border: none;
  margin-left: 18px;
  letter-spacing: 0.01em;
  transition: background 0.18s, box-shadow 0.19s, transform 0.13s;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: var(--accent-darker);
  box-shadow: 0 2px 24px rgba(21,184,138,0.21);
  transform: translateY(-2px) scale(1.025);
}

.cta-btn.accent {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 600;
  color: #17425A;
  background: var(--pastel-blue);
  border-radius: 100px;
  border: 2px solid var(--accent);
  padding: 11px 28px;
  margin-top: 4px;
  box-shadow: 0 0.8px 7px rgba(21,184,138,0.06);
  letter-spacing: 0.01em;
  transition: background 0.19s, box-shadow 0.18s, color 0.2s, border 0.21s;
}
.cta-btn.accent:hover, .cta-btn.accent:focus {
  background: var(--accent);
  color: #FFF;
  border-color: var(--accent-darker);
  box-shadow: 0 2px 28px rgba(21,184,138,0.14);
}

/* Hamburger (mobile menu) */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: none;
  color: #15B88A;
  padding: 6px 13px;
  border-radius: 50%;
  border: none;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E8FFF2;
  color: #11956E;
}

@media (max-width: 980px) {
  header .container {
    flex-direction: row;
    gap: 16px;
  }
  header nav {
    display: none;
  }
  .cta-btn.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 520px) {
  header .container {
    padding: 0 8px;
  }
}

/* ============================
  MOBILE MENU (with slide animation)
  ============================ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(120deg, #C6F5E4 30%, #A6CFEB 100%);
  box-shadow: 0 10px 36px 0 rgba(23,66,90,0.13), 0 0 0 1000px rgba(40,120,110,0.09) inset;
  transform: translateX(-102vw);
  transition: transform 0.35s cubic-bezier(.77,.03,.23,1);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding-top: 38px;
  opacity: 0.991;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 16px 30px 16px 0;
  font-size: 2.2rem;
  color: #11956E;
  background: none;
  border: none;
  padding: 7px 17px;
  border-radius: 50%;
  transition: background 0.16s, color 0.15s;
  z-index: 1510;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #D7F9F1;
  color: #17425A;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  margin-top: 10px;
  padding-left: 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.36rem;
  color: #17425A;
  font-weight: 600;
  background: none;
  padding: 14px 0 14px 12px;
  border-radius: 9px;
  margin-right: 10px;
  margin-bottom: 3px;
  min-width: 140px;
  transition: background 0.17s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-pink);
  color: var(--accent-darker);
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ============================
  HERO SECTIONS + FEATURE ICONS
  ============================ */
/* Hero text center by default */
section > .container > .content-wrapper {
  align-items: center;
  text-align: center;
}
section > .container > h2 {
  text-align: center;
}

.feature-icons {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 18px 0 8px;
}
.feature-icons img {
  width: 55px;
  height: 55px;
  background: #FFF;
  border-radius: 19px;
  box-shadow: 0 2px 9px rgba(166,207,235,.14);
  object-fit: contain;
  padding: 7px;
}

/* ============================
  FLEXBOX CONTENT LAYOUTS - MANDATORY
  ============================ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #FFF;
  box-shadow: var(--card-shadow);
  border-radius: var(--radius);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.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: #FFF9E2;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 22px rgba(254,216,236,.08);
  margin-bottom: 23px;
  margin-top: 0;
  font-size: 1.09rem;
  color: #222;
}
.testimonial-card blockquote {
  border: none;
  margin: 0;
  font-size: 1.08rem;
  color: #17425A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  background: none;
}
.testimonial-card span {
  color: #11956E;
  font-size: 1rem;
  font-weight: 600;
}

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

/* ============================
  LISTS AND TEXT-IMAGES (index, about...)
  ============================ */
ul {
  margin-top: 7px;
  margin-bottom: 7px;
}
li {
  position: relative;
  margin-bottom: 17px;
  padding-left: 20px;
  color: #24617B;
  font-size: 1.09rem;
  line-height: 1.65;
}
li:last-child { margin-bottom: 0; }
ul li:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 10px;
  height: 10px;
  margin-right: 11px;
  margin-left: -20px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.25;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: var(--pastel-blue);
  padding: 17px 18px;
  border-radius: var(--radius-md);
  margin-top: 15px;
  box-shadow: 0 1.5px 11px rgba(166,207,235,0.06);
  color: #17425A;
  font-size: 1.02rem;
}

/* ============================
  UTILITY FLEX CLASSES
  ============================ */
/* Card grid, etc. */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 22px;
}

/* ============================
  FOOTER
  ============================ */
footer {
  background: linear-gradient(90deg, #D7F9F1 0%, #FFF9E2 100%);
  border-top: 2px solid #C6F5E4;
  color: #17425A;
}
footer .container {
  flex-direction: row;
  gap: 44px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 39px 20px 20px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
footer nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #17425A;
  font-weight: 600;
  font-size: 1rem;
  opacity: 0.96;
  transition: color 0.18s;
  margin-bottom: 2px;
}
footer nav a:hover, footer nav a:focus {
  color: var(--accent);
  text-decoration: underline;
}
.brand-contact {
  color: #254D66;
  font-size: 1rem;
  line-height: 1.85;
}
.brand-contact a { color: var(--accent-darker); font-weight: 600; }
@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    gap: 32px;
    padding: 26px 7px 13px 7px;
  }
  footer nav {
    flex-direction: row;
    gap: 14px;
    flex-wrap: wrap;
  }
}

/* ============================
  COOKIE CONSENT BANNER AND MODAL
  ============================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  max-width: 100vw;
  background: linear-gradient(90deg, #FDE4EC 0%, #D7F9F1 100%);
  color: #17425A;
  box-shadow: 0 -1.5px 16px rgba(21,66,90,0.07);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  padding: 21px 32px;
  z-index: 2000;
  font-size: 1.11rem;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  animation: banner-in 0.48s cubic-bezier(.77,.03,.23,1);
}
@keyframes banner-in {
  0% { transform: translateY(100%); opacity: 0; }
  65% { transform: translateY(-10%); }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 340px;
  margin-right: 18px;
  font-size: 1.08rem;
  color: #17425A;
}
.cookie-banner .cookie-btn,
.cookie-banner .cookie-settings-btn {
  background: var(--accent);
  color: #FFF;
  border: none;
  border-radius: 100px;
  padding: 10px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 6px;
  transition: background 0.16s, box-shadow 0.19s;
  box-shadow: 0 0.8px 7px rgba(21,184,138,0.07);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus,
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: var(--accent-darker);
}
.cookie-banner .cookie-reject-btn {
  background: #E8FFF2;
  color: #11956E;
  border: 1.5px solid var(--accent);
  border-radius: 100px;
  padding: 10px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-left: 6px;
  transition: background 0.13s, color 0.17s;
}
.cookie-banner .cookie-reject-btn:hover, .cookie-banner .cookie-reject-btn:focus {
  background: #C6F5E4;
  color: #05724A;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 10px 24px 10px;
    font-size: 0.98rem;
    border-radius: 14px 14px 0 0;
  }
  .cookie-banner p {
    margin-right: 0;
    margin-bottom: 7px;
    font-size: 0.98rem;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed; left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(167,207,235,.18);
  z-index: 2050;
  backdrop-filter: blur(2.5px);
  display: flex;
  justify-content: center;
  align-items: center;
}
.cookie-modal {
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 8px 48px rgba(23,66,90,0.09), 0 2px 7px rgba(21,184,138,0.07);
  max-width: 396px; min-width: 310px;
  padding: 38px 30px 27px 30px;
  z-index: 2001;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal h3 {
  margin-bottom: 4px;
  color: var(--primary60);
}
.cookie-modal .cookie-options {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 2px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--accent);
  width: 20px; height: 20px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}
.cookie-modal .cookie-btn, .cookie-modal .cookie-reject-btn {
  font-size: 1rem;
  padding: 8px 20px;
}
.cookie-modal .cookie-btn {
  background: var(--accent);
  color: #FFF;
}
.cookie-modal .cookie-btn:hover, .cookie-modal .cookie-btn:focus {
  background: var(--accent-darker);
}
.cookie-modal .cookie-reject-btn {
  background: #FFF9E2;
  color: #11956E;
}

/* Essential cookie always ON toggle (disabled) */
.cookie-modal label.essential input[type="checkbox"] {
  accent-color: #aaa;
  cursor: not-allowed;
}
.cookie-modal label.essential {
  opacity: .55;
}

/* ============================
  RESPONSIVE DESIGN & FLEX ADAPTATION
  ============================ */
@media (max-width: 980px) {
  .container {
    max-width: 99vw;
    padding: 0 7px;
  }
  .footer-container {flex-direction: column; gap: 28px;}
}
@media (max-width: 768px) {
  section, .section {
    padding: 22px 4px;
    margin-bottom: 34px;
  }
  .card {
    padding: 18px 11px 13px 13px;
    border-radius: var(--radius);
  }
  .content-grid, .features, .card-container, .card-grid {
    flex-direction: column;
    gap: 20px;
  }
  .container {
    padding: 0 3vw;
  }
  .testimonial-card {gap: 11px; padding: 16px;}
}
@media (max-width: 600px) {
  .container { padding: 0 2vw; }
  .card-content, .content-wrapper {
    padding: 0; gap: 13px;
  }
  .feature-icons img { width: 38px; height: 38px; }
  h1 {font-size: 1.35rem;}
}
/* Adapt text-image-section for mobile */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 17px; }
}

/* ============================
  MICRO-INTERACTIONS & SVG DECORS
  ============================ */
.cta-btn, .cookie-btn, .cookie-settings-btn, .cookie-reject-btn  {
  transition: background 0.18s, box-shadow 0.18s, color 0.17s, border 0.13s, transform 0.12s;
}
.cta-btn:active, .cta-btn.accent:active { transform: scale(0.98); }

input:focus, select:focus, textarea:focus {
  outline: var(--focus-ring);
}

/* Minor input field styling */
input, textarea, select {
  border: 1.1px solid #C6F5E4;
  border-radius: 7px;
  background: #F7F7F6;
  padding: 9px 13px;
  font-size: 1rem;
  color: #17425A;
  box-shadow: 0 0.8px 4px rgba(21, 184, 138, 0.045);
}

/* ============================
  CARD/SECTION DESIGN EXTRAS
  ============================ */
.card {
  transition: box-shadow 0.22s, transform 0.13s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 3px 32px rgba(21, 184, 138, 0.15), 0 7px 36px rgba(166,207,235,.10);
  transform: translateY(-2px) scale(1.011);
}

section {
  background: linear-gradient(90deg, #FFF 70%, #C6F5E4 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  margin-bottom: 60px;
}

/* =====================
  MODALS and OVERLAYS
  ===================== */
.modal, .cookie-modal {
  z-index: 3000;
}

/* ============================
  VISUAL DECOR EXTRAS
  ============================ */
/* Subtle dreamy background floating blobs/pastels (optional, only decorative, absolute) */
/* Example decorative pastel backgrounds can be added as needs with pseudo elements */

/* ============================
  MISCELLANEOUS
  ============================ */
::-webkit-input-placeholder { color: #98b1b7; }
::-moz-placeholder { color: #98b1b7; }
:-ms-input-placeholder { color: #98b1b7; }
::placeholder { color: #98b1b7; }

/* Hide outline for mouse, show for keyboard (accessibility) */
:focus:not(:focus-visible) { outline: none !important; }

/* ============================
  PRINT
  ============================ */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal, .cookie-modal-overlay { display: none !important; }
}
