/* =======================================================
   CSS RESET & BASELINE NORMALIZATION
======================================================== */
html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,1,.4,1);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  border: none;
  background: none;
  outline: none;
}
button { cursor: pointer; }
:root {
  --primary: #065C3C;
  --secondary: #F7FAF2;
  --accent: #D8B009;
  --accent-light: #FFF2BF;
  --danger: #DC3545;
  --success: #36B37E;
  --grey-light: #F2F2F2;
  --grey-dark: #333;
  --shadow-lg: 0 6px 24px 0 rgba(6,92,60,0.08);
  --shadow-md: 0 2px 12px 0 rgba(6,92,60,0.07);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --transition: 0.2s cubic-bezier(.55,.17,.32,.92);
}


/* =======================================================
   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');
body {
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100dvh;
}
h1, h2, h3, .cta, nav a.cta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: var(--primary);
  text-shadow: 2px 6px 0 var(--accent-light);
}
h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 20px;
  margin-top: 8px;
  text-shadow: 1px 3px 0 var(--accent-light);
}
h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
p, li {
  color: var(--grey-dark);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 8px;
}
strong {
  color: var(--primary);
}

/* =======================================================
   CONTAINER & SECTIONS SPACING
======================================================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
main {
  width: 100%;
}
.section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
section.cta {
  background: var(--accent-light);
  border-radius: var(--radius-lg);
  margin-bottom: 60px;
  margin-top: 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: popfade 0.6s ease 0s 1;
}
@keyframes popfade {
  0%{opacity:0; transform:scale(.9);}
  60%{opacity:.7;}
  100%{opacity:1; transform:scale(1);}
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}


/* =======================================================
   HEADER & NAVIGATION
======================================================== */
header {
  width: 100%;
  background: var(--primary);
  min-height: 60px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px 0 rgba(6,92,60,0.05);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
header a img {
  height: 46px;
  width: auto;
  margin-right: 20px;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 8px 16px;
  color: var(--secondary);
  border-radius: var(--radius-sm);
  transition: background .17s, color .17s ;
}
nav a:hover, nav a:focus {
  background: var(--accent);
  color: var(--primary);
  text-shadow: 0 1px 0 #fff8;
}
nav a.cta {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 3px 15px -5px var(--accent), 0 1px 6px 0 #0001;
  border-radius: var(--radius-md);
  font-size: 1.08rem;
  padding: 10px 22px;
  margin-left: 10px;
  outline: 2px solid transparent;
  transition: box-shadow .15s, background .15s, outline .17s;
  animation: cta-pop 0.6s .15s backwards;
}
@keyframes cta-pop {
  0% { transform: scale(0.85); opacity:0.2; }
  90% { transform: scale(1.14); }
  100% { transform: scale(1); opacity:1; }
}
nav a.cta:hover, nav a.cta:focus {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 4px 18px 0 var(--primary), 0 1px 6px 0 #0001;
  outline: 2px solid var(--accent);
}


/* =======================================================
   MOBILE MENU
======================================================== */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--accent);
  background: none;
  border: none;
  margin-left: 18px;
  line-height: 1;
  z-index: 210;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  z-index: 200;
  transform: translateX(-105vw);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 40px;
  padding-top: 35px;
  /* Closed by default. Add .open via JS to slide-in */
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 4px 32px 0 #0003;
  animation: menufade 0.6s cubic-bezier(.83,0,.7,1.05);
}
@keyframes menufade {
  0% { opacity: 0; transform: translateX(-100vw); }
  100% { opacity: 1; transform: translateX(0); }
}
.mobile-menu-close {
  font-size: 2.6rem;
  color: var(--accent);
  background: none;
  border: none;
  margin-left: 16px;
  margin-bottom: 22px;
  align-self: flex-start;
  transition: color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-left: 30px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  color: var(--accent);
  font-size: 1.3rem;
  background: none;
  padding: 12px 0 12px 12px;
  border-radius: var(--radius-md);
  transition: background .14s, color .14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}


