/*
Theme Name: Digital Schools School Theme
Theme URI: https://digitalschoolsplatform.com
Author: Digital Schools
Description: A lightweight WordPress Multisite theme for Digital Schools school websites.
Version: 1.0.1
Text Domain: digital-schools-school-theme
*/

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f8fafc;
  color: #111827;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
  top: 0;
  z-index: 20;
}

.site-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 48px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 1 min(420px, 100%);
  min-width: 0;
  max-width: 420px;
  color: #0f172a;
  font-weight: 800;
}

.site-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #0f766e;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 0;
}

.site-logo-text {
  font-size: 20px;
  line-height: 1.2;
  color: #0f172a;
  overflow-wrap: anywhere;
}

.site-nav {
  flex: 1 1 500px;
  min-width: 360px;
}

.site-nav ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site-nav a {
  display: block;
  padding: 9px 10px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  color: #334155;
  white-space: nowrap;
  border-radius: 6px;
}

.site-nav a:hover {
  background: #f1f5f9;
  color: #0f766e;
}

.mobile-menu-toggle {
  display: none;
  background: #0f766e;
  border: none;
  color: white;
  font-size: 24px;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s ease;
  position: relative;
  z-index: 30;
}

.mobile-menu-toggle:hover {
  background: #0d9488;
}

.hero {
  position: relative;
  overflow: hidden;
  background-color: #eef5f9;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #0f172a;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(238, 245, 249, 0.82);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;

  /* Reduced top and bottom spacing */
  padding: 35px 24px 15px;

  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: 40px;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid #b8e2dc;
  border-radius: 999px;
  background: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  font-weight: 800;
  color: #0f766e;
  margin: 0 0 18px;
  box-shadow: none;
}

.hero .eyebrow {
  color: #0f766e;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(42px, 5.8vw, 66px);
  line-height: 1.02;
  margin: 0 0 18px;
  color: #0f172a;
}

.hero p {
  max-width: 640px;
  font-size: 18px;
  color: #334155;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: #0f766e;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(15, 118, 110, 0.18);
}

.button-primary:hover {
  background: #0d9488;
}

.button-secondary {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
}

.button-secondary:hover {
  background: #f8fafc;
}

.hero-media {
  position: relative;
  min-height: 300px;
}

.hero-media::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 4px;
  right: -28px;
  bottom: 12px;
  left: 12px;
  border-radius: 999px 160px 999px 180px;
  background: rgba(15, 118, 110, 0.08);
}

.hero-media::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 10px;
  width: 130px;
  height: 130px;
  border-radius: 24px;
  background: rgba(14, 165, 164, 0.12);
}

.hero-image-card {
  position: relative;
  z-index: 1;
  height: 300px;
  padding: 12px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 62px rgba(15, 23, 42, 0.22);
}

.hero-image-card img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.about-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  color: #ffffff;
  text-align: center;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.46);
}

.about-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 24px;
  animation: aboutHeroFadeIn 780ms ease-out both;
}

.about-hero-label {
  margin: 0 0 16px;
  color: #5eead4;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-hero h1 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.04;
}

.about-hero-content p:not(.about-hero-label) {
  margin: 0 auto;
  max-width: 680px;
  color: #e0f2fe;
  font-size: 21px;
  font-weight: 700;
}

.about-hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 1;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 999px;
  color: #ffffff;
  font-size: 22px;
  transform: translateX(-50%);
  animation: aboutHeroBounce 1400ms ease-in-out infinite;
}

.about-page-body {
  background: #eef5f9;
  padding: 64px 24px 72px;
}

.about-section,
.school-motto-banner {
  max-width: 1180px;
  margin: 0 auto 56px;
}

.about-section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.about-section-heading h2,
.about-text-panel h2,
.principal-copy h2 {
  margin: 0;
  color: #0f172a;
  font-size: 30px;
  line-height: 1.2;
}

.about-profile-grid,
.vision-mission-grid,
.core-values-grid,
.staff-grid,
.board-grid {
  display: grid;
  gap: 16px;
}

.about-profile-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.about-info-card,
.about-feature-card,
.about-value-card,
.staff-card,
.board-card,
.about-text-panel,
.principal-section {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.about-info-card {
  padding: 18px;
}

.about-info-card p,
.staff-card p {
  margin: 0 0 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-info-card h3,
.staff-card h3 {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.25;
}

.principal-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: center;
  padding: 28px;
}

.principal-photo,
.staff-photo {
  background: radial-gradient(circle at 70% 20%, rgba(94, 234, 212, 0.3), transparent 28%), linear-gradient(135deg, #0f766e, #0f172a);
}

.principal-photo {
  min-height: 330px;
  border-radius: 8px;
}

.principal-copy p {
  color: #334155;
  font-size: 17px;
}

.principal-signature {
  margin-top: 22px;
  display: grid;
  gap: 2px;
  color: #0f172a;
}

.principal-signature span {
  color: #0f766e;
  font-weight: 800;
}

.about-text-panel {
  padding: 30px;
}

.about-text-panel p:last-child {
  margin-bottom: 0;
  max-width: 900px;
  color: #334155;
  font-size: 18px;
}

.vision-mission-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-feature-card,
.about-value-card {
  padding: 24px;
}

.about-feature-card h3,
.about-value-card h3 {
  margin: 0 0 10px;
  color: #0f766e;
  font-size: 21px;
}

.about-feature-card p,
.about-value-card p {
  margin: 0;
  color: #475569;
}

.core-values-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.school-motto-banner {
  padding: 38px 30px;
  border-radius: 24px;
  background: #0f172a;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.1);
}

.school-motto-banner p {
  margin: 0 0 10px;
  color: #5eead4;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.school-motto-banner h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
}

.staff-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.staff-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.staff-photo {
  width: 140px;
  height: 140px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  background-color: #0f766e;
}
.board-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.board-card {
  padding: 20px;
  color: #0f172a;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
}

.academics-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  color: #ffffff;
  text-align: center;
}

.academics-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 18%, rgba(20, 184, 166, 0.3), transparent 34%), linear-gradient(135deg, rgba(15, 23, 42, 0.72), rgba(15, 118, 110, 0.5)), rgba(15, 23, 42, 0.46);
}

.academics-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 24px;
  animation: aboutHeroFadeIn 780ms ease-out both;
}

.academics-hero-label {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.academics-hero h1 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.04;
}

.academics-hero-content p:not(.academics-hero-label) {
  margin: 0 auto;
  max-width: 720px;
  color: #e0f2fe;
  font-size: 21px;
  font-weight: 700;
}

