/* =======================================================
   Tendergaze Meadow - Playful_Dynamic Theme CSS
   Author: Professional CSS & UI Designer
   ======================================================= */

/* ========== CSS RESET AND 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;
}
/* HTML5 display-role reset */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F6F5F1;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: 100%;
  outline: none;
  background: none;
  border: none;
}
button {
  cursor: pointer;
}

/* ========== BRAND VARIABLES (FOR LEGACY CSS ONLY; no custom-props for better compatibility) ========== */
:root {
  /* Not used directly, explicit colors applied below */
}

/* =================== TYPOGRAPHY =================== */
body {
  color: #24554B;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: #F6F5F1;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  color: #24554B;
  font-weight: 700;
  letter-spacing: 1px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #333;
}
strong {
  color: #B6C86B;
}

/* Playful Headings */
h1, h2 {
  position: relative;
  font-family: 'Montserrat', 'Comic Sans MS', cursive, sans-serif;
  text-shadow: 1px 2px 0 #B6C86B, 0 1px 10px #fff5;
}
h1::after, h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 6px;
  background: #FFD04B;
  border-radius: 3px;
  margin-top: 8px;
  margin-left: 0;
  animation: playful-underline 1.3s cubic-bezier(.55,.06,.68,.19) both;
}
@keyframes playful-underline {
  from { width: 0; opacity: 0; }
  to   { width: 40px; opacity: 1; }
}

/* ========== CONTAINER AND OVERALL LAYOUT ========== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 3px 32px rgba(182, 200, 107, 0.13);
  transition: box-shadow .25s;
}
.section:hover {
  box-shadow: 0 6px 48px rgba(36, 85, 75, 0.08);
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: #fff;
  box-shadow: 0 0 18px 0 rgba(36,85,75,0.08);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  min-height: 68px;
}
.logo {
  flex: none;
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-family: 'Montserrat', 'Comic Sans MS', cursive, sans-serif;
  font-weight: 900;
  color: #24554B;
}
.main-nav {
  display: flex;
  gap: 28px;
}
.main-nav a {
  position: relative;
  font-family: 'Montserrat', 'Comic Sans MS', cursive, sans-serif;
  font-size: 1.05rem;
  color: #24554B;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background .20s, color .18s, box-shadow .24s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #B6C86B;
  color: #fff;
  box-shadow: 0 2px 10px #B6C86B33;
  outline: none;
}

/* CTA Button */
.cta-btn {
  background: #B6C86B;
  color: #fff;
  font-family: 'Montserrat', 'Comic Sans MS', cursive, sans-serif;
  font-weight: bold;
  padding: 12px 30px;
  border-radius: 32px;
  font-size: 1.1rem;
  box-shadow: 0 2px 16px rgba(245,185,65,0.20),0 1.5px 3px #d5e6b155;
  transition: background .20s, color .15s, transform .14s, box-shadow .19s;
  display: inline-block;
  margin-left: 22px;
  letter-spacing: 1px;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #FFD04B;
  color: #24554B;
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 4px 24px #FFD04B66;
}

.mobile-menu-toggle {
  background: #fff;
  color: #24554B;
  border: none;
  font-size: 2.1rem;
  border-radius: 7px;
  width: 46px; height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1300;
  transition: background .16s, box-shadow .18s;
}
.mobile-menu-toggle:hover {
  background: #B6C86B11;
  box-shadow: 0 1px 6px #b6c86b22;
}