/* =======================================================
   HERO SECTIONS
======================================================== */
.hero {
  display: flex;
  background: linear-gradient(95deg, var(--accent-light) 20%, var(--secondary) 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding-bottom: 42px;
  animation: popfade 0.75s ease 0.1s 1;
  box-shadow: 0 6px 36px -12px var(--accent);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 14px;
  padding-top: 12px;
  animation: slideinhero .7s cubic-bezier(.7,0,.32,1);
}
@keyframes slideinhero {
  0% { opacity: 0; transform: translateY(-40px); }
  100% { opacity: 1; transform: translateY(0); }
}
.hero h1 {
  font-size: 2.4rem;
  color: var(--primary);
}
.hero p {
  color: var(--primary);
  opacity: 0.96;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.hero .cta {
  margin-top: 14px;
}

/* =======================================================
   FEATURE SECTIONS & CARDS
======================================================== */
.features {
  margin-bottom: 54px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin-top: 12px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 26px 22px 22px;
  box-shadow: var(--shadow-lg);
  max-width: 340px;
  flex: 1 1 240px;
  transition: transform .15s, box-shadow .17s;
  margin-bottom: 20px;
  position: relative;
}
.feature-item:hover {
  transform: translateY(-7px) scale(1.035) rotate(-2deg);
  box-shadow: 0 12px 50px -10px var(--accent), var(--shadow-lg);
}
.feature-item img {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  animation: popfade 0.6s ease 0s 1;
}
.feature-item h3 {
  font-size: 1.15rem;
  color: var(--primary);
}
.feature-item p {
  font-size: 0.99rem;
  color: var(--grey-dark);
}

/* =======================================================
   TEAM & PROJECTS CARDS
======================================================== */
.team-list, .project-cards, .solution-list, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.team-member, .project-card, .service-item, .solution-item {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 22px 18px 18px 18px;
  box-shadow: var(--shadow-md);
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  transition: transform .13s, box-shadow .17s;
  position: relative;
  animation: popfade 0.7s .13s 1;
}
.team-member:hover, .project-card:hover, .service-item:hover, .solution-item:hover {
  transform: scale(1.03) rotate(-1deg);
  box-shadow: 0 6px 30px 0 var(--accent);
}

.project-cards {
  gap: 24px;
  margin-top: 16px;
}
.project-card h3 {
  color: var(--accent);
  margin-bottom: 10px;
}

/* =======================================================
   SERVICE & FAQ SECTION
======================================================== */
.services .service-list {
  gap: 20px;
  margin-bottom: 26px;
}
.service-item {
  min-height: 120px;
}
.faq .faq-items {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 18px;
}
.faq-item {
  background: var(--accent-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 18px 16px 13px 16px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  transition: box-shadow .13s, transform .13s;
  cursor: pointer;
}
.faq-item:hover {
  box-shadow: 0 6px 20px 0 var(--accent);
  transform: scale(1.02);
}
.faq-item h3 {
  color: var(--primary);
  font-size: 1.12rem;
  margin-bottom: 7px;
}

/* =======================================================
   CARD CONTAINERS (SPACING)
======================================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 24px 20px;
}
.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;
}

/* =======================================================
   TESTIMONIALS & QUOTES
======================================================== */
.testimonials {
  margin-bottom: 60px;
  animation: popfade 0.9s .08s 1;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  position: relative;
  animation: popfade 1s .1s 1;
  border-left: 8px solid var(--accent);
}
.testimonial-card p {
  font-size: 1.1rem;
  color: var(--primary);
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--grey-dark);
  font-style: italic;
  margin-left: 12px;
}
blockquote {
  background: var(--accent-light);
  margin: 30px 0;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  color: var(--primary);
  font-size: 1.08rem;
  font-style: italic;
  box-shadow: var(--shadow-md);
  border-left: 8px solid var(--accent);
}
blockquote span {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 0.99rem;
  color: var(--primary);
}

/* =======================================================
   LISTS, ICONS & INFOGRAPHICS
======================================================== */
ul {
  margin-bottom: 20px;
  padding-left: 22px;
}
ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.04rem;
  color: var(--grey-dark);
}
ul li img {
  position: absolute;
  left: 0; top: 7px;
  width: 18px;
  height: 18px;
}
.infographics, .impact-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 26px 0;
}
.infographics span, .impact-stats span {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--accent-light);
  color: var(--primary);
  font-size: 1.1rem;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  font-weight: 700;
}