.academics-page-body {
  background: #eef5f9;
  padding: 64px 24px 72px;
}

.academics-section {
  max-width: 1180px;
  margin: 0 auto;
}

.academics-section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.academics-section-heading h2 {
  margin: 0;
  color: #0f172a;
  font-size: 30px;
  line-height: 1.2;
}

.academics-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.academics-card {
  min-height: 230px;
  padding: 22px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
}

.academics-card h3 {
  margin: 0 0 12px;
  color: #0f766e;
  font-size: 20px;
  line-height: 1.2;
}

.academics-card p {
  margin: 0;
  color: #475569;
  font-size: 15px;
}

.admissions-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  color: #ffffff;
  text-align: center;
}

.admissions-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 18%, rgba(20, 184, 166, 0.28), transparent 34%), linear-gradient(135deg, rgba(15, 23, 42, 0.74), rgba(15, 118, 110, 0.48)), rgba(15, 23, 42, 0.48);
}

.admissions-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 24px;
  animation: aboutHeroFadeIn 780ms ease-out both;
}

.admissions-hero-label {
  margin: 0 0 16px;
  color: #5eead4;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.admissions-hero h1 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.04;
}

.admissions-hero-content p:not(.admissions-hero-label) {
  margin: 0 auto;
  max-width: 720px;
  color: #e0f2fe;
  font-size: 21px;
  font-weight: 700;
}

.admissions-page-body {
  background: #eef5f9;
  padding: 64px 24px 72px;
}

.admissions-section,
.admissions-panel,
.fee-structure-banner,
.application-form-section {
  max-width: 1180px;
  margin: 0 auto 56px;
}

.admissions-panel,
.fee-structure-banner,
.uniform-section,
.application-form-section {
  padding: 30px;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.admissions-intro h2,
.admissions-section-heading h2,
.fee-structure-banner h2,
.uniform-copy h2,
.application-form-header h2 {
  margin: 0;
  color: #0f172a;
  font-size: 30px;
  line-height: 1.2;
}

.admissions-intro p:last-child,
.uniform-copy p {
  color: #334155;
  font-size: 18px;
}

.admissions-section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.admissions-card-grid,
.admissions-check-grid,
.document-grid,
.application-fields-grid {
  display: grid;
  gap: 16px;
}

.admissions-card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admissions-check-grid,
.document-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admissions-card,
.admissions-check-card,
.document-card,
.application-field {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
}

.admissions-card {
  min-height: 210px;
  padding: 22px;
}

.admissions-card h3 {
  margin: 0 0 12px;
  color: #0f766e;
  font-size: 20px;
  line-height: 1.2;
}

.admissions-card p {
  margin: 0;
  color: #475569;
  font-size: 15px;
}

.admissions-check-card,
.document-card,
.application-field {
  padding: 16px;
  color: #0f172a;
  font-weight: 800;
}

.admissions-check-card::before {
  content: "✓";
  margin-right: 8px;
  color: #0f766e;
}

.fee-structure-banner,
.application-form-header,
.uniform-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.fee-structure-banner {
  background: #0f172a;
}

.fee-structure-banner .section-eyebrow {
  color: #5eead4;
}

.fee-structure-banner h2 {
  color: #ffffff;
}

.uniform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.uniform-list span {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #0f766e;
  font-weight: 800;
}

.application-fields-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.gallery-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 18%, rgba(94, 234, 212, 0.28), transparent 32%), linear-gradient(135deg, #0f172a 0%, #0f766e 58%, #14b8a6 100%);
  color: #ffffff;
  text-align: center;
}

.gallery-hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 96px 24px;
}

.gallery-hero-label {
  margin: 0 0 16px;
  color: #5eead4;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-hero h1 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.04;
}

.gallery-hero p:last-child {
  margin: 0 auto;
  max-width: 720px;
  color: #e0f2fe;
  font-size: 21px;
  font-weight: 700;
}

.gallery-page-body {
  background: #eef5f9;
  padding: 60px 24px 72px;
}

.gallery-intro,
.gallery-tabs,
.gallery-grid,
.video-highlights {
  max-width: 1180px;
  margin: 0 auto;
}

.gallery-intro {
  padding: 30px;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.gallery-intro h2,
.gallery-section-heading h2 {
  margin: 0;
  color: #0f172a;
  font-size: 30px;
  line-height: 1.2;
}

.gallery-intro p:last-child {
  max-width: 820px;
  color: #334155;
  font-size: 18px;
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 28px 0;
}

.gallery-tabs span {
  display: inline-flex;
  padding: 9px 13px;
  border: 1px solid #cfe8e4;
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  font-weight: 800;
}

.gallery-tabs .is-active {
  background: #0f766e;
  color: #ffffff;
}

.gallery-grid {
  columns: 3 260px;
  column-gap: 18px;
}

.gallery-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
  break-inside: avoid;
}

.gallery-image-placeholder,
.video-placeholder {
  background: radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.34), transparent 32%), linear-gradient(135deg, #0f766e, #14b8a6);
}

.gallery-card:nth-child(2n) .gallery-image-placeholder {
  background: radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.34), transparent 32%), linear-gradient(135deg, #0f172a, #0d9488);
}

.gallery-card:nth-child(3n) .gallery-image-placeholder {
  background: radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.34), transparent 32%), linear-gradient(135deg, #164e63, #2dd4bf);
}

.gallery-image-placeholder {
  min-height: 190px;
  border-radius: 0 0 8px 8px;
}

.gallery-card:nth-child(3n + 1) .gallery-image-placeholder {
  min-height: 245px;
}

.gallery-card:nth-child(4n) .gallery-image-placeholder {
  min-height: 150px;
}

.gallery-card-copy {
  padding: 18px;
}

.gallery-category {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
}

.gallery-card h3,
.video-card h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 20px;
  line-height: 1.25;
}

.gallery-card-copy p:last-child {
  margin: 0;
  color: #475569;
  font-size: 15px;
}

.video-highlights {
  margin-top: 54px;
}

.gallery-section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.video-card {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.video-placeholder {
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-placeholder span {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #0f766e;
  font-size: 24px;
}

.video-card .gallery-category,
.video-card h3 {
  margin-left: 18px;
  margin-right: 18px;
}

.video-card .gallery-category {
  margin-top: 18px;
}

.video-card h3 {
  margin-bottom: 20px;
}

.news-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 18% 20%, rgba(94, 234, 212, 0.22), transparent 28%), linear-gradient(135deg, #0f172a 0%, #0f766e 52%, #14b8a6 100%);
  color: #ffffff;
}

.news-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  padding: 94px 24px 104px;
  text-align: center;
}

