/* ----------------------------------------------------
   CSS RESET & BASELINE 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;
}

html {
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Open Sans", Arial, sans-serif;
  background: #fff;
  color: #151923;
  line-height: 1.6;
  font-size: 16px;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

iframe {
  border: none;
}
a {
  color: #295AD2;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F4B41A;
  outline: none;
  text-decoration: underline;
}

input, select, textarea, button {
  font-family: inherit;
  font-size: inherit;
  box-sizing: border-box;
}

button {
  cursor: pointer;
}
ul, ol {
  list-style-position: inside;
  margin: 12px 0 20px 0;
}

/* ----------------------------------------------------
   BRAND COLORS & TYPOGRAPHY VARS
----------------------------------------------------- */
:root {
  --color-primary: #295AD2;
  --color-secondary: #F4B41A;
  --color-accent: #FFFFFF;
  --color-grey-light: #F7F9FC;
  --color-grey: #ECEFF4;
  --color-grey-dark: #BABEC5;
  --color-text: #151923;
  --color-bg: #FFFFFF;
  --color-shadow: rgba(30, 60, 120, 0.09);
  --color-shadow-card: rgba(41, 90, 210, 0.08);
  --border-radius: 14px;
  --shadow-card: 0 2px 16px var(--color-shadow-card);
  --transition: 0.22s cubic-bezier(.5,1.45,.52,1);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* ----------------------------------------------------
   STRUCTURE & LAYOUT PATTERNS
----------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
  min-height: 400px;
}

section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}

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

.text-section {
  align-items: flex-start;
  gap: 18px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: var(--color-accent);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover, .feature-item:hover {
  box-shadow: 0 6px 28px rgba(41,90,210,0.13);
  transform: translateY(-4px) scale(1.008);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.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: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-grey-light);
  box-shadow: 0 2px 12px rgba(21, 25, 35, 0.03);
  border-radius: var(--border-radius);
  margin-bottom: 28px;
  min-width: 0;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px;
  background: var(--color-accent);
  border-radius: var(--border-radius);
  box-shadow: 0 1.5px 8px var(--color-shadow);
  min-width: 220px;
  flex: 1 1 220px;
  transition: box-shadow var(--transition), transform var(--transition);
  margin-bottom: 20px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

/* ---- Utility: quick links ---- */
.quick-links {
  margin-top: 16px;
  font-size: 0.95em;
  color: var(--color-grey-dark);
  word-break: break-word;
}
.quick-links a {
  color: var(--color-primary);
  margin: 0 3px;
}

/* ----------------------------------------------------
   TYPOGRAPHY & HEADINGS
----------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-text);
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.25rem; /* 36px */
  font-weight: 800;
  margin-bottom: 8px;
}
h2 {
  font-size: 1.625rem; /* 26px */
  font-weight: 700;
  margin-bottom: 4px;
}
h3 {
  font-size: 1.2rem; /* 19px */
  font-weight: 600;
  margin-bottom: 2px;
}
h4 {
  font-size: 1.06rem;
  font-weight: 500;
}
strong, b {
  font-weight: 700;
  color: var(--color-primary);
}
p, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
}
blockquote {
  font-size: 1.06rem;
  font-style: italic;
  line-height: 1.65;
  color: #181b23;
  border-left: 3px solid var(--color-secondary);
  margin: 0 0 10px 0;
  padding-left: 18px;
  background: none;
}
.testimonial-author {
  font-family: var(--font-display);
  font-size: 1em;
  font-weight: 600;
  color: #46494e;
  letter-spacing: 0.01em;
}

.values-list, .feature-bullets, .mentoring-process-steps, .mentoring-outcomes, .event-benefits {
  margin-left: 6px;
  padding-left: 0;
  gap: 8px;
  display: flex;
  flex-direction: column;
}

/* ----------------------------------------------------
   BUTTONS & CTA
----------------------------------------------------- */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 11px 32px;
  border-radius: 38px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: none;
  outline: none;
  box-shadow: 0 1.5px 7px var(--color-shadow);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-secondary {
  background: var(--color-secondary);
  color: var(--color-text);
}
.btn-primary:hover, .btn-secondary:hover,
.btn-primary:focus, .btn-secondary:focus {
  background: #1B3074;
  color: #fff;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 6px 22px rgba(41, 90, 210, 0.09);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #E2A904;
  color: #fff;
}

