/* ══════════════════════════════════
   ABOUT PAGE
══════════════════════════════════ */
#about { background: var(--cream); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

/* ── Institution Info (LEFT) ── */
.about-highlights {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  margin: 1.4rem 0 1.8rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: .9rem 1.1rem;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: border-color .22s, box-shadow .22s, transform .22s;
}
.highlight-item:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 18px rgba(224,123,57,.12);
  transform: translateX(5px);
}
.hi-icon          { font-size: 1.35rem; flex-shrink: 0; margin-top: 2px; }
.highlight-item strong { display: block; font-size: .88rem; color: var(--navy); font-weight: 600; margin-bottom: .18rem; }
.highlight-item p      { font-size: .78rem; color: var(--muted); line-height: 1.6; margin: 0; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.stat-item {
  text-align: center;
  padding: 1.1rem .8rem;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: box-shadow .2s, transform .2s;
}
.stat-item:hover  { box-shadow: 0 6px 20px rgba(15,31,61,.08); transform: translateY(-3px); }
.stat-item .num   { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--navy); display: block; }
.stat-item .lbl   { font-size: .67rem; color: var(--muted); letter-spacing: .04em; }

/* ── Tutor Scroll Carousel (RIGHT) ── */
.tutor-scroll-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 60px rgba(15,31,61,.18);
  background: var(--navy);
}

.tutor-scroll {
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tutor-scroll::-webkit-scrollbar { display: none; }

.tc {
  min-width: 100%;
  flex-shrink: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
}

/* Photo */
.tc-photo { position: relative; height: 300px; overflow: hidden; flex-shrink: 0; }
.tc-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
  transition: transform .6s ease;
}
.tutor-scroll-wrapper:hover .tc-photo img { transform: scale(1.04); }

.tc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 25%, rgba(10,20,50,.45) 60%, rgba(10,20,50,.96) 100%);
}

/* Name block overlay */
.tc-name-block { position: absolute; bottom: 1.3rem; left: 1.4rem; right: 1.4rem; z-index: 4; }
.tc-name  { font-family: 'Playfair Display', serif; font-size: 1.45rem; font-weight: 700; color: #fff; display: block; line-height: 1.15; }
.tc-role  { font-family: 'JetBrains Mono', monospace; font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange2); display: block; margin-top: .32rem; }

/* Exp bar */
.tc-bar-row   { display: flex; align-items: center; gap: .75rem; margin-top: .6rem; }
.tc-bar-label { font-size: .7rem; color: rgba(255,255,255,.6); white-space: nowrap; flex-shrink: 0; }
.tc-bar-track { flex: 1; height: 4px; background: rgba(255,255,255,.14); border-radius: 2px; overflow: hidden; }
.tc-bar-fill  { height: 100%; background: linear-gradient(90deg, var(--orange), var(--orange2)); border-radius: 2px; width: 0; transition: width .9s .15s ease; }

/* Badge */
.tc-badge {
  position: absolute; top: 1.1rem; right: 1.1rem; z-index: 4;
  font-family: 'JetBrains Mono', monospace;
  font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--orange); color: #fff;
  padding: .26rem .7rem; border-radius: 20px;
}

/* Quote card */
.tc-quote      { background: #fff; border-top: 3px solid var(--orange); padding: 1.4rem 1.6rem; position: relative; flex: 1; }
.tc-quote-mark { font-family: 'Playfair Display', serif; font-size: 3.8rem; line-height: .4; color: var(--orange); opacity: .15; position: absolute; top: .9rem; left: 1.1rem; pointer-events: none; user-select: none; }
.tc-msg        { font-size: .875rem; line-height: 1.8; color: var(--muted); font-style: italic; padding-left: 1.1rem; border-left: 2px solid var(--orange-light); margin: 0; }

/* Footer: dots + progress */
.tutor-footer { display: flex; align-items: center; justify-content: space-between; padding: .85rem 1.5rem; background: #fff; border-top: 1px solid var(--border); }
.t-dots       { display: flex; gap: .5rem; align-items: center; }
.t-dot        { width: 8px; height: 8px; border-radius: 50%; background: var(--border); border: none; cursor: pointer; padding: 0; transition: background .3s, width .35s, border-radius .35s; }
.t-dot.on     { background: var(--orange); width: 26px; border-radius: 4px; }
.t-prog-bar   { flex: 1; height: 3px; background: var(--border); border-radius: 2px; margin-left: 1rem; overflow: hidden; }
.t-prog-fill  { height: 100%; width: 0; background: var(--orange); border-radius: 2px; transition: width linear; }

/* Nav arrows */
.tc-arrow {
  position: absolute; top: 100px; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  border: none; cursor: pointer; z-index: 10;
  background: rgba(255,255,255,.15); backdrop-filter: blur(6px);
  color: #fff; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
  transition: background .2s, transform .2s;
}
.tc-arrow:hover { background: var(--orange); transform: translateY(-50%) scale(1.1); }
.tc-arrow.prev  { left: .8rem; }
.tc-arrow.next  { right: .8rem; }

/* ── Responsive ── */
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  #about        { padding: 60px 1.25rem; }
  .about-stats  { grid-template-columns: repeat(3,1fr); }
  .tc-arrow     { display: none; }
}


/* ─── Individual Tutor Card ─── */
.tc {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--card-bg, #111a2e);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.tc:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}


/* ─── Photo Box — full photo fits inside ─── */
.tc-photo {
  position: relative;
  width: 100%;
  height: 200px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--card-bg, #111a2e);
}

.tc-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}

.tc:hover .tc-photo img {
  transform: scale(1.04);
}

.tc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
  pointer-events: none;
}

.tc-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--orange2, #e8850c);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
}

.tc-name-block {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.8rem 1rem;
  z-index: 2;
}
.tc-name {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.tc-role {
  display: block;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
  margin-top: 1px;
}

.tc-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.tc-bar-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.56rem;
  color: var(--orange2, #e8850c);
  white-space: nowrap;
}
.tc-bar-track {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  overflow: hidden;
}
.tc-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--orange2, #e8850c);
  border-radius: 3px;
  transition: width 1s cubic-bezier(0.4, 0, 0.15, 1) 0.4s;
}
.tc.in-view .tc-bar-fill {
  width: var(--bar-w, 0%);
}

/* ─── Quote Message — strict 3 lines ─── */
.tc-quote {
  flex: 1;
  padding: 1rem 1.1rem 1.1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.tc-quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--orange2, #e8850c);
  opacity: 0.25;
  flex-shrink: 0;
  margin-bottom: 2px;
}

.tc-msg {
  font-size: 0.76rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tc-msg em {
  color: var(--orange2, #e8850c);
  font-style: italic;
}