/* ── ND Beauty Studio Academy · Learn From Me Page ──
   Scoped page-specific styles. Extends the site's existing rose/mauve
   palette with a deeper plum and a muted gold "masterclass" accent,
   rather than introducing a clashing new identity. 
   
   SESHOKA DIGITAL SOLUTIONS (PTY.LTD)*/

:root {
  --academy-plum: #3d1633;
  --academy-plum-soft: #5a2650;
  --academy-rose: #d4a5a5;
  --academy-rosewood: #b76e79;
  --academy-gold: #c9a15a;
  --academy-cream: #f9f6f6;
  --academy-ink: #201a1a;
}

.academy-body {
  background: var(--academy-cream);
}

/* ── Shared type helpers ── */
.eyebrow {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--academy-gold);
  margin-bottom: 14px;
}

.brow-underline {
  position: relative;
  display: inline-block;
  font-style: italic;
  color: var(--academy-rosewood);
}
.brow-underline svg {
  position: absolute;
  left: -4%;
  bottom: -14px;
  width: 108%;
  height: 16px;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 40px;
  background: var(--academy-plum);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid var(--academy-plum);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.cta-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(61, 22, 51, 0.28);
  background: var(--academy-plum-soft);
}
.cta-pill.outline {
  background: transparent;
  color: var(--academy-plum);
  border: 1.5px solid var(--academy-plum);
}
.cta-pill.outline:hover {
  background: var(--academy-plum);
  color: #fff;
}
.cta-pill.full-width {
  width: 100%;
  justify-content: center;
}

/* ── HERO ── */
.academy-hero {
  position: relative;
  background: linear-gradient(
    120deg,
    var(--academy-plum) 0%,
    var(--academy-plum) 38%,
    var(--academy-cream) 38%
  );
  padding: 90px 8vw 70px;
  overflow: hidden;
}

.academy-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.hero-copy {
  color: #dbce15;
}
.hero-copy h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.12;
  font-weight: 700;
  margin: 0 0 18px;
}
.hero-copy h1 em {
  color: var(--academy-gold);
  font-style: italic;
}
.hero-copy .lede {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(2, 2, 2, 0.82);
  max-width: 46ch;
  margin-bottom: 28px;
}

.skills-list {
  list-style: none;
  padding: 0;
  margin: 0 0 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}
.skills-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 0.92rem;
  color: rgba(3, 3, 3, 0.92);
}
.skills-list li i {
  color: var(--academy-gold);
  font-size: 0.8rem;
}

.hero-visual {
  position: relative;
}
.hero-visual img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(61, 22, 51, 0.25);
  display: block;
}
.floating-badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: #fff;
  padding: 14px 22px;
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(61, 22, 51, 0.2);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.floating-badge strong {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: var(--academy-plum);
}
.floating-badge span {
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem;
  color: var(--academy-rosewood);
  letter-spacing: 0.03em;
}

/* ── DEEP DIVE / TRAINING SECTION ── */
.training-deep-dive {
  background: var(--academy-cream);
  padding: 90px 8vw;
}
.deep-dive-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.deep-dive-copy h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  color: var(--academy-ink);
  margin: 0 0 24px;
  line-height: 1.25;
}
.deep-dive-copy > p {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  color: #4a4040;
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 52ch;
}

.curriculum-list {
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.curriculum-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  color: var(--academy-ink);
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(183, 110, 121, 0.3);
}
.curriculum-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.curriculum-list li::before {
  content: "\f5c9";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--academy-gold);
  font-size: 0.85rem;
  margin-top: 2px;
}

.deep-dive-media {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.deep-dive-media video {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(61, 22, 51, 0.15);
  display: block;
  background: #000;
}

@media (max-width: 900px) {
  .academy-hero {
    background: var(--academy-plum);
    padding: 60px 6vw 50px;
  }
  .academy-hero-inner,
  .deep-dive-inner {
    grid-template-columns: 1fr;
  }
  .training-deep-dive {
    padding: 60px 6vw;
  }
  .floating-badge {
    position: static;
    margin-top: -30px;
    width: fit-content;
  }
  .skills-list {
    grid-template-columns: 1fr;
  }
}

/* ── TRAINING POPUP FORM (redesigned) ── */
#training-popup .popup-box {
  max-width: 440px;
  width: 90%;
  background: #fff;
  border-radius: 20px;
  padding: 38px 34px 30px;
  box-shadow: 0 30px 70px rgba(61, 22, 51, 0.35);
  position: relative;
}

.popup-header {
  text-align: center;
  margin-bottom: 26px;
}
.popup-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(201, 161, 90, 0.14);
  color: var(--academy-gold);
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.popup-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--academy-plum);
  margin: 0 0 6px;
}
.popup-header p {
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  color: #7a6f6f;
  margin: 0;
}

#schedule-training {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#schedule-training label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: "Poppins", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--academy-ink);
}
#schedule-training input,
#schedule-training select {
  font-family: "Poppins", sans-serif;
  font-size: 0.92rem;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid #e7dede;
  background: #fdfbfb;
  color: var(--academy-ink);
  outline-offset: 2px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
#schedule-training input:focus,
#schedule-training select:focus {
  border-color: var(--academy-gold);
  background: #fff;
}
#schedule-training .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
#training-popup .close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  color: #b8acac;
  font-size: 22px;
}
#training-popup .close-btn:hover {
  color: var(--academy-plum);
}

#training-popup.popup-overlay {
  z-index: 60;
}
