/* ============================================================
   principal-message.css — Principal's Message Page
   Ingraham English School · Meerut
   NOTE: style.css must be loaded before this file
   ============================================================ */

/* ── NAV ACTIVE ── */
.nav-active { color: var(--gold) !important; }
.mobile-nav-cta { color: var(--gold) !important; margin-top:.5rem; }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.pm-hero {
  position: relative;
  height: 520px;
  margin-top: 88px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.pm-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0e1f45 0%, #1f315f 40%, #2d4a8f 100%);
  background-image: url('school.jpg');
  background-size: cover;
  background-position: center 35%;
  transform: scale(1.05);
  transition: transform 7s ease;
}
.pm-hero-bg.loaded { transform: scale(1); }
.pm-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,18,45,.96) 0%,
    rgba(10,18,45,.65) 50%,
    rgba(10,18,45,.25) 100%
  );
}
.pm-breadcrumb {
  position: absolute; top: 1.6rem; left: 50%;
  transform: translateX(-50%);
  max-width: 1280px; width: 100%;
  padding: 0 2.5rem;
  display: flex; align-items: center; gap: .5rem;
  font-size: .74rem; color: rgba(255,255,255,.45);
  z-index: 3;
}
.pm-breadcrumb a {
  color: rgba(255,255,255,.5); text-decoration: none;
  transition: color .2s;
}
.pm-breadcrumb a:hover { color: var(--gold); }
.bc-sep { font-size: .6rem; opacity: .35; }
.bc-current { color: var(--gold); }
.pm-hero-content {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto;
  padding: 0 2.5rem 4.5rem; width: 100%;
}
.pm-hero-eyebrow {
  font-size: .7rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold);
  font-weight: 600; margin-bottom: .9rem;
  display: flex; align-items: center; gap: .7rem;
}
.pm-hero-eyebrow::before {
  content: ''; display: inline-block;
  width: 32px; height: 1.5px; background: var(--gold);
}
.pm-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  font-weight: 600; color: #fff;
  line-height: 1.04; margin-bottom: 1rem;
}
.pm-hero-title em { font-style: italic; color: var(--gold-light); }
.pm-hero-sub {
  font-size: 1.02rem; color: rgba(255,255,255,.68);
  max-width: 520px; line-height: 1.72;
}
.pm-scroll-cue {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid rgba(197,164,75,.45);
  color: var(--gold); font-size: .85rem;
  margin-top: 2rem; text-decoration: none;
  animation: scrollBounce 2.2s ease-in-out infinite;
  transition: background .2s, border-color .2s;
}
.pm-scroll-cue:hover {
  background: rgba(197,164,75,.15);
  border-color: var(--gold);
}
@keyframes scrollBounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(7px); }
}

/* ══════════════════════════════════════
   READING PROGRESS BAR
══════════════════════════════════════ */
#reading-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: var(--gold);
  z-index: 9999;
  transition: width .1s linear;
  pointer-events: none;
}

/* ══════════════════════════════════════
   BODY LAYOUT
══════════════════════════════════════ */
.pm-body {
  padding: 5.5rem 2rem 6rem;
  background: var(--cream);
}
.pm-body-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4.5rem;
  align-items: start;
}

/* ── REVEAL ANIMATIONS ── */
.reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity .85s ease, transform .85s ease;
}
.reveal-left  { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }
.reveal-left.in-view, .reveal-right.in-view {
  opacity: 1; transform: translateX(0);
}

