/* =============================
   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 {
  -webkit-font-smoothing: antialiased;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  background: #F9FBF9;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #174C3D;
  background: #F4EADD;
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
}

ol, ul {
  list-style: none;
}
a {
  color: #30B886;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #174C3D;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

/* =============================
   Custom Fonts
============================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #174C3D;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {font-size: 2.8rem; line-height: 1.1; margin-bottom: 20px;}
h2 {font-size: 2.2rem; margin-bottom: 16px;}
h3 {font-size: 1.5rem; margin-bottom: 14px;}

@media (max-width: 600px) {
  h1 {font-size: 2rem;}
  h2 {font-size: 1.4rem;}
  h3 {font-size: 1.1rem;}
}

p, li {
  font-size: 1rem;
  color: #174C3D;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 12px;
}
strong { font-weight: 700; }

/* =============================
   Utility
============================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  gap: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 4px 32px 0 rgba(48,184,134,0.07);
}

@media (max-width: 768px) {
  .section { padding: 24px 6px; margin-bottom: 32px; }
}

/* =============================
   Header (Navigation)
============================= */
header {
  background: #FFFFFF;
  box-shadow: 0 2px 16px 0 rgba(23,76,61,0.03);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}
header .container,
header > nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: 16px;
  transition: background 0.18s, color 0.18s, box-shadow 0.15s;
  color: #174C3D;
  background: none;
  position: relative;
}
header nav a.cta.primary {
  background: #30B886;
  color: #fff;
  border-radius: 24px;
  font-size: 1.1rem;
  box-shadow: 0 2px 10px 0 rgba(23,76,61,.09);
  transition: background 0.18s, color 0.18s, transform 0.2s;
  font-weight: 800;
  outline: none;
}
header nav a.cta.primary:hover, header nav a.cta.primary:focus {
  background: #174C3D;
  color: #F4EADD;
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 4px 20px 0 rgba(48,184,134,0.22);
}
header nav a:hover {
  background: #F4EADD;
  color: #30B886;
}

header a img {
  height: 48px;
  width: auto;
  margin-right: 8px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #30B886;
  cursor: pointer;
  margin-left: 24px;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #30B886;
}

@media (max-width: 1024px) {
  header nav {
    gap: 10px;
  }
  header a img {
    height: 40px;
  }
}
@media (max-width: 800px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* =============================
   MOBILE MENU
============================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #FFFFFF;
  z-index: 2050;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.77,0,0.175,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 30px 20px 30px;
  box-shadow: -4px 0 24px 6px rgba(48,184,134,0.08);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #174C3D;
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
  transition: color 0.2s, transform 0.18s;
}
.mobile-menu-close:focus {
  outline: 2px dashed #30B886;
  color: #30B886;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #174C3D;
  padding: 16px 0 12px 0;
  background: none;
  border-radius: 20px;
  position: relative;
  transition: color 0.18s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #30B886;
  background: #F4EADD;
  outline: none;
}
@media (min-width: 801px) {
  .mobile-menu { display: none !important; }
}

/* =============================
   HERO SECTIONS
============================= */
.hero-section {
  background: #30B886;
  color: #fff;
  border-radius: 0 0 36px 36px;
  margin-bottom: 50px;
  padding: 44px 0 44px 0;
  box-shadow: 0 8px 44px 0 rgba(23,76,61,0.09);
  position: relative;
  overflow: hidden;
  animation: heroPop 0.7s cubic-bezier(0.4,0,0.2,1);
}
@keyframes heroPop {
  0% { transform: scaleY(0.98) translateY(-20px); opacity:0; }
  100% { transform: scaleY(1) translateY(0); opacity:1; }
}
.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section p {
  color: #fff;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero-section .cta.primary {
  background: #fff;
  color: #30B886;
  font-size: 1.15rem;
  font-weight: 800;
}
.hero-section .cta.primary:hover,
.hero-section .cta.primary:focus {
  background: #174C3D;
  color: #fff;
}
@media (max-width: 800px) {
  .hero-section { border-radius: 0 0 24px 24px; padding: 26px 0; margin-bottom: 28px; }
  .hero-section h1 { font-size: 1.55rem; }
}