/* For cookie consent/banner */
.btn-accept, .btn-reject, .btn-cookie-settings {
  font-family: var(--font-display);
  font-size: 1em;
  border-radius: 32px;
  border: none;
  padding: 0.5em 1.4em;
  margin: 0 7px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.btn-accept {
  background: var(--color-primary);
  color: #fff;
}
.btn-cookie-settings {
  background: #fff;
  border: 1px solid var(--color-grey-dark);
  color: var(--color-text);
}
.btn-reject {
  background: var(--color-grey-light);
  color: #B60000;
  border: 1px solid #C88A89;
}
.btn-accept:hover, .btn-accept:focus {
  background: #1B3074;
}
.btn-cookie-settings:hover, .btn-cookie-settings:focus {
  background: var(--color-grey);
  color: var(--color-primary);
}
.btn-reject:hover, .btn-reject:focus {
  background: #fff2f2;
  color: #960000;
}

/* ----------------------------------------------------
   HEADER & NAVIGATION
----------------------------------------------------- */
header {
  background: #fff;
  border-bottom: 1.5px solid #F1F3F8;
  box-shadow: 0 1px 8px rgba(41,90,210,0.027);
  position: sticky;
  top: 0;
  z-index: 999;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  color: var(--color-text);
  font-weight: 500;
  font-size: 1rem;
  padding: 2px 10px 2px 8px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
header nav a:hover,
header nav a:focus {
  background: var(--color-grey-light);
  color: var(--color-primary);
}
header nav .btn-primary {
  margin-left: 8px;
}

header img {
  height: 40px;
  width: auto;
}

/* --- Mobile Menu Styles --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  margin-left: 18px;
  color: var(--color-primary);
  padding: 3px 7px;
  border-radius: 8px;
  transition: background var(--transition);
  z-index: 9999;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #f3f6fe;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.41,1.18,.56,1);
  z-index: 1000;
  box-shadow: -1px 0 30px rgba(41,90,210,0.12);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 32px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--color-primary);
  align-self: flex-end;
  margin: 0 23px 18px 0;
  padding: 5px 7px;
  border-radius: 8px;
  transition: background var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F4B41A22;
  color: #C58F10;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-left: 24px;
  margin-top: 15px;
}
.mobile-nav a {
  font-size: 1.12rem;
  color: var(--color-text);
  padding: 7px 5px;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-primary);
  background: var(--color-grey-light);
}

/* Hide normal nav + show burger on mobile */
@media (max-width: 979px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (min-width: 980px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ----------------------------------------------------
   HERO, FEATURED, TESTIMONIALS, and CARDS
----------------------------------------------------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  box-sizing: border-box;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0;
  padding: 0;
}
.service-list li {
  background: var(--color-accent);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: 20px 28px;
  margin-bottom: 20px;
}
.service-list h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.mentoring-process-steps, .mentoring-outcomes {
  gap: 6px;
}

.values-list li, .feature-bullets li, .mentoring-process-steps li, .mentoring-outcomes li, .event-benefits li {
  margin-bottom: 3px;
  color: #1e2433;
}

.team-members {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}
.team-member {
  background: var(--color-grey-light);
  padding: 22px 16px;
  border-radius: var(--border-radius);
  min-width: 210px;
  flex: 1 1 220px;
  box-shadow: 0 2px 8px rgba(41,90,210,0.04);
  margin-bottom: 20px;
}

.event-description, .event-schedule, .event-pricing, .custom-curriculum-overview, .pricing-information {
  margin-bottom: 18px;
}
.event-schedule ul, .event-benefits {
  margin-left: 5px;
  padding-left: 0;
}

.workshop-details {
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ----------------------------------------------------
   TABLES
----------------------------------------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1em;
  background: #fff;
  margin-bottom: 32px;
  margin-top: 8px;
}
thead th {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 2px solid var(--color-grey);
  text-align: left;
  padding: 10px 8px;
  letter-spacing: 0.01em;
}
tbody td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--color-grey-light);
}
tr:last-child td {
  border-bottom: none;
}
caption {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.08em;
  margin-bottom: 8px;
}

/* ----------------------------------------------------
   FOOTER
----------------------------------------------------- */
footer {
  border-top: 1.5px solid #F1F3F8;
  background: #fff;
  padding: 0 0 24px 0;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 32px;
}
.footer-logo img {
  height: 36px;
  width: auto;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin: 12px 0;
}
footer nav a {
  color: var(--color-grey-dark);
  font-family: var(--font-display);
  font-size: 1em;
  transition: color var(--transition);
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-primary);
  text-decoration: underline;
}
.footer-contact {
  font-size: 0.98em;
  color: #262A36;
  margin-top: 2px;
  line-height: 1.54;
}