/* =======================================================
   NEWS, ARTICLES, NEWSLETTER FORM
======================================================== */
.news-list .content-wrapper {
  gap: 32px;
}
.article-summary {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 18px 20px 15px 20px;
  margin-bottom: 20px;
  transition: box-shadow .16s, transform .16s;
  position: relative;
}
.article-summary:hover {
  box-shadow: 0 8px 28px 0 var(--accent), var(--shadow-md);
  transform: scale(1.03) rotate(1.5deg);
}
.article-summary h3 {
  color: var(--accent);
  font-size: 1.13rem;
  margin-bottom: 7px;
}
.article-summary a {
  color: var(--primary);
  font-weight: 700;
  font-size: .96rem;
  text-decoration: underline wavy var(--accent);
  transition: color .15s;
}
.article-summary a:hover {
  color: var(--accent);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  background: var(--accent-light);
  padding: 22px 26px 18px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: 12px;
}
.newsletter-form input[type="email"] {
  font-size: 1rem;
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  background: #fff;
  margin-right: 10px;
  margin-bottom: 10px;
}
.newsletter-form button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: var(--radius-md);
  padding: 9px 18px;
  font-size: 1.06rem;
  margin-top: 5px;
  box-shadow: 0 3px 12px 0 var(--accent-light);
  transition: background .15s, color .15s, transform .13s;
}
.newsletter-form button:hover, .newsletter-form button:focus {
  background: var(--primary);
  color: var(--accent);
  transform: scale(1.04);
}
.newsletter-form small {
  color: var(--grey-dark);
  margin-top: 8px;
  font-size: .91rem;
}
.newsletter-form a {
  color: var(--accent);
  font-weight: 700;
}
.newsletter-form a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* =======================================================
   CONTACT SECTION & MAP
