/* ===============================
   CSS RESET & BOX SIZING
=============================== */
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
}
body {
  min-height: 100%;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  color: #1B2533;
  background: #F4F2EF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #21406D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #D9A441;
}
ul, ol {
  padding-left: 1.4em;
  margin: 0.5em 0 1.5em 0;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #21406D;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
p, li {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #1B2533;
  font-size: 1rem;
  margin-bottom: 14px;
}
strong {
  font-weight: bold;
  color: #21406D;
}
button {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

/* ================================
   BRAND COLORS AS VARS (FALLBACKS)
================================ */
:root {
  --color-primary: #21406D;
  --color-secondary: #D9A441;
  --color-accent: #F4F2EF;
  --color-bg: #F4F2EF;
  --color-text: #1B2533;
  --color-nav-bg: #ffffff;
  --color-footer-bg: #233450;
  --color-shadow: rgba(19,35,63,0.07);
}

/* ================================
   LAYOUT HELPERS & CONTAINER
================================ */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px var(--color-shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px var(--color-shadow);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card:last-child {
  margin-bottom: 0;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F4F2EF;
  border-radius: 12px;
  box-shadow: 0 3px 10px var(--color-shadow);
  min-width: 260px;
  max-width: 420px;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ================================
   HEADER/NAVIGATION
================================ */
header {
  background: var(--color-nav-bg);
  border-bottom: 1px solid #e3e6ee;
  padding: 0;
  z-index: 50;
  position: sticky;
  top: 0;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 40px;
}
.logo img {
  width: 140px;
  height: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.15s;
}
.main-nav a:hover,.main-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  display: inline-block;
  padding: 12px 28px;
  border-radius: 24px;
  box-shadow: 0 2px 7px var(--color-shadow);
  border: none;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s, transform 0.12s;
  outline: none;
}
.btn-primary:hover,.btn-primary:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 5px 16px #e6c07b40;
  transform: translateY(-2px) scale(1.04);
}
.btn-secondary {
  background: #fff;
  color: var(--color-primary);
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  display: inline-block;
  padding: 12px 28px;
  border-radius: 24px;
  border: 2px solid var(--color-primary);
  box-shadow: 0 1px 4px var(--color-shadow);
  transition: background 0.15s, color 0.15s, border 0.15s, transform 0.10s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-secondary);
  transform: scale(1.03);
}

/* ================================
   MOBILE MENU
================================ */
.mobile-menu-toggle {
  display: none;
  flex-shrink: 0;
  border: none;
  background: none;
  font-size: 2rem;
  color: var(--color-primary);
  border-radius: 6px;
  line-height: 1;
  width: 44px;
  height: 44px;
  margin-left: 18px;
  transition: background 0.15s, color 0.12s;
  z-index: 120;
}
.mobile-menu-toggle:focus {
  outline: 3px solid var(--color-secondary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #ffffff;
  box-shadow: 0 0 32px rgba(33,64,109,0.20);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 22px 22px 22px;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.7,.2,.31,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  color: var(--color-primary);
  background: none;
  border: none;
  z-index: 202;
  margin-bottom: 28px;
  transition: color 0.15s;
}
.mobile-menu-close:hover,.mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 12px 0;
  border-radius: 7px;
  width: 100%;
  transition: background 0.16s, color 0.14s;
}
.mobile-nav a:hover,.mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}

/* ================================
   HERO SECTION
================================ */
.hero {
  background: linear-gradient(180deg, #F4F2EF 0%, #e8eef7 100%);
  padding: 56px 0 56px 0;
  margin-bottom: 60px;
  display: flex;
}
.hero .container {
  align-items: stretch;
}
.hero .content-wrapper {
  gap: 24px;
  align-items: flex-start;
  max-width: 700px;
}
.hero h1 {
  font-size: 2.8rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.2rem;
  color: #253152;
  margin-bottom: 14px;
  max-width: 550px;
}
.hero .btn-primary {
  margin-top: 18px;
}

/* ================================
   FEATURES BLOCKS
================================ */
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px var(--color-shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.features h2 {
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 16px;
}
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 18px;
  margin-bottom: 8px;
  align-items: flex-start;
  list-style: none;
}
.features ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.07rem;
  color: #1B2533;
  background: var(--color-accent);
  padding: 10px 18px;
  border-radius: 7px;
  min-width: 200px;
  box-shadow: 0 1px 3px var(--color-shadow);
}
.features ul li img {
  width: 28px;
  height: 28px;
}

