/* 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 {
  min-height: 100vh;
  line-height: 1.6;
  background: #F3F8F3;
  color: #284A63;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-display: swap;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
a {
  color: #284A63;
  text-decoration: none;
  transition: color .2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
* {
  box-sizing: border-box;
}

/* BASE TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #284A63;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #284A63;
  text-shadow: 1px 2px 0 #7EBD7B55;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
}
.subheadline {
  font-size: 1.25rem;
  font-weight: 500;
  color: #43bbd1;
  margin-bottom: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
}
p {
  font-size: 1.0625rem;
  margin-bottom: 16px;
  color: #284A63;
  line-height: 1.65;
}
strong {
  color: #1D2E3E;
}

/* SPACING & CONTAINER */
.container {
  width: 100%;
  max-width: 1080px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 16px 0 #7EBD7B33;
  position: relative;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  background: #F3F8F3;
  border-radius: 24px;
  padding: 32px 24px;
}

/* FLEX UTILS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 24px;
  margin-bottom: 10px;
}
.feature-grid li {
  background: #FFFCDB;
  border-radius: 16px;
  box-shadow: 0 2px 8px #7EBD7B11;
  padding: 24px 20px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
  margin-bottom: 20px;
  border: 2px solid #7EBD7B44;
  position: relative;
}
.feature-grid li img {
  width: 36px;
  margin-bottom: 8px;
  background: #7EBD7B22;
  border-radius: 50%;
  box-shadow: 0 2px 4px #7EBD7B11;
  padding: 8px;
}
.feature-grid li:hover {
  box-shadow: 0 6px 24px #284A6318, 0 1.5px 4px #7EBD7B40;
  transform: translateY(-3px) scale(1.03) rotate(-2deg);
  z-index: 1;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 3px 12px #7EBD7B22;
  padding: 24px 18px;
  min-width: 230px;
  max-width: 310px;
  transition: box-shadow 0.21s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 8px 32px #284A6331;
  transform: scale(1.04) rotate(1deg);
}
.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;
  border-radius: 18px;
  background: #fffbe6;
  box-shadow: 0 2px 10px #7EBD7B33;
  margin-bottom: 20px;
  border-left: 6px solid #7EBD7B;
  font-size: 1.1rem;
  color: #284A63;
  max-width: 560px;
  width: 100%;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-size: 1.1rem;
  color: #284A63;
  margin-right: 10px;
  font-style: italic;
}
.testimonial-card p {
  font-size: 0.95rem;
  color: #225083;
  font-weight: 600;
  margin-bottom: 0;
}

/* BUTTONS & CTA */
.cta-btn {
  background: #7EBD7B;
  color: #1d2e3e;
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 24px;
  padding: 14px 32px;
  cursor: pointer;
  box-shadow: 0 2px 8px #7EBD7B55;
  letter-spacing: 0.04em;
  transition: background 0.15s, transform 0.1s, color 0.14s;
  text-shadow: 0 2px 0 #bde3db44;
  margin-top: 10px;
  margin-bottom: 10px;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #43bbd1;
  color: #fff;
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 8px 24px #43bbd133;
}
button, .btn {
  font-family: inherit;
  font-size: 1rem;
  padding: 8px 20px;
  border: none;
  border-radius: 20px;
  background: #43bbd1;
  color: #fff;
  cursor: pointer;
  margin-right: 10px;
  transition: background 0.16s, transform 0.1s;
}
button:hover, .btn:hover,
button:focus, .btn:focus {
  background: #7EBD7B;
  color: #284A63;
  transform: scale(1.06);
}

