/* Bossify Academy — Sections (reference layout) */

.section-header { margin-bottom: 48px; }
.section-header.text-center { text-align: center; }

.pillars-grid {
  margin-top: 20px;
}

/* ── Transformation (cream) ─────────────────────────────────── */
.section--cream-title h2 {
  color: var(--purple);
  text-align: center;
  margin-top: 8px;
}

.pillar-card {
  padding: 34px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(36, 7, 47, 0.06);
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  height: 100%;
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.pillar-card h3 {
  margin: 18px 0 12px;
  font-size: 18px;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--purple);
  letter-spacing: 0.04em;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.pillar-card__bar {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 24px;
}

/* ── Programs (deep purple band) ─────────────────────────────── */
.section--programs {
  background: linear-gradient(180deg, var(--purple) 0%, #1a051f 100%);
  color: var(--white);
}

.section--programs .section-header .eyebrow {
  color: var(--gold);
}

.section--programs .section-header h2 {
  color: var(--white);
}

.section--programs .program-card__title {
  color: var(--purple);
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.section--programs .program-card__link {
  color: var(--purple);
  font-weight: 700;
}

.section--programs .program-card__link:hover {
  color: var(--gold-dark);
}

.program-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.3);
}

.program-card__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.program-card__body {
  padding: 28px 26px 30px;
}

.program-card__title {
  margin-bottom: 12px;
}

.program-card__body > p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.program-card__list {
  margin: 18px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.program-card__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dark);
}

.program-card__list li i {
  color: var(--gold);
  font-size: 12px;
}

.program-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  transition: var(--transition);
}

.program-card__link:hover {
  gap: 14px;
}

.programs-cta {
  text-align: center;
  margin-top: 48px;
}

.programs-cta__note {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

/* ── Events (cream) ─────────────────────────────────────────── */
.section--events {
  background: var(--cream);
}

.section--events .section-header h2 {
  color: var(--purple);
}

.event-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(36, 7, 47, 0.08);
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.event-card--horizontal {
  display: grid;
  grid-template-columns: minmax(120px, 150px) 1fr;
  align-items: stretch;
}

.event-card__image {
  position: relative;
  min-height: 128px;
}

.event-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 128px;
}

.event-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--purple);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  text-align: center;
  min-width: 56px;
  border: 1px solid rgba(200, 155, 60, 0.35);
}

.event-card__month {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.event-card__day {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.event-card__body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-card__body h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 10px;
  line-height: 1.45;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

.event-meta i {
  color: var(--gold);
  font-size: 12px;
}

/* ── Founder ─────────────────────────────────────────────────── */
.founder__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.founder__image img {
  width: 100%;
  border-radius: var(--radius-lg);
  max-height: 560px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.founder__quote {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 26px);
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
  margin: 22px 0;
  line-height: 1.45;
  padding-left: 22px;
  border-left: 3px solid var(--gold);
}

.founder__bio {
  color: var(--text-white70);
  line-height: 1.85;
  margin-bottom: 18px;
  font-size: 15px;
}

/* ── Learning & Resources (compact) ──────────────────────────── */
.mini-card {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid rgba(36, 7, 47, 0.07);
  box-shadow: var(--shadow-card);
  height: 100%;
  transition: var(--transition);
}

.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.mini-card h3 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 10px;
}

.mini-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

.resource-row__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-weight: 600;
  font-size: 14px;
  color: var(--gold-dark);
}

.resource-row__link:hover {
  gap: 12px;
  color: var(--purple);
}

/* ── Impact ──────────────────────────────────────────────────── */
.impact__intro {
  margin-bottom: 40px;
}

.impact__intro .eyebrow {
  font-size: 12px;
}

.impact__intro h2 {
  color: var(--purple);
  margin-top: 8px;
}

.impact__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 992px) {
  .impact__layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 48px;
    align-items: center;
  }
}

.impact__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (min-width: 768px) {
  .impact__stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.stat-item {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(36, 7, 47, 0.05);
}

.stat-icon {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 12px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 800;
  color: var(--purple);
  line-height: 1;
}

.stat-plus {
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
}

.stat-growing {
  font-size: 28px;
  font-weight: 700;
  color: var(--purple);
}

.stat-item p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
  font-weight: 500;
  line-height: 1.4;
}

.impact__copy {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text-muted);
  padding: 8px 0;
  border-left: 3px solid var(--gold);
  padding-left: 22px;
}

/* ── Final CTA ───────────────────────────────────────────────── */
.cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.cta__visual {
  position: relative;
}

.cta__photo {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.cta__right h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta__right > p {
  color: var(--text-white70);
  margin-bottom: 28px;
  font-size: 16px;
  line-height: 1.75;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  overflow: visible;
  padding: 6px 6px 6px 22px;
}

/* Feedback rows sit below the email row — must not use dark-green on purple */
.newsletter-form .loading,
.newsletter-form .error-message,
.newsletter-form .sent-message {
  flex: 1 1 100%;
  margin: 12px 4px 4px;
  padding: 0;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.newsletter-form .loading:not(.d-block),
.newsletter-form .error-message:not(.d-block),
.newsletter-form .sent-message:not(.d-block) {
  display: none;
}

.newsletter-form .loading.d-block,
.newsletter-form .error-message.d-block,
.newsletter-form .sent-message.d-block {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* Dark CTA section — readable loading / errors */
#newsletter .newsletter-form .loading.d-block {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

#newsletter .newsletter-form .error-message.d-block {
  padding: 12px 16px;
  background: rgba(120, 24, 40, 0.55);
  color: #fff;
  border: 1px solid rgba(255, 180, 180, 0.35);
}

/* Success: cream panel + purple text + gold accent (high contrast) */
#newsletter .newsletter-form .sent-message.d-block {
  padding: 14px 18px 14px 16px;
  margin-top: 14px;
  margin-bottom: 2px;
  background: var(--cream);
  color: var(--purple);
  border: 1px solid rgba(200, 155, 60, 0.55);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

#newsletter .newsletter-form .sent-message.d-block::before {
  content: '';
  display: block;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-top: 1px;
  border-radius: 50%;
  background-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%2324072F' d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z'/%3E%3C/svg%3E");
  background-size: 14px 14px;
  background-repeat: no-repeat;
  background-position: center;
}

.newsletter-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.cta__tagline {
  color: var(--text-white70);
  font-size: 13px;
  margin-top: 18px;
  letter-spacing: 0.02em;
}

/* ── Contact ─────────────────────────────────────────────────── */
.contact-lead {
  max-width: 720px;
  margin: 14px auto 0;
}
