/* CSS RESET & NORMALIZATION */
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 {
  box-sizing: border-box;
  height: 100%;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #F6F6F6;
  color: #23476D;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #23476D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F4B942;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
}
ul {
  list-style: disc inside;
}
ol {
  list-style: decimal inside;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid #23476D;
  outline-offset: 2px;
}

/* UTILITIES */
.container {
  width: 100%;
  max-width: 1160px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  width: 100%;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-weight: 700;
  color: #23476D;
  line-height: 1.17;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.8rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
h4 { font-size: 1.15rem; margin-bottom: 10px; }
h5, h6 { font-size: 1rem; margin-bottom: 8px; }
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}
.subheadline {
  font-size: 1.17rem;
  color: #445a77;
}
p, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
}
strong, .service-price strong {
  font-weight: 700;
  color: #23476D;
}

/* HEADERS & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #E5E8EC;
  box-shadow: 0 2px 6px rgba(35,71,109,0.02);
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}
header img {
  height: 46px;
  margin-right: 32px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-left: 16px;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #23476D;
  padding: 6px 4px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F4B9421a;
  color: #23476D;
}
.cta-btn {
  background: #F4B942;
  color: #23476D;
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 700;
  font-size: 1.07rem;
  border-radius: 24px;
  padding: 12px 28px;
  box-shadow: 0 2px 14px rgba(244,185,66,0.06);
  margin-left: 24px;
  transition: background 0.2s, color 0.2s, box-shadow 0.16s;
  border: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #23476D;
  color: #fff;
  box-shadow: 0 4px 20px rgba(35,71,109,0.08);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #23476D;
  margin-left: 18px;
  z-index: 52;
  transition: color 0.16s;
}
.mobile-menu-toggle:focus {
  color: #F4B942;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.37s cubic-bezier(.85,.02,.2,1);
  z-index: 1001;
  box-shadow: 0 0 40px rgba(35,71,109,0.12);
  padding: 0 18px;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #23476D;
  align-self: flex-end;
  background: none;
  border: none;
  margin: 1.25rem 0 1rem 0;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F4B9421a;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}
.mobile-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.25rem;
  color: #23476D;
  padding: 14px 0 8px 0;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F4B9421a;
  color: #23476D;
}

@media (max-width: 1020px) {
  header .main-nav, header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

/* MAIN SECTIONS & SPACING */
.section,
.hero,
.hero-training,
.hero-mentorat,
.hero-projects,
.thankyou-section,
.case-studies,
.testimonials,
.about-section,
.team-section,
.approach-section,
.about-preview,
.services-section,
.method-section,
.modules-section,
.location-section,
.contact-section,
.legal-section,
.call-to-action {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 28px rgba(35,71,109,0.04);
  position: relative;
}
@media (max-width: 768px) {
  .section,
  .hero,
  .hero-training,
  .hero-mentorat,
  .hero-projects,
  .thankyou-section,
  .case-studies,
  .testimonials,
  .about-section,
  .team-section,
  .approach-section,
  .about-preview,
  .services-section,
  .method-section,
  .modules-section,
  .location-section,
  .contact-section,
  .legal-section,
  .call-to-action {
    margin-bottom: 36px;
    padding: 26px 6px;
    border-radius: 8px;
  }
}

/* FLEXBOX GRID & SPACING */
.features-grid,
.case-studies .features-grid,
.modules-section .features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(35,71,109,0.05);
  padding: 32px;
}
.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;
}
@media (max-width: 768px) {
  .features-grid,
  .card-container,
  .content-grid,
  .text-image-section {
    flex-direction: column !important;
    gap: 18px !important;
    align-items: stretch !important;
  }
}

/* FEATURE CARDS */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F6F6F6;
  border: 1px solid #E5E8EC;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(35,71,109,0.07);
  padding: 28px 24px 20px 24px;
  width: calc(25% - 18px);
  min-width: 240px;
  max-width: 100%;
  transition: transform .16s, box-shadow .16s;
}
.feature-item:hover, .feature-item:focus-within {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 6px 24px rgba(35,71,109,0.11);
  border-color: #F4B942;
}
.feature-item img {
  height: 48px; width: 48px; margin-bottom: 14px;
}
.feature-item h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}
.feature-item p, .feature-item .service-price {
  color: #445a77;
  font-size: 1rem;
}
.service-price {
  font-weight: 700;
  color: #23476D;
  margin-top: 4px;
}
@media (max-width: 1020px) {
  .feature-item { width: calc(50% - 12px); }
}
@media (max-width: 600px) {
  .feature-item { width: 100%; padding: 18px 12px 14px 12px; }
}

