/* ---------------------------------------------------
   RESET & BASE STYLES
   --------------------------------------------------- */
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,
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 for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background-color: #FCF6F5;
  color: #223A5E;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}
:focus {
  outline: 2px solid #3CD4B2;
  outline-offset: 2px;
}
a {
  color: #3CD4B2;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ffb300;
  text-decoration: underline;
}

/* ---------------------------------------------------
   LAYOUT CONTAINERS & UTILITY
   --------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.content-wrapper {
  width: 100%;
}

ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(34,58,94,0.12);
  padding: 24px;
  transition: transform 0.18s cubic-bezier(.17,.67,.83,.67), box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-5px) scale(1.02) rotate(-1deg);
  box-shadow: 0 8px 36px rgba(60,212,178,0.15), 0 2px 8px rgba(34,58,94,.07);
}
.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: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(34,58,94,0.07);
  font-size: 1.1rem;
  color: #223A5E;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
  position: relative;
  border-left: 6px solid #3CD4B2;
}
.testimonial-card blockquote {
  background: none;
  border: none;
  margin: 0;
  padding: 0;
  font-style: italic;
}
.testimonial-card span {
  font-style: normal;
  color: #3CD4B2;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  display: inline-block;
  margin-top: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features-grid > div {
  flex: 1 1 210px;
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(60,212,178,.09);
  text-align: center;
  position: relative;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.13s;
}
.features-grid > div:hover {
  box-shadow: 0 8px 32px rgba(60,212,178,.17);
  transform: translateY(-3px) scale(1.012) rotate(2deg);
}
.features-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  filter: drop-shadow(0 2px 4px #3cd4b255);
}

.project-listing {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.project-card {
  flex: 1 1 310px;
  background: #ffefc9;
  border-radius: 22px;
  min-width: 280px;
  box-shadow: 0 6px 36px rgba(255,183,67,0.09);
  padding: 28px 24px 24px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.14s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.project-card h3 {
  font-size: 1.26rem;
  color: #223A5E;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.project-card strong {
  color: #3CD4B2;
}
.project-card .btn-secondary {
  align-self: flex-end;
}
.project-card:hover {
  box-shadow: 0 10px 40px rgba(34,58,94,0.14);
  transform: scale(1.013) rotate(-1.5deg);
}

.project-filters, .search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 12px;
}
.search-filters input[type="text"] {
  border: 2px solid #3CD4B2;
  border-radius: 20px;
  padding: 10px 18px;
  font-size: 1rem;
  transition: border 0.2s;
}
.search-filters input[type="text"]:focus {
  border: 2px solid #223A5E;
}
.search-filters select {
  border: 2px solid #FCF6F5;
  border-radius: 14px;
  padding: 9px 16px;
  font-size: 1rem;
  background: #fff;
  color: #223A5E;
  transition: border 0.2s;
}
.search-filters select:focus {
  border: 2px solid #3CD4B2;
}
.project-filters select {
  border: 2px solid #3CD4B2;
  border-radius: 14px;
  padding: 7px 12px;
  font-size: 1rem;
  background: #fff;
  color: #223A5E;
}

/* ---------------------------------------------------
   TYPOGRAPHY PLAYFUL DYNAMIC
   --------------------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  color: #223A5E;
  margin-bottom: 12px;
  letter-spacing: -1px;
  line-height: 1.14;
}
h1 {
  font-size: 2.7rem;
  color: #223A5E;
  margin-bottom: 18px;
  text-shadow: 1px 2px 0 #3CD4B225;
  animation: h1-sparkle 1.4s cubic-bezier(.33,.87,.63,1.35);
}
@keyframes h1-sparkle {
  0% { opacity:0; transform: translateY(38px) scale(0.95) skewY(4deg);} 
  90% {opacity:1;}
  100% { opacity:1; transform: none; }
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
  color: #3CD4B2;
  font-weight: 700;
  text-shadow: 0 1px 0 #fcf6f533;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: #223A5E;
  font-weight: 900;
}
.subtitle {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: #223A5E;
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}
p {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.07rem;
  margin-bottom: 14px;
  line-height: 1.6;
  color: #263452;
}
strong {
  font-weight: 700;
  color: #223A5E;
}

blockquote {
  quotes: "\201C" "\201D" "\2018" "\2019";
  font-size: 1.13rem;
  color: #223A5e;
  background: none;
  border-left: 0;
  padding-left: 0;
  font-family: 'Montserrat', Arial, sans-serif;
}
blockquote:before {
  color: #3CD4B2;
  content: open-quote;
  font-size: 2.5rem;
  line-height: 0;
  vertical-align: -0.7em;
  margin-right: 4px;
  font-weight: bold;
}
blockquote:after {
  color: #3CD4B2;
  content: close-quote;
  font-size: 2.2rem;
  vertical-align: -0.57em;
  font-weight: bold;
}

/* Typography scale for playful hierarchy */
.faq-accordion h3,
.team-bio h3,
.core-values h3 {
  color: #ffb300;
  font-size: 1.13rem;
  font-weight: 900;
  margin-bottom: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.1px;
}
.success-metrics ul, .impact-stats ul, .community-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: flex-start;
  margin: 16px 0 0 0;
  padding: 0;
  list-style: none;
}
.success-metrics li, .impact-stats li, .community-metrics p {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px #3cd4b225;
  padding: 16px 22px;
  font-weight: 700;
  color: #223A5E;
  min-width: 140px;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 0;
  font-size: 1.05rem;
}