/* ══════════════════════════════════════
   PROFILE CARD
══════════════════════════════════════ */
.pm-profile {
  position: sticky; top: 108px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 56px rgba(31,49,95,.12);
}
/* Avatar area */
.pm-avatar-wrap {
  position: relative; height: 260px;
  background: linear-gradient(135deg, var(--navy-deep) 0%, #2c4a8c 60%, var(--navy) 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.pm-avatar-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(197,164,75,.14) 0%, transparent 55%),
    radial-gradient(circle at 75% 75%, rgba(194,23,28,.09) 0%, transparent 50%);
}
.pm-avatar-ring {
  position: absolute; width: 164px; height: 164px; border-radius: 50%;
  border: 1.5px solid rgba(197,164,75,.35);
  animation: ringPulse 3s ease-in-out infinite;
}
@keyframes ringPulse {
  0%,100% { transform: scale(1);    opacity: .45; }
  50%      { transform: scale(1.06); opacity: 1; }
}
.pm-avatar-placeholder {
  position: relative; z-index: 2;
  width: 130px; height: 130px; border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 2px solid rgba(197,164,75,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.8rem; color: rgba(255,255,255,.28);
}
.pm-avatar-gold-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px; background: var(--gold);
}
/* Profile info */
.pm-profile-info { padding: 1.8rem 1.8rem 2.2rem; }
.pm-profile-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem; font-weight: 700;
  color: var(--navy); line-height: 1.1;
}
.pm-profile-title {
  font-size: .7rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold);
  font-weight: 600; margin-top: .3rem;
}
.pm-profile-school {
  font-size: .8rem; color: var(--text-light); margin-top: .2rem;
}
.pm-profile-divider {
  height: 1px; background: var(--border); margin: 1.2rem 0;
}
.pm-profile-meta {
  list-style: none;
  display: flex; flex-direction: column; gap: .65rem;
}
.pm-profile-meta li {
  display: flex; align-items: center; gap: .72rem;
  font-size: .82rem; color: var(--text-mid);
}
.pm-profile-meta li i {
  color: var(--gold); width: 15px;
  text-align: center; flex-shrink: 0; font-size: .85rem;
}
.pm-signature-label {
  font-size: .64rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--text-light);
  margin-bottom: .45rem;
}
.pm-signature {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-style: italic; font-weight: 600;
  color: var(--navy); line-height: 1.1;
}

/* ══════════════════════════════════════
   MESSAGE CONTENT
══════════════════════════════════════ */
.pm-message { padding-top: .4rem; }

/* Pull quote */
.pm-pull-quote {
  position: relative;
  background: var(--navy);
  border-radius: 5px;
  padding: 2.2rem 2.2rem 2.2rem 3.2rem;
  margin-bottom: 2.5rem; overflow: hidden;
}
.pm-pull-quote::before {
  content: ''; position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px; background: var(--gold);
}
.pm-pull-quote::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 92% 50%, rgba(197,164,75,.06) 0%, transparent 60%);
}
.pm-pull-quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 8rem; line-height: .65;
  color: rgba(197,164,75,.2);
  position: absolute; top: .6rem; left: 1.2rem;
  pointer-events: none; user-select: none;
}
.pm-pull-quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem; font-style: italic;
  color: #fff; line-height: 1.55;
  position: relative; z-index: 1;
}

/* Salutation */
.pm-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.18rem; font-style: italic;
  color: var(--gold); margin-bottom: 1.5rem;
  display: block;
}

/* Paragraphs */
.pm-para {
  font-size: .97rem; line-height: 1.95;
  color: var(--text-mid); margin-bottom: 1.4rem;
}
.pm-para--lead {
  font-size: 1.06rem; color: var(--text-dark); font-weight: 400;
}
.pm-para strong { color: var(--navy); font-weight: 600; }
.pm-para em     { font-style: italic; color: var(--navy); }

/* Callout */
.pm-callout {
  display: flex; gap: 1.2rem; align-items: flex-start;
  background: rgba(197,164,75,.07);
  border: 1px solid rgba(197,164,75,.28);
  border-radius: 5px;
  padding: 1.4rem 1.6rem;
  margin: 1.8rem 0 1.6rem;
}
.pm-callout-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-deep); font-size: 1rem; margin-top: .1rem;
}
.pm-callout-text {
  font-size: .92rem; color: var(--text-mid); line-height: 1.78;
}
.pm-callout-text strong { color: var(--navy); }

/* Three Pillars */
.pm-pillars {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.2rem; margin: 2rem 0;
}
.pm-pillar {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 5px; padding: 1.5rem 1.2rem;
  text-align: center;
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease,
              box-shadow .2s, border-color .2s;
}
.pm-pillar.in-view { opacity: 1; transform: translateY(0); }
.pm-pillar:hover {
  box-shadow: 0 10px 30px rgba(31,49,95,.1);
  transform: translateY(-4px) !important;
}
.pm-pillar-icon {
  font-size: 1.65rem; color: var(--gold); margin-bottom: .85rem;
}
.pm-pillar-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.12rem; font-weight: 600;
  color: var(--navy); margin-bottom: .5rem;
}
.pm-pillar-desc {
  font-size: .8rem; color: var(--text-mid); line-height: 1.65;
}

