/* ================================
   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, 
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  font-size: 16px;
  color: #294543;
  background-color: #FCFDF9;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #29524A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E6B800;
  outline: none;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}
hr {
  border: none;
  border-bottom: 1px solid #eaddf0;
}
small {
  color: #8A968D;
}

/* ================================
   CSS CUSTOM PROPERTIES
================================= */
:root {
  --brand-primary: #29524A;
  --brand-secondary: #F3F6EE;
  --brand-accent: #E6B800;
  --pastel-blue: #c9e7f2;
  --pastel-yellow: #FFF6DA;
  --pastel-pink: #ffe4ec;
  --pastel-green: #d6f5e2;
  --pastel-lilac: #e5e4fa;
  --pastel-mint: #e6f7f3;
  --text-main: #294543;
  --text-dark: #1e3530;
  --text-light: #ffffff;
  --shadow-soft: 0 2px 20px 0 rgba(41,82,74,0.07);
  --radius-soft: 18px;
  --radius-full: 999px;
  --transition: 0.18s cubic-bezier(.45,0,.55,1);
  --gradient-soft: linear-gradient(90deg, #f6f9f3 0%, #fff8e1 100%);
}

/* ===================================
   TYPOGRAPHY (SOFT PASTEL STYLE)
=================================== */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--brand-primary);
}
h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 18px;
  line-height: 1.17;
}
h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.22;
}
h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.25;
}
h4 {
  font-size: 1.06rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--brand-primary);
}
p {
  margin-bottom: 15px;
  color: var(--text-main);
  font-size: 1rem;
}
strong {
  font-weight: 600;
  color: var(--brand-primary);
}

/* ============= BODY WRAPPER & UTILS ============= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  background: var(--pastel-mint);
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-soft);
  padding: 32px 24px;
  margin-bottom: 48px;
}

/* =============== HEADER + NAVIGATION =============== */
header {
  background: var(--gradient-soft);
  padding: 0 0 8px 0;
  box-shadow: 0px 2px 14px 0 rgba(41,82,74,0.06);
  position: sticky;
  top: 0;
  z-index: 25;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 18px;
}
header img {
  height: 48px;
  width: auto;
  display: block;
}

nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--brand-primary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  transition: background var(--transition), color var(--transition);
}
nav a.cta {
  background: var(--brand-accent);
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: .01em;
  box-shadow: 0 2px 12px 0 rgba(230,184,0,0.11);
  border: none;
}
nav a.cta:hover, nav a.cta:focus {
  background: #ffe66c;
  color: var(--brand-primary);
}
nav a:hover, nav a:focus {
  background: #e5e4fa;
  color: var(--brand-accent);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--pastel-blue);
  color: var(--brand-primary);
  border: none;
  border-radius: var(--radius-full);
  padding: 6px 11px;
  cursor: pointer;
  margin-left: 6px;
  transition: background var(--transition);
  z-index: 45;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--pastel-mint);
}

/* ================ MOBILE NAV MENU ================ */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--pastel-blue);
  box-shadow: 0 2px 30px 0 rgba(41,82,74,0.10);
  z-index: 1000;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.33s ease;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: var(--brand-primary);
  cursor: pointer;
  margin: 22px 16px 0 0;
  transition: color var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--brand-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 40px 32px;
  width: 100%;
  margin-top: 10px;
}
.mobile-nav a {
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 18px 15px 18px 12px;
  border-radius: var(--radius-soft);
  text-align: left;
  background: transparent;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-accent);
  color: #fff;
}

/* Hide normal nav on mobile  */
@media (max-width: 900px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =========================
   MAIN AREA: SECTIONS
========================== */
main {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* =========================
   FEATURE GRID (for features)
========================= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 26px;
  margin-bottom: 0;
}
.feature {
  background: var(--pastel-yellow);
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-soft);
  padding: 22px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 180px;
  max-width: 235px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature img {
  height: 44px;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 4px rgba(41,82,74,0.06));
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 6px 28px 0 rgba(230,184,0,0.14);
  transform: translateY(-2px) scale(1.022);
}

/* =============================
   COMMON FLEX AND CARD CONTAINERS
============================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--pastel-lilac);
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  padding: 20px 18px;
  position: relative;
  flex: 1 1 220px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .card:focus-within {
  box-shadow: 0 7px 24px 0 rgba(170,187,212,0.09);
  transform: scale(1.017);
}
.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;
    gap: 20px;
  }
}

/* =========================
   TIP CARDS / TESTIMONIALS
========================== */
.tip-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
  margin-bottom: 18px;
}
.tip-cards > div {
  background: var(--pastel-pink);
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-soft);
  padding: 16px 16px 11px 16px;
  flex: 1 1 220px;
}