.news-hero-label {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: #ccfbf1;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-hero h1 {
  margin: 20px 0 14px;
  color: #ffffff;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
}

.news-hero p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: #e0f2fe;
  font-size: 21px;
  line-height: 1.65;
}

.news-hero-shape {
  position: absolute;
  border-radius: 999px;
  background: #ffffff;
  opacity: 0.08;
}

.news-hero-shape.shape-one {
  width: 260px;
  height: 260px;
  top: -92px;
  right: 8%;
}

.news-hero-shape.shape-two {
  width: 160px;
  height: 160px;
  bottom: 34px;
  left: 8%;
}

.news-page-body {
  background: #eef5f9;
  padding: 72px 24px 84px;
}

.featured-announcement,
.news-category-strip,
.news-section,
.achievement-highlight,
.notice-board {
  max-width: 1200px;
  margin: 0 auto 58px;
}

.featured-announcement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.96), rgba(15, 23, 42, 0.96)), #0f172a;
  color: #ffffff;
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.18);
}

.featured-announcement h2,
.achievement-highlight h2 {
  margin: 12px 0;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 44px);
}

.featured-announcement p:not(.news-pill),
.achievement-copy p:not(.section-eyebrow) {
  max-width: 760px;
  margin: 0;
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.7;
}

.news-pill {
  display: inline-flex;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.16);
  color: #99f6e4;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-announcement .button {
  white-space: nowrap;
  background: #ffffff;
  color: #0f172a;
  border-color: #ffffff;
}

.featured-announcement .button:hover {
  background: #ccfbf1;
  border-color: #ccfbf1;
}

.news-category-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.news-category-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.news-category-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--category-accent, #0f766e);
}

.news-category-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: #ccfbf1;
  color: var(--category-accent, #0f766e);
  font-weight: 900;
}

.news-category-card h3,
.timeline-card h3,
.calendar-card h3,
.achievement-card h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 20px;
}

.news-category-card p {
  margin: 0;
  color: #475569;
  line-height: 1.55;
}

.news-section,
.notice-board {
  padding: 36px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.news-section-heading {
  margin-bottom: 26px;
}

.news-section-heading h2 {
  margin: 6px 0 0;
  color: #0f172a;
  font-size: clamp(28px, 4vw, 40px);
}

.news-timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.news-timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 11px;
  width: 2px;
  background: #99f6e4;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.timeline-marker {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  border: 6px solid #ccfbf1;
  border-radius: 999px;
  background: #0f766e;
}

.timeline-card {
  padding: 20px 22px;
  border: 1px solid #dbeafe;
  border-radius: 20px;
  background: #f8fafc;
}

.timeline-card span {
  color: #64748b;
  font-weight: 800;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.calendar-card {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border-radius: 20px;
  background: #eef5f9;
}

.calendar-date {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #0f766e;
  color: #ffffff;
}

.calendar-date strong {
  display: block;
  font-size: 28px;
  line-height: 0.9;
}

.calendar-date span {
  display: block;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.achievement-highlight {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: center;
  padding: 38px;
  border-radius: 28px;
  background: radial-gradient(circle at 85% 16%, rgba(255, 255, 255, 0.18), transparent 24%), linear-gradient(135deg, #0f172a 0%, #155e75 100%);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.16);
}

.achievement-highlight .section-eyebrow {
  color: #5eead4;
}

.achievement-grid {
  display: grid;
  gap: 16px;
}

.achievement-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
}

.achievement-card span,
.notice-card span {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border-radius: 999px;
  background: #14b8a6;
  box-shadow: 0 0 0 7px #ccfbf1;
}

.achievement-card h3 {
  margin: 0;
}

.notice-board {
  margin-bottom: 0;
  background: linear-gradient(180deg, rgba(232, 245, 241, 0.72), rgba(255, 255, 255, 0.96)), #ffffff;
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.notice-card {
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 112px;
  padding: 20px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.notice-card p {
  margin: 0;
  color: #0f172a;
  font-weight: 800;
}

.impact-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 78% 18%, rgba(94, 234, 212, 0.2), transparent 27%), linear-gradient(135deg, #07111f 0%, #0f172a 34%, #0f766e 72%, #14b8a6 100%);
  color: #ffffff;
}

.impact-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  padding: 98px 24px 108px;
  text-align: center;
}

.impact-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.16);
  border: 1px solid rgba(153, 246, 228, 0.38);
  color: #99f6e4;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.impact-hero h1 {
  margin: 20px 0 14px;
  color: #ffffff;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
}

.impact-hero p:last-child {
  max-width: 820px;
  margin: 0 auto;
  color: #dbeafe;
  font-size: 21px;
  line-height: 1.65;
}

.impact-hero-shape {
  position: absolute;
  border-radius: 999px;
  background: #ffffff;
  opacity: 0.08;
}

.impact-hero-shape.shape-one {
  width: 280px;
  height: 280px;
  right: -70px;
  top: 38px;
}

.impact-hero-shape.shape-two {
  width: 180px;
  height: 180px;
  left: 8%;
  bottom: -56px;
}

.impact-page-body {
  background: #eef5f9;
  padding: 72px 24px 84px;
}

.impact-intro,
.impact-section,
.sponsor-section,
.transparency-notice {
  max-width: 1200px;
  margin: 0 auto 58px;
}

.impact-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  align-items: stretch;
}

.impact-intro-copy,
.impact-section,
.sponsor-section,
.transparency-notice {
  padding: 36px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.impact-intro-copy h2,
.impact-section-heading h2,
.sponsor-copy h2,
.transparency-notice h2 {
  margin: 8px 0 14px;
  color: #0f172a;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
}

.impact-intro-copy p:not(.section-eyebrow),
.sponsor-copy p,
.transparency-notice p:not(.section-eyebrow) {
  margin: 0;
  color: #475569;
  font-size: 18px;
  line-height: 1.75;
}

.impact-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.impact-summary-card {
  display: grid;
  align-content: center;
  min-height: 150px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0f172a, #0f766e);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.14);
}

.impact-summary-card strong {
  display: block;
  color: #5eead4;
  font-size: 46px;
  line-height: 1;
}

.impact-summary-card span {
  margin-top: 10px;
  color: #e0f2fe;
  font-weight: 800;
}

.impact-section-heading,
.sponsor-copy {
  margin-bottom: 26px;
}

.completed-project-grid,
.support-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  padding: 24px;
  border-radius: 24px;
  background: #f8fafc;
  border: 1px solid #dbeafe;
}