/* Closing */
.pm-closing {
  margin-top: 2.8rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.pm-closing-text {
  font-size: .9rem; color: var(--text-mid);
  margin-bottom: .6rem; font-style: italic;
}
.pm-closing-signature {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem; font-weight: 600; font-style: italic;
  color: var(--navy); line-height: 1.1; margin-bottom: .4rem;
}
.pm-closing-role {
  font-size: .7rem; letter-spacing: .17em;
  text-transform: uppercase; color: var(--gold); font-weight: 600;
}
.pm-closing-school {
  font-size: .82rem; color: var(--text-light); margin-top: .2rem;
}

/* ══════════════════════════════════════
   OTHER DIGNITARIES
══════════════════════════════════════ */
.pm-others {
  padding: 5rem 2rem;
  background: var(--white);
}
.pm-others-inner { max-width: 1280px; margin: 0 auto; }
.pm-others-header { text-align: center; margin-bottom: 3rem; }
.pm-others-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pm-other-card {
  display: flex; align-items: center; gap: 1.2rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 5px; padding: 1.5rem 1.4rem;
  text-decoration: none;
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease,
              border-color .2s, box-shadow .2s;
}
.pm-other-card.in-view { opacity: 1; transform: translateY(0); }
.pm-other-card:hover {
  border-color: var(--navy);
  box-shadow: 0 8px 28px rgba(31,49,95,.1);
  transform: translateY(-4px) !important;
}
.pm-other-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.28); font-size: 1.3rem;
  border: 2px solid rgba(197,164,75,.28);
}
.pm-other-info { flex: 1; }
.pm-other-role {
  font-size: .65rem; letter-spacing: .17em;
  text-transform: uppercase; color: var(--gold);
  font-weight: 600; margin-bottom: .2rem;
}
.pm-other-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.08rem; font-weight: 600;
  color: var(--navy); line-height: 1.2;
}
.pm-other-org { font-size: .74rem; color: var(--text-light); margin-top: .1rem; }
.pm-other-arrow {
  color: var(--gold); font-size: .85rem;
  transition: transform .2s;
}
.pm-other-card:hover .pm-other-arrow { transform: translateX(4px); }

/* ══════════════════════════════════════
   CTA BANNER
══════════════════════════════════════ */
.pm-cta {
  padding: 5.5rem 2rem;
  background: linear-gradient(135deg, var(--navy-deep) 0%, #1f315f 50%, #0e1f45 100%);
  text-align: center; position: relative; overflow: hidden;
}
.pm-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(197,164,75,.08) 0%, transparent 60%);
}
.pm-cta-inner {
  max-width: 680px; margin: 0 auto;
  position: relative; z-index: 1;
}
.pm-cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600; color: #fff;
  line-height: 1.15; margin-bottom: 1rem;
}
.pm-cta-title em { font-style: italic; color: var(--gold-light); }
.pm-cta-sub {
  font-size: .97rem; color: rgba(255,255,255,.62);
  line-height: 1.75; margin-bottom: 2.5rem;
}
.pm-cta-btns {
  display: flex; gap: 1rem;
  justify-content: center; flex-wrap: wrap;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1100px) {
  .pm-body-inner { grid-template-columns: 290px 1fr; gap: 3.5rem; }
}
@media (max-width: 860px) {
  .pm-body-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .pm-profile { position: static; }
  .pm-avatar-wrap { height: 200px; }
  .pm-pillars { grid-template-columns: 1fr 1fr; }
  .pm-others-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pm-hero { height: 420px; }
  .pm-hero-content { padding: 0 1.5rem 3rem; }
  .pm-pull-quote { padding: 1.6rem 1.5rem 1.6rem 2rem; }
  .pm-pull-quote-text { font-size: 1.18rem; }
  .pm-pillars { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .pm-hero { height: 360px; }
  .pm-body { padding: 3rem 1.2rem; }
  .pm-callout { flex-direction: column; gap: .8rem; }
}
/* Current page item highlight */
.nav-dropdown-menu a.nav-active {
  color: var(--gold) !important;
  font-weight: 500;
}