/* ===================== CSS RESET ======================= */
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;
}
html { scroll-behavior: smooth; }
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #FFFBE9;
}
*, *::before, *::after { box-sizing: inherit; }
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
input, button, textarea, select {
  font: inherit;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* =========== BRAND-THEMED FONTS & COLORS ============= */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900|Open+Sans:400,600,700&display=swap');
:root {
  --color-primary: #1F2633;
  --color-secondary: #008080;
  --color-accent: #F2B705;
  --color-bg: #FFFBE9;
  --color-blue: #3E7BFA;
  --color-lime: #42E27C;
  --color-pink: #E95EB0;
  --color-orange: #FF7043;
  --color-white: #fff;
  --color-paper: #F7FAFC;
  --shadow-card: 0 4px 20px rgba(59,49,86,0.10);
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--color-primary);
  background: var(--color-bg);
  font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.2rem; margin-bottom: 12px; }
h4 { font-size: 1rem; margin-bottom: 10px;  }
p { color: #22304E; margin-bottom: 12px; }

@media (max-width: 600px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1rem; }
}

/* Fun accent for dynamic style! */
.animated-accent {
  color: var(--color-pink);
  animation: accentWave 2.7s infinite ease-in-out alternate;
}
@keyframes accentWave {
  0% { filter: brightness(1) drop-shadow(0 2px 0 var(--color-accent)); }
  100% { filter: brightness(1.2) drop-shadow(0 6px 6px var(--color-blue)); }
}

/* ============== PAGE CORE LAYOUTS ============== */
.container {
  width: 100%;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  max-width: 1200px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section,
.hero,
.values-section,
.cta-section,
.confirmation-section,
.benefits-section,
.steps-section,
.programs-list,
.articles-list,
.legal-section,
.team-section,
.about-section,
.contact-details,
.testimonials,
.future-careers,
.insights-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* ================= HEADER & NAV ========================= */
header {
  background: var(--color-white);
  box-shadow: 0 1px 8px rgba(31,38,51,0.04);
  position: relative;
  z-index: 20;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.main-nav > a img {
  width: 56px;
  height: auto;
  vertical-align: middle;
}
.main-nav ul {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav li {
  display: flex;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: 22px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:not(.primary-cta):hover {
  background: var(--color-paper);
  color: var(--color-secondary);
}
.primary-cta {
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 3px 16px rgba(242,183,5,0.12);
  border-radius: 24px;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: background 0.24s, color 0.12s, box-shadow 0.18s;
  position: relative;
  z-index: 2;
}
.primary-cta:hover, .primary-cta:focus {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 6px 20px var(--color-accent), 0 1px 2px var(--color-blue);
  transform: scale(1.05) rotate(-2deg);
}

/* Hamburger for mobile */
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 20px;
  box-shadow: 0 2px 8px rgba(242,183,5,0.17);
  transition: background 0.18s;
  z-index: 50;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-primary);
  color: #fff;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.72,0,.28,1);
  z-index: 1000;
  padding: 32px 16px 0 16px;
  visibility: hidden;
  opacity: 0.97;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.3rem;
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
  transition: color 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 12px;
  border-radius: 16px;
  transition: background 0.16s, color 0.16s;
  margin-bottom: 8px;
}
.mobile-nav a:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

@media (max-width: 1100px) {
  .main-nav ul { gap: 12px; }
  .main-nav li a { font-size: 0.95rem; }
}
@media (max-width: 980px) {
  .main-nav ul { gap: 10px; }
}
@media (max-width: 900px) {
  .main-nav li a { font-size: 0.87rem; padding: 7px 10px; }
}
@media (max-width: 800px) {
  .main-nav ul { gap: 6px; }
}
@media (max-width: 768px) {
  .main-nav ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .main-nav {
    justify-content: space-between;
  }
  header .container {
    flex-wrap: wrap;
    padding-right: 0;
    padding-left: 0;
  }
}

/* =========== HERO SECTIONS =========== */
.hero {
  background: linear-gradient(100deg, var(--color-accent) 1%, var(--color-blue) 98%);
  background-size: 220% 120%;
  background-posiiton: left;
  color: var(--color-primary);
  border-radius: 0 0 40px 40px/0 0 32px 32px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.05);
  position: relative;
}
.hero .content-wrapper {
  align-items: flex-start;
  padding-top: 18px;
  padding-bottom: 18px;
}
.hero h1 {
  font-family: 'Montserrat', cursive, sans-serif;
  font-size: 2.3rem;
  letter-spacing: 0.01em;
  color: var(--color-primary);
  text-shadow: 0 2px 8px #ffe;
  margin-bottom: 14px;
  line-height: 1.13;
  animation: floatTxt 2.5s infinite alternate cubic-bezier(.66,0,.34,1);
}
@keyframes floatTxt {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-7px); }
}
.hero .subhead {
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--color-primary);
  padding-bottom: 10px;
}

