/* ScrumCraft Additional CSS (v2.7): header menu only.
   Appearance > Customise > Additional CSS: select everything there, replace it with this file, then Publish.
   The AI services page styles live inside its own HTML block, so they are NOT in here. */

/* =========================================================
   ScrumCraft header menu
   ========================================================= */

/* 1. Services and Community link to sections of the home page, so
      WordPress marks them as the current page there. Show them normally. */
.main-navigation > div > ul > li.menu-item-has-children.current-menu-item > a {
  color: #3a2359 !important;
  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}
.main-navigation > div > ul > li.menu-item-has-children.current-menu-item > a:hover {
  color: #692fb9 !important;
}

/* 2. "Book a chat" as a pink button.
      Give that menu item the CSS class: sc-nav-cta */
.main-navigation .sc-nav-cta > a {
  margin-left: 8px;
  padding: 12px 22px !important;
  border-radius: 999px;
  background: #ed174c;
  color: #ffffff !important;
  font-weight: 700;
  line-height: 1.2 !important;
  text-decoration: none !important;
}
.main-navigation .sc-nav-cta > a:hover {
  background: #d2143f;
}

/* 3. Dropdown panels */

/* Remove the theme's dashes */
.main-navigation .sub-menu .menu-item a::before {
  content: none !important;
  counter-increment: none !important;
}

@media only screen and (min-width: 560px) {
  /* Open each dropdown right under its own menu item */
  .main-navigation > div > ul > li {
    position: relative !important;
  }
  .main-navigation > div > ul > li > .sub-menu {
    left: auto !important;
    right: 0 !important;
    width: max-content;
    min-width: 220px;
    max-width: 340px;
    margin-top: 6px !important;
    padding: 14px !important;
    border: 1px solid #eee6f4;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 28px 56px -24px rgba(62, 34, 92, .4) !important;
  }
  .main-navigation > div > ul > li > .sub-menu li {
    width: auto;
  }
}

/* Every dropdown link: smaller, calmer text */
.main-navigation .sub-menu .menu-item a {
  padding: 8px 12px !important;
  border-radius: 10px;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: #3a2359 !important;
  text-decoration: none !important;
}
.main-navigation .sub-menu .menu-item a:hover {
  background: #f6f1fa;
  color: #692fb9 !important;
}

/* First level inside a dropdown, e.g. Training, Consulting, About */
.main-navigation > div > ul > li > .sub-menu > li.menu-item > a {
  font-size: 16px !important;
  font-weight: 700 !important;
}
.main-navigation > div > ul > li > .sub-menu > li.menu-item-has-children > a {
  font-weight: 800 !important;
}

/* Lists inside a dropdown (training types, then courses):
   indent the whole group and tie it to its heading with a line */
.main-navigation .sub-menu .sub-menu {
  margin: 2px 0 8px 14px !important;
  padding: 0 0 0 10px !important;
  border-left: 2px solid #eee6f4;
}

/* Training types, e.g. Instructor-led training */
.main-navigation .sub-menu .sub-menu > li > a {
  font-size: 15px !important;
  font-weight: 700 !important;
}

/* Individual courses */
.main-navigation .sub-menu .sub-menu .sub-menu > li > a {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  color: #584a68 !important;
}

/* 4. Services: Training on the left, the other services on the right, on wider screens.
      This targets whichever menu item has a third level (the courses), so it keeps
      working when items are added or reordered. Other dropdowns stay a single column. */
@media only screen and (min-width: 1000px) {
  .main-navigation > div > ul > li:has(> .sub-menu .sub-menu .sub-menu):hover > .sub-menu,
  .main-navigation > div > ul > li:has(> .sub-menu .sub-menu .sub-menu):focus-within > .sub-menu {
    display: grid;
    grid-template-columns: 330px 210px;
    column-gap: 18px;
    max-width: none;
    align-items: start;
  }
  .main-navigation > div > ul > li:has(> .sub-menu .sub-menu .sub-menu) > .sub-menu > li:first-child {
    grid-row: span 20;
    padding-right: 18px;
    border-right: 1px solid #eee6f4;
  }
}
/* ==========================================================
   ScrumCraft — About page
   ========================================================== */

:root {
  --purple-900: #2a1640;
  --purple:     #3e225c;
  --purple-600: #472a5f;
  --teal:       #6dbfb8;
  --teal-light: #e6f4f2;
  --orange:     #e57a52;
  --red:        #db3a52;
  --mauve:      #ab6f9f;
  --ink:        #3e225c;
  --muted:      #6b5a7d;
  --bg:         #ffffff;
  --bg-soft:    #f8f5fa;
  --line:       #ece6f1;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(62, 34, 92, 0.10);
  --max: 1180px;

  --font-display: "Red Hat Display", system-ui, sans-serif;
  --font-body: "Red Hat Text", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--purple);
}
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); font-weight: 900; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }

.section { padding: clamp(56px, 8vw, 104px) 0; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.8em;
}

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--purple); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-linkedin { background: #0a66c2; color: #fff; box-shadow: 0 6px 18px rgba(10,102,194,.25); }
.btn-linkedin:hover { background: #084f96; }
.btn-light { background: #fff; color: var(--purple); }
.btn-light:hover { box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 46px; height: 46px; }
.logo-text { font-family: var(--font-display); font-size: 1.75rem; font-weight: 500; color: var(--purple); letter-spacing: -0.01em; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.site-nav a {
  display: block; padding: 10px 14px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 500; text-decoration: none; color: var(--purple);
  transition: background .2s ease, color .2s ease;
}
.site-nav a:hover { background: var(--bg-soft); }
.site-nav a[aria-current="page"] { color: var(--mauve); }
.site-nav .nav-cta { background: var(--purple); color: #fff; padding: 10px 22px; margin-left: 8px; }
.site-nav .nav-cta:hover { background: var(--purple-900); }

.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; padding: 10px; }
.nav-toggle-label span { display: block; width: 24px; height: 2px; background: var(--purple); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-soft) 0%, #fff 60%);
  padding: clamp(72px, 10vw, 140px) 0 clamp(64px, 8vw, 110px);
}
.hero-inner { position: relative; z-index: 1; max-width: 860px; margin-left: max(24px, calc((100% - var(--max)) / 2 + 24px)); padding: 0; }
.hero .accent {
  background: linear-gradient(90deg, var(--orange), var(--red), var(--mauve));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 720px; }

.hero-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape { position: absolute; border-radius: 50%; opacity: .9; }
.s1 { width: 260px; height: 260px; background: var(--teal); right: -60px; top: 40px; opacity: .35; }
.s2 { width: 160px; height: 160px; background: linear-gradient(135deg, var(--purple), var(--mauve)); right: 140px; bottom: -40px; opacity: .25; }
.s3 { width: 90px;  height: 90px;  background: linear-gradient(135deg, var(--orange), var(--red)); right: 260px; top: 70px; opacity: .3; }

/* ---------- About ---------- */
.about p { font-size: 1.2rem; }
.about strong { color: var(--purple); }

/* ---------- Vision & Mission ---------- */
.vm { padding-top: 0; }
.vm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.vm-card {
  border-radius: var(--radius); padding: clamp(28px, 4vw, 48px);
  position: relative; overflow: hidden;
}
.vm-card p { margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.55; font-family: var(--font-display); font-weight: 500; }
.vm-label {
  display: inline-block; margin-bottom: 18px;
  font-family: var(--font-display); font-weight: 700; font-size: .85rem;
  letter-spacing: .14em; text-transform: uppercase;
}
.vision { background: var(--purple); color: #fff; }
.vision .vm-label { color: var(--teal); }
.vision strong { color: var(--teal); }
.mission { background: var(--teal-light); color: var(--purple); }
.mission .vm-label { color: var(--red); }
.vm-card::after {
  content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%;
  right: -60px; bottom: -60px; opacity: .15;
}
.vision::after  { background: var(--teal); }
.mission::after { background: var(--mauve); }

/* ---------- Goals ---------- */
.goals { background: var(--bg-soft); }
.goals-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.goal {
  border-radius: var(--radius); padding: 36px 32px; color: #fff; min-height: 210px;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: var(--shadow); transition: transform .25s ease;
}
.goal:hover { transform: translateY(-4px); }
.goal p { margin: 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; line-height: 1.45; }
.goal-num { font-family: var(--font-display); font-weight: 900; font-size: 2.4rem; opacity: .35; line-height: 1; margin-bottom: 18px; }
.goal-purple { background: var(--purple-600); }
.goal-orange { background: var(--orange); }
.goal-red    { background: var(--red); }
.goal-mauve  { background: var(--mauve); }

/* ---------- Founder ---------- */
.founder-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.founder-photo { margin: 0; position: relative; }
.founder-photo::before {
  content: ""; position: absolute; inset: 12% 6% 0 6%;
  background: linear-gradient(160deg, var(--teal) 0%, var(--purple) 100%);
  border-radius: 999px 999px var(--radius) var(--radius); z-index: -1;
}
.founder-photo img { width: 100%; }
.founder-content h2 { margin-bottom: .15em; }
.founder-role { color: var(--muted); font-weight: 500; margin-bottom: 1.6em; }
.founder-quote {
  margin: 0 0 1.2em; padding-left: 20px; border-left: 4px solid var(--orange);
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 700; line-height: 1.3; color: var(--purple);
}
.founder-quote em { color: var(--red); font-style: normal; }
.hashtag { font-weight: 700; color: var(--mauve); }
.founder-content .btn { margin-top: 10px; }

.credentials {
  margin-top: clamp(48px, 6vw, 80px); padding: clamp(24px, 4vw, 40px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  text-align: center;
}
.credentials h3 { color: var(--muted); font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 24px; }
.credentials img { margin: 0 auto; max-width: 980px; width: 100%; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, var(--purple) 0%, var(--purple-600) 55%, var(--mauve) 100%); color: #fff; }
.cta-inner { text-align: center; padding: clamp(56px, 8vw, 96px) 24px; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.85); font-size: 1.15rem; margin-bottom: 1.8em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--purple-900); color: rgba(255,255,255,.75); font-size: .95rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 24px; flex-wrap: wrap; }
.site-footer p { margin: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle-label { display: block; }
  .site-nav {
    position: absolute; top: 84px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 8px 16px 20px; gap: 2px; }
  .site-nav .nav-cta { margin: 8px 0 0; text-align: center; }
  .nav-toggle:checked ~ .site-nav { max-height: 420px; }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .vm-grid, .goals-grid, .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { max-width: 380px; margin: 0 auto; }
  .s1 { width: 180px; height: 180px; }
  .s2, .s3 { display: none; }
}

@media (max-width: 520px) {
  .header-inner { height: 72px; }
  .site-nav { top: 72px; }
  .logo-mark { width: 38px; height: 38px; }
  .logo-text { font-size: 1.45rem; }
  .goal { min-height: 0; padding: 28px 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}