/* ================================
   COURSES HIGHLIGHT
================================ */
.course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin: 30px 0 20px 0;
}
.course-list > div {
  background: var(--color-accent);
  border-radius: 10px;
  box-shadow: 0 1px 7px var(--color-shadow);
  padding: 28px 24px 24px 24px;
  min-width: 250px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.17s, transform 0.14s;
}
.course-list > div:hover {
  box-shadow: 0 4px 14px #d9a44130;
  transform: translateY(-2px) scale(1.03);
}

.course-list h3, .course-list h2 {
  color: var(--color-primary);
}
.btn-secondary {
  align-self: flex-end;
}
.course-comparison ul, .results-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}
.course-comparison ul li, .results-list li {
  font-size: 1rem;
  background: #EAF0FA;
  border-radius: 6px;
  padding: 10px 16px;
}

/* ================================
   TESTIMONIALS & SLIDER
================================ */
.testimonials, .testimonials-real {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fafdff;
  border-radius: 14px;
  box-shadow: 0 1px 8px var(--color-shadow);
}
.testimonials h2, .testimonials-real h1 {
  color: var(--color-primary);
  margin-bottom: 14px;
}
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  color: #1B2533;
  box-shadow: 0 2px 12px var(--color-shadow);
  border-radius: 12px;
  padding: 28px 24px 22px 24px;
  min-width: 240px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 20px;
  border-left: 5px solid var(--color-secondary);
  transition: box-shadow 0.18s, transform 0.12s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px #d9a44133;
  transform: translateY(-2px) scale(1.03);
}
.testimonial-card p {
  color: #21406D;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.06rem;
  margin-bottom: 8px;
}
.testimonial-card strong {
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 700;
}
.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px var(--color-shadow);
}
.testimonial-meta {
  margin-top: 10px;
  font-size: 0.96rem;
  color: #253152;
  display: flex;
  align-items: center;
  gap: 8px;
}
.testimonial-meta span {
  color: var(--color-secondary);
  font-size: 1.15em;
}
blockquote {
  font-style: italic;
  border-left: 4px solid var(--color-primary);
  padding-left: 18px;
  color: #1b2533;
  background: #f3f7fa;
  margin: 18px 0 18px 0;
}

