/* 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;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,main,menu,nav,section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F9FAFB;
  color: #263159;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
}
a {
  color: #263159;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #F7C873;
  outline: none;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}
*, *::before, *::after {
  box-sizing: inherit;
}

/* Brand Fonts */
@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');

:root {
  --primary: #263159;
  --secondary: #F7C873;
  --accent: #FFFFFF;
  --brand-blue: #3D56B2;
  --brand-pink: #FA5A7D;
  --brand-green: #43E295;
  --brand-light: #F9FAFB;
  --shadow: 0 4px 18px rgba(38, 49, 89, 0.08), 0 1.5px 8px rgba(250, 90, 125, 0.08);
  --radius: 20px;
  --radius-small: 10px;
}

body {
  background: var(--brand-light);
  color: var(--primary);
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-right: 20px;
  padding-left: 20px;
}

/* =========== TYPOGRAPHY ============ */
h1, .hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 2.8rem;
  color: var(--primary);
  letter-spacing: -1px;
  margin-bottom: 24px;
  line-height: 1.1;
  text-shadow: 2px 4px 0 var(--secondary), 0 1px 0 #fff2;
  animation: popBounce .7s cubic-bezier(.68,-0.55,.27,1.55);
}
h2 {
  font-size: 2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--brand-pink);
  margin-bottom: 16px;
  letter-spacing: .5px;
  line-height: 1.15;
}
h3 {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 8px;
  letter-spacing: .5px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
p {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 16px;
}
strong, b {
  font-weight: 700;
  color: var(--brand-blue);
}

blockquote {
  font-style: italic;
  color: var(--brand-pink);
  border-left: 5px solid var(--brand-green);
  background: #fffbe9;
  padding: 12px 22px;
  border-radius: var(--radius-small);
  margin: 24px 0;
}

/* ============ LAYOUTS ============= */

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  transition: box-shadow .22s cubic-bezier(.4,0,.2,1), transform .14s;
  min-width: 250px;
  flex: 1 1 300px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: popBounce .7s cubic-bezier(.68,-0.55,.27,1.55);
}
.card:hover {
  box-shadow: 0 8px 32px rgba(38,49,89,0.19);
  transform: translateY(-4px) scale(1.03) rotateZ(-1.5deg);
/z-index:2;/
}

.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;
  width: 100%;
}

/* Feature & Service lists */
.feature-grid, .services-list, .skills-list, .career-opportunities, .blog-post-list, .team-members-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  margin-bottom: 16px;
}
.feature-grid li, .services-list li, .skills-list li, .career-opportunities li, .blog-post-list li, .team-members-list li {
  flex: 1 1 260px;
  background: #fff;
  padding: 20px 18px 20px 20px;
  border-radius: var(--radius-small);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: transform .23s, box-shadow .22s;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 320px;
  position: relative;
  animation: popBounce .66s cubic-bezier(.68,-0.55,.27,1.55);
}
.feature-grid li:hover, .services-list li:hover, .team-members-list li:hover, .blog-post-list li:hover {
  transform: translateY(-3px) scale(1.04) rotateZ(1.5deg);
  box-shadow: 0 8px 28px rgba(250,90,125,0.09), 0 1.5px 8px rgba(67,226,149,0.10);
}
.feature-grid li img, .team-members-list li img {
  width: 44px !important;
  height: 44px;
  margin-bottom: 10px;
}

.services-list li {
  background: #F7C87322;
  border: 2px dashed var(--brand-pink);
}

.team-members-list li {
  border-left: 5px solid var(--brand-blue);
}

.skills-list, .career-opportunities {
  gap: 12px;
}
.skills-list li, .career-opportunities li {
  background: #F7C87344;
  border-radius: var(--radius-small);
  padding: 11px 17px;
  font-size: 1.03rem;
}

