/* ====================================================== */
/* CSS 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, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
button, input, select {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* ====================================================== */
/* CSS CUSTOM PROPERTIES - RETRO COLOR PALETTE            */
/* ====================================================== */
:root {
  --color-primary: #153B5B;
  --color-secondary: #F8F4EC;
  --color-accent: #EABA6B;
  --color-retro-red: #C84C09;
  --color-retro-blue: #3C5A6F;
  --color-retro-green: #A0B79E;
  --color-retro-yellow: #FFD77B;
  --color-retro-bg: #FCF7EF;
  --font-display: 'Montserrat', 'Impact', 'Futura', 'Arial Black', cursive, sans-serif;
  --font-body: 'Roboto', 'Georgia', serif;
}

@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat'), url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: local('Roboto'), url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');
  font-display: swap;
}

/* ====================================================== */
/* GLOBAL STYLES                                         */
/* ====================================================== */
html { 
  scroll-behavior: smooth; 
  background: var(--color-retro-bg);
}
body {
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  background: var(--color-retro-bg);
  min-height: 100vh;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  color: var(--color-primary);
  padding-bottom: 8px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  font-weight: 900;
  text-shadow: 1px 2px 0 var(--color-retro-yellow), 1px 4px 12px #B09763AA;
}
h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 700;
  text-shadow: 1px 2px 0 var(--color-accent);
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
  font-style: italic;
  color: var(--color-retro-red);
}

.subheadline {
  color: var(--color-retro-blue);
  font-size: 1.18rem;
  margin-bottom: 24px;
  font-family: var(--font-display);
  opacity: 0.8;
}

p, li, span {
  font-family: var(--font-body);
  color: var(--color-primary);
}

strong {
  font-weight: 700;
  color: var(--color-retro-red);
}

/* ======================================================= */
/* LAYOUT & SPACING PATTERNS (FLEX ONLY)                   */
/* ======================================================= */
.section,
.hero,
.cta-section,
.features,
.about-section,
.about-short,
.values-section,
.team-section,
.services,
.process,
.process-method,
.testimonials,
.testimonials-preview,
.faq-section,
.legal-section,
.contact-section,
.thankyou-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-secondary);
  border-radius: 18px;
  box-shadow: 0 3px 24px #153b5b0c, 0 0px 0 1px #e5dbc6;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}

.card-container,
.card-grid,
.testimonial-grid,
.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}

.card, .testimonial-card {
  position: relative;
  margin-bottom: 20px;
}

.content-grid,
.team-members {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 26px;
  background: #fffbe7;
  border-radius: 16px;
  border: 2.5px dashed var(--color-retro-yellow);
  box-shadow: 0 5px 40px #eaba6b22;
  min-width: 250px;
  max-width: 390px;
  font-size: 1.05rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  transform: translateY(-6px) scale(1.01) rotate(-0.3deg);
  box-shadow: 0 8px 32px #EABA6B99, 0 2px 4px #bbb1a155;
  z-index: 3;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

/********** FAQ ************/
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}
.faq-item {
  background: #fffbe7;
  border-radius: 14px;
  box-shadow: 0 2px 14px #eaba6b39;
  padding: 22px 24px 17px 24px;
  border-left: 5px solid var(--color-retro-red);
  margin-bottom: 8px;
  transition: box-shadow 0.14s;
}
.faq-item h3 {
  color: var(--color-primary);
  font-family: var(--font-display);
}

