/* --- 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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F9F7F3;
  color: #2E3068;
}
ol, ul {
  list-style: none;
  padding: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
button {
  cursor: pointer;
  font: inherit;
  border: none;
  background: none;
}
:root {
  --primary: #2E3068;
  --secondary: #FFFFFF;
  --accent: #7E57C2;
  --accent-darker: #54339A;
  --bg: #F9F7F3;
  --warm1: #FFE2C9;
  --warm2: #FAF3E7;
  --warm3: #FFEBD2;
  --shadow1: 0 2px 12px rgba(46,48,104,0.07), 0 1.5px 4px rgba(58,16,73,0.08);
  --shadow2: 0 8px 24px rgba(126,87,194,0.13), 0 1.5px 4px rgba(58,16,73,0.07);
}

/* --- BASE TYPOGRAPHY / FONTS --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: var(--bg);
  color: var(--primary);
  min-height: 100vh;
  font-size: 16px;
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 2rem;   line-height: 1.22; margin-bottom: 20px; }
h3 { font-size: 1.3rem; line-height: 1.3;  margin-bottom: 12px; }
h4, h5, h6 { font-weight: 600; }
p { margin-bottom: 16px; color: #312f50; }
strong { color: var(--accent-darker); font-weight: 600; }

/* --- CONTAINER AND LAYOUT --- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--warm2);
  border-radius: 32px;
  box-shadow: var(--shadow1);
}

/* --- HEADER STYLES --- */
header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--secondary);
  box-shadow: 0 2px 10px rgba(126,87,194,0.07);
  position: relative;
  z-index: 20;
}
.logo img { height: 46px; border-radius: 16px; }

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-left: 32px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 17px;
  color: var(--primary);
  padding: 6px 2px;
  border-radius: 8px;
  transition: background .18s, color .18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--warm3);
  color: var(--accent);
}

.cta-btn {
  background: var(--accent);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  border-radius: 30px;
  padding: 12px 30px;
  box-shadow: var(--shadow2);
  margin-left: 28px;
  transition: background .22s, box-shadow .18s, transform .16s;
  border: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent-darker);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 13px 35px rgba(126,87,194,0.12);
}

/* --- MOBILE MENU & BURGER --- */
.mobile-menu-toggle {
  background: var(--accent);
  color: #fff;
  font-size: 2rem;
  border-radius: 14px;
  padding: 8px 16px;
  margin-left: 16px;
  display: none;
  transition: background .18s, transform .13s;
  z-index: 30;
  outline: none;
  border: none;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--accent-darker);
  transform: scale(1.07);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(46,48,104,0.95);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.63,.03,.25,1);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  margin: 20px 28px 0 0;
  align-self: flex-end;
  padding: 8px 14px;
  border-radius: 14px;
  transition: background .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(126,87,194,0.19);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 24px 44px;
  gap: 22px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  padding: 12px 0;
  transition: color .19s;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--warm1);
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 20px; margin-left: 18px;
  }
  .cta-btn {
    margin-left: 12px;
    font-size: 17px;
    padding: 11px 22px;
  }
}
@media (max-width: 860px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .cta-btn {
    margin-left: 8px;
  }
}
@media (max-width: 540px) {
  header { padding: 10px 12px; }
}

/* --- HERO SECTIONS --- */
.hero {
  background: linear-gradient(90deg, var(--warm1) 70%, var(--warm3) 100%);
  min-height: 290px;
  border-radius: 0 0 42px 42px;
  box-shadow: var(--shadow1);
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  padding: 50px 0 30px 0;
}
.hero .container {
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero .content-wrapper {
  gap: 12px;
  padding-right: 32px;
  max-width: 670px;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.7rem;
  letter-spacing: 0.02em;
}
.hero p {
  font-size: 1.18rem;
  color: #454356;
  margin-bottom: 14px;
}

/* --- FLEXBOX CONTAINER CLASSES --- */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 23px;
  background: var(--secondary);
  box-shadow: var(--shadow1);
  padding: 32px 26px;
  flex: 1 1 290px;
  min-width: 260px;
  transition: box-shadow .18s, transform .16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 13px 38px rgba(126,87,194,0.12);
  transform: translateY(-2px) scale(1.012);
}