/***** TESTIMONIALS *****/
.testimonial-slider, .testimonial-card {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: 0 8px 32px rgba(38,49,89, 0.14), 0 2px 12px rgba(247,200,115,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  min-width: 260px;
  max-width: 420px;
  margin-bottom: 24px;
  border-left: 8px solid var(--brand-pink);
  position: relative;
  /* For dynamic playful offset */
  transform: rotateZ(-1deg);
  transition: box-shadow .23s, transform .17s;
}
.testimonial-card:hover {
  box-shadow: 0 14px 42px rgba(67,226,149,.13);
  transform: translateY(-4px) scale(1.04) rotateZ(1.4deg);
}
.testimonial-content p {
  color: #11142D;
  font-size: 1.07rem;
  line-height: 1.6;
}
.testimonial-meta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  font-size: .99rem;
  font-weight: 700;
  color: var(--brand-blue);
}
.stars {
  color: var(--brand-pink);
  font-size: 1.2em;
}

/****** BUTTONS, CTA, MICRO-INTERACTIONS ******/
.cta, button.cta, a.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 32px;
  border-radius: 40px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--primary);
  background: var(--secondary);
  box-shadow: 0 4px 24px rgba(250,90,125,0.06);
  border: none;
  cursor: pointer;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .20s, transform .12s, box-shadow .21s;
  margin: 9px 0 0 0;
  will-change: transform;background-clip:padding-box;
  text-shadow: 1px 1.5px 0 #fff7, 0 1px 0 #fff2;
  outline: none;
}
.cta:hover, .cta:focus {
  background: var(--brand-pink);
  color: #fff;
  transform: scale(1.07) rotateZ(-2deg);
  box-shadow: 0 8px 34px -2px var(--brand-green);
}
button, .btn {
  border-radius: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 20px;
  font-weight: 700;
  border: none;
  background: var(--brand-blue);
  color: #fff;
  transition: background .16s, transform .11s;
  cursor: pointer;
  margin-right: 12px;
}
button:hover, .btn:hover, button:focus {
  background: var(--brand-pink);
  transform: scale(1.04);
}

/***** FORMS ******/
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  padding: 13px 18px;
  border-radius: 7px;
  border: 2px solid #e2e8f0;
  background: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
  transition: border .14s;
}
input:focus, textarea:focus {
  border-color: var(--brand-blue);
  outline: none;
}
label {
  font-size: 1rem;
  display: inline-block;
  margin-bottom: 6px;
  color: var(--brand-blue);
  font-weight: 500;
}
.newsletter-signup-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}
.newsletter-signup-form input[type="email"] {
  flex: 2 1 180px;
  min-width: 160px;
}
.newsletter-signup-form .cta {
  flex: 1 0 130px;
}

/***** HERO SECTION ******/
.hero {
  padding: 60px 0 50px 0;
  background: linear-gradient(90deg, var(--secondary) 45%, var(--accent) 80%);
  border-bottom-right-radius: 80px 60px;
  box-shadow: 0 10px 38px -16px var(--brand-pink);
  margin-bottom: 56px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  gap: 20px;
}
.hero p {
  color: var(--primary);
  font-size: 1.17rem;
  font-weight: 500;
  margin-bottom: 10px;
}

/***** HEADER & NAVIGATION *****/
header {
  background: var(--primary);
  padding: 0;
  width: 100%;
  min-height: 66px;
  box-shadow: 0 2px 14px -3px #26315955, 0 0.5px 2.5px -1px #fa5a7d15;
  z-index: 1001;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
header nav a {
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .03em;
  padding: 8px 14px;
  border-radius: 20px;
  transition: background .16s, color .13s, transform .09s;
  margin-right: 7px;
}
header nav a:last-child {
  margin-right: 0;
}
header nav a:hover:not(.cta), header nav a:focus:not(.cta) {
  background: var(--secondary);
  color: var(--primary);
  transform: scale(1.08) rotateZ(-2deg);
}
header nav .cta {
  background: var(--brand-pink);
  color: #fff;
  border-radius: 40px;
  font-size: 1rem;
  margin-left: 18px;
}
header nav .cta:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: scale(1.07) rotateZ(2deg);
}
header img {
  height: 36px;
}