/********** GRIDS AND FLEX LAYOUTS ************/
.feature-grid, .benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.feature-grid > div, .benefits-grid > div {
  background: #fffbe7;
  border-radius: 14px;
  box-shadow: 0 2px 14px #EABA6B1A;
  padding: 24px 20px;
  flex: 1 1 210px;
  min-width: 210px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2.5px solid var(--color-retro-yellow);
  margin-bottom: 15px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.feature-grid > div:hover, .benefits-grid > div:hover {
  box-shadow: 0 8px 28px #eaba6b51;
  transform: scale(1.03) rotate(-0.2deg);
  z-index: 2;
}
.feature-grid > div img,
.benefits-grid > div img {
  height: 48px;
  margin-bottom: 10px;
  user-select: none;
}
.feature-grid > div h3 { margin-bottom: 5px; font-size: 1.16rem; }
.feature-grid > div p { margin-bottom: 0px; opacity: .96; }

.brand-values {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-left: 20px;
  margin-bottom: 10px;
}
.brand-values li{ 
  position: relative;
  padding-left: 20px;
  color: var(--color-retro-blue);
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 1.11em;
}
.brand-values li:before {
  content: '\2726'; /* Star */
  position: absolute;
  left: 0; top: 2px;
  color: var(--color-accent);
  font-size: .95em;
  font-family: serif;
}

.team-members {
  gap: 20px;
  margin-top: 12px;
}
.team-members li {
  flex: 1 1 280px;
  background: #fffbe7;
  border-radius: 14px;
  box-shadow: 0 2px 12px #eaba6b42;
  padding: 22px 20px;
  border: 2px solid var(--color-retro-green);
  margin-bottom: 12px;
  min-width: 200px;
}
.team-members h3 {
  color: var(--color-retro-red);
  font-size: 1.14em;
}

.courses-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 26px;
}
.courses-list li {
  flex: 1 1 240px;
  min-width: 200px;
  background: #fffbe7;
  border-radius: 13px;
  box-shadow: 0 2px 14px #eaba6b39;
  padding: 10px 24px 14px 24px;
  border-left: 5px solid var(--color-retro-blue);
  margin-bottom: 8px;
  transition: box-shadow 0.19s, transform 0.19s;
}
.courses-list li:hover {
  box-shadow: 0 8px 24px #EABA6B88;
  transform: scale(1.023);
  z-index: 2;
}
.courses-list h3 { color: var(--color-retro-red); font-size: 1.18em; }

/****** Contact Info ******/
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
}
.contact-info > div {
  background: #fffbe7;
  border-radius: 10px;
  padding: 18px 14px;
  box-shadow: 0 0 6px #eaba6b55;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.08em;
  border: 1.6px solid var(--color-retro-yellow);
}
.contact-info strong { color: var(--color-retro-blue); font-weight: 900; }

/****** Steps Timeline ******/
.steps-timeline, .method-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 23px;
}
.steps-timeline li, .method-steps li {
  padding-left: 12px;
  margin-bottom: 6px;
  position: relative;
  color: var(--color-retro-blue);
  font-weight: 500;
  font-size: 1.07em;
}
.steps-timeline li:before, .method-steps li:before {
  content: '\25AA';
  color: var(--color-retro-red);
  font-size: 1em;
  position: absolute;
  left: -13px;
}

/****** Learning Outcomes ******/
.learning-outcomes h3 { color: var(--color-retro-blue); margin-bottom: 8px; }
.learning-outcomes ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 16px;
}
.learning-outcomes li:before { 
  content: '\2713'; color: var(--color-retro-green); font-size: 1em; margin-right:8px; }

.next-steps ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 16px;
}
.next-steps li:before { content: '\21B3'; color: var(--color-primary); font-size: 1em; margin-right:5px; }

/****** Legal Section ******/
.legal-section h1, .legal-section h2 {
  color: var(--color-retro-blue);
  font-family: var(--font-display);
}
.legal-section p, .legal-section ul {
  margin-bottom: 18px;
}

/* ======================================================= */
/* BUTTONS & LINKS                                         */
/* ======================================================= */
.cta, .main-nav .cta, .cta.primary, .cta.secondary, .cookie-btn, .cookie-banner .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 100px;
  font-size: 1.06em;
  font-family: var(--font-display);
  font-weight: 900;
  cursor: pointer;
  transition: background 0.18s, color 0.16s, box-shadow 0.19s, transform 0.13s;
  box-shadow: 0 2px 14px #153b5b18;
  margin-top: 8px;
  margin-bottom: 10px;
  padding: 11px 32px;
  letter-spacing: 1.2px;
}
.cta.primary {
  background: var(--color-accent);
  color: var(--color-primary);
  text-shadow: 1px 2px 0 #fff9e1c5;
  border: 3px solid #c84c09cc;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--color-retro-red);
  color: #fffbe7;
  box-shadow: 0 4px 22px var(--color-accent), 0 2px 4px #c84c0936;
  transform: scale(1.04);
}
.cta.secondary {
  background: var(--color-primary);
  color: var(--color-accent);
  border: 3px solid var(--color-accent);
  box-shadow: 0 0 6px var(--color-primary);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--color-retro-yellow);
  color: var(--color-primary);
  box-shadow: 0 2px 18px #153b5b38;
}
a.cta {
  text-decoration: none;
  outline: none;
}

