.school-about-page {
  background: #f3f7fb;
  color: #243447;
}

.school-about-page .btn {
  border-radius: 999px;
  font-weight: 600;
  box-shadow: none;
}

.school-about-page .btn.btn-primary {
  background: #0f766e;
  border-color: #0f766e;
}

.school-about-page .btn.btn-primary:hover,
.school-about-page .btn.btn-primary:focus {
  background: #0c5d58;
  border-color: #0c5d58;
}

.school-page-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 78px;
  background-color: #102542;
}

.about-page-hero {
  background-image:
    linear-gradient(
      90deg,
      rgba(16, 37, 66, 0.88) 0%,
      rgba(16, 37, 66, 0.74) 42%,
      rgba(15, 118, 110, 0.46) 100%
    ),
    url("https://res.cloudinary.com/djyarsuk6/image/upload/v1780937131/sch2_kjwwqi.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.about-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 18, 32, 0.12) 0%,
    rgba(11, 18, 32, 0.46) 100%
  );
  pointer-events: none;
}

.about-page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.34),
    transparent
  );
}

.about-page-hero .container {
  position: relative;
  z-index: 1;
}

.about-page-hero-content {
  max-width: 46rem;
}

.about-page-hero-content h1 {
  max-width: 25ch;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(3rem, 5.6vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.about-page-hero-content p {
  max-width: 42rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  line-height: 1.85;
}

.about-page-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}

.about-page-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
}

.about-page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.about-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.about-secondary-link:hover,
.about-secondary-link:focus {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.about-story-section {
  background: #ffffff;
}

.story-media-panel {
  position: relative;
  padding: 28px;
  border-radius: 34px;
  background: linear-gradient(180deg, #f7fafc 0%, #eef4f6 100%);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.08);
}

.story-media-image {
  min-height: 510px;
  border-radius: 28px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.story-media-note {
  position: absolute;
  right: -18px;
  bottom: 24px;
  max-width: 240px;
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
}

.story-media-note strong,
.story-media-note span {
  display: block;
}

.story-media-note strong {
  margin-bottom: 8px;
  color: #102542;
  font-size: 0.98rem;
}

.story-media-note span {
  color: #5f6f81;
  line-height: 1.7;
  font-size: 0.92rem;
}

.story-highlights {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.story-highlights article {
  padding: 22px 24px;
  border-radius: 24px;
  background: #f7fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.story-highlights strong,
.story-highlights span {
  display: block;
}

.story-highlights strong {
  margin-bottom: 8px;
  color: #102542;
  font-size: 1rem;
}

.story-highlights span {
  color: #5f6f81;
  line-height: 1.8;
}

.about-story-readmore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.about-story-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  box-shadow: 0 32px 70px rgba(15, 23, 42, 0.24);
}

.about-story-modal .modal-header {
  align-items: flex-start;
  padding: 30px 34px 22px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: #f7fafc;
}

.about-story-modal .modal-title {
  margin: 8px 0 0;
  color: #102542;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.about-story-modal .close {
  width: 42px;
  height: 42px;
  margin: 0 0 0 20px;
  padding: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #102542;
  opacity: 1;
  text-shadow: none;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

.about-story-modal .close:hover,
.about-story-modal .close:focus {
  color: #0f766e;
  opacity: 1;
}

.about-story-modal-body {
  padding: 30px 34px 34px;
}

.about-story-modal-body p {
  margin-bottom: 18px;
  color: #425466;
  font-size: 1rem;
  line-height: 1.9;
}

.about-story-modal-body p:last-child {
  margin-bottom: 0;
}

.about-principles-section {
  background: linear-gradient(180deg, #f5f8fb 0%, #edf3f6 100%);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.principle-card {
  height: 100%;
  padding: 32px 30px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
}

.principle-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: #0f766e;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.principle-card h3 {
  margin-bottom: 16px;
  font-size: 1.55rem;
}

.principle-card p {
  margin-bottom: 0;
  line-height: 1.85;
}

.value-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.value-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f3f7fb;
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: #102542;
  font-size: 0.88rem;
  font-weight: 700;
}

.principal-note-section {
  background: #ffffff;
}

.principal-note-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 30px;
  padding: 44px;
  border-radius: 34px;
  background: linear-gradient(135deg, #102542 0%, #17384f 100%);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
}

.principal-note-panel h2,
.principal-note-panel p,
.principal-note-signoff strong,
.principal-note-signoff span {
  color: #ffffff;
}

.principal-note-copy .section-kicker {
  color: rgba(255, 255, 255, 0.74);
}

.principal-note-copy p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.9;
}

.principal-note-signoff {
  align-self: end;
  padding: 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.principal-note-signoff strong,
.principal-note-signoff span {
  display: block;
}

.principal-note-signoff strong {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.principal-note-signoff span {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.72);
}

.principal-note-signoff p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.student-experience-section {
  background: linear-gradient(180deg, #f7fafc 0%, #eef4f6 100%);
}

.student-experience-image {
  overflow: hidden;
  border-radius: 34px;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.1);
}

.student-experience-image img {
  display: block;
  width: 100%;
  min-height: 560px;
  object-fit: cover;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.experience-card {
  padding: 24px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.06);
}

.experience-card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.experience-card p {
  margin-bottom: 0;
  line-height: 1.8;
}

.about-facts-section {
  background: #ffffff;
}

.about-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}

.about-fact-card {
  padding: 30px 28px;
  border-radius: 28px;
  background: #f7fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.05);
  text-align: center;
}

.about-fact-card strong,
.about-fact-card span {
  display: block;
}

.about-fact-card strong {
  color: #0f766e;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1;
  margin-bottom: 10px;
}

.about-fact-card span {
  color: #425466;
  font-weight: 600;
}

.about-page-cta {
  background: #f3f7fb;
}

@media (max-width: 1199.98px) {
  .about-page-hero-content h1 {
    max-width: 12ch;
  }

  .principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .principle-card-values {
    grid-column: 1 / -1;
  }

  .about-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .school-page-hero {
    padding: 56px 0 64px;
  }

  .principal-note-panel {
    grid-template-columns: 1fr;
  }

  .about-page-hero-content h1 {
    max-width: none;
  }

  .about-page-facts {
    margin-top: 24px;
  }

  .story-media-note {
    right: 20px;
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .school-page-hero {
    padding: 44px 0 52px;
  }

  .about-page-hero-content h1 {
    font-size: clamp(2.35rem, 9vw, 3.6rem);
  }

  .about-page-hero-content p {
    font-size: 0.98rem;
  }

  .about-page-actions {
    align-items: stretch;
  }

  .about-page-actions .btn {
    width: 100%;
  }

  .story-media-panel {
    padding: 18px;
  }

  .story-media-image {
    min-height: 340px;
  }

  .story-media-note {
    position: static;
    max-width: none;
    margin-top: 18px;
  }

  .principles-grid,
  .about-facts-grid {
    grid-template-columns: 1fr;
  }

  .principal-note-panel {
    padding: 28px;
  }

  .student-experience-image img {
    min-height: 360px;
  }

  .about-story-modal .modal-header,
  .about-story-modal-body {
    padding-left: 24px;
    padding-right: 24px;
  }
}