/* TESTIMONIALS */
.testimonials-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  background: #F6F6F6;
  border-radius: 12px;
  border: 1px solid #E5E8EC;
  min-width: 260px;
  max-width: 360px;
  box-shadow: 0 2px 14px rgba(35,71,109,0.06);
  font-family: 'Open Sans', Arial, sans-serif;
  color: #23476D;
  margin-bottom: 20px;
  transition: box-shadow .18s, border-color .18s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 22px rgba(244,185,66,0.13);
  border-color: #F4B942;
}
.testimonial-card p {
  font-style: italic;
  font-size: 1rem;
  color: #23476D;
}
.testimonial-author {
  color: #967A3A;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
@media (max-width: 900px) {
  .testimonials-row { flex-direction: column; gap: 18px; }
  .testimonial-card { min-width: 0; max-width: 100%; }
}

/* CLIENT LOGOS (on index) */
.client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  margin-top: 24px;
}
.client-logos img {
  display: block;
  height: 40px;
  width: auto;
  opacity: 0.78;
  transition: opacity 0.2s;
}
.client-logos img:hover {
  opacity: 1;
}
@media (max-width: 600px) {
  .client-logos { gap: 18px; }
  .client-logos img { height: 30px; }
}

/* ABOUT / TEAM / APPROACH SECTIONS */
.about-section h1, .team-section h2, .approach-section h2 { margin-bottom: 16px; }
.about-section ul, .team-section ul, .approach-section ul {
  margin-bottom: 16px;
  padding-left: 1.1em;
}
.approach-section strong {
  color: #23476D;
}

/* LOCATION & MAP */
.map-placeholder {
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(35,71,109,0.07);
  border: 1px solid #E5E8EC;
}
.map-placeholder img { display: block; width: 100%; }

/* THANK YOU PAGE */
.thankyou-section {
  text-align: center;
  align-items: center;
}

/* FOOTER */
footer {
  background: #23476D;
  color: #fff;
  border-top: 1.5px solid #E5E8EC;
  margin-top: 60px;
  font-size: 1rem;
  padding-top: 40px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
.footer-top img {
  height: 44px;
}
.footer-nav {
  display: flex;
  gap: 18px;
}
.footer-nav a {
  color: #F4B942;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  opacity: 0.86;
  transition: opacity 0.2s, color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  opacity: 1;
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a img {
  width: 28px; height: 28px;
  filter: grayscale(0.2);
  opacity: 0.92;
  transition: filter .18s, opacity .18s;
}
.footer-social a:hover img {
  filter: grayscale(0) drop-shadow(0 2px 4px #f4b94255);
  opacity: 1;
}
.footer-bottom {
  width: 100%;
  text-align: center;
  border-top: 1px solid #dcdcdc33;
  padding: 16px 0;
  font-size: 0.98rem;
  color: #e9e9e9;
}
@media (max-width: 900px) {
  .footer-top { flex-direction: column; gap: 18px; align-items: flex-start; }
  footer { padding-top: 22px; }
}

/* LEGAL SECTIONS */
.legal-section h1, .legal-section h2 {
  color: #23476D;
}
.legal-section a {
  color: #F4B942;
}
.legal-section ul, .legal-section ol {
  margin-bottom: 12px;
}

/* CALLOUT SECTIONS */
.call-to-action {
  background: #23476D;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 2.5px 16px rgba(35,71,109,0.07);
  text-align: center;
}
.call-to-action h2, .call-to-action h3, .call-to-action p {
  color: #fff;
}
.call-to-action .cta-btn {
  margin-top: 18px;
  background: #F4B942;
  color: #23476D;
}
.call-to-action .cta-btn:hover, .call-to-action .cta-btn:focus {
  background: #fff;
  color: #23476D;
  box-shadow: 0 2px 20px #F4B94225;
}

/* BUTTONS & INTERACTION  */
button,
.cta-btn {
  transition: background 0.14s, color 0.14s, box-shadow 0.14s, border-color 0.16s;
}

/* RESPONSIVE: LAYOUT AND TYPOGRAPHY */
@media (max-width: 1040px) {
  .container {
    max-width: 97vw;
    padding-left: 12px; padding-right: 12px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.18rem; }
  .container { padding: 0 6px; }
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 1099;
  background: #fff9eb;
  border-top: 1.5px solid #F4B942;
  box-shadow: 0 -2px 16px #F4B9420a;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 20px 17px 20px;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #23476D;
  font-size: 1rem;
  animation: cookieSlideIn .5s cubic-bezier(.7,.1,.37,1);
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  flex: 2;
  min-width: 140px;
  margin: 0;
  font-size: 0.99rem;
}
.cookie-consent-actions {
  display: flex;
  gap: 11px;
  align-items: center;
}
.cookie-btn {
  border-radius: 18px;
  padding: 8px 16px;
  border: 1.5px solid #F4B942;
  background: #fff;
  color: #23476D;
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 0.97rem;
  cursor: pointer;
  transition: background 0.17s, color 0.14s, border-color 0.13s;
}
.cookie-btn.accept {
  background: #F4B942;
  color: #23476D;
  font-weight: 600;
  border: 1.5px solid #F4B942;
}
.cookie-btn.reject {
  background: #fff;
  color: #23476D;
  border: 1.5px solid #23476D;
}
.cookie-btn.settings {
  background: #fff9eb;
  color: #967A3A;
  border: 1.2px dashed #F4B942;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #23476D;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #F4B942;
  color: #fff;
}
@media (max-width: 500px) {
  .cookie-consent-banner { flex-direction: column; padding-left: 10px; padding-right: 10px; }
  .cookie-consent-actions { gap: 7px; }
}

/* COOKIE PREFS MODAL */
.cookie-modal {
  position: fixed;
  z-index: 1100;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,71,109,0.23);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalAppear 0.17s cubic-bezier(.6,.1,.27,1);
  will-change: opacity;
}
@keyframes cookieModalAppear {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(35,71,109,0.13);
  padding: 36px 28px 18px 28px;
  max-width: 420px;
  width: 92vw;
  color: #23476D;
  font-family: 'Open Sans', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #23476D;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #F4B942;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #E5E8EC;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category span {
  font-size: 1rem;
  font-weight: 600;
}
.cookie-category label {
  font-size: 0.98rem;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #23476D;
  margin-left: 12px;
}
.switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
}
.switch input {
  opacity:0;
  width:0;
  height:0;
}
.slider {
  position:absolute;
  cursor:pointer;
  top:0;left:0;right:0;bottom:0;
  background-color:#F4B94240;
  border-radius: 16px;
  transition:.3s;
}
.slider:before {
  position:absolute;
  content: "";
  height:16px; width:16px;
  left:3px;bottom:3px;
  background-color:#fff;
  border-radius: 50%;
  transition:.2s;
  box-shadow:0 1px 2px #0001;
}
input:checked + .slider {
  background-color:#F4B942;
}
input:checked + .slider:before {
  transform: translateX(16px);
  background: #23476D;
}
.switch input:disabled + .slider {
  background-color: #bbb;
  opacity: 0.5;
  cursor: default;
}

/* FORM ELEMENTS */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border: 1px solid #E5E8EC;
  border-radius: 6px;
  padding: 9px 14px;
  background: #F6F6F6;
  transition: border-color 0.18s, box-shadow 0.12s;
  margin-bottom: 12px;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: #F4B942;
  box-shadow: 0 2px 8px #F4B94225;
}
label {
  font-size: 1rem;
  color: #23476D;
  font-weight: 600;
  font-family: 'Open Sans', Arial, sans-serif;
  display: block;
  margin-bottom: 6px;
}