.button, .cookie-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1em;
  cursor: pointer;
  border-radius: 200px;
  padding: 10px 28px;
  border: none;
  font-weight: 700;
  margin-right: 10px;
  background: var(--color-accent);
  color: var(--color-primary);
  transition: background 0.13s, color 0.13s, box-shadow 0.12s;
}
.button:hover, .cookie-btn:hover,
.cookie-btn:focus {
  background: var(--color-retro-red);
  color: #fffbe7;
  box-shadow: 0 3px 14px #c84c0942;
}

/* ======================================================= */
/* HEADER & NAVIGATION                                     */
/* ======================================================= */
header {
  background: #F8F4EC;
  box-shadow: 0 2px 18px #153b5b0a;
  padding: 0 0 0 0;
  border-bottom: 3px solid var(--color-accent);
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 15px 20px;
  gap: 18px;
}
header img {
  height: 49px;
  margin-right: 16px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.02em;
  color: var(--color-primary);
  padding: 6px 13px;
  border-radius: 12px;
  margin: 0 2px;
  transition: background 0.13s, color 0.13s;
  font-weight: 600;
}
.main-nav a:not(.cta):hover, .main-nav a:focus {
  background: var(--color-accent);
  color: var(--color-retro-red);
}
.main-nav .cta {
  margin-left: 12px;
}

.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-primary);
  border: 3px solid var(--color-retro-blue);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  font-family: var(--font-display);
  cursor: pointer;
  margin-left: 19px;
  box-shadow: 0 3px 16px #eaba6b3a;
  transition: background 0.17s, color 0.11s;
  position: relative;
  z-index: 110;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-primary);
  color: var(--color-accent);
}

/* Hide on desktop, show on mobile */
@media (min-width: 1025px) {
  .mobile-menu-toggle { display: none; }
}

/* ======================================================= */
/* MOBILE MENU OVERLAY                                     */
/* ======================================================= */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: #FCF7EFee;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transform: translateX(100vw);
  transition: transform 0.38s cubic-bezier(0.79,0.3,0.33,1.16);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: #c84c09;
  color: #fffbe7;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 2.3rem;
  margin: 26px 0 12px 0;
  cursor: pointer;
  box-shadow: 0 3px 18px #c84c0983;
  align-self: flex-end;
  margin-right: 42px;
  position: relative;
  z-index: 320;
  transition: background 0.11s, color 0.11s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-retro-blue);
  color: #FFD77B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
  align-items: center;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.36rem;
  color: var(--color-primary);
  padding: 12px 32px;
  border-radius: 10px;
  font-weight: 800;
  min-width: 190px;
  transition: background 0.15s, color 0.14s;
  box-shadow: 0 0 6px #eaba6b41;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-retro-red);
}

/* Navigation Responsive Behaviors */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .mobile-menu { display: flex; }
}
@media (min-width: 1025px) {
  .mobile-menu { display: none!important; }
}