/* =============================
   Card Containers & Cards
============================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px 0 rgba(23,76,61,0.07);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(.61,.28,.15,1.22), box-shadow 0.22s;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 220px;
  padding: 24px;
}
.card:hover, .card:focus-within {
  transform: translateY(-6px) scale(1.04) rotate(-1.5deg);
  box-shadow: 0 12px 28px 0 rgba(48,184,134,0.15);
  z-index: 3;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  align-items: flex-start;
}

/* =============================
   Content Grids & Flex Layout
============================= */
.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: flex-start; }
  .content-grid { flex-direction: column; gap: 20px; }
}

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

/* =============================
   Testimonials
============================= */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 20px;
  background: #fffbe9;
  box-shadow: 0 2px 14px rgba(48,184,134,0.09);
  color: #212919;
  font-size: 1.1rem;
  font-style: italic;
  max-width: 540px;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 32px rgba(23,76,61,0.23);
}
.testimonial-card p {
  color: #212919;
  margin-bottom: 8px;
}
.testimonial-card strong {
  color: #174C3D;
  font-style: normal;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}
.testimonial-card div {
  font-size: 1.2rem;
  color: #FFD600;
  margin-bottom: 7px;
}

@media (max-width: 600px) {
  .testimonial-card { flex-direction: column; align-items: flex-start; }
}

