/* ============================================================
   JAOTECH DIGITAL INSTITUTE
   School Detail Pages — Shared Stylesheet
   ============================================================ */

/* SCHOOL HERO */
.school-hero {
  padding: 150px 0 80px;
  position: relative;
  overflow: hidden;
}
.school-hero-glow {
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  pointer-events: none;
}
.school-hero-inner { max-width: 860px; }
.school-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.80rem;
  color: var(--white-soft);
  margin-bottom: 20px;
  font-family: var(--font-heading);
}
.school-breadcrumb a {
  color: var(--blue-light);
  transition: var(--transition);
}
.school-breadcrumb a:hover { color: var(--gold); }
.school-num-label {
  font-family: var(--font-display);
  font-size: 0.60rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  opacity: 0.85;
}
.school-hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 20px;
}
.school-hero-sub {
  font-size: 1.05rem;
  color: var(--white-soft);
  line-height: 1.78;
  max-width: 660px;
  margin-bottom: 36px;
}
.school-hero-stats {
  display: flex;
  gap: 0;
  margin-bottom: 36px;
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: inline-flex;
}
.school-stat {
  padding: 16px 28px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.school-stat:last-child { border-right: none; }
.school-stat span {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.school-stat small {
  display: block;
  font-size: 0.68rem;
  color: var(--white-soft);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-heading);
  font-weight: 500;
}
.school-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* FOUNDER NOTE */
.founder-note-section { background: var(--black-soft); }
.founder-note-card {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 28px;
  align-items: flex-start;
  background: var(--black-card);
  border: 1px solid var(--border-blue);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
}
.founder-note-card::before {
  content: '"';
  position: absolute;
  top: 10px; right: 30px;
  font-size: 8rem;
  color: var(--gold);
  opacity: 0.06;
  font-family: Georgia, serif;
  line-height: 1;
}
.founder-note-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  flex-shrink: 0;
  margin-top: 4px;
}
.founder-note-label {
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  opacity: 0.85;
}
.founder-note-quote {
  font-style: italic;
  font-size: 1.02rem;
  color: var(--white-dim);
  line-height: 1.82;
  margin-bottom: 16px;
}
.founder-note-card cite {
  font-style: normal;
  font-size: 0.80rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
}

/* OUTCOMES */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.outcome-card {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: var(--transition);
}
.outcome-card:hover {
  border-color: var(--border-blue);
  transform: translateY(-3px);
}
.outcome-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #25d366;
  flex-shrink: 0;
  font-weight: 700;
}
.outcome-card p {
  font-size: 0.84rem;
  color: var(--white-soft);
  line-height: 1.60;
}

/* TOOLS */
.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.tool-tag {
  padding: 10px 20px;
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--white-soft);
  transition: var(--transition);
  cursor: default;
  letter-spacing: 0.02em;
}
.tool-tag:hover {
  border-color: var(--border-blue);
  color: var(--blue-light);
  background: var(--blue-glow);
  transform: translateY(-2px);
}

/* SYLLABUS */
.syllabus-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.syllabus-course {
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.syllabus-course.open {
  border-color: var(--border-blue);
}
.syllabus-course-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  transition: background 0.3s ease;
  gap: 20px;
}
.syllabus-course-header:hover {
  background: var(--white-ghost);
}
.syllabus-course-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}
.syllabus-num {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--blue-light);
  letter-spacing: 0.12em;
  min-width: 28px;
  opacity: 0.8;
}
.syllabus-course-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.3;
}
.syllabus-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.syllabus-duration {
  font-size: 0.72rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--white-soft);
  letter-spacing: 0.04em;
}
.syllabus-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white-soft);
  flex-shrink: 0;
  transition: var(--transition);
  font-family: var(--font-heading);
  font-weight: 300;
  line-height: 1;
}
.syllabus-course.open .syllabus-toggle {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: rotate(45deg);
}
.syllabus-course-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}
.syllabus-overview {
  padding: 0 28px 20px 28px;
  font-size: 0.92rem;
  color: var(--white-soft);
  line-height: 1.78;
  border-bottom: 1px solid var(--border);
  margin: 0;
}
.syllabus-modules {
  padding: 22px 28px 24px;
}
.syllabus-modules h4 {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--white-soft);
  margin-bottom: 16px;
}
.module-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.module-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.module-num {
  font-family: var(--font-display);
  font-size: 0.58rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  min-width: 32px;
  margin-top: 3px;
  opacity: 0.75;
}
.module-item span:last-child {
  font-size: 0.87rem;
  color: var(--white-soft);
  line-height: 1.60;
}

/* COURSE LEVEL BADGES (reused from courses.css) */
.course-level {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-heading);
}
.course-level.beginner {
  background: rgba(37, 211, 102, 0.10);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.25);
}
.course-level.intermediate {
  background: var(--gold-glow);
  color: var(--gold);
  border: 1px solid rgba(255, 215, 0, 0.25);
}
.course-level.advanced {
  background: var(--red-glow);
  color: var(--red-light);
  border: 1px solid rgba(255, 26, 26, 0.25);
}

/* OTHER SCHOOLS */
.other-schools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.other-school-card {
  display: block;
  background: var(--black-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-decoration: none;
  color: var(--white);
  transition: var(--transition);
}
.other-school-card:hover {
  border-color: var(--border-blue);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(26, 26, 255, 0.10);
}
.other-school-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 12px;
  opacity: 0.75;
}
.other-school-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.other-school-card p {
  font-size: 0.83rem;
  color: var(--white-soft);
  line-height: 1.55;
}

/* CTA banner glow */
.cta-banner-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(26,26,255,0.18), rgba(102,0,204,0.08), transparent 70%);
  pointer-events: none;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .outcomes-grid    { grid-template-columns: repeat(2, 1fr); }
  .other-schools-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .school-hero-stats  { flex-direction: column; display: flex; }
  .school-stat        { border-right: none; border-bottom: 1px solid var(--border); }
  .school-stat:last-child { border-bottom: none; }
  .syllabus-course-header { padding: 18px 20px; }
  .syllabus-overview  { padding: 0 20px 18px; }
  .syllabus-modules   { padding: 18px 20px 20px; }
  .outcomes-grid      { grid-template-columns: 1fr; }
  .founder-note-card  { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .school-hero-actions { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .school-hero-stats { width: 100%; }
  .school-stat { padding: 14px 20px; text-align: left; }
}