/* ========== MOBILE NAVIGATION ========== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #F6F5F1;
  box-shadow: 0 2px 64px #24554B30;
  z-index: 2000;
  padding-top: 40px;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(.55,.02,.27,1.1);
  display: flex;
  flex-direction: column;
  gap: 40px;
  overscroll-behavior: contain;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: #fff;
  color: #24554B;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  box-shadow: 0 2px 11px #24554B18;
  transition: background .14s, color .12s, box-shadow .14s;
}
.mobile-menu-close:hover {
  background: #B6C86B;
  color: #fff;
  box-shadow: 0 4px 16px #B6C86B33;
}
.mobile-nav {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 85vw;
  max-width: 440px;
  margin-left: 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Comic Sans MS', cursive, sans-serif;
  font-size: 1.18rem;
  color: #24554B;
  background: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  transition: background .17s, color .13s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #B6C86B;
  color: #fff;
  outline: none;
}

/* ========== HERO SECTION ========== */
.hero {
  background: #FFD04B;
  min-height: 320px;
  border-bottom-left-radius: 56px;
  border-bottom-right-radius: 56px;
  display: flex;
  align-items: center;
  margin-bottom: 48px;
  animation: playful-hero-slide 1.25s cubic-bezier(.55,.08,.54,1.13) both;
}
@keyframes playful-hero-slide {
  from { opacity: 0; transform: translateY(-38px); }
  to   { opacity: 1; transform: none; }
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
.hero .content-wrapper {
  text-align: center;
  padding: 28px 0 28px 0;
}
.hero h1 {
  color: #24554B;
  letter-spacing: 1px;
}
.hero p {
  font-size: 1.18rem;
  color: #24554B;
  margin-bottom: 28px;
}

/* ========== FEATURES/GRID OVERVIEWS ========== */
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 3px 32px rgba(182,200,107,0.12);
}
.feature-grid, .article-list, .article-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature {
  flex: 1 1 220px;
  max-width: 250px;
  min-width: 150px;
  background: #FFF9D4;
  border-radius: 18px;
  padding: 26px 18px 22px 18px;
  box-shadow: 0 2px 20px #f8d86b09;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform .12s, box-shadow .22s, background .16s;
  animation: playful-card-in 0.9s cubic-bezier(.45,.05,0.54,1.27) both;
}
@keyframes playful-card-in {
  from { opacity: 0; transform: translateY(40px) scale(.9); }
  to { opacity: 1; transform: none; }
}
.feature:hover {
  background: #FFD04B;
  transform: scale(1.06) rotate(-1deg);
  box-shadow: 0 4px 22px #FFD04B4a;
}
.feature img {
  margin-bottom: 9px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #F6F5F1;
  box-shadow: 0 1px 5px #24554B11;
  transition: box-shadow .15s, background .15s;
}
.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #24554B;
}
.feature p {
  color: #24554B;
  font-size: 1rem;
}

/* ========== ARTICLE CARDS/OVERVIEW ========== */
.article-preview, .article-card {
  background: #fff;
  border: 2px solid #B6C86B33;
  border-radius: 16px;
  box-shadow: 0 2px 14px #b6c86b18;
  padding: 24px 20px;
  flex: 1 1 290px;
  min-width: 230px;
  max-width: 370px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-start;
  transition: border-color .23s, box-shadow .2s, transform .22s;
  position: relative;
  z-index: 1;
  animation: playful-card-in 1.06s cubic-bezier(.46,-0.08,.38,1.38) both;
}
.article-preview:hover,
.article-card:hover {
  border-color: #FFD04B;
  box-shadow: 0 7px 22px #FFD04B44;
  transform: scale(1.035) rotate(1deg);
}
.article-preview h3, .article-card h3 {
  color: #24554B;
  font-size: 1.16rem;
  font-weight: 700;
}
.article-preview a, .article-card a {
  color: #24554B;
  font-family: 'Montserrat', 'Comic Sans MS', cursive, sans-serif;
  font-weight: 600;
  font-size: 1.07rem;
  margin-top: 8px;
  padding: 2px 9px;
  border-radius: 8px;
  background: #B6C86B11;
  transition: background .16s, color .16s, box-shadow .12s;
  width: fit-content;
}
.article-preview a:hover, .article-card a:hover {
  background: #B6C86B;
  color: #fff;
  box-shadow: 0 2px 8px #B6C86B44;
}
.article-cards {
  gap: 24px;
}
.filter-nav {
  margin-bottom: 23px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
}
.filter-nav button {
  background: #FFD04B;
  color: #24554B;
  font-family: 'Montserrat', 'Comic Sans MS', cursive, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 11px;
  padding: 7px 20px;
  font-weight: 600;
  box-shadow: 0 1px 7px #FFD04B11;
  transition: background .15s, color .14s, transform .12s;
}
.filter-nav button.active,
.filter-nav button:hover {
  background: #B6C86B;
  color: #fff;
  transform: scale(1.07) rotate(-2deg);
}