/* ===== SECTION & CARD FLEX PATTERNS ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid,
.feature-grid,
.team-profiles,
.career-grid,
.program-cards,
.article-cards,
.benefit-icons,
.stepper {
  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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 900px) {
  .content-grid,
  .feature-grid,
  .team-profiles,
  .career-grid,
  .program-cards,
  .article-cards,
  .benefit-icons,
  .stepper {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
}

/* Cards base style for playful look */
.program-card, .article-card, .team-profile, .career-card, .benefit-item, .step-item {
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 28px 26px 26px 26px;
  min-width: 230px;
  flex-basis: 310px;
  transition: box-shadow 0.26s, transform 0.23s;
  margin-bottom: 20px;
  position: relative;
  border: 2px solid transparent;
  will-change: transform;
  overflow: hidden;
}
.program-card:hover,
.article-card:hover,
.team-profile:hover,
.career-card:hover,
.benefit-item:hover,
.step-item:hover {
  box-shadow: 0 10px 36px 0 rgba(59, 49, 86, 0.18), 0 1px 2px 0 var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-8px) scale(1.03) rotate(-1deg);
  z-index: 2;
}

.program-card h3,
.article-card h3,
.team-profile h3,
.career-card h3,
.benefit-item h3,
.step-item h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.18rem;
  margin-bottom: 7px;
  color: var(--color-secondary);
  text-shadow: 0 2px 6px var(--color-lime, #c3f7d6);
}

/* Fun micro-interaction for fun accents */
.program-card::before,
.article-card::before,
.team-profile::before,
.career-card::before {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  right: -20px;
  top: -20px;
  background: var(--color-pink);
  opacity: 0.11;
  border-radius: 40% 60% 50% 50%;
  z-index: 0;
  animation: cardSplash 4.7s infinite alternate ease-in-out;
}
@keyframes cardSplash {
  from {
    transform: rotate(0deg) scale(1.02);
  }
  to {
    transform: rotate(14deg) scale(1.14);
  }
}

/* ================= FEATURES & BENEFITS ================= */
.features {
  margin-bottom: 60px;
  background: var(--color-paper);
  border-radius: 24px;
  box-shadow: 0 2px 24px #dbeafe44;
}
.feature-grid {
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 2px var(--color-accent));
  animation: icon-bounce 2.4s infinite ease-in-out alternate;
}
@keyframes icon-bounce {
  0% {transform: translateY(0);}
  100% {transform: translateY(-7px);}
}
.feature-item h3 { color: var(--color-secondary); }

.benefit-icons, .benefit-item {
  background: none;
}
.benefit-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
}