.project-card h3 {
  margin: 14px 0 10px;
  color: #0f172a;
  font-size: 22px;
}

.project-card p {
  margin: 0;
  color: #475569;
  line-height: 1.65;
}

.project-card > span {
  display: block;
  margin-top: 18px;
  color: #0f766e;
  font-weight: 900;
}

.project-status {
  display: inline-flex;
  margin: 0;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-status.completed {
  background: #dcfce7;
  color: #166534;
}

.project-status.progress {
  background: #dbeafe;
  color: #1d4ed8;
}

.project-status.support {
  background: #ccfbf1;
  color: #0f766e;
}

.project-impact-note {
  margin-top: 16px;
  padding: 14px;
  border-radius: 16px;
  background: #e8f5f1;
  color: #0f172a;
  font-weight: 800;
  line-height: 1.5;
}

.progress-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.progress-project-card {
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.07);
}

.project-card-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.project-card-topline strong {
  color: #0f766e;
  font-size: 26px;
}

.project-progress-bar {
  height: 12px;
  margin: 18px 0;
  overflow: hidden;
  border-radius: 999px;
  background: #dbeafe;
}

.project-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f766e, #14b8a6);
}

.support-project-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: #ffffff;
}

.support-project-card h3,
.support-project-card p {
  margin: 0;
}

.support-need {
  padding: 12px;
  border-radius: 14px;
  background: #eef5f9;
  color: #0f172a !important;
  font-weight: 800;
}

.support-project-card .button {
  margin-top: auto;
}

.sponsor-section {
  background: linear-gradient(180deg, #ffffff, #e8f5f1);
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.sponsor-card {
  min-height: 150px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 22px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #dbeafe;
}

.sponsor-card span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #0f766e;
  color: #ffffff;
  font-weight: 900;
}

.sponsor-card h3 {
  margin: 14px 0 0;
  color: #0f172a;
  font-size: 19px;
}

.impact-timeline {
  position: relative;
  display: grid;
  gap: 16px;
}

.impact-timeline::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 22px;
  width: 2px;
  background: #99f6e4;
}

.impact-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.impact-timeline-item span {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #0f766e;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 0 0 8px #ccfbf1;
}

.impact-timeline-item p {
  margin: 0;
  padding: 18px 20px;
  border-radius: 18px;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 800;
}

.transparency-notice {
  margin-bottom: 0;
  background: radial-gradient(circle at 90% 8%, rgba(94, 234, 212, 0.18), transparent 24%), linear-gradient(135deg, #0f172a 0%, #155e75 100%);
}

.transparency-notice .section-eyebrow {
  color: #5eead4;
}

.transparency-notice h2 {
  color: #ffffff;
}

.transparency-notice p:not(.section-eyebrow) {
  color: #dbeafe;
}

.contact-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.14), transparent 26%), linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(15, 118, 110, 0.9));
  color: #ffffff;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  margin: 0 auto;
  padding: 96px 24px 106px;
  text-align: center;
}

.contact-hero-label {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: #ccfbf1;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-hero h1 {
  margin: 20px 0 14px;
  color: #ffffff;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
}

.contact-hero p:last-child {
  max-width: 720px;
  margin: 0 auto;
  color: #e0f2fe;
  font-size: 22px;
  line-height: 1.65;
}

.contact-hero-shape {
  position: absolute;
  border-radius: 999px;
  background: #ffffff;
  opacity: 0.08;
}

.contact-hero-shape.shape-one {
  width: 250px;
  height: 250px;
  top: -80px;
  right: 10%;
}

.contact-hero-shape.shape-two {
  width: 150px;
  height: 150px;
  bottom: 38px;
  left: 9%;
}

.contact-page-body {
  background: #eef5f9;
  padding: 72px 24px 84px;
}

.quick-contact-grid,
.contact-location-section,
.contact-form-section,
.social-section,
.principal-contact-card,
.contact-verification {
  max-width: 1200px;
  margin: 0 auto 58px;
}

.quick-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.quick-contact-card {
  padding: 24px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.quick-contact-card span,
.social-card span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #0f766e;
  color: #ffffff;
  font-weight: 900;
}

.quick-contact-card h2 {
  margin: 18px 0 8px;
  color: #0f172a;
  font-size: 21px;
}

.quick-contact-card p {
  margin: 0;
  color: #475569;
  font-weight: 800;
  line-height: 1.5;
}

.contact-location-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
}

.school-location-details,
.map-panel,
.contact-form-section,
.social-section,
.principal-contact-card,
.contact-verification {
  padding: 36px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.school-location-details h2,
.contact-form-copy h2,
.contact-section-heading h2,
.principal-contact-card h2,
.contact-verification h2 {
  margin: 8px 0 14px;
  color: #0f172a;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
}

.school-detail-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.school-detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid #dbeafe;
}

.school-detail-list span {
  color: #64748b;
  font-weight: 800;
}

.school-detail-list strong {
  color: #0f172a;
  text-align: right;
}

.map-placeholder {
  min-height: 340px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.92), rgba(15, 23, 42, 0.92)), repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 0 2px, transparent 2px 16px);
  color: #ffffff;
}

.map-placeholder span {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.22);
}

.map-placeholder h2 {
  margin: 18px 0 0;
  color: #ffffff;
  font-size: 26px;
}

.contact-form-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 30px;
}

.contact-form-copy p:not(.section-eyebrow),
.principal-contact-card p,
.contact-verification p {
  margin: 0;
  color: #475569;
  font-size: 17px;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label.full,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form label span {
  color: #0f172a;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  background: #f8fafc;
  color: #0f172a;
  font: inherit;
  padding: 14px 16px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(20, 184, 166, 0.22);
  border-color: #0f766e;
  background: #ffffff;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}

.social-card {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 138px;
  padding: 18px;
  border-radius: 22px;
  background: #f8fafc;
  border: 1px solid #dbeafe;
  color: #0f172a;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.1);
}

.principal-contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, #0f172a, #155e75);
}

.principal-contact-card .section-eyebrow {
  color: #5eead4;
}

.principal-contact-card h2,
.principal-contact-card strong {
  color: #ffffff;
}

.principal-contact-card strong {
  display: block;
  margin-bottom: 14px;
}

.principal-contact-card p {
  color: #dbeafe;
}

.principal-contact-actions,
.contact-verification-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.principal-contact-actions {
  justify-content: flex-end;
}

.principal-contact-actions .button-secondary,
.contact-verification-actions .button-secondary {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
}

.contact-verification {
  margin-bottom: 0;
  text-align: center;
  background: linear-gradient(180deg, #ffffff, #e8f5f1);
}

.contact-verification p {
  max-width: 760px;
  margin: 0 auto 24px;
}

.contact-verification-actions {
  justify-content: center;
}

@keyframes aboutHeroFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes aboutHeroBounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 7px);
  }
}