/* ========== ABOUT / VALUES / TIPS / LISTS ========== */
.about, .values, .tips, .quotes, .resources, .legal {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 3px 20px rgba(182,200,107,0.10);
}
.values ul, .about ul, .tips ul, .quotes ul, .resources ul, .legal ul {
  margin-top: 16px;
  margin-bottom: 10px;
  padding-left: 18px;
  color: #24554B;
}
.values ul li, .about ul li, .tips ul li, .quotes ul li, .resources ul li, .legal ul li {
  position: relative;
  margin-bottom: 12px;
  font-size: 1.05rem;
  padding-left: 24px;
}
.values ul li:before, .about ul li:before, .tips ul li:before, .quotes ul li:before, .legal ul li:before {
  content: '•';
  color: #FFD04B;
  font-size: 1.18rem;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}
.resources ul li { padding-left: 0; }
.resources ul li:before { display: none; }

/* ========== TESTIMONIALS & QUOTES ========== */
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFD04B14;
  border-radius: 25px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  box-shadow: 0 2px 20px #b6c86b22;
  border-radius: 19px;
  padding: 24px 28px;
  margin-top: 20px;
  margin-bottom: 20px;
  min-width: 200px;
  max-width: 750px;
  transition: box-shadow .17s, transform .14s;
  border-left: 6px solid #B6C86B;
  color: #24554B;
  font-size: 1.08rem;
  position: relative;
}
.testimonial-card p {
  color: #24554B;
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: .97rem;
  font-weight: 600;
  color: #B6C86B;
  opacity: 0.85;
}
.testimonial-card:before {
  content: '“';
  font-size: 2.3rem;
  color: #FFD04B77;
  position: absolute;
  top: 13px; left: 6px;
  font-family: 'Montserrat', 'Comic Sans MS', cursive, sans-serif;
  font-style: italic;
}
.testimonial-card:hover {
  box-shadow: 0 7px 22px #FFD04B4a;
  transform: scale(1.01) rotate(.5deg);
}

.quotes ul li, .testimonials ul li {
  padding-left: 16px;
  margin-bottom: 9px;
  font-size: 1.08rem;
  color: #24554B;
}