======================================================== */
.contact-details {
  font-size: 1.07rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.contact-details span, .footer-contact span {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.map-placeholder {
  background: var(--grey-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 14px 20px 10px 20px;
  font-size: 1.06rem;
  margin-top: 14px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.map-placeholder img {
  width: 28px;
  height: 28px;
}


/* =======================================================
   FOOTER
======================================================== */
footer {
  width: 100%;
  background: var(--primary);
  color: var(--secondary);
  padding: 38px 0 24px 0;
  margin-top: 46px;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 0px 18px 0 #0001;
}
footer .container {
  gap: 28px;
  flex-direction: column;
}
.footer-menu, .footer-contact, .footer-social {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-bottom: 14px;
}
.footer-menu a {
  font-size: 1rem;
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-right: 10px;
  transition: color .17s;
}
.footer-menu a:hover {
  color: var(--secondary);
  text-decoration: underline wavy var(--accent);
}
.footer-contact span, .footer-contact img {
  color: var(--secondary);
  font-size: .96rem;
}
.footer-contact img {
  width: 18px;
  height: 18px;
}
.footer-social {
  gap: 14px;
  margin-top: 8px;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  filter: grayscale(30%) brightness(103%) saturate(1.1);
  transition: filter .13s;
}
.footer-social a:hover img {
  filter: none;
  transform: scale(1.15) rotate(-3deg);
}


/* =======================================================
   BUTTONS & CTA STYLES
======================================================== */
.cta, a.cta, button.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  background: var(--accent);
  color: var(--primary);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px 0 var(--accent-light), 0 2px 8px 0 #0001;
  border: none;
  font-size: 1.17rem;
  padding: 13px 34px;
  margin-top: 4px;
  transition: background .15s, color .15s, outline .14s;
  text-align: center;
  outline: 2px solid transparent;
  cursor: pointer;
  position: relative;
}
.cta:hover, .cta:focus {
  background: var(--primary);
  color: var(--accent);
  outline: 2px solid var(--accent);
  text-shadow: 1px 2px 0 var(--accent-light);
}

button, .button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: var(--primary);
  padding: 9px 18px;
  margin-right: 6px;
  margin-bottom: 4px;
  border: none;
  box-shadow: 0 2px 8px 0 var(--accent-light);
  font-size: 1.06rem;
  transition: background .13s, color .13s, transform .13s;
  cursor: pointer;
}
button:hover, button:focus, .button:hover, .button:focus {
  background: var(--primary);
  color: var(--accent);
  transform: scale(1.06);
}

/* =======================================================
   COOKIE CONSENT BANNER & MODAL
======================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: var(--accent-light);
  color: var(--primary);
  padding: 22px 18px 18px 18px;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -3px 18px 0 #0002;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  animation: cookiefadein 0.9s cubic-bezier(.55,0,.37,1);
}
@keyframes cookiefadein {
  from { transform: translateY(35px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner button, .cookie-banner .button {
  padding: 8px 20px;
  font-size: 1rem;
  border-radius: var(--radius-md);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: var(--primary);
  color: var(--accent);
  border: none;
  margin-right: 4px;
  transition: background .12s, color .12s;
}
.cookie-banner button.accept {
  background: var(--success);
  color: #fff;
}
.cookie-banner button.reject {
  background: var(--danger);
  color: #fff;
}
.cookie-banner button.settings {
  background: var(--primary);
  color: var(--accent);
}
.cookie-banner button:hover, .cookie-banner .button:hover {
  background: var(--accent);
  color: var(--primary);
}

/* COOKIE CONSENT MODAL */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6,92,60,0.28);
  z-index: 3200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookiefadein 0.5s cubic-bezier(.55,0,.37,1);
}
.cookie-modal-content {
  background: #fff;
  color: var(--primary);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 38px 0 #0002;
  padding: 34px 30px 26px 30px;
  min-width: 310px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: popfade 0.5s ease 0s 1;
  font-size: 1.08rem;
}
.cookie-modal-header {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.33rem;
  margin-bottom: 8px;
  color: var(--primary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.cookie-category input[type="checkbox"], .cookie-category input[type="radio"] {
  width: 18px;
  height: 18px;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--primary);
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  align-items: center;
}
.cookie-modal .close-modal-btn {
  font-size: 1.7rem;
  color: var(--danger);
  background: none;
  border: none;
  margin-left: auto;
  margin-top: -24px;
  margin-bottom: 8px;
  transition: color .15s;
}
.cookie-modal .close-modal-btn:hover {
  color: var(--accent);
}


/* =======================================================
   THANK YOU, LEGAL SECTIONS
======================================================== */
.thank-you .content-wrapper {
  gap: 18px;
  align-items: flex-start;
  background: var(--accent-light);
  padding: 32px 30px 20px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: 30px;
  animation: popfade 0.7s .13s 1;
}
.legal-section {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 60px;
  padding: 36px 26px 16px 26px;
}
.legal-section h1 {
  color: var(--accent);
}
.legal-section h2 {
  color: var(--primary);
}

/* =======================================================
   MISCELLANEOUS & UTILITIES
======================================================== */
hr {
  border: 0;
  height: 2px;
  background: var(--accent-light);
  margin: 40px 0;
}
::-webkit-scrollbar {
  width: 10px;
  background: var(--secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-light);
  border-radius: 12px;
}
::-webkit-input-placeholder { color: #AAA; }
::-moz-placeholder { color: #AAA; }
:-ms-input-placeholder { color: #AAA; }
::placeholder { color: #AAA; }

/* Playful Dynamic Animations */
@keyframes playful-pop {
  0% { transform: scale(1) rotate(0); }
  25% { transform: scale(1.07) rotate(-2deg); }
  50% { transform: scale(0.97) rotate(3deg); }
  100% { transform: scale(1) rotate(0); }
}
.cta, nav a.cta, .feature-item, .card, .service-item, .project-card, .faq-item, .testimonial-card, .article-summary {
  will-change: transform, box-shadow;
}
.cta:hover, nav a.cta:hover, .feature-item:hover, .card:hover, .service-item:hover, .project-card:hover, .faq-item:hover, .testimonial-card:hover, .article-summary:hover {
  animation: playful-pop 0.25s linear;
}

/* Accessibility: Focus Styles */
a:focus, button:focus, input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* =======================================================
   FLEXBOX RESPONSIVE BREAKPOINTS (MOBILE FIRST)
======================================================== */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .feature-grid, .team-list, .service-list, .project-cards, .solution-list, .faq-items {
    gap: 18px;
  }
}

@media (max-width: 900px) {
  nav, header .container {
    gap: 8px;
  }
}

@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-menu, .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
    max-width: 99vw;
  }
  section, .section, .legal-section {
    padding: 26px 7px;
  }
  .feature-grid, .team-list, .service-list, .project-cards, .solution-list, .faq-items {
    flex-direction: column;
    gap: 13px;
  }
  .infographics, .impact-stats {
    flex-direction: column;
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 13px;
  }
  .testimonials .testimonial-card, blockquote {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 14px 12px 14px;
  }
}
@media (max-width: 540px) {
  h1 {
    font-size: 1.63rem;
  }
  h2 {
    font-size: 1.15rem;
  }
  .hero {
    padding-bottom: 18px;
  }
  .cta, a.cta, button.cta {
    font-size: 1rem;
    padding: 10px 16px;
  }
}