.home-section-inner,
.school-snapshot {
  max-width: 1180px;
  margin: 0 auto;
}

.school-snapshot {
  background: #0f172a;
  max-width: none;
  padding: 64px 24px 0;
}

.school-snapshot-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
  border: 1px solid #1e293b;
  border-radius: 24px;
  background: #0f172a;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

.school-snapshot .section-eyebrow {
  color: #5eead4;
}

.school-snapshot .section-heading h2 {
  color: #ffffff;
}

.home-section-inner {
  padding: 0 24px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

.section-heading-compact {
  margin-bottom: 18px;
}

.section-eyebrow {
  margin: 0 0 8px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: #0f172a;
  font-size: 28px;
  line-height: 1.2;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.snapshot-card {
  min-height: 78px;
  padding: 14px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
}

.snapshot-label {
  margin: 0 0 6px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.snapshot-value {
  margin: 0;
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.quick-stats {
  padding: 80px 0 54px;
  background: #e8f5f1;
}

.quick-stats .home-section-inner {
  max-width: 1200px;
  padding: 40px;
  border: 1px solid #cfe8e4;
  border-radius: 24px;
  background: #e8f5f1;
  box-shadow: 0 22px 60px rgba(15, 118, 110, 0.1);
}

.quick-stats .section-eyebrow {
  color: #0f766e;
}

.quick-stats .section-heading h2 {
  color: #0f172a;
}

.latest-news,
.projects-preview {
  padding: 54px 0;
  background: #ffffff;
}

.latest-news {
  background: #eef5f9;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  padding: 20px 18px;
  border: 1px solid #dbe7e5;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
}

.stat-value {
  margin: 0;
  color: #0f766e;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  margin: 8px 0 0;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
}

.about-preview {
  padding: 56px 0;
  background: #f8fafc;
}

.about-preview-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 42px;
  align-items: center;
}

.about-preview h2 {
  margin: 0;
  color: #0f172a;
  font-size: 30px;
  line-height: 1.2;
}

.about-preview-copy p {
  margin: 16px 0 18px;
  color: #334155;
  font-size: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: #0f766e;
  font-weight: 800;
}

.text-link:hover {
  color: #0f172a;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.value-card {
  padding: 18px;
  border: 1px solid #dbe7e5;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.news-card {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.news-poster {
  min-height: 150px;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.34), transparent 32%), linear-gradient(135deg, #0f766e, #14b8a6);
}

.news-card:nth-child(2) .news-poster {
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.34), transparent 32%), linear-gradient(135deg, #0f172a, #0d9488);
}

.news-card:nth-child(3) .news-poster {
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.34), transparent 32%), linear-gradient(135deg, #164e63, #2dd4bf);
}

.news-category {
  display: inline-flex;
  margin: 18px 18px 0;
  padding: 5px 9px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
}

.news-card h3 {
  margin: 12px 18px 8px;
  color: #0f172a;
  font-size: 20px;
  line-height: 1.25;
}

.news-card p {
  margin: 0 18px 16px;
  color: #475569;
  font-size: 15px;
}

.news-card .text-link {
  margin: 0 18px 20px;
}

.projects-preview {
  background: #f8fafc;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.projects-grid .project-card {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 22px;
  border: 1px solid #dbe7e5;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
}

.projects-grid .project-card h3 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 21px;
  line-height: 1.25;
}

.projects-grid .project-card p {
  margin: 0 0 18px;
  color: #475569;
  font-size: 15px;
}

.button-small {
  margin-top: auto;
  min-height: 40px;
  padding: 10px 14px;
  background: #0f766e;
  color: #ffffff;
  box-shadow: none;
}

.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 36px 24px;
}

.site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  text-align: center;
}

.footer-verification {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
}

.footer-links a,
.footer-powered a {
  color: #a7f3d0;
  font-weight: 700;
}

.footer-powered {
  margin: 0;
}

.footer-links a:hover,
.footer-powered a:hover {
  color: #ffffff;
}

/* =======================================================
   RESPONSIVE STYLES - FIXED
   ======================================================= */