/* ---------------------------------------------------
   HEADER / NAVIGATION
   --------------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 8px 32px rgba(34,58,94,0.05);
  position: relative;
  z-index: 20;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
header nav > a img {
  max-height: 48px;
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  list-style: none;
  margin: 0 0 0 16px;
  padding: 0;
}
header nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #223A5E;
  font-size: 1.01rem;
  padding: 8px 11px;
  border-radius: 13px;
  letter-spacing: -0.2px;
  transition: background 0.13s, color 0.14s;
}
header nav ul li a:hover, header nav ul li a:focus {
  background: #3CD4B2;
  color: #fff;
}

header .btn-primary {
  margin-left: 10px;
}

/* BURGER MENU BUTTON */
.mobile-menu-toggle {
  background: #3CD4B2;
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 11px 15px;
  font-size: 1.8rem;
  display: none;
  cursor: pointer;
  margin-left: 8px;
  z-index: 1001;
  box-shadow: 0 2px 14px #223a5e22;
  transition: background 0.21s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #ffb300;
  color: #223A5E;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #3CD4B2;
  z-index: 1000;
  transform: translateX(-112vw);
  transition: transform 0.45s cubic-bezier(.87,0,.09,1);
  display: flex;
  flex-direction: column;
  padding: 28px 10vw 20px 44px;
}
.mobile-menu.active {
  transform: translateX(0);
  box-shadow: 0 0 80px #223a5e55;
}
.mobile-menu-close {
  position: absolute;
  top: 19px; right: 26px;
  background: #fff;
  color: #3CD4B2;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 44px; height: 44px;
  cursor: pointer;
  box-shadow: 0 2px 16px #223a5e27;
  transition: background 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #223A5E;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  margin-top: 70px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.24rem;
  font-weight: 700;
  color: #fff;
  padding: 10px 0;
  border-radius: 13px;
  transition: background 0.14s, color 0.11s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #223A5E;
  color: #3CD4B2;
}

/* Show/hide on mobile/desktop */
@media (max-width: 1024px) {
  header nav ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (max-width: 1024px) {
  header nav {
    gap: 0;
  }
}

@media (min-width: 1025px) {
  .mobile-menu {
    display: none!important;
  }
}

/* ---------------------------------------------------
   BUTTONS
   --------------------------------------------------- */
.btn-primary, a.btn-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.15rem;
  color: #223A5E;
  background: #ffb300;
  border-radius: 20px;
  border: none;
  padding: 13px 36px 13px 30px;
  box-shadow: 0 2px 14px #223a5e11;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: background 0.16s, transform 0.12s, box-shadow 0.16s;
  margin: 12px 0;
  position: relative;
}
.btn-primary:after {
  content: '✨';
  margin-left: 0.6em;
  font-size: 1.17em;
  vertical-align: -0.16em;
  animation: sparkle-blink 2.2s infinite linear;
}
@keyframes sparkle-blink {
  0%, 96%, 100% { opacity: 1; }
  48%,52% { opacity: .3; }
}
.btn-primary:hover, .btn-primary:focus {
  background: #3CD4B2;
  color: #fff;
  transform: scale(1.045) rotate(-2deg);
  box-shadow: 0 4px 28px #3CD4B244;
}

.btn-secondary, a.btn-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.03rem;
  color: #3CD4B2;
  background: #fff;
  border: 2px solid #3CD4B2;
  border-radius: 16px;
  padding: 8px 22px 8px 16px;
  box-shadow: 0 1px 6px #3cd4b222;
  cursor: pointer;
  transition: background .13s, color .13s, border .16s, transform .13s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #223A5E;
  border: 2px solid #223A5E;
  color: #fff;
  transform: scale(1.04) rotate(2deg);
}

