/* ================================================
   Beads of Brilliance — About Page Styles
   Covers all classes used exclusively in about.html
   ================================================ */

/* ── Page intro ── */
.about-page-h1 {
  text-align: center;
  color: var(--brand-text);
  margin-bottom: 0.5rem;
  padding-top: 2rem;
}
.about-page-intro {
  text-align: center;
  color: #666;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* ── Shared section wrapper ── */
.enhanced-section {
  padding: 3rem 0;
}

/* ── Founder Section ── */
.founder-section {
  background: #fff;
}
.founder-header {
  margin-bottom: 1.5rem;
}
.enhanced-description {
  font-size: 1.05rem;
  color: #555;
}

/* ── Founder profile header (avatar + intro side by side) ── */
.founder-content {
  max-width: 1100px;
  margin: 0 auto;
}
.enhanced-founder {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.founder-profile-header {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  background: linear-gradient(135deg, #f0f4ff, #f8fbff);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(74, 144, 226, 0.1);
}

/* ── Avatar ── */
.profile-avatar-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.avatar-frame {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--brand-blue);
  box-shadow: 0 8px 30px rgba(74, 144, 226, 0.3);
}
.founder-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.avatar-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(74, 144, 226, 0.15));
  pointer-events: none;
}
.founder-credentials-badges {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
}
.credential-tag {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

/* ── Profile intro (name, title, quote) ── */
.profile-intro-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.founder-name {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--brand-text);
  margin: 0;
}
.founder-title {
  font-size: 1rem;
  color: var(--brand-blue);
  font-weight: 600;
  margin: 0;
}

/* ── Quote card ── */
.founder-quote-card {
  background: #fff;
  border-left: 4px solid var(--brand-gold);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  position: relative;
  margin-top: 0.5rem;
}
.quote-icon {
  font-size: 3rem;
  line-height: 1;
  color: var(--brand-gold);
  font-family: Georgia, serif;
  position: absolute;
  top: -0.25rem;
  left: 1rem;
  opacity: 0.4;
}
.founder-quote-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.75;
  font-style: italic;
  margin: 0.5rem 0 0.75rem;
  padding-left: 0.5rem;
  border: none;
}
.quote-attribution {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-blue);
  text-align: right;
}

/* ── Two-column details grid ── */
.founder-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.founder-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  border-top: 4px solid var(--brand-blue);
}
.academic-card {
  border-top-color: #667eea;
}
.highlights-card {
  border-top-color: var(--brand-gold-dark);
}
.card-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-text);
  margin-bottom: 1rem;
}

/* Degrees list */
.degrees-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.degree-item {
  padding-bottom: 1rem;
  border-bottom: 1px solid #f0f0f0;
}
.degree-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.degree-title {
  font-size: 0.95rem;
  color: var(--brand-text);
  margin-bottom: 0.2rem;
}
.institution {
  font-size: 0.85rem;
  color: var(--brand-blue);
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.degree-details {
  font-size: 0.8rem;
  color: #888;
}

/* Highlights list */
.highlights-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.highlight-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.highlight-content strong {
  display: block;
  font-size: 0.9rem;
  color: var(--brand-text);
  margin-bottom: 0.15rem;
}
.highlight-content p {
  font-size: 0.82rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* ── Credentials / expertise section ── */
.credentials-section {
  margin-top: 0.5rem;
}
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.credential-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}
.teaching-mastery {
  border-left: 5px solid var(--brand-blue);
}
.credential-content {
  width: 100%;
}
.expertise-areas {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.expertise-item {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f0f0f0;
}
.expertise-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.expertise-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.expertise-title strong {
  font-size: 0.95rem;
  color: var(--brand-text);
}
.grade-range,
.specialization {
  font-size: 0.78rem;
  color: var(--brand-blue);
  font-weight: 600;
  background: #e8f0fe;
  padding: 2px 10px;
  border-radius: 20px;
}
.expertise-description {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.7;
}

/* ── Excellence Section ── */
.excellence-section {
  background: var(--bg-page);
}

/* Featured partnership card */
.featured-partnership {
  background: linear-gradient(135deg, #1a237e, #4a90e2);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  margin-bottom: 2rem;
  color: #fff;
  box-shadow: 0 8px 30px rgba(74, 144, 226, 0.3);
}
.partnership-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.25rem;
}
.partnership-role {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.partnership-description {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.partnership-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.highlight-tag {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
}
.tag-icon {
  font-size: 1rem;
}

/* Partnerships grid */
.partnerships-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.partnership-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.partnership-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
}

/* Card header band */
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
}
.online-partner .card-header {
  background: linear-gradient(135deg, #e8f5e9, #f0fff4);
}
.curriculum-partner .card-header {
  background: linear-gradient(135deg, #fff8e1, #fffde7);
}
.certification-partner .card-header {
  background: linear-gradient(135deg, #fce4ec, #fff0f3);
}

.card-icon {
  font-size: 2rem;
  line-height: 1;
}
.partner-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
}
.card-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.online-badge {
  background: #c8e6c9;
  color: #2e7d32;
}
.curriculum-badge {
  background: #fff9c4;
  color: #f57f17;
}
.certification-badge {
  background: #fce4ec;
  color: #c62828;
}

/* Card body */
.card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-text);
  margin: 0;
}
.card-subtitle {
  font-size: 0.82rem;
  color: var(--brand-blue);
  font-weight: 600;
  margin: 0;
}
.card-description {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.inline-link {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: none;
}
.inline-link:hover {
  text-decoration: underline;
}

/* Card features list */
.card-features {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f0f0f0;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #555;
}
.feature-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .founder-profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
  }
  .profile-intro-section {
    align-items: center;
  }
  .quote-attribution {
    text-align: center;
  }
  .founder-details-grid {
    grid-template-columns: 1fr;
  }
  .expertise-title {
    flex-direction: column;
    align-items: flex-start;
  }
  .featured-partnership {
    padding: 1.5rem;
  }
  .partnerships-grid {
    grid-template-columns: 1fr;
  }
  .partnership-highlights {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .avatar-frame {
    width: 140px;
    height: 140px;
  }
  .founder-credentials-badges {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}