@media (max-width: 768px) {
  .site-header-inner {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 12px 16px;
    gap: 10px;
  }

  .site-logo {
    flex: 1;
    max-width: calc(100% - 80px);
  }

  .site-logo-mark {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
  }

  .site-logo-text {
    font-size: 16px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex: 1 1 100%;
    min-width: 0;
    margin-top: 10px;
  }

  .site-nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    z-index: 25;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 8px;
  }

  .site-nav li {
    width: 100%;
  }

  .site-nav a {
    white-space: normal;
    text-align: center;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 14px;
  }

  .site-nav a:hover {
    background: #e2e8f0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 20px 52px;
    text-align: center;
  }

  .hero-copy,
  .hero p {
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-media {
    min-height: 300px;
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
  }

  .hero-image-card {
    height: 300px;
  }

  .about-hero {
    min-height: 450px;
  }

  .about-page-body {
    padding: 48px 20px 56px;
  }

  .about-profile-grid,
  .core-values-grid,
  .board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .principal-section,
  .vision-mission-grid,
  .staff-grid {
    grid-template-columns: 1fr;
  }

  .academics-hero {
    min-height: 450px;
  }

  .academics-page-body {
    padding: 48px 20px 56px;
  }

  .academics-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admissions-hero {
    min-height: 450px;
  }

  .admissions-page-body {
    padding: 48px 20px 56px;
  }

  .admissions-card-grid.four,
  .admissions-check-grid,
  .document-grid,
  .application-fields-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-hero-content {
    padding: 72px 20px;
  }

  .gallery-page-body {
    padding: 48px 20px 56px;
  }

  .gallery-tabs {
    justify-content: center;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .news-hero-content {
    padding: 72px 20px;
  }

  .news-page-body {
    padding: 48px 20px 56px;
  }

  .featured-announcement,
  .achievement-highlight {
    grid-template-columns: 1fr;
  }

  .featured-announcement .button {
    justify-self: start;
  }

  .news-category-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-grid,
  .notice-grid {
    grid-template-columns: 1fr;
  }

  .impact-hero-content {
    padding: 72px 20px;
  }

  .impact-page-body {
    padding: 48px 20px 56px;
  }

  .impact-intro,
  .progress-project-grid {
    grid-template-columns: 1fr;
  }

  .completed-project-grid,
  .support-project-grid,
  .sponsor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-hero-content {
    padding: 72px 20px;
  }

  .contact-page-body {
    padding: 48px 20px 56px;
  }

  .quick-contact-grid,
  .social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-location-section,
  .contact-form-section,
  .principal-contact-card {
    grid-template-columns: 1fr;
  }

  .principal-contact-actions {
    justify-content: flex-start;
  }

  .fee-structure-banner,
  .application-form-header,
  .uniform-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .uniform-list {
    justify-content: flex-start;
  }

  .principal-photo {
    min-height: 260px;
  }

  .school-snapshot {
    padding: 36px 20px 28px;
  }

  .section-heading {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .snapshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .stats-grid,
  .news-grid,
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .about-preview-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .values-grid {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .site-header-inner {
    padding: 10px 12px;
  }

  .site-logo-mark {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    font-size: 12px;
  }

  .site-logo-text {
    font-size: 14px;
  }

  .mobile-menu-toggle {
    padding: 6px 12px;
    font-size: 20px;
  }

  .site-nav a {
    padding: 10px;
    font-size: 13px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-media {
    min-height: 250px;
  }

  .hero-image-card {
    height: 250px;
    border-radius: 24px;
  }

  .about-hero {
    min-height: 350px;
  }

  .about-hero h1 {
    font-size: 36px;
  }

  .about-page-body {
    padding: 36px 16px 44px;
  }

  .about-profile-grid,
  .core-values-grid,
  .board-grid {
    grid-template-columns: 1fr;
  }

  .academics-hero {
    min-height: 350px;
  }

  .academics-hero h1 {
    font-size: 36px;
  }

  .academics-page-body {
    padding: 36px 16px 44px;
  }

  .academics-card-grid {
    grid-template-columns: 1fr;
  }

  .admissions-hero {
    min-height: 350px;
  }

  .admissions-hero h1 {
    font-size: 38px;
  }

  .admissions-page-body {
    padding: 36px 16px 44px;
  }

  .admissions-card-grid.four,
  .admissions-check-grid,
  .document-grid,
  .application-fields-grid {
    grid-template-columns: 1fr;
  }

  .gallery-hero-content {
    padding: 58px 16px;
  }

  .gallery-hero h1 {
    font-size: 38px;
  }

  .gallery-page-body {
    padding: 36px 16px 44px;
  }

  .gallery-grid {
    columns: 1;
  }

  .news-hero-content {
    padding: 58px 16px;
  }

  .news-hero h1 {
    font-size: 38px;
  }

  .news-page-body {
    padding: 36px 16px 44px;
  }

  .featured-announcement,
  .news-section,
  .achievement-highlight,
  .notice-board {
    padding: 22px;
  }

  .news-category-strip {
    grid-template-columns: 1fr;
  }

  .impact-hero-content {
    padding: 58px 16px;
  }

  .impact-hero h1 {
    font-size: 38px;
  }

  .impact-page-body {
    padding: 36px 16px 44px;
  }

  .impact-intro-copy,
  .impact-section,
  .sponsor-section,
  .transparency-notice {
    padding: 22px;
  }

  .impact-summary-grid,
  .completed-project-grid,
  .support-project-grid,
  .sponsor-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero-content {
    padding: 58px 16px;
  }

  .contact-hero h1 {
    font-size: 38px;
  }

  .contact-page-body {
    padding: 36px 16px 44px;
  }

  .quick-contact-grid,
  .social-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .school-location-details,
  .map-panel,
  .contact-form-section,
  .social-section,
  .principal-contact-card,
  .contact-verification {
    padding: 22px;
  }

  .button {
    width: 100%;
  }

  .section-heading h2 {
    font-size: 26px;
  }

  .snapshot-grid,
  .stats-grid,
  .news-grid,
  .projects-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .about-preview h2 {
    font-size: 26px;
  }

  .staff-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .staff-photo {
    margin: 0 auto;
  }
}

/* =======================================================
   ACCESSIBILITY & SAFETY FIXES
   ======================================================= */

/* Ensure all interactive elements have sufficient contrast */
.button-primary,
.button-primary:hover,
.button-primary:focus {
  background: #0f766e;
  color: #ffffff;
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid #0f766e;
  outline-offset: 2px;
}

/* Skip to content link for accessibility */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: #0f766e;
  color: white;
  padding: 8px;
  z-index: 100;
  text-decoration: none;
}

.skip-to-content:focus {
  top: 0;
}

/* Ensure responsive images don't overflow */
img {
  max-width: 100%;
  height: auto;
}

/* Fix for mobile menu when open */
body.menu-open {
  overflow: hidden;
}
.news-poster {
  min-height: 220px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.news-card {
  overflow: hidden;
}

.news-poster {
  width: 100%;
  height: 260px;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  border-radius: 0;
}
.principal-photo{
    min-height:450px;
    border-radius:20px;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}
/* =======================================================
   RESET + NORMALIZE PAGE HERO SECTIONS
   ======================================================= */

.news-hero,
.about-hero,
.academics-hero,
.admissions-hero,
.contact-hero {
  position: relative;
  min-height: 520px;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden;
}

.news-hero-overlay,
.about-hero-overlay,
.academics-hero-overlay,
.admissions-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48) !important;
  z-index: 1;
}

.news-hero-content,
.about-hero-content,
.academics-hero-content,
.admissions-hero-content,
.contact-hero-content {
  position: relative !important;
  z-index: 3 !important;
  width: 100%;
  max-width: 900px !important;
  margin: 0 auto !important;
  padding: 80px 24px !important;
  text-align: center !important;
}

.news-hero-label,
.about-hero-label,
.academics-hero-label,
.admissions-hero-label,
.contact-hero-label {
  display: inline-flex !important;
  margin: 0 auto 18px !important;
}

.news-hero h1,
.about-hero h1,
.academics-hero h1,
.admissions-hero h1,
.contact-hero h1 {
  margin: 0 auto 18px !important;
  text-align: center !important;
  color: #ffffff !important;
  font-size: clamp(42px, 6vw, 72px) !important;
  line-height: 1.05 !important;
}

.news-hero p,
.about-hero-content p:not(.about-hero-label),
.academics-hero-content p:not(.academics-hero-label),
.admissions-hero-content p:not(.admissions-hero-label),
.contact-hero p {
  max-width: 760px !important;
  margin: 0 auto !important;
  text-align: center !important;
  color: #ffffff !important;
  font-size: 21px !important;
  line-height: 1.6 !important;
}

.news-hero-shape {
  display: none !important;
}

@media (max-width: 768px) {
  .news-hero,
  .about-hero,
  .academics-hero,
  .admissions-hero,
  .contact-hero {
    min-height: 420px;
  }

  .news-hero-content,
  .about-hero-content,
  .academics-hero-content,
  .admissions-hero-content,
  .contact-hero-content {
    padding: 60px 18px !important;
  }

  .news-hero h1,
  .about-hero h1,
  .academics-hero h1,
  .admissions-hero h1,
  .contact-hero h1 {
    font-size: 38px !important;
  }
}
.google-map-frame {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 24px;
}
/* =======================================================
   FINAL HOME HERO COMPACT FIX - ALL SCHOOLS
   Keeps buttons visible and prevents oversized hero
   ======================================================= */

.hero-content {
  max-width: 1280px !important;
  padding-top: 44px !important;
  padding-bottom: 46px !important;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr) !important;
  gap: 42px !important;
}

.hero h1 {
  font-size: clamp(36px, 4.4vw, 54px) !important;
  line-height: 1.02 !important;
  margin-bottom: 18px !important;
}

.hero p {
  font-size: 18px !important;
  line-height: 1.55 !important;
  max-width: 680px !important;
}

.hero-actions {
  margin-top: 18px !important;
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

.hero-media {
  min-height: 330px !important;
}

.hero-image-card {
  height: 330px !important;
}

.hero-image-card img {
  object-fit: cover !important;
  object-position: center center !important;
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }

  .hero-actions {
    justify-content: center !important;
  }
}
/* =======================================================
   FINAL PAGE HERO COMPACT FIX - ALL SCHOOLS
   Fixes Admissions/About/Academics/News/Contact hero height
   ======================================================= */

.about-hero,
.academics-hero,
.admissions-hero,
.news-hero,
.contact-hero {
  min-height: 420px !important;
  max-height: 460px !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.about-hero-content,
.academics-hero-content,
.admissions-hero-content,
.news-hero-content,
.contact-hero-content {
  max-width: 900px !important;
  padding: 70px 24px !important;
  text-align: center !important;
}

.about-hero h1,
.academics-hero h1,
.admissions-hero h1,
.news-hero h1,
.contact-hero h1 {
  font-size: clamp(40px, 5vw, 64px) !important;
  line-height: 1.05 !important;
  margin-bottom: 16px !important;
}

.about-hero-content p:not(.about-hero-label),
.academics-hero-content p:not(.academics-hero-label),
.admissions-hero-content p:not(.admissions-hero-label),
.news-hero-content p:not(.news-hero-label),
.contact-hero-content p:not(.contact-hero-label) {
  max-width: 760px !important;
  font-size: 20px !important;
  line-height: 1.45 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 768px) {
  .about-hero,
  .academics-hero,
  .admissions-hero,
  .news-hero,
  .contact-hero {
    min-height: 360px !important;
    max-height: none !important;
  }

  .about-hero-content,
  .academics-hero-content,
  .admissions-hero-content,
  .news-hero-content,
  .contact-hero-content {
    padding: 56px 18px !important;
  }

  .about-hero h1,
  .academics-hero h1,
  .admissions-hero h1,
  .news-hero h1,
  .contact-hero h1 {
    font-size: 38px !important;
  }
}
/* =======================================================
   ACADEMICS HERO CENTER ALIGNMENT FIX
   ======================================================= */

.academics-hero {
    min-height: 420px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    background-size: cover !important;
    background-position: center center !important;
}

.academics-hero-content {
    width: 100% !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 70px 24px !important;
    text-align: center !important;
}

.academics-hero-label {
    display: block !important;
    text-align: center !important;
    margin-bottom: 14px !important;
}

.academics-hero h1 {
    text-align: center !important;
    margin: 0 auto 16px auto !important;
    font-size: clamp(40px, 5vw, 64px) !important;
    line-height: 1.05 !important;
}

.academics-hero p {
    text-align: center !important;
    max-width: 760px !important;
    margin: 0 auto !important;
    font-size: 20px !important;
    line-height: 1.45 !important;
}
.gallery-hero {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.gallery-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  z-index: 1;
}

.gallery-hero-content {
  position: relative;
  z-index: 2;
}

.gallery-image-real {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
/* FINAL ABOUT HERO FIX - MATCH KARIMA STYLE */

.about-hero {
  min-height: 420px !important;
  max-height: 460px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.about-hero-content {
  width: 100% !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding: 70px 24px !important;
  text-align: center !important;
}

.about-hero-label {
  display: block !important;
  text-align: center !important;
  margin: 0 auto 16px !important;
  color: #5eead4 !important;
}

.about-hero h1 {
  max-width: 1100px !important;
  margin: 0 auto 18px !important;
  text-align: center !important;
  font-size: clamp(40px, 5vw, 64px) !important;
  line-height: 1.05 !important;
}

.about-hero-content p:not(.about-hero-label) {
  max-width: 850px !important;
  margin: 0 auto !important;
  text-align: center !important;
  font-size: 20px !important;
  line-height: 1.45 !important;
}

.about-hero-scroll {
  bottom: 24px !important;
}
/* =======================================================
   SAFE GLOBAL PAGE HERO ALIGNMENT FIX
   Keeps Karima stable and normalizes all school pages
   ======================================================= */

.about-hero,
.academics-hero,
.admissions-hero,
.news-hero,
.gallery-hero,
.contact-hero {
  position: relative !important;
  min-height: 430px !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  text-align: center !important;
}

.about-hero-content,
.academics-hero-content,
.admissions-hero-content,
.news-hero-content,
.gallery-hero-content,
.contact-hero-content {
  position: relative !important;
  z-index: 3 !important;
  width: 100% !important;
  max-width: 1050px !important;
  margin: 0 auto !important;
  padding: 44px 24px 54px !important;
  text-align: center !important;
  transform: translateY(-10px) !important;
}

.about-hero h1,
.academics-hero h1,
.admissions-hero h1,
.news-hero h1,
.gallery-hero h1,
.contact-hero h1 {
  max-width: 1050px !important;
  margin: 0 auto 16px !important;
  font-size: clamp(40px, 5.4vw, 68px) !important;
  line-height: 1.05 !important;
  text-align: center !important;
}

.about-hero-content p:not(.about-hero-label),
.academics-hero-content p:not(.academics-hero-label),
.admissions-hero-content p:not(.admissions-hero-label),
.news-hero-content p:not(.news-hero-label),
.gallery-hero-content p:not(.gallery-hero-label),
.contact-hero-content p:not(.contact-hero-label) {
  max-width: 820px !important;
  margin: 0 auto !important;
  font-size: 20px !important;
  line-height: 1.45 !important;
  text-align: center !important;
}

.about-hero-scroll {
  bottom: 20px !important;
}

@media (max-width: 768px) {
  .about-hero,
  .academics-hero,
  .admissions-hero,
  .news-hero,
  .gallery-hero,
  .contact-hero {
    min-height: 380px !important;
  }

  .about-hero-content,
  .academics-hero-content,
  .admissions-hero-content,
  .news-hero-content,
  .gallery-hero-content,
  .contact-hero-content {
    padding: 38px 18px 48px !important;
    transform: translateY(-6px) !important;
  }

  .about-hero h1,
  .academics-hero h1,
  .admissions-hero h1,
  .news-hero h1,
  .gallery-hero h1,
  .contact-hero h1 {
    font-size: 38px !important;
  }
}
/* Karima front-page hero image and title balance */
.hero h1 {
  max-width: 780px;
  font-size: clamp(46px, 5.2vw, 62px);
  line-height: 1.06;
}

.hero-image-card {
  height: 340px;
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 40px;
    line-height: 1.08;
  }

  .hero-image-card {
    height: 260px;
  }
}
/* KARIMA QUICK STATISTICS BACKGROUND */

body.home .quick-stats {
    position: relative;
    overflow: hidden;

    background-image:
        linear-gradient(
            rgba(230,244,240,0.88),
            rgba(230,244,240,0.88)
        ),
        url("https://schools.digitalschoolsplatform.com/karima/wp-content/uploads/sites/2/2026/06/karima-four.jpeg");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    padding-top: 40px !important;
    padding-bottom: 40px !important;
}
/* Coding & AI Page */

.coding-ai-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  color: #ffffff;
  text-align: center;
}

.coding-ai-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(20, 184, 166, 0.35), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.78), rgba(15, 118, 110, 0.58));
}