/***** MOBILE BURGER MENU *****/
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: var(--secondary);
  color: var(--primary);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 #26315922;
  z-index: 1030;
  transition: background .16s, color .14s, transform .13s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--brand-pink);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  transform: translateX(-105%);
  transition: transform .37s cubic-bezier(.43,1.42,.49,1);
  z-index: 2050;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 32px;
  padding-left: 0;
  box-shadow: 7px 0 16px #26315930;
  will-change: transform;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: transparent;
  color: var(--secondary);
  padding: 12px;
  position: absolute;
  right: 10px;
  top: 18px;
  cursor: pointer;
  z-index: 2081;
  border-radius: 50%;
  transition: background .17s, color .11s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  background: var(--brand-pink) !important;
}
.mobile-menu nav.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-top: 54px;
}" +

".mobile-nav a {
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .05em;
  padding: 16px 38px;
  border-radius: 30px;
  transition: background .15s, color .13s, transform .10s;
  margin-right: 0;
  width: 100%;
  display: block;
  margin-bottom: 2px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-pink);
  color: #fff;
  transform: translateX(8px);
}

/***** FOOTER ***** */
footer {
  background: var(--primary);
  color: var(--secondary);
  padding: 45px 0 25px 0;
  width: 100%;
  font-size: 1rem;
  border-top-left-radius: 60px 40px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav a {
  color: var(--secondary);
  margin-right: 14px;
  font-weight: 500;
}
footer nav a:hover {
  color: #fff;
  text-decoration: underline wavy 2px var(--secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-contact img {
  display: inline;
  width: 19px;
  height: 19px;
  margin-right: 7px;
  vertical-align: middle;
}

/***** SPECIAL LIST/CONTENT STYLES *****/
.course-category-filters, .categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
  font-size: 1.07rem;
}
.course-category-filters span, .categories strong {
  color: var(--brand-blue);
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
}
.course-category-filters a, .categories a {
  color: var(--brand-pink);
  background: #F7C87344;
  border-radius: 16px;
  padding: 7px 15px;
  margin-right: 6px;
  font-weight: 700;
  transition: background .16s, color .13s, box-shadow .14s;
}
.course-category-filters a:hover, .categories a:hover {
  background: var(--brand-pink);
  color: #fff;
  box-shadow: 0 3px 12px #f7c87344;
}

/***** BLOG STYLES *****/
.blog-post-list li {
  background: #F7C87322;
  border-left: 6px solid var(--brand-pink);
}
.featured-article {
  background: #FA5A7D10;
  border-radius: var(--radius-small);
  border-left: 7px solid var(--brand-blue);
  padding: 28px 22px;
  margin-top: 35px;
  margin-bottom: 13px;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  animation: popBounce .65s cubic-bezier(.68,-0.55,.27,1.55);
}

/***** HOW IT WORKS *****/
.step-by-step-process {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-bottom: 24px;
  margin-top: 10px;
}
.step-by-step-process li {
  background: #F7C87344;
  border-radius: var(--radius-small);
  padding: 13px 22px;
  font-size: 1.08rem;
  color: var(--brand-blue);
  border-left: 5px solid var(--brand-green);
}
.timeline {
  background: #fff8e555;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--brand-pink);
  font-size: 1.07rem;
  padding: 18px 22px;
  border-radius: var(--radius-small);
  font-weight: 600;
  box-shadow: var(--shadow);
}
.methodology-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 13px;
}
.methodology-points li {
  background: #43E29511;
  border-radius: var(--radius-small);
  padding: 8px 15px;
}
.support-offered {
  background: #f7c87311;
  border-left: 5px solid var(--brand-pink);
  border-radius: var(--radius-small);
  padding: 13px 18px;
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 500;
}

/***** CONTACT DETAILS *****/
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.07rem;
  padding: 10px 4px;
  background: #F7C87322;
  border-radius: var(--radius-small);
}
.contact-details img {
  width: 25px;
  height: 25px;
}
.map {
  margin-top: 14px;
  background: #fff;
  padding: 15px 21px;
  border-radius: var(--radius-small);
  box-shadow: 0 2px 13px #fa5a7d15;
  font-size: 1.04rem;
  color: var(--brand-blue);
}