/* ----------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
----------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100%;
  background: #fff;
  color: var(--color-text);
  box-shadow: 0 -1px 20px rgba(60,90,210,0.10);
  border-top: 2px solid var(--color-grey);
  z-index: 2000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 18px 24px;
  font-size: 0.98rem;
  gap: 18px;
  animation: cookie-banner-in 0.4s ease;
}
@keyframes cookie-banner-in {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1;} 
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(30,40,70,0.17);
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fade-in 0.18s ease;
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: var(--border-radius);
  max-width: 400px;
  width: 96%;
  box-shadow: 0 5px 32px rgba(41,90,210,0.13);
  padding: 28px 18px 22px 22px;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: scale-in 0.2s cubic-bezier(.39,1.49,.41,1);
}
@keyframes scale-in {
  from { transform: scale(0.93); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-family: var(--font-display);
  font-size: 1.17em;
  font-weight: 700;
}
.cookie-category {
  display: flex; align-items: center;
  justify-content: space-between;
  margin: 0 0 8px 0;
}
.cookie-category label {
  font-size: 1em;
}
.cookie-toggle {
  margin-left: 6px;
  accent-color: var(--color-primary);
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 9px;
  justify-content: flex-end;
  margin-top: 10px;
}

/* ----------------------------------------------------
   RESPONSIVE DESIGN (MOBILE FIRST)
----------------------------------------------------- */
@media (max-width: 1080px) {
  .container {
    max-width: 94vw;
  }
}
@media (max-width: 900px) {
  .feature-grid, .team-members, .content-grid, .card-container {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .feature-item {
    min-width: 0;
  }
  .footer-logo, .footer-contact {
    margin-bottom: 20px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
    max-width: 99vw;
  }
  section {
    padding: 32px 0 32px 0;
    margin-bottom: 40px;
  }
  .feature-grid, .team-members, .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .content-wrapper {
    gap: 20px;
  }
  .service-list li, .team-member, .feature-item {
    padding: 15px 12px;
  }
  h1 {
    font-size: 1.58rem;
  }
  h2 {
    font-size: 1.22rem;
  }
}
@media (max-width: 540px) {
  .footer-logo img {
    height: 30px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 4vw 14px 4vw;
    font-size: 0.96rem;
    gap: 13px;
  }
  .cookie-modal {
    padding: 16px 7px 13px 12px;
    min-width: 0;
  }
  .btn-primary, .btn-secondary {
    font-size: 0.95em;
    padding: 10px 22px;
  }
  .btn-accept, .btn-reject, .btn-cookie-settings {
    font-size: 0.97em;
    padding: 0.5em 1em;
  }
}

/* ----------------------------------------------------
    MISC & MICRO-INTERACTIONS
----------------------------------------------------- */
.feature-item img {
  height: 40px;
  width: 40px;
  margin-bottom: 0;
}
.feature-item h3, .team-member h3 {
  margin: 0 0 2px 0;
  color: var(--color-primary);
}
.feature-item p {
  margin-bottom: 0;
}

::-webkit-input-placeholder { color: #999; }
::-moz-placeholder { color: #999; }
:-ms-input-placeholder { color: #999; }
::placeholder { color: #999; }

/* Focus state for accessibility */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus, input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Disable text selection on icons */
.mobile-menu-toggle, .mobile-menu-close {
  user-select: none;
}

/* Prevent content overlap */
.card, .feature-item, .team-member, .service-list li, .testimonial-card {
  margin-bottom: 20px;
}

/* Extra breathing room around stacked elements */
.content-wrapper > *:not(:last-child) {
  margin-bottom: 8px;
}

/* Remove gap at end of testimonials */
.testimonial-card:last-child {
  margin-bottom: 0;
}

/* ----------------------------------------------------
   PRINT: Hide nav/menu/banners by default
----------------------------------------------------- */
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal-overlay, footer {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #000 !important;
  }
}