.testimonial-card {
  background: #f6f6ff;
  color: var(--brand-primary);
  border-radius: var(--radius-soft);
  box-shadow: 0 3px 18px -4px rgba(41,82,74,0.09);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card p {
  color: var(--brand-primary);
  font-size: 1.07rem;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: .99rem;
  color: #799688;
  font-style: italic;
  margin-right: 10px;
}
.testimonial-card img {
  height: 34px;
  width: 34px;
  margin-left: auto;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 32px -6px rgba(41, 82, 74, 0.14);
  transform: translateY(-2px) scale(1.026);
}

/* =======================
   FORM / CTA BUTTONS
======================= */
.cta, .cta-button {
  display: inline-block;
  background: var(--brand-accent);
  color: var(--text-dark);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  letter-spacing: .02em;
  padding: 13px 36px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px 0 rgba(230,184,0,0.12);
  margin-top: 15px;
  margin-bottom: 17px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  text-align: center;
}
.cta:hover, .cta:focus, .cta-button:hover, .cta-button:focus {
  background: #ffe66c;
  color: var(--brand-primary);
  transform: scale(1.033);
  box-shadow: 0 7px 24px 0 rgba(230,184,0,0.13);
  outline: none;
}

/* =======================
   CONTACT DETAILS SECTION
======================= */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  font-size: 1.05rem;
  background: var(--pastel-blue);
  border-radius: var(--radius-soft);
  padding: 18px 16px 12px 16px;
}
.contact-details img {
  height: 24px !important;
  width: 24px !important;
  margin-right: 6px;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 3px 9px #f9eca6);
}
.contact-details span {
  display: inline-block;
  min-width: 150px;
}

/* ===================
   FOOTER SECTION
=================== */
footer {
  background: var(--pastel-mint);
  padding: 30px 0 19px 0;
  box-shadow: 0px -2px 18px 0 rgba(41,82,74,0.04);
}
footer nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 8px;
}
footer nav a {
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 6px 15px;
  border-radius: var(--radius-full);
  transition: background var(--transition), color var(--transition);
}
footer nav a:hover, footer nav a:focus {
  background: var(--brand-accent);
  color: #fff;
}
.brand-note {
  text-align: center;
  color: #9DB8B1;
  font-size: 0.95rem;
  margin-top: 6px;
}

/* ================ COOKIE CONSENT BANNER ==================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2500;
  background: #fdf8f2;
  color: var(--brand-primary);
  padding: 23px 16px 21px 16px;
  box-shadow: 0 -1px 28px -3px rgba(41,82,74, 0.13);
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 1.06rem;
  animation: cookieSlideIn 0.75s;
}
@keyframes cookieSlideIn {
  from { transform: translateY(70%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: var(--radius-full);
  font-weight: 600;
  margin-right: 14px;
  padding: 10px 27px;
  border: none;
  background: var(--pastel-blue);
  color: var(--brand-primary);
  transition: background var(--transition), color var(--transition), transform 0.17s;
  cursor: pointer;
  font-size: 1rem;
}
.cookie-banner button.cookie-accept {
  background: var(--brand-accent);
  color: var(--brand-primary);
}
.cookie-banner button.cookie-accept:hover, .cookie-banner button.cookie-accept:focus {
  background: #ffe66c;
  color: var(--brand-primary);
  transform: scale(1.04);
}
.cookie-banner button.cookie-reject {
  background: #eaeaea;
  color: #e00030;
}
.cookie-banner button.cookie-reject:hover, .cookie-banner button.cookie-reject:focus {
  background: #ffd8d8;
  color: #d1004f;
  transform: scale(1.04);
}
.cookie-banner button.cookie-settings {
  background: #e5e4fa;
  color: #6133f5;
}
.cookie-banner button.cookie-settings:hover, .cookie-banner button.cookie-settings:focus {
  background: #f0edfa;
  color: #4027bc;
  transform: scale(1.04);
}

/* =========== COOKIE SETTINGS MODAL ========== */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 3000;
  background: rgba(160,180,190, 0.40);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  transition: opacity 0.24s;
}
.cookie-modal.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-dialog {
  background: #fffefa;
  border-radius: var(--radius-soft);
  box-shadow: 0 8px 32px 0 rgba(41,82,74,0.21);
  min-width: 296px;
  max-width: 426px;
  padding: 32px 30px 26px 30px;
  margin: 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fadeInCookieModal 0.32s;
}
@keyframes fadeInCookieModal {
  from { transform: translateY(30px) scale(.99); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal-dialog h3 {
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 9px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  background: var(--pastel-yellow);
  border-radius: 12px;
  padding: 10px 12px 9px 13px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--brand-accent);
  width: 19px; height: 19px;
  margin-right: 6px;
  cursor: pointer;
}
.cookie-modal-close {
  background: transparent;
  border: none;
  color: var(--brand-primary);
  font-size: 1.8rem;
  position: absolute;
  top: 17px; right: 18px;
  cursor: pointer;
  transition: color var(--transition);
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--brand-accent);
}