.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: 16px;
  padding: 20px 28px 21px 28px;
  background: var(--secondary);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(46,48,104,0.09);
  margin-bottom: 24px;
  max-width: 560px;
}
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* --- SERVICE CARDS & LISTS --- */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
  margin-top: 4px;
}
.service-card {
  background: var(--warm2);
  border-radius: 18px;
  box-shadow: var(--shadow1);
  padding: 28px 21px 28px 21px;
  flex: 1 1 249px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow .18s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-card h3 {
  font-size: 1.18rem;
  margin-bottom: 3px;
}
.service-card .service-price, .service-card span {
  color: var(--accent-darker);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  margin-top: 6px;
  letter-spacing: 0.02em;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 9px 25px rgba(126,87,194,0.13), 0 3px 10px rgba(58,16,73,0.07);
}

/* --- FEATURES SECTION --- */
.features ul, .features ol {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.features li, .features ol > li {
  background: var(--secondary);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(46,48,104,0.06);
  padding: 21px 18px 21px 16px;
  flex: 1 1 240px;
  min-width: 200px;
  font-size: 1.03rem;
  margin-bottom: 20px;
  color: #433f5f;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow .17s, background .16s;
}
.features li img {
  height: 32px;
  width: 32px;
  margin-right: 8px;
}
.features li:hover {
  background: var(--warm1);
  box-shadow: 0 8px 22px rgba(126,87,194,0.09);
}

/* --- TESTIMONIALS --- */
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--warm3);
  border-radius: 32px;
  box-shadow: var(--shadow1);
}
.testimonials h2 {
  margin-bottom: 24px;
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.12rem;
}
.testimonial-card span {
  color: #5f567c;
  font-size: 0.97rem;
  font-style: italic;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* --- ABOUT DETAILS, CASE STUDY, FACILITATORS --- */
.about-details, .case-study, .facilitators {
  background: var(--secondary);
  border-radius: 20px;
  box-shadow: var(--shadow1);
  padding: 32px 26px;
  margin-bottom: 28px;
}

/* --- LEGAL SECTIONS --- */
.legal {
  background: var(--secondary);
  border-radius: 24px;
  box-shadow: var(--shadow1);
  padding: 44px 32px;
  margin-bottom: 48px;
  color: #3B325C;
}
.legal ul {
  margin: 0 0 12px 24px;
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: #fff;
  font-size: 1.01rem;
  box-shadow: 0 -2px 12px rgba(46,48,104,0.04);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 38px 20px 20px 20px;
}
.footer-top a img {
  height: 38px;
  border-radius: 12px;
}
.footer-nav {
  display: flex;
  gap: 24px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  opacity: 0.93;
  padding: 6px 2px;
  border-radius: 8px;
  transition: background .14s, color .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--accent-darker);
  color: #fff;
  opacity: 1;
}
.footer-bottom {
  width: 100%;
  text-align: center;
  padding: 15px 8px 18px 8px;
  background: rgba(46,48,104,0.94);
  letter-spacing: 0.01em;
  font-size: 0.98rem;
  border-radius: 0 0 12px 12px;
}

/* --- CONTACT DETAILS / LISTS --- */
.contact-details ul, .about-details ul, .features ul, .features ol {
  margin-block: 0;
}
.contact-details li, .about-details li, .features li {
  margin-bottom: 12px;
  font-size: 1.06rem;
}