.coding-ai-hero-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  padding: 0 24px;
}

.coding-ai-label,
.section-eyebrow {
  margin: 0 0 14px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.coding-ai-hero .coding-ai-label {
  color: #5eead4;
}

.coding-ai-hero h1 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.04;
}

.coding-ai-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: #e0f2fe;
  font-size: 21px;
  font-weight: 700;
}

.coding-ai-page-body {
  background: #eef5f9;
  padding: 64px 24px 72px;
}

.coding-ai-section {
  max-width: 1180px;
  margin: 0 auto 56px;
}

.coding-ai-section h2 {
  margin: 0 0 16px;
  color: #0f172a;
  font-size: 32px;
  line-height: 1.2;
}

.coding-ai-section p {
  color: #334155;
  font-size: 18px;
}

.coding-ai-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: center;
}

.coding-ai-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.coding-ai-image-card,
.coding-ai-card,
.coding-ai-club,
.coding-ai-note,
.coding-ai-vision,
.coding-ai-support {
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.coding-ai-image-card {
  overflow: hidden;
  border-radius: 18px;
}

.coding-ai-image-card img,
.coding-ai-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.coding-ai-image-card img {
  display: block;
  object-fit: cover;
}

.coding-ai-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #ffffff;
  font-weight: 900;
  text-align: center;
}