/* SPECIFIC ADJUSTMENTS */
.hero, .hero-training, .hero-mentorat, .hero-projects {
  background: linear-gradient(133deg, #f7f7fb 70%, #F4B94215 100%);
  margin-bottom: 60px;
  border: none;
  box-shadow: none;
  text-align: left;
}
.hero h1, .hero-training h1, .hero-mentorat h1, .hero-projects h1 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #23476D;
  font-size: 2.7rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
.hero p, .hero-training p, .hero-mentorat p, .hero-projects p {
  color: #445A77;
  margin-bottom: 20px;
}
.hero .cta-btn, .hero-training .cta-btn, .hero-mentorat .cta-btn, .hero-projects .cta-btn {
  margin-top: 10px;
  background: #F4B942;
  color: #23476D;
}
@media (max-width: 700px) {
  .hero h1, .hero-training h1, .hero-mentorat h1, .hero-projects h1 {
    font-size: 1.4rem;
  }
}

/* CARD SECTIONS & GENERIC CARD */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

/* SPACING ENSURANCE */
.section > *,
.content-wrapper > *,
.card-container > *,
.features-grid > *,
.case-studies .features-grid > *,
.modules-section .features-grid > *,
.text-image-section > *,
.testimonials-row > *,
.footer-top > * {
  margin-bottom: 0;
}

/* PREVENT OVERLAP: overridden margin */
.section, .card, .feature-item, .testimonial-card {
  margin-bottom: 20px;
}

/* Z-INDEX CONTROL */
header, .mobile-menu-toggle, .mobile-menu, .cookie-consent-banner, .cookie-modal { z-index: 1001; }

/* ANIMATION UTILITIES */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* MISC: Hide unwanted scroll on mobile menu open*/
body.mobile-menu-open {
  overflow: hidden;
}