/* ---------------------------------------------------
   FORMS
   --------------------------------------------------- */
input, select, textarea {
  border-radius: 12px;
  border: 2px solid #3CD4B2;
  padding: 10px 16px;
  margin-bottom: 10px;
  font-size: 1rem;
  transition: border 0.2s;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid #ffb300;
}

label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 6px;
  display: inline-block;
  color: #223A5E;
}

/* ---------------------------------------------------
   FAQ ACCORDION, HELP LINKS
   --------------------------------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 24px;
}
.faq-accordion h3 {
  cursor: pointer;
  position: relative;
  margin-top: 14px;
}
.faq-accordion p {
  margin-top: 6px;
  background: #fff;
  border-radius: 8px;
  padding: 8px 16px;
  transition: background .16s;
}
.help-link {
  margin-top: 16px;
}
.help-link a {
  color: #ffb300;
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
}
.help-link a:hover, .help-link a:focus {
  color: #3CD4B2;
}

/* ---------------------------------------------------
   SPECIAL COMPONENTS / MODULES
   --------------------------------------------------- */
.steps-tips {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  align-items: center;
}
.steps-tips span {
  background: #cffbe9;
  color: #223A5E;
  border-radius: 12px;
  padding: 6px 16px 6px 8px;
  font-size: 1.04em;
  display: flex;
  align-items: center;
  font-family: 'Roboto', Arial, sans-serif;
  gap: 8px;
}

.statistics {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin: 20px 0 0 0;
}
.statistics p {
  background: #fff;
  color: #223A5E;
  border-radius: 12px;
  font-weight: 700;
  padding: 12px 18px;
  min-width: 135px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  box-shadow: 0 1.5px 8px #3cd4b230;
}

.user-quotes {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 14px;
}

.brand-story.text-section {
  background: #3CD4B2;
  padding: 22px 18px;
  border-radius: 18px;
  box-shadow: 0 2px 12px #223a5e12;
  color: #fff;
  margin: 24px 0 0 0;
}
.brand-story.text-section h2 {
  color: #FCF6F5;
  text-shadow: none;
}
.brand-story.text-section p {
  color: #fff;
}

.team-bio ul, .core-values ul, .impact-stats ul{
  margin-top: 8px;
}

.map-placeholder {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff7e0;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 1.05rem;
  margin-top: 16px;
  box-shadow: 0 1px 8px #ffb30027;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin: 18px 0 0 0;
}
.footer-contact p {
  margin-bottom: 0 !important;
  font-size: 1rem;
  color: #223A5E;
}
.footer-contact img {
  width: 22px; height: 22px;
  margin-right: 8px;
  vertical-align: middle;
}

/* ---------------------------------------------------
   FOOTER
   --------------------------------------------------- */