/* =============================
   Lists & Icons
============================= */
ul {
  padding-left: 0;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
li {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  font-size: 1.04rem;
  line-height: 1.5;
  color: #174C3D;
}
li img {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

/* =============================
   Buttons & Call to Action
============================= */
.cta, button, .btn {
  display: inline-block;
  border-radius: 28px;
  padding: 11px 32px 11px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  background: #FFD600;
  color: #174C3D;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.16s, color 0.16s, transform 0.21s, box-shadow 0.18s;
  box-shadow: 0 2px 10px 0 rgba(23,76,61,0.09);
  margin-top: 6px;
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}
.cta.primary {
  background: #30B886;
  color: #fff;
}
.cta.secondary {
  background: #FFD600;
  color: #174C3D;
}
.cta:hover, .cta:focus, button:hover, button:focus, .btn:hover, .btn:focus {
  background: #174C3D;
  color: #fff;
  transform: scale(1.07) rotate(-2deg);
  box-shadow: 0 8px 24px 0 rgba(48,184,134,0.13);
  outline: none;
}

/* =============================
   Footer
============================= */
footer {
  background: #174C3D;
  color: #fff;
  padding: 40px 0 16px 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  gap: 16px;
  margin-bottom: 6px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: #FFD600;
}
footer img {
  height: 18px;
  width: 18px;
  vertical-align: -3px;
  margin: 0 4px 0 6px;
}

@media (max-width: 700px) {
  footer .container { flex-direction: column; align-items: flex-start; gap: 14px; }
  footer nav { gap: 9px; flex-wrap: wrap; }
}

/* =============================
   Cookie Consent Banner
============================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fffbe9;
  color: #174C3D;
  border-top: 3px solid #30B886;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  z-index: 3000;
  box-shadow: 0 -4px 24px rgba(23,76,61,0.09);
  padding: 24px 36px 20px 36px;
  font-size: 1.02rem;
  animation: slideInBanner 0.6s cubic-bezier(0.14,0.41,0.39,1.02);
  flex-wrap: wrap;
}
@keyframes slideInBanner {
  0% { transform: translateY(120%); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}
.cookie-banner p { flex: 1; }
.cookie-banner .cookie-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.cookie-btn {
  display: inline-block;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  padding: 9px 24px;
  margin-right: 8px;
  transition: background 0.15s, color 0.15s, transform 0.19s;
}
.cookie-btn.accept {
  background: #30B886;
  color: #fff;
}
.cookie-btn.reject {
  background: #FFD600;
  color: #174C3D;
}
.cookie-btn.settings {
  background: #fff;
  color: #30B886;
  border: 2px solid #30B886;
}
.cookie-btn:hover, .cookie-btn:focus {
  transform: scale(1.06) rotate(-2deg);
  background: #174C3D;
  color: #fff;
  outline: none;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    padding: 14px 10px 12px 10px;
    font-size: .98rem;
  }
}

/* =============================
   Cookie Modal
============================= */
.cookie-modal-overlay {
  position: fixed;
  z-index: 3400;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(23,76,61,0.24);
  display: none;
  justify-content: center;
  align-items: center;
  animation: fadeInOverlay 0.36s cubic-bezier(.24,.72,.41,.94);
}
.cookie-modal-overlay.active { display: flex; }
@keyframes fadeInOverlay {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #FFFFFF;
  border-radius: 22px;
  max-width: 400px;
  min-width: 210px;
  padding: 32px 24px 20px 24px;
  box-shadow: 0 8px 44px 6px rgba(48,184,134,0.16);
  z-index: 4010;
  position: relative;
  animation: modalInPop 0.38s cubic-bezier(.24,.72,.41,.94);
}
@keyframes modalInPop {
  0% { opacity: 0; transform: scale(0.89) translateY(30px); }
  100% { opacity:1; transform: scale(1) translateY(0); }
}
.cookie-modal h2 { margin-top: 0; font-size: 1.3rem; }
.cookie-category {
  display: flex; align-items: center; gap: 14px; margin-bottom: 17px;
  font-size: 1rem;
}
.cookie-toggle {
  width: 44px; height: 22px; border-radius: 16px;
  background: #e4eaf0;
  position: relative;
  cursor: pointer;
  transition: background 0.23s;
  outline: none;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle-on {
  background: #30B886 !important;
}
.cookie-toggle-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.22s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  transform: translateX(22px);
}
.cookie-modal .modal-actions {
  display: flex; gap: 14px; margin-top: 16px;
  justify-content: flex-end;
}

/* =============================
   Animations & Playful Elements
============================= */
.cta.primary, .cta.secondary, .btn, button, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn {
  will-change: transform, background;
}
li img {
  animation: iconPop 0.8s cubic-bezier(.61,.28,.15,1.22) both;
}
@keyframes iconPop {
  from { opacity: 0; transform: scale(0.7) rotate(-18deg); }
  to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

a,
button,
.cta,
.card,
.testimonial-card,
li,
.cookie-btn {
  transition: box-shadow 0.17s, background 0.19s, color 0.17s, transform 0.18s;
}

/* =============================
   Responsive
============================= */
@media (max-width: 900px) {
  .container { max-width: 97vw; }
}
@media (max-width: 600px) {
  .container { padding: 0 7px; }
  .section { padding: 12px 3px; margin-bottom: 19px; }
  .card, .testimonial-card { padding: 12px; }
}

/* ========================
   Miscellaneous
======================== */
::-webkit-scrollbar { width: 9px; background: #F4EADD; }
::-webkit-scrollbar-thumb { background: #30B886; border-radius: 16px; }
::selection { background: #FFD600; color: #174C3D; }

/* Special quirky playful font for visual hierarchy */
h1, h2, .hero-section h1, .cta.primary, .mobile-nav a, header nav a {
  font-family: 'Montserrat', 'Comic Sans MS', cursive, sans-serif;
}

/* Hide visually when not needed */
[hidden] { display: none !important; }

/* Form fields style -- if/when added */
input, textarea, select {
  border-radius: 10px;
  border: 2px solid #e1e1e1;
  padding: 10px 16px;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  margin-bottom: 10px;
  background: #fff;
  transition: border 0.13s, box-shadow 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: #30B886;
  outline: none;
  box-shadow: 0 1.5px 7px 0 #30B88622;
}

/* =============================
   Accessibility focus states
============================= */
a:focus, button:focus, .cta:focus, .cookie-btn:focus, .mobile-menu-close:focus {
  outline: 2.5px solid #FFD600;
  outline-offset: 1.5px;
  background: #30B88622;
}

/* =============================
   Prevent Overlapping & Spacing
============================= */
.card, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}
.content-wrapper, .content-grid, .text-section, .feature-item, .card-container {
  gap: 20px;
}

/* END OF STYLE */