.cookie-modal .cta-button {
  margin-bottom: 0;
  margin-top: 10px;
  width: 100%;
}

/* =============== RESPONSIVE QUERIES =============== */
@media (max-width: 1200px) {
  .container {
    max-width: 95vw;
  }
}
@media (max-width: 964px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
}
@media (max-width: 820px) {
  .feature-grid, .tip-cards, .content-grid {
    gap: 16px;
  }
}
@media (max-width: 700px) {
  .container {
    max-width: 100vw;
    padding: 0 7px;
  }
  .content-wrapper {
    padding: 17px 7px 17px 9px;
    margin-bottom: 32px;
  }
  section {
    padding: 27px 4px;
  }
  .feature-grid, .tip-cards, .content-grid {
    gap: 10px;
  }
  .footer nav {
    gap: 17px;
  }
  .contact-details {
    flex-direction: column;
    gap: 11px;
  }
}
@media (max-width: 540px) {
  h1 {
    font-size: 1.32rem;
  }
  h2 {
    font-size: 1.07rem;
  }
  h3 {
    font-size: 1.01rem;
  }
  .card, .feature, .testimonial-card, .tip-cards > div {
    min-width: 92vw;
    max-width: 98vw;
    padding: 14px 6px;
  }
}

/* ================ MICRO-INTERACTIONS & TRANSITIONS =============== */
button, a, .cta, .cta-button {
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  outline: none;
}
button:active, .cta:active, a:active {
  transform: scale(0.96);
}
:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
}

/* ================= THEME & SOFT PASTEL ATMOSPHERE ================ */
body {
  background-image: repeating-linear-gradient(135deg, #FBFAF6 0px, #fff8e1 380px, #f6f9f3 600px, #fff2f7 870px);
}
.content-wrapper, .main-card, .card {
  background: var(--pastel-mint);
}
.feature, .feature-item {
  background: var(--pastel-yellow);
}
.testimonial-card {
  background: #f6f6ff;
}
.card, .testimonial-card, .feature, .feature-item, .content-wrapper, .cookie-modal-dialog {
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-soft);
}

/* ================ TABLE STYLING (generic) ================ */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--pastel-lilac);
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-soft);
  margin-bottom: 30px;
}
th, td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #e4e4fb;
}
th {
  background: var(--pastel-blue);
  color: var(--brand-primary);
}

/* ============== ACCESSIBILITY =============== */
::-webkit-input-placeholder {
   color: #9DB8B1;
   opacity: 1;
}
::placeholder {
   color: #9DB8B1;
   opacity: 1;
}

/* ========== SPECIAL PASTEL ATMOSPHERE DECORATIONS ========== */
body::before {
  content: '';
  position: fixed;
  left: -300px; top: -180px;
  width: 380px; height: 380px;
  background: radial-gradient(circle at 60% 40%, #e5e4fa 0%, #fffafb 96%);
  opacity: 0.28;
  z-index: 1;
  pointer-events: none;
}
body::after {
  content: '';
  position: fixed;
  right: -220px; bottom: -90px;
  width: 310px; height: 310px;
  background: radial-gradient(circle at 60% 40%, #ffe4ec 0%, #F3F6EE 96%);
  opacity: 0.20;
  z-index: 1;
  pointer-events: none;
}

/* =========== PRINT STYLES (minimal for readability) ========== */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal, footer, nav { display: none !important; }
  main, section, .content-wrapper { background: #fff !important; box-shadow: none !important; }
}