footer {
  background: #223A5E;
  color: #fff;
  padding: 36px 0 18px 0;
  margin-top: 80px;
  font-size: 0.99rem;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
footer nav a {
  color: #3CD4B2;
  text-decoration: underline;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
}
footer nav a:hover, footer nav a:focus {
  color: #FCF6F5;
  background: #3CD4B2;
  padding: 2px 10px;
  border-radius: 8px;
}
footer .footer-contact {
  color: #fff;
}
footer .footer-contact img {
  filter: grayscale(20%) brightness(2);
}
footer p {
  color: #FCF6F5;
  margin: 16px 0 0 0;
}

/* ---------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
   --------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #223A5E;
  box-shadow: 0 -2px 36px #0002;
  padding: 26px 14px 20px 14px;
  z-index: 1600;
  animation: cookie-in 0.6s cubic-bezier(.25,.81,.52,1.08);
}
@keyframes cookie-in {
  from { transform: translateY(160px); opacity: .1; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  font-size: 1.09rem;
  margin-bottom: 10px;
  text-align: center;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 8px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 14px;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.19s, color 0.15s;
}
.cookie-accept {
  background: #3CD4B2;
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #223A5E;
}
.cookie-reject {
  background: #fc6565;
  color: #fff;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #b21d1d;
}
.cookie-settings {
  background: #ffb300;
  color: #223A5E;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #3cd4b2;
  color: #fff;
}
/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1700;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #223a5e11;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-in 0.43s; 
}
@keyframes modal-in {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 23px;
  max-width: 360px;
  box-shadow: 0 12px 60px #223a5e55;
  padding: 34px 28px 26px 28px;
  text-align: left;
  position: relative;
  animation: modalpanel-in .42s cubic-bezier(.41,.68,.72,1.35);
}
@keyframes modalpanel-in {
  from {transform: scale(.8) translateY(60px); opacity: 0;} to {transform: none; opacity: 1;}
}
.cookie-modal h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
  color: #223A5E;
  font-weight: 900;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}
.cookie-modal .cookie-category label {
  font-weight: 700;
}
.cookie-modal input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: #3CD4B2;
}
.cookie-modal .cookie-modal-buttons {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 17px;
}
.cookie-modal button {
  border-radius: 13px;
  padding: 10px 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  font-weight: 700;
  transition: background 0.18s, color 0.15s;
}
.cookie-modal .cookie-confirm {
  background: #3CD4B2;
  color: #fff;
}
.cookie-modal .cookie-confirm:hover, .cookie-modal .cookie-confirm:focus {
  background: #223A5E;
}
.cookie-modal .cookie-cancel {
  background: #ffb300;
  color: #223A5E;
}
.cookie-modal .cookie-cancel:hover, .cookie-modal .cookie-cancel:focus {
  background: #3CD4B2; color: #fff;
}

/****************************************************
 RESPONSIVE DESIGN (MOBILE-FIRST)
****************************************************/
@media (max-width: 1100px) {
  .container {
    max-width: 95vw;
  }
}
@media (max-width: 900px) {
  .container {
    padding-left: 8px; padding-right: 8px;
  }
  .features-grid, .project-listing, .card-container, .content-grid, .statistics, .user-quotes, .success-metrics ul, .impact-stats ul, .community-metrics, .footer-contact {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 28px 5px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  h3 {
    font-size: 1.05rem;
  }
  .features-grid, .project-listing, .card-container, .content-grid, .statistics, .footer-contact {
    flex-direction: column !important;
    align-items: stretch;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    font-size: 1rem;
  }
  .brand-story.text-section {
    padding: 12px 6px;
    border-radius: 10px;
  }
  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .mobile-menu {
    padding: 20px 5vw 12px 13vw;
  }
}
@media (max-width: 500px) {
  h1 {
    font-size: 1.35rem;
  }
  h2 {
    font-size: 1.1rem;
  }
  .container {
    padding-left: 2px; padding-right: 2px;
  }
  .section {
    padding: 14px 0;
    margin-bottom: 32px;
  }
  .project-card, .features-grid > div, .testimonial-card {
    padding: 13px 8px 12px 10px;
    min-width: 0;
  }
}

/****************************************************
 PLAYFUL ANIMATION EFFECTS & ACCESSIBILITY
****************************************************/
.features-grid > div:after {
  content: "";
  position: absolute;
  top: 8px; right: 12px;
  width: 22px; height: 22px;
  background: url('../assets/icons/icon-confetti.svg'), transparent;
  background-size: contain;
  opacity: 0.18;
  pointer-events: none;
}
.features-grid > div:hover:after {
  opacity: 0.38;
  animation: confetti-swing .8s linear infinite;
}
@keyframes confetti-swing {
  0% { transform: rotate(0deg) scale(1); }
  52% { transform: rotate(15deg) scale(1.14); }
  100% { transform: rotate(-7deg) scale(1.05); }
}

.card, .testimonial-card {
  transition: transform 0.17s, box-shadow 0.19s;
}
.card:hover, .testimonial-card:hover {
  transform: scale(1.025) rotate(-1.4deg);
  box-shadow: 0 8px 36px #ffb30028, 0 2px 8px #3cd4b219;
}

/* MICRO-INTERACTIONS */
.btn-primary, .btn-secondary, .cookie-banner button, .cookie-modal button {
  transition: background .22s, color .16s, transform .14s;
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.96) translateY(2px); 
}

/* Ensure no overlap on cards and sections */
.card-container > * + *,
.card + .card,
.project-listing > * + * {
  margin-left: 0 !important; /* Use gap */
}

/* Accessibility focus visuals */
.btn-primary:focus, .btn-secondary:focus, header nav ul li a:focus, .mobile-nav a:focus, .cookie-banner button:focus, .cookie-modal button:focus {
  box-shadow: 0 0 0 2.5px #223A5E33, 0 2px 6px #3cd4b236;
  outline: none;
}

/****************************************************
 DARK TEXT ON LIGHT FOR TESTIMONIAL / REVIEWS
****************************************************/
.testimonial-card, .testimonial-card blockquote, .testimonial-card span {
  color: #223A5E !important;
  background: #fff !important;
}

/****************************************************
 Hide/Show utility for JS interactivity (burger/cookie etc.)
****************************************************/
[hidden], .hidden {
  display: none !important;
}