/***** THANK YOU SECTION *****/
.thank-you-section {
  background: #43E29515;
  text-align: center;
  border-radius: var(--radius);
  padding: 60px 0;
  margin-bottom: 48px;
}

/****** COOKIE CONSENT BANNER ******/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -4px 30px #26315925;
  z-index: 5000;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 22px 18px 19px 22px;
  animation: slideUpBanner .65s;
}
.cookie-banner p {
  color: var(--primary);
  font-size: 1.04rem;
  margin-bottom: 6px;
  margin-right: 21px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 17px;
  align-items: center;
}

.cookie-banner button,
.cookie-banner .cookie-settings-btn {
  font-size: 1.07rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 9px 19px;
  border-radius: 20px;
  background: var(--brand-blue);
  color: #fff;
  border: none;
  margin-right: 7px;
  cursor: pointer;
  transition: background .18s, color .11s, transform .10s;
}
.cookie-banner button.accept {
  background: var(--brand-green);
  color: var(--primary);
}
.cookie-banner button.reject {
  background: var(--brand-pink);
  color: #fff;
}
.cookie-banner button:hover, .cookie-banner .cookie-settings-btn:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: scale(1.05);
}

/****** COOKIE SETTINGS MODAL ******/
.cookie-modal-overlay {
  position: fixed;
  left: 0;top: 0;width: 100vw;height: 100vh;
  background: rgba(38,49,89,0.45);
  z-index: 7000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn .4s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius);
  min-width: 320px;
  max-width: 96vw;
  width: 420px;
  padding: 34px 28px 20px 28px;
  box-shadow: 0 16px 50px #fa5a7d14;
  display: flex;
  flex-direction: column;
  gap: 23px;
  animation: popBounce .65s cubic-bezier(.68,-0.55,.27,1.55);
  position: relative;
}
.cookie-modal h2 {
  color: var(--brand-pink);
  font-size: 1.48rem;
  text-align: center;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  font-size: 1.11rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 9px 0;
}
.cookie-modal .category-toggle {
  display: inline-flex;
  align-items: center;
}
.cookie-modal .category-toggle input[type="checkbox"] {
  appearance: none;
  width: 36px; height: 20px;
  background: #e3e8f1;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .16s;
  margin-left: 6px;
}
.cookie-modal .category-toggle input[type="checkbox"]:checked {
  background: var(--brand-green);
}
.cookie-modal .category-toggle input[type="checkbox"]::before {
  content: '';
  display: block;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 1px; top: 1px;
  transition: left .16s;
  box-shadow: 0 2px 8px #26315911;
}
.cookie-modal .category-toggle input[type="checkbox"]:checked::before {
  left: 17px;
}
.cookie-modal .essential {
  color: var(--primary);
  font-weight: bold;
  font-style: italic;
  opacity: .75;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 14px; top: 13px;
  font-size: 1.7rem;
  background: transparent;
  border: none;
  color: var(--brand-pink);
  cursor: pointer;
  z-index: 2;
  transition: color .15s;
}
.cookie-modal .close-modal:hover {
  color: var(--brand-blue);
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 11px;
}
.cookie-modal .modal-actions button {
  border-radius: 20px;
  padding: 9px 22px;
  font-weight: 700;
  font-size: 1rem;
}
.cookie-modal .modal-actions button.save {
  background: var(--brand-green);
  color: var(--primary);
}
.cookie-modal .modal-actions button.cancel {
  background: var(--brand-pink);
  color: #fff;
}
.cookie-modal .modal-actions button:hover {
  background: var(--brand-blue);
  color: #fff;
}

