/* ============================================================
   IMPERIAL INTERNATIONAL SCHOOL DHAKA — Shared Inner-Page Styles
   Professional Redesign 2026
   ============================================================ */

/* ── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bfcbdc;
  margin-bottom: 24px;
}
.breadcrumb a {
  color: var(--brass);
  transition: color 0.2s ease;
}
.breadcrumb a:hover {
  color: var(--brass-bright);
}
.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.4);
}

/* ── PAGE HERO ───────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(200, 155, 60, 0.25);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: clamp(12px, 2vw, 36px);
  top: 50%;
  transform: translateY(-50%);
  width: min(35vw, 420px);
  height: 70%;
  border-radius: var(--radius);
  background: radial-gradient(circle at 30% 30%, rgba(200, 155, 60, 0.12), transparent 60%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
@media (max-width: 900px) {
  .page-hero::after { display: none; }
  .page-hero { padding: 100px 0 60px; }
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin: 14px 0 16px;
  max-width: 18ch;
  line-height: 1.1;
}
.page-hero p {
  color: #bfcbdc;
  max-width: 58ch;
  font-size: 1.02rem;
  line-height: 1.68;
}

.page-hero .hero-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
  background: none;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  backdrop-filter: none;
  max-width: none;
}
.page-hero .hero-stat {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 10px 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.page-hero .hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: #fff;
  margin-bottom: 0;
  font-weight: 600;
}
.page-hero .hero-stat span {
  font-size: 0.72rem;
  color: #bfcbdc;
  font-family: var(--font-label);
  letter-spacing: 0.04em;
}
.page-hero .hero-stat-div {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  align-self: center;
}
@media (max-width: 640px) {
  .page-hero .hero-stats {
    flex-direction: column;
    align-items: stretch;
  }
  .page-hero .hero-stat-div {
    width: 100%;
    height: 1px;
  }
  .page-hero .hero-stat {
    width: 100%;
    align-items: center;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .page-hero {
    padding: calc(var(--header-total) + 24px) 0 48px;
  }
  .page-hero h1 {
    max-width: none;
    font-size: clamp(1.75rem, 7vw, 2.4rem);
  }
  .page-hero .hero-stat {
    width: 100%;
    border-radius: var(--radius-sm);
    align-items: center;
    text-align: center;
  }
}

.section-title {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  margin: 14px 0 16px;
  line-height: 1.16;
  color: var(--navy-deep);
}

/* ── INNER PAGE SECTIONS ─────────────────────────────────── */
.page-section {
  padding: 80px 0;
  background: var(--paper);
}
.page-section--alt {
  background: var(--card);
}
.page-section-header {
  margin-bottom: 48px;
}
.page-section-header p {
  color: var(--ink-soft);
  max-width: 65ch;
  line-height: 1.6;
  font-size: 1.05rem;
}

/* ── PRINCIPAL BLOCK (Faculty) ───────────────────────────── */
.principal-block {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 48px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 64px;
}
.principal-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
  background: var(--line);
}
.principal-content {
  padding: 48px 48px 48px 0;
}
.principal-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--navy-deep);
  margin-bottom: 4px;
}
.principal-title {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-text);
  margin-bottom: 24px;
}
.principal-message blockquote {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
}
.principal-message blockquote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--brass-pale);
  position: absolute;
  left: -24px;
  top: -12px;
}
.principal-message p {
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 16px;
}
@media (max-width: 800px) {
  .principal-block {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .principal-photo {
    min-height: 300px;
  }
  .principal-content {
    padding: 32px;
  }
}

/* ── FACULTY GRID ────────────────────────────────────────── */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.profile-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.profile-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  font-size: 3rem;
}
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-info {
  padding: 20px;
  text-align: center;
}
.profile-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy-deep);
  margin-bottom: 4px;
}
.profile-role {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 12px;
}
.profile-subject {
  display: inline-block;
  background: rgba(200, 155, 60, 0.1);
  color: var(--brass-text);
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
}

/* ── NEWS & NOTICES ──────────────────────────────────────── */
.notice-banner {
  background: linear-gradient(135deg, rgba(200, 155, 60, 0.15) 0%, rgba(200, 155, 60, 0.05) 100%);
  border: 1px solid rgba(200, 155, 60, 0.3);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 48px;
}
.notice-icon {
  width: 48px;
  height: 48px;
  background: var(--brass);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(200, 155, 60, 0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 155, 60, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(200, 155, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 155, 60, 0); }
}
.notice-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy-deep);
  margin-bottom: 8px;
}
.notice-content p {
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 16px;
}
.notice-date {
  font-family: var(--font-label);
  font-size: 0.75rem;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}
.news-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.news-date {
  font-family: var(--font-label);
  font-size: 0.7rem;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.news-category {
  font-family: var(--font-label);
  font-size: 0.65rem;
  color: var(--navy);
  background: rgba(23, 32, 64, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.news-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy-deep);
  margin-bottom: 12px;
  line-height: 1.4;
}
.news-card p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
  flex-grow: 1;
}

/* ── ABOUT VALUES ────────────────────────────────────────── */
.about-values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.value-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.value-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(200,155,60,0.14), rgba(200,155,60,0.04));
  color: var(--brass-text);
  border: 1px solid rgba(200,155,60,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.value-card h3 {
  font-size: 1.4rem;
  color: var(--navy-deep);
  margin-bottom: 12px;
}
.value-card p {
  color: var(--ink-soft);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .about-values-grid { grid-template-columns: 1fr; }
}

/* ── CAMPUS FEATURES ─────────────────────────────────────── */
.campus-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}
.campus-feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.campus-feature img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.campus-feature-content {
  padding: 24px;
}
.campus-feature h3 {
  font-size: 1.15rem;
  color: var(--navy-deep);
  margin-bottom: 8px;
}
.campus-feature p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}