/* ======================================================= */
/* MAIN CONTENT & HERO SECTIONS                            */
/* ======================================================= */
.hero {
  background: linear-gradient(90deg, #FFD77B 0%, #F8F4EC 100%);
  border: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  min-height: 290px;
  border-radius: 0 0 26px 26px;
  margin-bottom: 54px;
  padding-top: 32px;
}
.hero .container {
  display: flex;
  align-items: center;
  min-height: 180px;
}
.hero .content-wrapper {
  gap: 16px;
  align-items: flex-start;
}

/********** CTA Section ************/
.cta-section {
  background: #f2e6cf;
  border: 2.5px dashed var(--color-accent);
  box-shadow: 0 8px 36px #eaba6b13;
  border-radius: 18px;
  align-items: center;
  text-align: center;
}
.cta-section h2 {
  color: var(--color-retro-red); font-size: 2rem; padding-bottom: 2px;
}
.cta-section .cta {
  margin-top: 14px;
}

/*********** Footer ************/
footer {
  background: var(--color-primary);
  color: var(--color-secondary);
  padding: 36px 0 30px 0;
  margin-top: 38px;
  border-top: 6px solid var(--color-retro-yellow);
  font-size: 1.06em;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 20px;
}
.footer-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.08em;
  font-weight: 800;
  background: transparent;
  padding: 5px 11px;
  border-radius: 8px;
  transition: background 0.12s, color .12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 9px;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-secondary);
  opacity: 0.93;
  font-size: 1em;
  margin-bottom: 6px;
  background: transparent;
}
.footer-contact img {
  width: 22px;
  height: 22px;
  filter: invert(93%) sepia(28%) saturate(363%) hue-rotate(358deg) brightness(97%) contrast(98%);
}

