/* ============================================================
   Faezeh Rohani, PhD — Teaching Page Stylesheet
   Matches home.html & Bio.html exactly: fonts, colors, nav, spacing
   teaching.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,300&display=swap');

/* ── CSS Variables — identical to home & bio ── */
:root {
  --primary:    linear-gradient(90deg, #1659a4 0%, #1c7ec0 25%, #1aa6c4 50%, #1cc9b0 75%, #2ec97e 100%);;
  --accent:     #FFB81C;
  --cyan:       linear-gradient(90deg, #1659a4 0%, #1c7ec0 25%, #1aa6c4 50%, #1cc9b0 75%, #2ec97e 100%);;
  --cyan-dark:  #0097a7;
  --text:       #1a1a2e;
  --muted:      #555566;
  --bg:         #fafaf8;
  --white:      #ffffff;
  --border:     #e8e8f0;
  --link:       #003594;
  --nav-height: 68px;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Source Serif 4', Georgia, serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

/* ══════════════════════════════════════
   NAVIGATION — exact copy from home
══════════════════════════════════════ */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

.nav-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.88rem;
  padding: 7px 14px;
  border-radius: 4px;
  font-family: 'Source Serif 4', serif;
  font-weight: 300;
  letter-spacing: 0.02em;
  transition: all 0.2s;
}

.nav-links a:hover  { color: var(--primary); background: #f0f4ff; }
.nav-links a.active { background: var(--primary); color: var(--white); font-weight: 400; }

/* ══════════════════════════════════════
   PAGE CONTAINER
══════════════════════════════════════ */
.page-wrapper {
  
  max-width: 1100px;
  margin: 0 auto;
  padding: 52px 40px 80px;
}

/* ══════════════════════════════════════
   TEACHING CONTENT
══════════════════════════════════════ */
.teaching-content {
  
  animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Page Heading ── */
.teaching-heading {
  text-align: justify;
  text-align-last: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* ── Intro paragraph ── */
.teaching-intro {
   text-align: justify;
  text-align-last: center;
  color: #000000;
  margin-bottom: 32px;
  font-size: 0.97rem;
  font-weight: 400;
}

/* ══════════════════════════════════════
   SEMESTER BLOCKS
══════════════════════════════════════ */
.semester-block {
  margin-bottom: 28px;
  animation: fadeUp 0.7s ease both;
}

.semester-block:nth-child(2)  { animation-delay: 0.04s; }
.semester-block:nth-child(3)  { animation-delay: 0.08s; }
.semester-block:nth-child(4)  { animation-delay: 0.12s; }
.semester-block:nth-child(5)  { animation-delay: 0.16s; }
.semester-block:nth-child(6)  { animation-delay: 0.20s; }
.semester-block:nth-child(7)  { animation-delay: 0.24s; }
.semester-block:nth-child(8)  { animation-delay: 0.28s; }
.semester-block:nth-child(9)  { animation-delay: 0.32s; }

/* ── Cyan badge — matching the screenshot exactly ── */
.semester-badge {
  display: inline-block;
  background: var(--cyan);
  color: var(--white);
  font-family: 'Source Serif 4', serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 5px 16px;
  border-radius: 4px;
  margin-bottom: 12px;
}

/* ── Course list ── */
.course-list {
  list-style: disc;
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.course-list li {
  font-size: 0.97rem;
  color: #000000;
  line-height: 1.6;
}

.course-list li strong {
  font-weight: 600;
  color: var(--text);
}

/* ══════════════════════════════════════
   SECTION DIVIDER
══════════════════════════════════════ */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0 36px;
}

/* ══════════════════════════════════════
   STUDENT TESTIMONIALS
══════════════════════════════════════ */
.testimonials-intro {
  text-align: justify;
  text-align-last: center;
  color: #000000;
  font-size: 0.97rem;
  font-weight: 400;
  margin-bottom: 20px;
}

.testimonials-list {
  text-align: justify;
  text-align-last: center;
  list-style: disc;
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.testimonials-list li {
  font-size: 0.97rem;
  color: #000000;
  line-height: 1.75;
}

.testimonials-list li em {
  font-style: italic;
  font-weight: 300;
}

.testimonial-attr {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 400;
}

/* ══════════════════════════════════════
   FOOTER (if needed)
══════════════════════════════════════ */
footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 24px;
  font-size: 0.8rem;
  margin-top: 40px;
  font-family: 'Source Serif 4', serif;
  font-weight: 300;
}