/****** ANIMATIONS ********/
@keyframes popBounce {
  0% {transform: scale(0.95) translateY(20px) rotateZ(-3deg); opacity: .7; }
  65% {transform: scale(1.04) translateY(-6px) rotateZ(2deg);}
  100% {transform: scale(1) translateY(0) rotateZ(0deg); opacity: 1; }
}
@keyframes slideUpBanner {
  0% { transform: translateY(120%); opacity: 0; }
  70% { transform: translateY(-8px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/****** RESPONSIVE DESIGN (MOBILE-FIRST) ******/
@media (max-width: 1150px) {
  .container { max-width: 97vw; }
}
@media (max-width: 900px) {
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
@media (max-width: 820px) {
  .card-container, .feature-grid, .services-list, .blog-post-list, .testimonial-slider, .team-members-list, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 23px;
  }
  .feature-grid li, .services-list li, .team-members-list li {
    min-width: 90%;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
/* --- Navigation Responsive ---*/
  header nav { display: none; }
  .mobile-menu-toggle { display: flex !important; }
  .mobile-menu { display: flex; }

/* --- FLEX Layout Adjustments --- */
  .container { padding-left: 9px; padding-right: 9px; }
  main .container, section .container {
    padding-left: 3px;
    padding-right: 3px;
  }
  .section { padding: 25px 6px; margin-bottom: 44px; }
  .hero { padding: 35px 0 28px 0; margin-bottom: 38px; border-bottom-right-radius: 50px; }
  h1, .hero h1 { font-size: 2.05rem; }
  h2 { font-size: 1.25rem; }
  .featured-article { padding: 15px 13px; font-size: 1rem; }
/* --- Content Grid & Cards---*/
  .content-wrapper { gap: 17px; }
  .text-image-section { flex-direction: column; gap: 15px; }
  .card, .testimonial-card, .feature-grid li, .team-members-list li, .services-list li, .blog-post-list li {
    min-width: 98vw;
    max-width: 100vw;
    align-items: flex-start;
  }
  .card { padding: 18px 10px; }
  .testimonial-card { padding: 15px 7px; font-size: .97rem;}

/* --- Cookie banner/modal --- */
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 4px 11px 8px;
    font-size: .98rem;
  }
}
@media (max-width: 520px) {
  .footer-contact {
    font-size: .93rem;
  }
  .feature-grid li, .services-list li, .team-members-list li, .blog-post-list li {
    min-width: 96vw;
    max-width: 100vw;
  }
  h1, .hero h1 { font-size: 1.21rem; }
  h2 { font-size: 1rem; }
  .card, .testimonial-card { padding: 11px 3px; }
}

/* --- Utility Helper spacing ---*/
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; }
.mb-20 { margin-bottom: 20px; } .mb-32 { margin-bottom: 32px; }
.pt-8 { padding-top: 8px; } .pb-20 { padding-bottom: 20px; }


/*
 * --- Playful Animations for energy ---
*/
.card::after, .feature-grid li::after, .testimonial-card::before {
  content: '';
  display: block;
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
}
.card::after {
  right: -23px; bottom: -16px;
  width: 48px; height: 48px;
  background: radial-gradient(circle at 38% 38%, #FA5A7D33 80%, transparent 100%);
  opacity: .45;
}
.feature-grid li::after {
  left: -14px; top: -12px;
  width: 21px; height: 21px;
  background: radial-gradient(circle at 50% 50%, #43E29555 72%, transparent 100%);
  opacity: .65;
}
.testimonial-card::before {
  left: -12px; top: -18px;
  width: 31px; height: 31px;
  background: radial-gradient(circle at 30% 32%, #F7C87355 80%, transparent 100%);
  opacity: .55;
}

/********* END OF PLAYFUL, DYNAMIC, FLEX-ONLY CSS *********/