/* ================================
   CTA SECTION
================================ */
.cta {
  margin-bottom: 60px;
  background: linear-gradient(90deg, #21406D 0%, #507DC0 63%, #21406D 100%);
  color: #fff;
  padding: 50px 20px;
  border-radius: 14px;
  box-shadow: 0 2px 14px var(--color-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta .container, .cta .content-wrapper {
  align-items: center;
}
.cta h2 {
  color: #fff;
  font-size: 2rem;
}
.cta p {
  color: #eeece8;
  font-size: 1.18rem;
}
.cta .btn-primary {
  margin-top: 16px;
}

/* ================================
   ABOUT PAGES / TEAM / VALUES
================================ */
.about-section, .values-section, .team-section, .courses-overview, .resources-free, .faq-section, .community-invite, .features-benefits, .legal-section, .blog-section, .thank-you, .contact-info, .location-map {
  background: #fff;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 14px;
  box-shadow: 0 1px 8px var(--color-shadow);
}
.text-section {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.team-members {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 18px;
}
.team-profile {
  background: #F4F2EF;
  border-radius: 8px;
  padding: 24px;
  min-width: 220px;
  max-width: 320px;
  box-shadow: 0 1px 4px var(--color-shadow);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ================================
   BLOG ARTICLES
================================ */
.blog-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.blog-posts article {
  background: #F4F2EF;
  border-radius: 8px;
  padding: 22px 20px 16px 20px;
  box-shadow: 0 1px 6px var(--color-shadow);
  width: 100%;
  max-width: 350px;
  margin-bottom: 18px;
}
.tips-grid ul {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 26px;
  margin-top: 12px;
}
.tips-grid li {
  background: #F9F8F4;
  border-radius: 6px;
  padding: 9px 16px;
  color: #21406D;
  font-size: 15px;
}

/* ================================
   FAQ / ACCORDION
================================ */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
}
.faq-item {
  background: #f3f6fb;
  border-radius: 7px;
  padding: 22px 18px 13px 18px;
  min-width: 200px;
  max-width: 400px;
  box-shadow: 0 1px 6px var(--color-shadow);
  margin-bottom: 20px;
  flex: 1 1 220px;
}
.faq-item h3 {
  font-size: 1.08em;
}

/* ================================
   COMMUNITY/EVENTS/NETWORKING
================================ */
.events-list ul, .networking-opportunities ul, .features-benefits ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
}
.events-list ul li, .networking-opportunities ul li, .features-benefits ul li {
  background: #E7EDF8;
  border-radius: 7px;
  padding: 9px 16px;
  min-width: 190px;
}
.success-stories blockquote {
  margin: 18px 0 10px 0;
}

/* ================================
   CONTACT PAGE / THANK-YOU
================================ */
.address-details, .phone-email-hours, .cta-section {
  margin-bottom: 18px;
}
.address-details p , .phone-email-hours p{
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
}
.cta-section h2 {
  font-size: 1.12rem;
  margin-bottom: 6px;
}

/* ================================
   FOOTER
================================ */
footer {
  background: var(--color-footer-bg);
  color: #fff;
  padding: 45px 0 0 0;
  width: 100%;
  font-size: 0.98em;
  letter-spacing: 0.01em;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #e8eef7;
  opacity: 0.84;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 1em;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: background 0.14s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
  background: #20395e;
  opacity: 1;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.footer-brand img {
  width: 110px;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 25px;
  align-items: center;
  justify-content: center;
  color: #d5e2ff;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.98em;
}
.footer-contact img {
  width: 20px;
  height: 20px;
}

/* ================================
   COOKIE CONSENT BANNER & MODAL
================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  color: #1B2533;
  box-shadow: 0 -4px 16px #1b25330e;
  border-top: 1px solid #e4e9f2;
  z-index: 9999;
  padding: 26px 24px 24px 24px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  transition: transform 0.36s cubic-bezier(.5,.1,.3,1);
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(104%);
}
.cookie-banner .banner-message {
  color: #21406D;
  font-size: 1rem;
  flex: 1 1 auto;
  margin-right: 16px;
}
.cookie-banner .banner-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-banner button {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 0.99em;
  padding: 10px 20px;
  border-radius: 24px;
  border: none;
  font-weight: 600;
  margin-right: 0;
  cursor: pointer;
  transition: background 0.17s, color 0.13s, box-shadow 0.13s;
}
.cookie-banner .accept {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 1px 3px var(--color-shadow);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-banner .reject {
  background: #eff0f3;
  color: var(--color-primary);
  border: 1px solid #deeaf4;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #e7eaf5;
  color: var(--color-secondary);
}
.cookie-banner .settings {
  background: #fff;
  color: var(--color-secondary);
  border: 1px solid var(--color-secondary);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--color-secondary);
  color: #fff;
}
/* Cookie modal popup */
.cookie-modal {
  position: fixed;
  left: 50%;
  bottom: 50%;
  transform: translate(-50%, 60vh);
  opacity: 0;
  width: 96vw;
  max-width: 440px;
  background: #fff;
  color: #1B2533;
  border-radius: 16px;
  box-shadow: 0 8px 32px #21406d2f;
  padding: 32px 28px 24px 28px;
  z-index: 10000;
  transition: opacity 0.3s, transform 0.36s cubic-bezier(.5,.08,.37,1.01);
  pointer-events: none;
}
.cookie-modal.open {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.cookie-modal h2 {
  font-size: 1.32rem;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.cookie-modal .cookie-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 18px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.08em;
}
.cookie-modal .category-label {
  font-weight: 600;
  color: var(--color-primary);
}
.cookie-modal .toggle-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 44px;
  height: 24px;
}
.cookie-modal .toggle-switch input {
  appearance: none;
  width: 44px;
  height: 24px;
  background: #eaeef3;
  border-radius: 12px;
  outline: none;
  transition: background 0.18s;
  margin: 0;
  cursor: pointer;
}
.cookie-modal .toggle-switch input:checked {
  background: var(--color-secondary);
}
.cookie-modal .switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px var(--color-shadow);
  transition: left 0.2s;
}
.cookie-modal .toggle-switch input:checked + .switch-thumb {
  left: 23px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal button {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 0.99em;
  padding: 10px 20px;
  border-radius: 24px;
  border: none;
  margin-right: 0;
}
.cookie-modal .save {
  background: var(--color-primary);
  color: #fff;
}
.cookie-modal .save:hover, .cookie-modal .save:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-modal .cancel {
  background: #eee;
  color: var(--color-primary);
  border: 1px solid #deeaf4;
}
.cookie-modal .cancel:hover, .cookie-modal .cancel:focus {
  background: #e7eaf5;
  color: var(--color-secondary);
}

/* ================================
   UTILITIES & ANIMATIONS
================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(35px); }
  to {   opacity: 1; transform: none; }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(-30px); }
  to {   opacity: 1; transform: none; }
}
.section, .features, .courses, .testimonials, .cta, .about-section, .values-section, .team-section, .community-invite, .features-benefits, .blog-section, .thank-you {
  animation: fadeInUp 0.75s cubic-bezier(.5,.1,.3,1) both;
}
.hero .content-wrapper, .testimonial-slider, .testimonial-list, .content-grid, .card-container {
  animation: fadeInRight 1s cubic-bezier(.6,.25,.18,1) both;
}

/* ===================================
   RESPONSIVE — MOBILE FIRST APPROACH
====================================*/
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .hero .container, .hero .content-wrapper {
    padding: 0 8px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 15px;
  }
  .footer-nav {
    gap: 12px 13px;
    font-size: 0.94em;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.45rem;
  }
  .hero {
    padding: 30px 0 35px 0;
  }
  .features, .about-section, .values-section, .team-section, .courses-overview, .courses, .testimonials, .cta, .community-invite, .features-benefits, .resources-free, .faq-section, .legal-section, .blog-section, .thank-you, .contact-info, .location-map {
    padding: 24px 6px;
    margin-bottom: 36px;
    border-radius: 12px;
  }
  .footer-contact, .team-members, .card-container, .course-list, .content-grid, .testimonial-list, .testimonial-slider, .blog-posts, .faq-list {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    min-width: unset;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
  }
}
@media (max-width: 600px) {
  html {
    font-size: 14px;
  }
  .container {
    max-width: 100vw; padding: 0 2px;
  }
  .hero .container { padding: 0 2px; }
  .footer-brand img {
    width: 88px;
  }
  .footer-contact {
    gap: 10px 4px;
  }
  .about-section, .values-section, .team-section, .courses-overview, .courses, .testimonials, .cta, .community-invite, .features-benefits, .resources-free, .faq-section, .legal-section, .blog-section, .thank-you, .contact-info, .location-map {
    border-radius: 0;
    box-shadow: none;
    padding: 14px 2px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.93em;
    padding: 17px 8px 14px 8px;
  }
  .cookie-banner .banner-actions {
    flex-direction: column;
    width: 100%;
    gap: 7px;
  }
  .cookie-modal {
    padding: 17px 8px 12px 8px;
    border-radius: 12px;
    width: 97vw;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
  }
  .testimonial-slider, .testimonial-list, .card-container, .team-members, .content-grid, .blog-posts, .course-list, .faq-list {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .features ul, .course-comparison ul, .results-list, .events-list ul, .networking-opportunities ul, .features-benefits ul, .tips-grid ul {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
}

/* ESSENTIAL SPACING ENFORCEMENT */
.section, .card, .testimonial-card, .faq-item, .team-profile, .blog-posts article, .features ul li, .course-list > div {
  margin-bottom: 20px;
}
.section:last-child, .card:last-child, .testimonial-card:last-child, .faq-item:last-child, .team-profile:last-child, .blog-posts article:last-child, .features ul li:last-child, .course-list > div:last-child {
  margin-bottom: 0;
}