/* ======================================================= */
/* COOKIE CONSENT BANNER & MODAL                           */
/* ======================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fffbe7;
  color: var(--color-primary);
  border-top: 4px solid var(--color-retro-yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -3px 22px #c84c0940;
  z-index: 9999;
  padding: 24px 12px 20px 12px;
  width: 100%;
  gap: 18px;
  animation: cookiefadein 0.62s;
}
@keyframes cookiefadein {
  from { opacity: 0; transform: translateY(80px); }
  to { opacity: 1; transform: none; }
}
.cookie-banner p {
  font-size: 1.06em;
  margin-bottom: 8px;
  color: var(--color-primary);
}
.cookie-btn, .cookie-banner .cta {
  min-width: 130px;
  font-size: 1em;
  padding: 8px 24px;
  margin-right: 9px;
}
.cookie-btn.accept {
  background: var(--color-retro-green);
  color: var(--color-primary);
  font-weight: 900;
  border: 2.5px solid var(--color-retro-yellow);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-btn.reject {
  background: var(--color-retro-red);
  color: #fffbe7;
  font-weight: 700;
  border: 2.5px solid var(--color-retro-blue);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--color-retro-blue);
  color: #FFD77B;
}
.cookie-btn.settings {
  background: var(--color-retro-yellow);
  color: var(--color-primary);
  border: 2.5px solid var(--color-retro-green);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-retro-blue);
  color: #FFD77B;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  background: #fffbe7;
  border-radius: 20px;
  box-shadow: 0 6px 42px #153b5b33;
  z-index: 10001;
  padding: 38px 24px 28px 24px;
  min-width: 312px; max-width: 94vw;
  width: 340px;
  animation: cookiemodalfade 0.26s;
}
@keyframes cookiemodalfade {
  from { opacity: 0; transform: translate(-50%,0) scale(.9); }
  to   { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.cookie-modal h2 {
  color: var(--color-retro-red);
  margin-bottom: 14px;
  font-size: 1.24rem;
}
.cookie-modal ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 0;
  margin-bottom: 19px;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 9px;
  padding: 5px 12px 5px 7px;
  font-size: 1.04em;
}
.cookie-modal li label {
  font-weight: 600;
  color: var(--color-retro-blue);
}
.cookie-modal input[type="checkbox"]:not(:disabled) {
  width: 19px;
  height: 19px;
  accent-color: var(--color-retro-yellow);
}
.cookie-modal input[type="checkbox"]:disabled {
  accent-color: #A0B79E88;
  cursor: not-allowed;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 22px;
}
.cookie-modal .close {
  position: absolute;
  right: 15px;
  top: 11px;
  background: none;
  border: none;
  font-size: 1.4em;
  color: var(--color-retro-blue);
  cursor: pointer;
  font-weight: bold;
}
.cookie-backdrop {
  position: fixed;
  left: 0; top:0; right: 0; bottom: 0;
  background: #153b5b33;
  z-index: 10000;
}

/* ======================================================= */
/* RESPONSIVE DESIGN                                       */
/* ======================================================= */
@media (max-width: 1024px) {
  .container {
    max-width: 97vw;
    padding: 0 11px;
  }
  .main-nav { display: none; }
}
@media (max-width: 900px) {
  .feature-grid, .benefits-grid, .courses-list, .team-members, .card-container, .card-grid, .testimonial-slider, .testimonial-grid {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .content-wrapper { gap: 18px; }
  .section, .hero, .about-section, .about-short, .features, .cta-section,
  .team-section, .testimonials, .testimonials-preview, .contact-section, .faq-section, .legal-section, .thankyou-section {
    margin-bottom: 34px;
    padding: 18px 3vw;
    border-radius: 11px;
  }
  .hero {
    border-radius: 0 0 12px 12px;
    min-height: 130px;
    padding-top: 24px;
  }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.18rem; }
  h3 { font-size: 1em; }
  .contact-info {
    flex-direction: column;
    gap: 11px;
  }
  .footer-nav { flex-direction: column; gap: 10px; margin-bottom: 8px; }
  .footer-contact { flex-direction: column; gap: 7px; }
  .testimonial-slider, .testimonial-grid {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 540px) {
  html {font-size: 14px;}
  header .container {
    padding: 9px 6px 10px 10px;
    gap: 10px;
  }
  .hero .container { min-height: 110px; }
  .feature-grid > div, .benefits-grid > div, .team-members li, .courses-list li {
    padding: 14px 9px;
    min-width: 112px;
    font-size: 0.97em;
  }
  .testimonial-card {
    padding: 14px 11px;
    min-width: 170px;
    font-size: 0.96em;
  }
  .mobile-menu-close { width: 44px; height:44px; font-size:1.8rem; margin-right:16px; }
  .mobile-nav a { font-size: 1.06rem; min-width:45vw; }
  .cookie-modal { min-width:160px; width:96vw; padding:20px 6vw 23px 6vw; }
}

/* ======================================================= */
/* MICRO-INTERACTIONS & TRANSITIONS                        */
/* ======================================================= */
a, button, .cta, .card, .testimonial-card, .feature-grid>div, .courses-list li {
  transition: box-shadow 0.2s, background 0.19s, color 0.19s, transform 0.17s;
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

::-webkit-scrollbar {
  width: 7px;
  background: #FFD77B11;
}
::-webkit-scrollbar-thumb {
  background: #EABA6B88;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c84c0970;
}

/* Focus state for accessibility */
a:focus, button:focus, .cta:focus {
  outline: 3px solid var(--color-retro-red);
  outline-offset: 2px;
  z-index: 4;
}

/* ======================================================= */
/* RETRO/NOSTALGIC DECORATIVE ELEMENTS                     */
/* ======================================================= */
body {
  background: repeating-linear-gradient(135deg, #FCF7EF 0 12px, #fffbe7 12px 26px, #FCF7EF 26px 40px);
}
.section, .cta-section, .about-section, .features,
.services, .process, .testimonials, .faq-section, .legal-section, .testimonials-preview,
.contact-section, .thankyou-section {
  border-image: repeating-linear-gradient(-45deg, #EABA6B 0 10px, #fffbe7 10px 20px, #f3cfa5 20px 30px, #EABA6B 30px 40px) 60;
  border-width: 4px;
  border-style: solid;
  box-shadow: 0 4px 18px #153b5b18;
}

/*****************
 Overlay for retro border effect
*****************/
.section:before, .cta-section:before, .about-section:before, .features:before, .services:before, .process:before,
.testimonials:before, .faq-section:before, .legal-section:before, .testimonials-preview:before, .contact-section:before, .thankyou-section:before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 2.5px dashed #FFD77B80;
  pointer-events: none;
  z-index: 0;
  display: none;
}

/*****************
 Ensure no overlap for all major blocks
*****************/
.section, .card, .testimonial-card, .feature-grid > div, .courses-list li, .team-members li, .footer-contact span {
  margin-bottom: 20px;
}

/*****************
 Custom Z-Index for animations
*****************/
.cookie-banner, .cookie-modal { z-index: 10000; }
.mobile-menu { z-index: 150; }

/*****************
 Hide visually
*****************/
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0); border: 0;
}