/* ========== CONTACT AND MAP SECTION ========== */
.contact {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 3px 18px #b6c86b14;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 18px;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #24554B;
  font-size: 1.06rem;
}
.contact-details img {
  width: 24px;
  height: 24px;
}
.contact-hint {
  background: #FFD04B11;
  border-radius: 9px;
  padding: 14px 18px;
  color: #24554B;
  font-size: 1.01rem;
  margin-top: 12px;
}
.map-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 3px 22px #b6c86b13;
}
.map-placeholder {
  background: #FFF9D4;
  border-radius: 13px;
  padding: 24px 18px 18px 18px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.map-placeholder img {
  width: 38px; height: 38px;
  margin-bottom: 6px;
}
.map-placeholder p {
  color: #24554B;
  font-size: 1.01rem;
}

/* ========== NEWSLETTER SIGNUP ========== */
.newsletter-signup {
  margin-top: 24px;
  margin-bottom: 16px;
}
.newsletter-signup form {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.newsletter-signup label {
  color: #24554B;
  font-size: 1rem;
  font-weight: 600;
}
.newsletter-signup input[type=email] {
  flex: 1 1 170px;
  padding: 10px 16px;
  border: 2px solid #B6C86B77;
  border-radius: 18px;
  background: #fff;
  font-size: 1rem;
  color: #24554B;
}
.newsletter-signup button[type=submit] {
  padding: 10px 18px;
  background: #B6C86B;
  color: #fff;
  border-radius: 18px;
  font-family: 'Montserrat', 'Comic Sans MS', cursive, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  transition: background .18s, color .13s, box-shadow .14s;
  box-shadow: 0 2px 11px #b6c86b22;
}
.newsletter-signup button[type=submit]:hover {
  background: #FFD04B;
  color: #24554B;
  box-shadow: 0 5px 14px #FFD04B44;
}
.newsletter-signup input[type=email]:focus {
  border-color: #FFD04B;
}

/* ========== FOOTER ========== */
footer {
  background: #24554B;
  padding: 52px 0 32px 0;
  color: #fff;
  position: relative;
  border-top-left-radius: 55px;
  border-top-right-radius: 55px;
  box-shadow: 0 -2px 48px #24554B33;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.footer-menu a {
  color: #FFD04B;
  font-family: 'Montserrat', 'Comic Sans MS', cursive, sans-serif;
  padding: 5px 14px;
  font-size: 1.05rem;
  border-radius: 10px;
  transition: background .13s, color .13s;
}
.footer-menu a:hover {
  background: #FFD04B;
  color: #24554B;
}
.social-links {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.social-links a {
  display: flex;
  align-items: center;
  background: #B6C86B;
  width: 36px; height: 36px;
  border-radius: 50%;
  transition: background .14s, box-shadow .14s;
  box-shadow: 0 2px 8px #FFD04B11;
}
.social-links a:hover {
  background: #FFD04B;
  box-shadow: 0 4px 16px #FFD04B44;
}
.social-links img {
  width: 20px; height: 20px;
  margin: auto;
}
.brand-info {
  margin-top: 20px;
  font-size: 1.04rem;
  line-height: 1.5;
  color: #fff;
}
.brand-info strong {
  font-family: 'Montserrat', 'Comic Sans MS', cursive, sans-serif;
  color: #FFD04B;
  letter-spacing: .4px;
}
address {
  font-style: normal;
  color: #FFD04B;
  margin-top: 9px;
}

/* ========== SUCCESS THANK YOU ========== */
.success {
  background: #B6C86B33;
  margin-bottom: 60px;
  padding: 60px 24px;
  border-radius: 32px;
  text-align: center;
}
.success h1 {
  color: #24554B;
  margin-bottom: 18px;
}
.success p {
  font-size: 1.08rem;
  margin-bottom: 28px;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #F6F5F1;
  box-shadow: 0 -3px 22px #B6C86B33;
  padding: 26px 20px 24px 20px;
  z-index: 2999;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  animation: slideInBanner .8s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes slideInBanner {
  from { transform: translateY(90px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-banner p {
  color: #24554B;
  font-size: 1rem;
  margin: 0 0 7px 0;
  text-align: center;
}
.cookie-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-btns button {
  background: #FFD04B;
  color: #24554B;
  font-family: 'Montserrat', 'Comic Sans MS', cursive, sans-serif;
  font-size: 1rem;
  padding: 8px 23px;
  border-radius: 15px;
  margin: 0;
  border: none;
  font-weight: 700;
  box-shadow: 0 2px 10px #b6c86b22;
  transition: background .13s, color .15s, box-shadow .14s;
}
.cookie-btns button:hover {
  background: #B6C86B;
  color: #fff;
}
.cookie-btns .settings {
  background: #fff;
  color: #B6C86B;
  border: 2px solid #B6C86B;
  transition: background .14s, color .13s, border-color .15s;
}
.cookie-btns .settings:hover {
  background: #FFD04B;
  color: #24554B;
  border-color: #FFD04B;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 9999;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(36, 85, 75, 0.38);
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeinModal .32s cubic-bezier(.37,.77,.61,1) both;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeinModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 26px;
  padding: 38px 26px 28px 26px;
  box-shadow: 0 10px 34px #FFD04B33;
  min-width: 285px;
  max-width: 94vw;
  min-height: 120px;
  position: relative;
  animation: scalein .42s cubic-bezier(.37,.77,.61,1) both;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 10001;
}
@keyframes scalein {
  from { opacity: 0; transform: scale(.85); }
  to   { opacity: 1; transform: none; }
}
.cookie-modal h3 {
  margin-bottom: 9px;
  color: #24554B;
}
.cookie-modal ul {
  margin: 12px 0;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 17px;
  padding-left: 0;
  margin-bottom: 12px;
  font-size: 1.02rem;
  color: #24554B;
}
.cookie-modal li .toggle {
  margin-left: auto;
}
.cookie-modal-close {
  position: absolute;
  right: 15px;
  top: 15px;
  background: #FFD04B;
  color: #24554B;
  border-radius: 50%;
  width: 32px; height: 32px;
  border: none;
}
.cookie-modal-close:hover {
  background: #B6C86B;
  color: #fff;
}
.cookie-toggle-switch {
  display: inline-block;
  width: 36px;
  height: 20px;
  border-radius: 12px;
  background: #B6C86B66;
  position: relative;
  vertical-align: middle;
}
.cookie-toggle-switch input {
  display: none;
}
.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: #FFD04B;
  border-radius: 50%;
  transition: left 0.20s;
}
.cookie-toggle-switch input:checked + .cookie-toggle-slider {
  left: 18px;
  background: #B6C86B;
}
.essential {
  opacity: 0.6;
  font-style: italic;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
  .container { max-width: 96vw; }
}
@media (max-width: 768px) {
  .container{ max-width: 100vw; padding: 0 12px; }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .cta-btn {
    font-size: 1rem;
    padding: 10px 18px;
    margin-left: 8px;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  .hero {
    min-height: 178px;
    padding-bottom: 0;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
  }
  .hero .container { min-height: 160px; }
  .hero h1 { font-size: 1.6rem; }
  .features, .section, .about, .values, .tips, .quotes, .resources, .legal {
    margin-bottom: 32px;
    border-radius: 15px;
    padding: 26px 10px 26px 10px;
  }
  .feature-grid, .article-list, .article-cards {
    flex-direction: column;
    gap: 18px;
  }
  .footer-menu {
    gap: 11px;
    flex-wrap: wrap;
  }
  .footer-menu a {
    font-size: .95rem;
    padding: 5px 8px;
  }
  footer .container {
    gap: 12px;
    padding-right: 8px;
    padding-left: 8px;
  }
  .newsletter-signup form { flex-direction: column; gap: 10px; }
  .brand-info { font-size: .97rem; }
  .testimonial-card { padding: 14px 13px; }
  .contact-details {
    gap: 9px;
    font-size: .98rem;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.17rem; }
  h2 { font-size: .95rem; }
  .newsletter-signup label {
    font-size: .98rem;
  }
  .testimonial-card {
    font-size: 1rem;
    padding: 12px 7px;
  }
  .features, .section, .about, .values, .legal {
    padding: 13px 3px;
  }
  .hero { border-bottom-left-radius: 13px; border-bottom-right-radius: 13px; }
}
/* Flex layouts for .section (already provided above) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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: 18px;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== ADDITIONAL MICRO-INTERACTIONS ========== */
.cta-btn, .footer-menu a, .main-nav a, .newsletter-signup button, .article-preview a, .article-card a,
.filter-nav button, .cookie-btns button {
  transition: box-shadow 0.17s, background 0.13s, color 0.13s, transform 0.12s;
}
.cta-btn:hover, .footer-menu a:hover, .main-nav a:hover, .article-preview a:hover, .article-card a:hover {
  transform: scale(1.04) rotate(-1deg);
}

/* ================= END OF CSS ================= */