/* HEADER & NAV */
header {
  background: #fff;
  border-bottom: 4px solid #7EBD7B;
  box-shadow: 0 2px 10px #7EBD7B13;
  z-index: 99;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px;
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.main-nav li {
  margin-bottom: 0;
}
.main-nav a {
  padding: 8px 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 16px;
  transition: background 0.15s, color 0.13s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #FFFCDB;
  color: #1ea460;
}
.main-nav img {
  max-height: 52px;
  margin-right: 24px;
}

/* MOBILE NAV */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 18px;
  z-index: 102;
  background: #ffedb6;
  color: #284A63;
  border-radius: 50%;
  border: none;
  font-size: 2rem;
  padding: 8px 16px;
  cursor: pointer;
  min-width: 48px;
  box-shadow: 0 2px 8px #7EBD7B33;
  transition: background .15s, color .13s, box-shadow 0.09s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #7EBD7B;
  color: #fff;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 2000;
  box-shadow: 0 2px 12px #1D2E3E33;
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.8,-0.25,.6,1.1);
  flex-direction: column;
  padding: 38px 32px 24px 32px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  right: 20px;
  top: 18px;
  font-size: 2rem;
  background: #FFFCDB;
  color: #284A63;
  border: none;
  border-radius: 50%;
  padding: 6px 14px;
  box-shadow: 0 2px 8px #1D2E3E22;
  z-index: 2001;
  cursor: pointer;
  transition: background 0.15s, color .12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #7EBD7B;
  color: #fff;
}
.mobile-nav {
  margin-top: 54px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav a {
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #F3F8F3;
  color: #284A63;
  padding: 16px 18px;
  border-radius: 10px;
  margin-right: 0;
  transition: background .14s, color .13s, font-weight .14s;
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #7EBD7B;
  color: #fff;
  font-weight: 700;
}

/* FOOTER */
footer {
  background: #F3F8F3;
  border-top: 2px solid #7EBD7B55;
  margin-top: 60px;
  padding: 30px 0 10px 0;
  text-align: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #7EBD7B;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 8px 12px;
  border-radius: 12px;
  transition: background .11s, color .13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #7EBD7B;
  color: #fff;
}
.footer-info {
  color: #284A63;
  font-size: 0.98rem;
  margin-top: 8px;
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fffbe6;
  color: #284A63;
  box-shadow: 0 -2px 18px #7EBD7B22;
  z-index: 3000;
  padding: 22px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  align-items: center;
  animation: slideInUp 0.7s cubic-bezier(0.25, 1.18, 0.25, 1) both;
  border-top: 4px solid #7EBD7B;
  font-size: 1rem;
}
.cookie-consent-banner button {
  margin: 0 6px 0 0;
  min-width: 125px;
  font-size: 1rem;
  padding: 10px 17px;
  border-radius: 20px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-btn-accept {
  background: #7EBD7B;
  color: #fff;
  font-weight: 700;
  transition: background .12s, color .11s;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #284A63;
  color: #FFE900;
}
.cookie-btn-reject {
  background: #F26363;
  color: #fff;
  font-weight: 600;
  transition: background .12s, color .11s;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #D23E3E;
  color: #FFE900;
}
.cookie-btn-settings {
  background: #43bbd1;
  color: #fff;
  font-weight: 600;
  transition: background .12s, color .11s;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #7EBD7B;
  color: #284A63;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(40,74,99,0.32);
  z-index: 4000;
  justify-content: center;
  align-items: center;
  transition: background 0.3s;
}
.cookie-modal-overlay.open {
  display: flex;
  animation: fadeInBg .5s cubic-bezier(0.14, 1.14, 0.36, 1) both;
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  max-width: 430px;
  width: 92vw;
  box-shadow: 0 6px 32px #1D2E3E44;
  padding: 32px 25px 28px 25px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 19px;
  z-index: 4010;
  animation: scaleIn .66s cubic-bezier(0.43,1.45,0.46,1) both;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 12px;
  background: #FFFCDB;
  color: #284A63;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background .12s, color .13s;
  z-index: 4015;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #7EBD7B;
  color: #fff;
}
.cookie-category {
  margin-bottom: 19px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-category label {
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #7EBD7B;
  border-radius: 5px;
  border: 1.7px solid #7EBD7B;
  background: #fff;
}

/* DYNAMICS / ANIMATIONS */
@keyframes scaleIn {
  0% { opacity: 0; transform: scale(0.95); }
  90% { opacity: 1; transform: scale(1.01); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes fadeInBg {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes slideInUp {
  from { transform: translateY(70px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes popShadow {
  0% { box-shadow: 0 2px 8px #7EBD7Baa; }
  50% { box-shadow: 0 8px 24px #FFFCDB; }
  100% { box-shadow: 0 2px 8px #43bbd199; }
}

.cta-btn, .card, .feature-grid li, .testimonial-card {
  animation: popShadow 2.3s ease-in-out infinite alternate;
}
.testimonial-card:nth-child(even) {
  border-left: 6px solid #43bbd1;
}

/* FUN & PLAYFUL DETAILS */
h1, h2 {
  position: relative;
}
h1::after, h2::after {
  content: '';
  display: block;
  width: 54px;
  height: 8px;
  background: #FFFCDB;
  border-radius: 16px;
  margin-top: 6px;
  margin-left: 2px;
}
h1::after {
  width: 80px;
  height: 12px;
  background: #7EBD7B;
}
/* Squiggly underline on subheadline */
.subheadline {
  position: relative;
  background: linear-gradient(90deg,#FFFCDB88 60%, #43bbd188 100%);
  border-radius: 10px;
  display: inline-block;
  padding: 2px 7px;
}
.subheadline::after {
  content: '';
  display: block;
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 4px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 2Q10 6 16 2t16 0 16 2 16 0' fill='none' stroke='%237EBD7B' stroke-width='2' /%3E%3C/svg%3E") repeat-x left bottom;
}

/* ICONS in about.html */
.text-section ul li img {
  width: 20px;
  margin-right: 8px;
  vertical-align: middle;
}
.text-section ul li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 7px;
}

/* LINKS */
a {
  transition: color 0.14s, text-decoration-color 0.12s;
  text-decoration-color: #7EBD7B33;
  word-break: break-word;
}
a:hover, a:focus {
  color: #43bbd1;
  text-decoration: underline;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .container { max-width: 98vw; }
  .feature-grid {
    gap: 14px;
  }
}
@media (max-width: 830px) {
  .main-nav ul {
    gap: 10px;
  }
  .feature-grid li {
    min-width: 160px;
    max-width: 80vw;
    font-size: 0.98rem;
  }
}
@media (max-width: 720px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .feature-grid {
    flex-direction: column;
    gap: 12px;
  }
  .feature-grid li {
    width: 97%;
    min-width: unset;
    max-width: unset;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    max-width: 95vw;
    padding: 15px 9px;
    gap: 11px;
  }
  .content-wrapper {
    gap: 14px;
  }
}

/* MOBILE BURGER NAV */
@media (max-width: 990px) {
  .main-nav ul, .main-nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.25rem; }
  .footer-nav {
    flex-direction: column;
    gap: 11px;
  }
  .container, .section {
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 480px) {
  .cookie-consent-banner {
    font-size: 0.91rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-consent-banner button {
    min-width: 98px;
    font-size: 0.97rem;
    margin-bottom: 10px;
  }
  .footer-info {
    font-size: 0.88rem;
  }
}
@media (max-width: 540px) {
  .cookie-modal {
    max-width: 97vw;
    padding: 17px 7vw 18px 7vw;
    font-size: 0.95rem;
  }
}

/* SPECIAL SELECTORS for minimum gap across all content cards */
.section > .container > .content-wrapper > * + * {
  margin-top: 20px;
}
.card-container .card + .card,
.content-grid > * + * {
  margin-left: 0;
}

/* Accessibility color improvements for review/testimonials */
.testimonial-card,
.testimonial-card blockquote,
.testimonial-card p {
  color: #284A63 !important;
  background: inherit !important;
}

/* UTILITIES */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.flex-row { display: flex; flex-direction: row; }
.flex-column { display: flex; flex-direction: column; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.gap-20 { gap: 20px; }

::-webkit-scrollbar {
  width: 11px;
  background: #e9efe7;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: #7EBD7B;
  border-radius: 11px;
}

/* Hide scrollbar in mobile-menu overlay */
.mobile-menu {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Prevent text selection on navigation buttons */
button, .cta-btn, .mobile-menu-toggle, .mobile-menu-close {
  user-select: none;
}

/* End */