/* =================== TEAM SECTION ================ */
.team-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  margin-bottom: 12px;
}
.team-profile img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin-bottom: 10px;
  box-shadow: 0 4px 16px #00808022;
  background: #fcfcff;
}
.team-profile h3 { color: var(--color-blue); margin-bottom: 4px; }
.team-profile p { color: #2b2761; font-size: 1rem; }
.team-note { font-style: italic; font-size: 0.96rem; color: #4B5B79; margin-top: 14px; }

/* ================ TESTIMONIALS =============== */
.testimonials {
  background: var(--color-blue);
  border-radius: 20px;
  box-shadow: 0 3px 22px #3E7BFA33;
  color: #fff;
}
.testimonials h2 {
  color: #fff;
  text-shadow: 0 2px 16px #1F263344;
}
.testimonials .content-wrapper {
  flex-direction: row;
  gap: 28px;
  flex-wrap: wrap;
}
.testimonial-card {
  background: #fff;
  color: #2A2152;
  border-radius: 18px;
  box-shadow: 0 2px 16px #a4d3fdBB;
  margin-bottom: 20px;
  font-size: 1.07rem;
  min-width: 240px;
  max-width: 390px;
  position: relative;
  transition: box-shadow 0.22s, transform 0.18s;
  border-left: 6px solid var(--color-accent);
  flex-direction: column;
  align-items: flex-start;
  animation: swingCard 3.9s infinite alternate cubic-bezier(.41,.4,.6,1);
}
@keyframes swingCard { 
  0% { transform: rotate(-1.2deg); }
  100% { transform: rotate(2deg); }
}
.testimonial-author {
  font-weight: 700;
  color: var(--color-secondary);
  font-size: 1rem;
  margin-top: 8px;
  letter-spacing: 0.01em;
}

/* ============ CTA SECTIONS ============= */
.cta, .cta-section, .cta-banner {
  background: linear-gradient(95deg, var(--color-accent), var(--color-lime) 80%);
  border-radius: 18px;
  padding: 34px 32px;
  margin-bottom: 32px;
  box-shadow: 0 3px 22px rgba(242,183,5,0.085);
  text-align: center;
  color: var(--color-primary);
}
.cta-banner h2 { color: var(--color-primary); }
@media (max-width: 900px) {
  .cta, .cta-section, .cta-banner { padding: 18px 12px; }
}

/* =========== PROGRAMS PAGE & FAQ =============== */
.programs-list .program-filters {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-bottom: 18px;
}
.programs-list .program-filters button {
  background: var(--color-lime);
  border: none;
  color: var(--color-primary);
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  border-radius: 12px;
  padding: 10px 16px;
  cursor: pointer;
  box-shadow: 0 1px 5px #42e27c44;
  transition: background 0.19s, color 0.13s, transform 0.18s;
}
.programs-list .program-filters button:hover,
.programs-list .program-filters button:focus {
  background: var(--color-blue);
  color: #fff;
  transform: scale(1.07) rotate(-3deg);
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: var(--color-white);
  border-radius: 11px;
  box-shadow: var(--shadow-card);
  padding: 18px 20px;
  border-left: 4px solid var(--color-secondaray, #008080);
  transition: box-shadow 0.19s, border 0.16s;
}
.faq-item:hover {
  box-shadow: 0 5px 20px #42e27c35;
  border-left: 4px solid var(--color-accent);
}

/* =========== CATEGORIES & SEARCH ============ */
.categories-list, .search-bar {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}
.categories-list button {
  background: var(--color-pink);
  border: none;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 12px;
  transition: background .16s, transform .13s;
  cursor: pointer;
}
.categories-list button:hover, .categories-list button:focus {
  background: var(--color-blue);
  color: #fff;
  transform: scale(1.06);
}
.search-bar input {
  font-size: 1rem;
  border: 2px solid var(--color-accent);
  border-radius: 12px;
  padding: 8px 17px;
  outline: none;
  transition: border 0.18s;
  width: 220px;
  background: var(--color-white);
}
.search-bar input:focus {
  border-color: var(--color-blue);
}

/* ============= CONTACT INFO & FORM =============== */
.contact-details {
  background: var(--color-paper);
  border-radius: 18px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.09rem;
}
.contact-info li img {
  width: 20px; height:20px;
  vertical-align: middle;
  margin-right: 7px;
  filter: drop-shadow(0 1px 2px var(--color-secondary));
}

.contact-form-section a {
  color: var(--color-blue);
  text-decoration: underline;
  font-weight: 700;
}

/* ============= LEGAL PAGES =============== */
.legal-section {
  background: var(--color-paper);
  border-radius: 18px;
}
.legal-section ul {
  margin-bottom: 14px;
  padding-left: 18px;
  list-style: disc inside;
}
.legal-section li {
  margin-bottom: 7px;
  color: #2b3466;
}

/* ============= VALUES SECTION ============== */
.values-section {
  background: var(--color-lime);
  border-radius: 22px;
  box-shadow: 0 2px 16px #42e27c5c;
}
.value-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 18px;
}
.value-list li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px #42e27c26;
  padding: 22px 16px;
  min-width: 200px;
  flex: 1 1 200px;
  margin-bottom: 12px;
  transition: box-shadow 0.19s, border-color 0.16s;
}
.value-list li:hover {
  box-shadow: 0 8px 28px #f2b70533;
}
.value-list img {
  width:40px; height:40px;
  margin-right:7px;
}

/* ============= INSIGHTS SECTION ============== */
.insights-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.infographics {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px #3E7BFA22;
  padding: 20px 20px;
  min-width: 220px;
}
.trends-list ul {
  list-style: disc inside;
  padding-left: 14px;
}
.trends-list li {
  margin-bottom: 6px;
  color: #2b3466;
}

/* ============ FOOTER =============== */
.main-footer {
  background: var(--color-primary);
  color: #fff;
  border-radius: 26px 26px 0 0/18px 18px 0 0;
  margin-top: 80px;
  padding-top: 44px;
  position: relative;
  z-index: 20;
}
footer p {
  color: white;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 24px;
}
.footer-contact,
.footer-links,
.footer-social,
.footer-brand {
  flex: 0 1 180px;
}
.footer-brand img {
  width: 54px;
  height: auto;
  margin-bottom: 13px;
}
.footer-brand p {
  font-size: 1.07rem;
  color: var(--color-accent);
}
.footer-contact h4,
.footer-links h4,
.footer-social h4 {
  font-size: 1.08rem;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.footer-contact ul, .footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-contact li, .footer-links li {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #f5e37f;
}
.footer-contact li img {
  width: 18px; height: 18px;
  margin-right: 6px;
}
.footer-links a {
  color: #ffe082;
  text-decoration: underline;
  font-size: 0.99rem;
  transition: color .17s;
}
.footer-links a:hover { color: var(--color-accent); }
.footer-social a {
  display: inline-block;
  margin-right: 7px;
  margin-top: 2px;
  transition: transform .17s;
}
.footer-social a:hover { transform: scale(1.13) rotate(-7deg); }
.footer-social img {
  width: 30px; height: 30px;
}
.footer-legal {
  width: 100%;
  text-align: center;
  color: #b4b2b8;
  font-size: 0.95rem;
  margin-top: 7px;
}

@media (max-width: 1200px) {
  .footer-content { gap: 18px; }
}
@media (max-width: 800px) {
  .footer-content { flex-direction: column; gap: 16px; }
  .main-footer { border-radius: 12px 12px 0 0; }
}

/* =============== THANK YOU ============= */
.confirmation-section {
  background: var(--color-lime);
  border-radius: 18px;
  box-shadow: 0 2px 18px #42e27c68;
  text-align: center;
}
.thank-you-message { font-size: 1.13rem; color: #1F2633; margin-bottom: 25px; }

/* ============= COOKIE BANNER =========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--color-secondary);
  color: #fff;
  padding: 18px 20px 20px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  z-index: 1200;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 -2px 22px #22304E55;
  font-size: 1rem;
  border-radius: 16px 16px 0 0/14px 14px 0 0;
  animation: slideUp 0.7s cubic-bezier(.35,0,.65,1);
}
@keyframes slideUp { from { transform: translateY(150%);} to {transform: translateY(0);} }
.cookie-banner button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 10px;
  margin-left: 9px;
  border: none;
  padding: 10px 18px;
  background: var(--color-accent);
  color: var(--color-primary);
  cursor: pointer;
  transition: background .14s, color .14s, transform .16s;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: var(--color-lime);
  color: var(--color-secondary);
  transform: scale(1.04);
}
.cookie-banner .cookie-settings {
  background: var(--color-white);
  color: var(--color-blue);
  border: 2px solid var(--color-blue);
}
.cookie-banner .cookie-settings:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}

/* ============= COOKIE MODAL ========== */
.cookie-modal-overlay {
  position: fixed;
  top: 0;left: 0;right: 0;bottom: 0;
  background: rgba(31,38,51, 0.66);
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  color: var(--color-primary);
  padding: 40px 26px 27px 26px;
  border-radius: 18px;
  box-shadow: 0 5px 32px #1F263399;
  min-width: 320px;
  max-width: 95vw;
  position: relative;
  margin: 16px;
}
.cookie-modal h3 { font-size: 1.38rem; color: var(--color-secondary); margin-bottom: 14px; }
.cookie-modal .close {
  position: absolute;
  right: 13px;
  top: 12px;
  border: none;
  background: none;
  color: var(--color-pink);
  font-size: 2rem;
  cursor: pointer;
  transition: color .16s;
}
.cookie-modal .close:hover {
  color: var(--color-blue);
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin-bottom: 13px;
}
.cookie-category label {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1.09rem;
}
.cookie-modal .toggle-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
}
.cookie-modal .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  background: var(--color-secondary);
  border-radius: 12px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background .18s;
}
.cookie-modal .toggle-switch input:checked + .toggle-slider {
  background: var(--color-accent);
}
.toggle-slider:before {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 4px;
  background: #fff;
  width: 16px;
  height: 16px;
  border-radius:50%;
  transition: transform 0.18s;
}
.cookie-modal .toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(16px);
}