/* --- BUTTONS & INTERACTIVES --- */
button, .cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  outline: none;
  border-radius: 30px;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  transition: background .19s, color .15s, box-shadow .18s, transform .13s;
  box-shadow: var(--shadow1);
}
button:hover, button:focus,
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent-darker);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  background: #fff5e7;
  color: #47393b;
  box-shadow: 0 4px 20px rgba(126,87,194,0.15);
  border-radius: 22px;
  padding: 30px 24px 26px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  min-width: 290px;
  z-index: 1234;
  animation: cookieSlideUp .5s cubic-bezier(.35,1.51,.3,1);
}
@keyframes cookieSlideUp {
  from { transform: translateX(-50%) translateY(140px); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0); opacity: 1; }
}
.cookie-banner-btns {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px;
}
.cookie-banner .accept-btn {
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 16px;
  transition: background .16s, transform .13s;
}
.cookie-banner .accept-btn:hover { background: var(--accent-darker); }
.cookie-banner .reject-btn {
  background: #fff;
  color: var(--primary);
  border: 1.3px solid var(--accent);
  padding: 10px 22px;
  border-radius: 16px;
  transition: background .18s, color .16s;
}
.cookie-banner .reject-btn:hover { background: var(--warm3); color: var(--accent-darker); }
.cookie-banner .settings-btn {
  background: #fff;
  color: var(--accent);
  border: 1.3px solid var(--accent);
  padding: 10px 18px;
  border-radius: 16px;
  transition: background .16s, color .15s;
}
.cookie-banner .settings-btn:hover { background: var(--warm1); color: var(--primary); }

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed; inset: 0 0 0 0;
  background: rgba(60,47,91,0.48);
  z-index: 1999;
  display: flex; align-items: center; justify-content: center;
  animation: modalFadeIn .25s cubic-bezier(.29,.91,.6,1);
}
@keyframes modalFadeIn {
  from { opacity: 0; } to { opacity: 1; } 
}
.cookie-modal {
  background: #fff;
  color: var(--primary);
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(126,87,194,0.18);
  max-width: 378px;
  width: 94vw;
  padding: 28px 24px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalSlideUp .36s cubic-bezier(.20,1.28,.38,1);
}
@keyframes modalSlideUp {
  from { transform: scale(.89) translateY(20%); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.18rem;
  margin-bottom: 5px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.cookie-category:last-child { border: none; }
.cookie-category label { font-weight: 500; color: var(--primary); }
/* Custom toggle */
.cookie-toggle {
  width: 46px; height: 26px;
  background: #EBD6FF;
  border-radius: 18px;
  position: relative;
  margin-right: 5px;
  flex-shrink: 0;
  border: 1.5px solid #dadada;
  transition: background .18s;
}
.cookie-toggle input[type=checkbox] {
  opacity: 0;
  width: 0; height: 0;
  position: absolute;
}
.cookie-toggle span {
  position: absolute;
  left: 4px; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform .19s, background .13s;
  box-shadow: 0 2px 4px rgba(126,87,194,0.11);
}
.cookie-toggle input:checked + span {
  background: var(--accent);
  transform: translateX(20px);
}
.cookie-toggle input:checked ~ .cookie-toggle {
  background: var(--accent-darker);
}
.cookie-category.disabled label {
  color: #bbb!important;
}
.cookie-modal .modal-btns {
  display: flex; gap: 13px; justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal .modal-btns button {
  padding: 9px 19px;
  border-radius: 15px;
  font-size: 1rem;
  font-weight: 600;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1080px) {
  .container { max-width: 96vw; }
  .hero .content-wrapper { max-width: 99vw; }
}
@media (max-width: 860px) {
  .section, .testimonials, .legal {
    padding: 30px 10px;
    border-radius: 18px;
  }
  .hero { padding: 32px 0 18px 0; }
  .footer-top { padding: 28px 10px 16px 10px; }
}
@media (max-width: 700px) {
  .features ul, .features ol, .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .footer-top, .footer-nav { flex-direction: column; gap: 14px; }
  .footer-nav { align-items: flex-start; }
}
@media (max-width: 580px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  .hero h1 { font-size: 1.45rem; }
  .section, .testimonials, .legal { padding: 18px 2px; }
  .cookie-banner { min-width: 92vw; }
  .about-details, .case-study, .facilitators, .card { padding: 13px 7px; }
  .service-card { padding: 13px 6px; }
}

/* --- MICRO-INTERACTIONS & DECORATIVE EFFECTS --- */
a, button, .cta-btn {
  transition: background .16s, color .14s, transform .13s, box-shadow .15s;
}
.card, .service-card, .testimonial-card, .about-details, .case-study, .facilitators {
  transition: box-shadow .16s;
}
.card:hover, .service-card:hover, .testimonial-card:hover, .about-details:hover, .case-study:hover, .facilitators:hover {
  box-shadow: 0 13px 35px rgba(126,87,194,0.11);
}

/* --- UTILITY CLASSES --- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.pt-8 { padding-top: 8px !important; }
.pb-8 { padding-bottom: 8px !important; }

/* --- Z-INDEX FIXES FOR NAV & MODALS --- */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
  z-index: 1000;
}

/* --- ACCESSIBILITY: FOCUS STATES --- */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px dashed var(--accent);
  outline-offset: 2px;
}

/* --- END OF FILE --- */