.coding-ai-image-card p {
  margin: 0;
  padding: 14px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
}

.coding-ai-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.coding-ai-card {
  min-height: 240px;
  padding: 24px;
  border-radius: 8px;
}

.coding-ai-card h3 {
  margin: 0 0 12px;
  color: #0f766e;
  font-size: 20px;
}

.coding-ai-card ul,
.coding-ai-club ul,
.coding-ai-support ul {
  margin: 0;
  padding-left: 20px;
  color: #475569;
}

.coding-ai-card li,
.coding-ai-club li,
.coding-ai-support li {
  margin-bottom: 8px;
}

.coding-ai-club,
.coding-ai-support {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 28px;
  align-items: center;
  padding: 30px;
  border-radius: 24px;
}

.coding-ai-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.coding-ai-pill-grid span {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  font-weight: 800;
  border: 1px solid #cfe8e4;
}

.coding-ai-note {
  margin-top: 24px;
  padding: 20px;
  border-radius: 14px;
  color: #334155;
  font-size: 17px;
}

.coding-ai-note strong {
  color: #0f766e;
}

.coding-ai-vision {
  padding: 36px;
  border-radius: 24px;
  background: #0f172a;
}

.coding-ai-vision blockquote {
  margin: 0;
  color: #ffffff;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.25;
  font-weight: 900;
}

.coding-ai-support {
  background: #ffffff;
}

.coding-ai-support .button {
  justify-self: start;
}

@media (max-width: 980px) {
  .coding-ai-intro,
  .coding-ai-club,
  .coding-ai-support {
    grid-template-columns: 1fr;
  }

  .coding-ai-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coding-ai-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .coding-ai-hero {
    min-height: 440px;
  }

  .coding-ai-hero h1 {
    font-size: 38px;
  }

  .coding-ai-card-grid,
  .coding-ai-image-grid {
    grid-template-columns: 1fr;
  }

  .coding-ai-club,
  .coding-ai-support,
  .coding-ai-vision {
    padding: 24px;
  }
}
/* Admissions: Who Can Apply section with image */

.admissions-apply-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  align-items: stretch;
}

.admissions-apply-layout .admissions-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.admissions-apply-layout .admissions-card {
  min-height: auto;
  height: 100%;
}

.admissions-apply-image {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 24px;
  background: #dbe8ed;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
}

.admissions-apply-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.02),
    rgba(15, 118, 110, 0.14)
  );
  pointer-events: none;
}

.admissions-apply-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
  transition: transform 300ms ease;
}

.admissions-apply-image:hover img {
  transform: scale(1.025);
}

@media (max-width: 800px) {
  .admissions-apply-layout {
    grid-template-columns: 1fr;
  }

  .admissions-apply-image,
  .admissions-apply-image img {
    min-height: 280px;
  }
}