/* ============== RESPONSIVENESS =============== */
@media (max-width: 1200px) {
  .container { max-width: 960px; }
}
@media (max-width: 1000px) {
  .container { max-width: 90vw; }
  .footer-content { gap: 14px; }
}
@media (max-width: 900px) {
  .program-card, .article-card, .team-profile, .career-card, .benefit-item, .step-item {
    flex-basis: 94vw;
    min-width: 180px;
    padding: 18px 13px;
  }
}
@media (max-width: 700px) {
  .container { max-width: 99vw; padding-right: 5px; padding-left: 5px; }
  .footer-brand img, .main-nav > a img { width: 38px; }
  .footer-links, .footer-contact, .footer-social, .footer-brand { flex: 1 1 110px; }
}
@media (max-width: 500px) {
  .hero, .section, .articles-list, .confirmation-section, .contact-details, .team-section, .about-section, .cta, .cta-section {
    padding: 16px 6px;
    border-radius: 8px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.97rem;
    border-radius: 7px 7px 0 0/6px 6px 0 0;
    padding: 10px 4px 12px 8px;
  }
}

/* ============== SPACING OVERRIDES ============== */
.section { margin-bottom: 60px; padding: 40px 20px; }
.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; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ============= UTILITY =============== */
.hide { display: none !important; }
.flex { display: flex; }

/* Focus styles for accessibility */
a:focus, button:focus, input:focus {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
}

/* ======== DYNAMIC/PLAYFUL extra touches ======== */
.primary-cta {
  animation: playfulButtonPop 0.7s cubic-bezier(.31,1.28,.47,1.17) 0.2s;
}
@keyframes playfulButtonPop {
  0% { transform: scale(0.95) rotate(0.6deg);}
  35% { transform: scale(1.15) rotate(-3deg);}
  60% { transform: scale(0.93) rotate(1.7deg);}
  100% { transform: scale(1) rotate(0deg);}
}

/* Fun font for headings with some color pop */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', cursive, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  position: relative;
}
h2::after, h3::after {
  content: '';
  display: block;
  width: 46px;
  height: 5px;
  background: var(--color-accent);
  border-radius: 2px;
  margin-top: 7px;
  animation: underlineWobble 2.2s infinite alternate;
}
@keyframes underlineWobble {
  from { width: 38px; background: var(--color-accent); }
  to { width: 62px; background: var(--color-blue); }
}

/* ============= END STYLE.CSS ============= */
