/*
Theme Name: Jordanian School Qatar
Theme URI: https://jordanianschoolqatar.com
Author: Exypnos Solutions
Description: Pixel-perfect replica of Jordanian School Qatar website
Version: 5.0
Text Domain: jordanian-school
*/

@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;900&family=Cairo:wght@400;600;700;900&display=swap");

@font-face {
  font-family: "FuturaPT";
  src: url("assets/fonts/FuturaPTBook.ttf") format("truetype");
  font-weight: 400;
}
@font-face {
  font-family: "FuturaPT";
  src: url("assets/fonts/FuturaPTDemi.ttf") format("truetype");
  font-weight: 600;
}
@font-face {
  font-family: "FuturaPT";
  src: url("assets/fonts/FuturaPTLight.ttf") format("truetype");
  font-weight: 300;
}

/* ═══ EXACT COLORS FROM SITE ══════════════════════════════════════════
   Top bar:  #1a8a8a  (teal)
   Navbar:   #8B1A2C  (dark red/maroon)
   Buttons:  #8B1A2C  (same maroon)
   Footer:   #8B1A2C  (same maroon)
   Body bg:  #ffffff
   Cards bg: #f9f9f9
   Text:     #333333
════════════════════════════════════════════════════════════════════ */
:root {
  --teal: #1a8a8a;
  --teal-dark: #136868;
  --maroon: #8b1a2c;
  --maroon-dark: #6a1220;
  --cream: #ebd4ba;
  --white: #ffffff;
  --light: #f9f9f9;
  --light2: #f0f0f0;
  --border: #e0e0e0;
  --text: #333333;
  --muted: #555555;
  --font: "Tajawal", "Cairo", "FuturaPT", sans-serif;
}

/* ═══ RESET ════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
  top: 0 !important;
  position: static !important;
}
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font);
}

/* ═══ SITE HEADER WRAPPER ══════════════════════════════════════════ */
.site-header-wrapper {
  position: relative;
  z-index: 100; /* forms stacking context so pennants sit above the hero slider */
  margin-left: 10px;
}

/* ═══ HEADER PENNANTS (logo left, badge right) ═════════════════════ */
.header-pennant {
  position: absolute;
  top: 0;
  z-index: 1010; /* above sticky nav (z-index:1000) so it overlays both bars */
  background: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 130px;
  height: 178px;
  /* Ribbon/bookmark shape: inverted-V notch cut into the bottom */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 74%, 0 100%);
  padding: 18px 12px 42px;
  pointer-events: none;
}
.header-pennant a,
.header-pennant .anniversary-content {
  pointer-events: auto;
}

.left-pennant {
  left: 0;
  filter: drop-shadow(4px 0 12px rgba(0, 0, 0, 0.2));
}
.right-pennant {
  right: 0;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  filter: drop-shadow(-4px 0 12px rgba(0, 0, 0, 0.2));
}

.left-pennant img {
  width: 100px;
  height: auto;
}

.anniversary-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ann-num {
  font-size: 46px;
  font-weight: 900;
  color: var(--maroon);
  line-height: 1;
  font-family: var(--font);
}
.ann-sub {
  font-size: 9px;
  color: var(--text);
  text-align: center;
  direction: rtl;
  line-height: 1.5;
  font-weight: 600;
}

/* ═══ TOP INFO BAR (TEAL) ══════════════════════════════════════════ */
.top-bar {
  background: var(--teal);
  padding: 10px 20px;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 140px; /* space for 130px pennants on both sides */
}
.top-bar-contacts {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  justify-content: center;
}
.tb-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  padding: 7px 16px;
  border-radius: 8px;
}
.tb-contact-item .tb-icon {
  width: 32px;
  height: 32px;
  background: var(--cream);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 14px;
  flex-shrink: 0;
}
.tb-contact-item .tb-text {
  direction: ltr;
}
.tb-contact-item .tb-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  display: block;
  line-height: 1.2;
}
.tb-contact-item .tb-val {
  font-size: 13px;
  color: #fff;
  font-weight: 600;
  display: block;
}
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.tb-btn {
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.2s;
}
.tb-btn-dark {
  background: #1a1a1a;
  color: #fff;
  border: none;
}
.tb-btn-dark:hover {
  background: #333;
}
.tb-btn-outline {
  background: #1a1a1a;
  color: #fff;
  border: 2px solid #1a1a1a;
}
.tb-btn-outline:hover {
  background: #333;
  border-color: #333;
}

/* ═══ NAVBAR (DARK RED/MAROON) ════════════════════════════════════ */
.site-nav {
  background: var(--maroon);

  z-index: 1000;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 20px;
  max-width: 1300px;
  margin: 0 auto;
}
.nav-home-icon {
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  transition: all 0.2s;
}
.nav-home-icon:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.nav-links {
  display: flex;
  align-items: center;
}
.nav-links > li {
  position: relative;
}
.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 16px 16px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  transition: all 0.2s;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-links > li > a:hover,
.nav-links > li.current-menu-item > a {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.nav-links > li > a .arrow {
  font-size: 10px;
  opacity: 0.7;
}
/* Dropdown */
.nav-links > li .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--maroon-dark);
  min-width: 320px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 100;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
}
.nav-links > li:hover .sub-menu {
  display: block;
}
.nav-links > li .sub-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s;
}
.nav-links > li .sub-menu li a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding-right: 24px;
}
.nav-apply {
  margin-left: 8px;
  background: #fff !important;
  color: var(--maroon) !important;
  padding: 10px 22px !important;
  border-radius: 6px !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  transition: all 0.2s !important;
}
.nav-apply:hover {
  background: var(--cream) !important;
  transform: translateY(-1px);
}
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 22px;
  padding: 10px;
}

/* ═══ SCROLL ANCHOR OFFSET (accounts for sticky nav ~50px) ════════ */
#programs-section,
#gallery-section {
  scroll-margin-top: 55px;
}

/* ═══ HERO SLIDER ═════════════════════════════════════════════════ */
.hero-slider {
  position: relative;
  overflow: hidden;
  max-height: 540px;
  background: #111;
}
.hero-slide {
  position: relative;
  display: none;
}
.hero-slide.active {
  display: block;
}
.hero-slide img,
.hero-slide video {
  width: 100%;
  object-fit: cover;
  max-height: 540px;
  display: block;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.45) 100%
  );
  pointer-events: none;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
}
.slider-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}
.slider-btn.prev {
  left: 16px;
}
.slider-btn.next {
  right: 16px;
}
.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}
.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}
.slider-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 5px;
}

/* ═══ LERNUZ APP SECTION ══════════════════════════════════════════ */
.lernuz-section {
  padding: 48px 20px;
  text-align: center;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.lernuz-section .app-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 14px;
}
.lernuz-section .app-icons img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.lernuz-section .app-icons .sep {
  color: var(--muted);
  font-size: 13px;
}
.lernuz-section h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.lernuz-section h3 strong {
  color: var(--maroon);
}
.lernuz-section p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 22px;
  max-width: 560px;
  margin-inline: auto;
}
.lernuz-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1a1a1a;
  color: #fff;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  transition: all 0.25s;
}
.lernuz-btn:hover {
  background: #333;
  transform: translateY(-2px);
  color: #fff;
}

/* ═══ ABOUT SECTION ═══════════════════════════════════════════════ */
.about-section {
  padding: 72px 20px;
  text-align: center;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.about-section .spiral-left,
.about-section .spiral-right {
  position: absolute;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
.about-section .spiral-left {
  top: 0;
  right: 0;
  width: 180px;
}
.about-section .spiral-right {
  bottom: 0;
  left: 0;
  width: 180px;
  transform: rotate(180deg);
}
.about-section .inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
}
.about-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.about-logo img {
  width: 80px;
}
.about-section h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 28px;
  line-height: 1.35;
  direction: rtl;
}
.about-section p {
  font-size: 16px;
  line-height: 2;
  color: var(--muted);
  text-align: justify;
  direction: rtl;
  margin-bottom: 14px;
}
.about-stages {
  margin: 20px auto;
  max-width: 680px;
  text-align: right;
  direction: rtl;
}
.about-stages li {
  font-size: 15px;
  color: var(--muted);
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.about-stages li::before {
  content: "•";
  color: var(--maroon);
  font-size: 20px;
  flex-shrink: 0;
}

/* ═══ ACADEMIC PROGRAMS ═══════════════════════════════════════════ */
.programs-section {
  padding: 72px 20px;
  background: #fff;
  text-align: center;
}
.programs-section .sec-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 12px;
  direction: rtl;
}
.programs-section .sec-desc {
  font-size: 15px;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 48px;
  direction: rtl;
  line-height: 1.8;
}
.programs-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto 32px;
}
.prog-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 200px;
  cursor: pointer;
  transition: transform 0.3s;
}
.prog-item:hover {
  transform: translateY(-6px);
}
.prog-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--light2);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 14px;
  transition: border-color 0.3s;
}
.prog-item:hover .prog-circle {
  border-color: var(--maroon);
}
.prog-circle img {
  width: 65%;
  height: 65%;
  object-fit: contain;
  display: block;
}
.prog-circle .prog-emoji {
  font-size: 2.5rem;
}
.prog-item h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  text-align: center;
  direction: rtl;
}
.prog-item p {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  direction: rtl;
  line-height: 1.6;
}
.prog-divider {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 32px;
  border: none;
  border-top: 1px solid var(--border);
}
.programs-section .prog-btn-wrap {
  text-align: center;
  margin-top: 8px;
}

/* ═══ GOALS/MISSION/VISION ════════════════════════════════════════ */
.vmg-section {
  padding: 72px 20px;
  background: var(--light);
  text-align: center;
}
.vmg-section .sec-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 40px;
  direction: rtl;
}
.vmg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.vmg-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  transition: all 0.3s;
  text-align: right;
  direction: rtl;
}
.vmg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}
.vmg-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.vmg-card .vmg-body {
  padding: 22px 20px;
}
.vmg-card .vmg-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--maroon);
}
.vmg-card .vmg-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
}

/* ═══ GALLERY ═════════════════════════════════════════════════════ */
.gallery-section {
  padding: 72px 20px;
  background: #fff;
  text-align: center;
}
.gallery-section .sec-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 8px;
  direction: rtl;
}
.gallery-section .sec-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 36px;
  direction: rtl;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 220px 220px;
  gap: 8px;
  max-width: 1100px;
  margin: 0 auto;
}
.gal-item {
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
}
.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gal-item:hover img {
  transform: scale(1.07);
}
.gal-item.tall {
  grid-row: span 2;
}
.gal-cap {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 14px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gal-cap p {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.gal-item:hover .gal-cap {
  opacity: 1;
}
/* Lightbox */
.lb {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}
.lb.on {
  display: flex;
}
.lb img {
  max-width: 88vw;
  max-height: 80vh;
  border-radius: 10px;
  animation: lbIn 0.22s ease;
}
@keyframes lbIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.lb-close {
  position: absolute;
  top: 16px;
  right: 20px;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  opacity: 0.7;
}
.lb-close:hover {
  opacity: 1;
}
.lb-cap {
  color: #bbb;
  font-size: 13px;
}

/* ═══ FOOTER ══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--maroon);
  color: #fff;
  padding: 52px 20px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.8fr;
  gap: 48px;
  padding-bottom: 48px;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-col h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}
.footer-col p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.85;
  margin-bottom: 14px;
}
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-socials a {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  transition: all 0.25s;
}
.footer-socials a:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}
.footer-links li {
  padding: 6px 0;
}
.footer-links li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.footer-links li a:hover {
  color: #fff;
  padding-right: 6px;
}
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fci {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.fci-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.8);
}
.fci-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}
.fci-text a {
  color: rgba(255, 255, 255, 0.9);
}
.fci-text a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 1100px;
  margin: 0 auto;
}

/* ═══ PAGE HERO (inner pages) ═════════════════════════════════════ */
.page-hero {
  position: relative;
  height: 380px;
  overflow: hidden;
  background: #222;
}
.page-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.55);
}
.page-hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  direction: rtl;
}
.page-hero-content h1 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 900;
  margin-bottom: 8px;
}
.page-hero-content .breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}
.page-hero-content .breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}
.page-hero-content .breadcrumb a:hover {
  color: #fff;
}
.page-hero-content .apply-btn {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--maroon);
  color: #fff;
  padding: 11px 26px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}
.page-hero-content .apply-btn:hover {
  background: var(--maroon-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* ═══ BUTTONS ════════════════════════════════════════════════════ */
.btn-maroon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--maroon);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-maroon:hover {
  background: var(--maroon-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 26, 44, 0.3);
}

/* ═══ CONTACT PAGE ════════════════════════════════════════════════ */
.contact-section {
  padding: 72px 20px;
  background: #fff;
  direction: rtl;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--light);
  padding: 18px;
  border-radius: 10px;
  border-right: 4px solid var(--maroon);
}
.contact-card .cc-icon {
  width: 44px;
  height: 44px;
  background: var(--cream);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  font-size: 18px;
  flex-shrink: 0;
}
.contact-card .cc-text strong {
  display: block;
  font-size: 13px;
  color: var(--maroon);
  margin-bottom: 2px;
}
.contact-card .cc-text span {
  font-size: 14px;
  color: var(--muted);
}
.contact-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 12px;
  display: block;
}

/* ═══ ADMISSION PAGE ══════════════════════════════════════════════ */
.admission-section {
  padding: 72px 20px;
  background: #fff;
  direction: rtl;
}
.admission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
}
.pdf-card {
  background: var(--light);
  border-radius: 12px;
  padding: 32px 22px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.pdf-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
  border-color: var(--maroon);
}
.pdf-card .pdf-emoji {
  font-size: 3.2rem;
  margin-bottom: 14px;
}
.pdf-card h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}
.pdf-card p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.pdf-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--maroon);
  color: #fff;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}
.pdf-card a:hover {
  background: var(--maroon-dark);
  color: #fff;
}

/* ═══ ARCHIVE CARD (replaces inline onmouseover) ══════════════════ */
.arch-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  transition: all .3s;
}
.arch-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
}

/* ═══ PROGRAMS CARD (replaces inline onmouseover) ═════════════════ */
.prog-card {
  background: #fff;
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  border: 1.5px solid #e0e0e0;
  transition: all .3s;
  cursor: pointer;
}
.prog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0,0,0,.1);
  border-color: #8B1A2C;
}

/* ═══ FEES PAGE ════════════════════════════════════════════════════ */
.fees-section {
  padding: 56px 24px 72px;
  background: #f8f8f8;
}
.fees-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.fees-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 14px;
}
.fees-header-row h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--maroon);
}
.fees-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--maroon);
  color: #fff;
  padding: 11px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}
.fees-download-btn:hover {
  background: var(--maroon-dark);
  color: #fff;
}
.fees-viewer-wrap {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  overflow: hidden;
  border: 1px solid #e0e0e0;
}
.fees-pdf-iframe {
  display: block;
  width: 100%;
  height: 820px;
  border: none;
}
.fees-note {
  margin-top: 22px;
  background: #fff;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.fees-note i {
  color: var(--teal);
  font-size: 18px;
}
.fees-note a {
  color: var(--maroon);
  font-weight: 700;
}
@media (max-width: 600px) {
  .fees-pdf-iframe { height: 500px; }
  .fees-header-row { flex-direction: column; align-items: flex-start; }
}

/* ═══ ABOUT FULL PAGE ═════════════════════════════════════════════ */
.about-page-section {
  padding: 72px 20px;
  background: #fff;
  direction: rtl;
}
.about-page-inner {
  max-width: 900px;
  margin: 0 auto;
}
.about-page-inner h2 {
  font-size: 20px;
  font-weight: 900;
  color: var(--maroon);
  margin: 28px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(139, 26, 44, 0.15);
}
.about-page-inner p {
  font-size: 15px;
  line-height: 2;
  color: var(--muted);
  margin-bottom: 14px;
}
.about-page-inner ul {
  padding-right: 20px;
  margin-bottom: 14px;
}
.about-page-inner ul li {
  font-size: 15px;
  color: var(--muted);
  padding: 4px 0;
  list-style: disc;
}

/* ═══ CALENDAR PAGE ═══════════════════════════════════════════════ */
.cal-section {
  padding: 72px 20px;
  background: #fff;
  direction: rtl;
}
.cal-table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  overflow: hidden;
  font-size: 14px;
  max-width: 900px;
  margin: 0 auto;
}
.cal-table thead tr {
  background: var(--teal);
  color: #fff;
  text-align: center;
  font-weight: 700;
}
.cal-table th,
.cal-table td {
  padding: 13px 18px;
  border: 1px solid var(--border);
}
.cal-table tbody tr {
  background: #fff;
  transition: background 0.2s;
}
.cal-table tbody tr:nth-child(even) {
  background: #f5f5f5;
}
.cal-table tbody tr:hover {
  background: #e8f5f5;
}
.cal-table td {
  text-align: center;
  color: var(--muted);
}

/* ── Library Page ─────────────────────────────────────────────── */
.lib-tabs-section {
  position: relative;
  padding: 80px 20px;
  background: #fff;
  overflow: hidden;
}
.lib-wave-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 60px;
  pointer-events: none;
}
.lib-wave-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  pointer-events: none;
}
.lib-tabs-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.lib-tab-nav {
  margin-bottom: 32px;
  border-bottom: 2px solid #e0e0e0;
}
.lib-tab-btn {
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font);
  color: var(--text);
  padding: 12px 24px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}
.lib-tab-btn.active {
  color: var(--maroon);
  border-bottom-color: var(--maroon);
}
.lib-tab-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.lib-tab-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.lib-tab-image img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.lib-img-fallback {
  width: 100%;
  height: 280px;
  background: var(--light);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  font-size: 64px;
}
.lib-tab-text {
  padding: 20px 0 20px 20px;
}
.lib-tab-text p {
  font-size: 16px;
  line-height: 2;
  color: var(--muted);
}
.lib-gallery-section {
  background: #fff;
  padding: 60px 20px;
}
.lib-gallery-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.lib-gallery-heading {
  margin-bottom: 36px;
}
.lib-gallery-heading h2 {
  font-size: 36px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 10px;
}
.lib-gallery-heading p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}
/* Carousel — 3 visible at a time, slide by 1 */
.lib-carousel {
  position: relative;
}
.lib-carousel-track-wrap {
  overflow: hidden;
}
.lib-carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s ease;
}
.lib-gallery-card {
  flex: 0 0 calc((100% - 40px) / 3);
  border-radius: 14px;
  overflow: hidden;
  background: var(--light);
}
.lib-gallery-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
/* Arrow — overlaid on the right side */
.lib-carousel-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--maroon);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: background 0.2s;
}
.lib-carousel-btn:hover { background: #6b0f1e; }
@media (max-width: 768px) {
  .lib-tab-content { grid-template-columns: 1fr; gap: 24px; }
  .lib-gallery-card { flex: 0 0 100%; }
  .lib-gallery-card img { height: 240px; }
}

/* ═══ SCHOOL LIFE SUB-PAGES ══════════════════════════════════════ */
.sl-sub-section {
  padding: 72px 20px;
  background: #fff;
}
.sl-sub-inner {
  max-width: 900px;
  margin: 0 auto;
}
.sl-sub-header {
  text-align: center;
  margin-bottom: 52px;
}
.sl-sub-icon {
  width: 64px;
  height: 64px;
  background: var(--cream);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  font-size: 26px;
  margin: 0 auto 18px;
}
.steam-icon { background: #e8f4fd; color: #2980b9; }
.sl-sub-header h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 10px;
}
.sl-sub-header p { font-size: 15px; color: var(--muted); }
/* Content grid (text + info cards) */
.sl-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.sl-text p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 16px;
}
.sl-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.sl-info-card {
  background: var(--light);
  border-radius: 10px;
  padding: 18px 14px;
  text-align: center;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.sl-info-card i { font-size: 22px; color: var(--maroon); }
.sl-info-card span { font-size: 13px; color: var(--muted); font-weight: 600; }
/* Uniform */
.sl-uniform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
.sl-uniform-card {
  background: var(--light);
  border-radius: 14px;
  padding: 28px 24px;
  border: 1px solid var(--border);
}
.sl-uniform-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
}
.sl-uniform-icon.boys { background: #e8f4fd; color: #2980b9; }
.sl-uniform-icon.girls { background: #fdf2f8; color: #8e44ad; }
.sl-uniform-card h3 { font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 14px; }
.sl-uniform-card ul { padding-left: 18px; }
.sl-uniform-card ul li { font-size: 14px; color: var(--muted); padding: 5px 0; list-style: disc; }
.sl-note-box {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff8e1; border: 1px solid #ffe082;
  border-radius: 10px; padding: 18px 20px;
}
.sl-note-box i { color: #f39c12; font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.sl-note-box p { font-size: 14px; color: #7d6608; line-height: 1.8; }
/* School Day timeline */
.sl-timeline { display: flex; flex-direction: column; gap: 0; padding-left: 36px; position: relative; }
.sl-timeline::before { content:''; position:absolute; left:10px; top:0; bottom:0; width:2px; background:var(--border); }
.sl-time-item { display:flex; gap:20px; padding-bottom:32px; position:relative; align-items:flex-start; }
.sl-time-item::before { content:''; position:absolute; left:-29px; top:6px; width:12px; height:12px; background:var(--maroon); border-radius:50%; border:2px solid #fff; box-shadow:0 0 0 2px var(--maroon); }
.sl-time-badge { background:var(--maroon); color:#fff; font-size:13px; font-weight:800; padding:4px 14px; border-radius:20px; white-space:nowrap; align-self:flex-start; }
.sl-time-content h3 { font-size:15px; font-weight:800; color:var(--text); margin-bottom:4px; }
.sl-time-content p { font-size:14px; color:var(--muted); }
/* Magazine */
.sl-magazine-intro p { font-size:15px; line-height:1.9; color:var(--muted); margin-bottom:16px; }
.sl-magazine-sections { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; margin-top:36px; }
.sl-mag-card { background:var(--light); border-radius:12px; padding:24px 20px; border:1px solid var(--border); transition:box-shadow .3s,transform .3s; }
.sl-mag-card:hover { box-shadow:0 6px 20px rgba(0,0,0,.08); transform:translateY(-3px); }
.sl-mag-card i { font-size:24px; color:var(--maroon); margin-bottom:12px; display:block; }
.sl-mag-card h3 { font-size:15px; font-weight:800; color:var(--text); margin-bottom:8px; }
.sl-mag-card p { font-size:13px; color:var(--muted); line-height:1.7; }
/* STEAM */
.steam-pillars { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-bottom:16px; }
.steam-pill { border-radius:14px; padding:24px 18px; text-align:center; min-width:120px; flex:1; }
.steam-letter { font-size:40px; font-weight:900; display:block; margin-bottom:8px; }
.steam-pill h4 { font-size:13px; font-weight:800; color:var(--text); margin-bottom:4px; }
.steam-pill p { font-size:12px; color:var(--muted); }
/* Skills */
.skills-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.skill-card { background:var(--light); border-radius:14px; padding:28px 20px; text-align:center; border:1px solid var(--border); transition:box-shadow .3s,transform .3s; }
.skill-card:hover { box-shadow:0 8px 24px rgba(0,0,0,.1); transform:translateY(-4px); }
.skill-icon { width:52px; height:52px; background:var(--maroon); border-radius:12px; display:flex; align-items:center; justify-content:center; color:#fff; font-size:20px; margin:0 auto 14px; }
.skill-card h3 { font-size:15px; font-weight:800; color:var(--text); margin-bottom:8px; }
.skill-card p { font-size:13px; color:var(--muted); line-height:1.7; }
/* Sustainability */
.sustain-banner { background:linear-gradient(135deg,#27ae60,#1e8449); border-radius:14px; padding:28px 32px; color:#fff; text-align:center; margin-bottom:40px; }
.sustain-banner p { font-size:15px; line-height:1.9; }
.sustain-initiatives { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.sustain-card { background:var(--light); border-radius:12px; padding:24px 20px; border:1px solid var(--border); transition:border-color .2s; }
.sustain-card:hover { border-color:#27ae60; }
.sustain-icon { width:48px; height:48px; background:#eafaf1; border-radius:10px; display:flex; align-items:center; justify-content:center; color:#27ae60; font-size:20px; margin-bottom:14px; }
.sustain-card h3 { font-size:15px; font-weight:800; color:var(--text); margin-bottom:8px; }
.sustain-card p { font-size:13px; color:var(--muted); line-height:1.7; }
/* Qatari Identity */
.qatari-activities { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.qa-card { background:var(--light); border-radius:12px; padding:24px 20px; border:1px solid var(--border); }
.qa-card i { font-size:22px; color:var(--maroon); margin-bottom:12px; display:block; }
.qa-card h3 { font-size:15px; font-weight:800; color:var(--text); margin-bottom:8px; }
.qa-card p { font-size:13px; color:var(--muted); line-height:1.7; }
/* School App */
.app-showcase { display:grid; grid-template-columns:auto 1fr; gap:40px; align-items:start; margin-bottom:40px; }
.app-phone-icon { width:100px; height:160px; background:var(--maroon); border-radius:20px; display:flex; align-items:center; justify-content:center; color:#fff; font-size:48px; flex-shrink:0; }
.app-features { display:flex; flex-direction:column; gap:18px; }
.app-feat { display:flex; gap:16px; align-items:flex-start; }
.app-feat i { width:40px; height:40px; background:var(--cream); border-radius:8px; display:flex; align-items:center; justify-content:center; color:var(--maroon); font-size:16px; flex-shrink:0; }
.app-feat h4 { font-size:14px; font-weight:800; color:var(--text); margin-bottom:4px; }
.app-feat p { font-size:13px; color:var(--muted); }
.app-download { text-align:center; background:var(--light); border-radius:14px; padding:32px 24px; }
.app-download p { font-size:16px; font-weight:700; color:var(--text); margin-bottom:18px; }
.app-store-btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.app-store-btn { display:inline-flex; align-items:center; gap:8px; background:var(--text); color:#fff; padding:12px 24px; border-radius:10px; font-size:14px; font-weight:700; transition:background .2s,transform .2s; }
.app-store-btn:hover { background:var(--maroon); color:#fff; transform:translateY(-2px); }
/* Guidance */
.guidance-types { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-bottom:36px; }
.guid-card { background:var(--light); border-radius:14px; padding:28px 24px; border:1px solid var(--border); }
.guid-icon { width:52px; height:52px; background:var(--maroon); border-radius:12px; display:flex; align-items:center; justify-content:center; color:#fff; font-size:20px; margin-bottom:16px; }
.guid-card h3 { font-size:16px; font-weight:800; color:var(--text); margin-bottom:10px; }
.guid-card p { font-size:14px; color:var(--muted); line-height:1.8; margin-bottom:14px; }
.guid-card ul { padding-left:18px; }
.guid-card ul li { font-size:13px; color:var(--muted); padding:4px 0; list-style:disc; }
.guid-contact-box { background:var(--maroon); border-radius:14px; padding:32px 28px; text-align:center; color:#fff; }
.guid-contact-box h3 { font-size:18px; font-weight:800; margin-bottom:10px; display:flex; align-items:center; justify-content:center; gap:10px; }
.guid-contact-box p { font-size:14px; opacity:.85; margin-bottom:20px; }
.guid-contact-btn { display:inline-flex; align-items:center; gap:8px; background:#fff; color:var(--maroon); padding:12px 28px; border-radius:8px; font-size:14px; font-weight:800; transition:transform .2s; }
.guid-contact-btn:hover { transform:translateY(-2px); color:var(--maroon); }
/* Responsive */
@media (max-width: 768px) {
  .sl-content-grid, .sl-uniform-grid, .sustain-initiatives,
  .qatari-activities, .guidance-types, .sl-magazine-sections { grid-template-columns:1fr; }
  .skills-grid { grid-template-columns:repeat(2,1fr); }
  .app-showcase { grid-template-columns:1fr; }
  .app-phone-icon { display:none; }
  .steam-pillars { gap:8px; }
  .steam-pill { min-width:80px; }
}
@media (max-width: 480px) {
  .skills-grid { grid-template-columns:1fr; }
}

/* ═══ INTRODUCTION PAGE ══════════════════════════════════════════ */
.intro-lead {
  background: var(--light);
  border-right: 4px solid var(--maroon);
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  margin-bottom: 40px;
  direction: rtl;
}
.intro-lead p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 14px;
}
.intro-goals {
  padding-right: 20px;
  margin-bottom: 14px;
}
.intro-goals li {
  font-size: 14px;
  color: var(--muted);
  padding: 6px 0;
  list-style: disc;
  line-height: 1.8;
}
.intro-section {
  margin-bottom: 40px;
  direction: rtl;
}
.intro-section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(139,26,44,0.12);
}
.intro-num {
  background: var(--maroon);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}
.intro-section-title h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}
.intro-section ul {
  padding-right: 20px;
}
.intro-section ul li {
  font-size: 14px;
  color: var(--muted);
  padding: 6px 0;
  list-style: disc;
  line-height: 1.9;
}
.intro-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.intro-stat {
  background: var(--maroon);
  border-radius: 12px;
  padding: 22px 16px;
  text-align: center;
  color: #fff;
}
.istat-num {
  display: block;
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 6px;
}
.istat-label {
  font-size: 13px;
  opacity: 0.85;
}
.intro-growth-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--light);
  border-radius: 12px;
  padding: 22px 24px;
  margin-top: 18px;
  flex-wrap: wrap;
  position: relative;
}
.igb-item {
  text-align: center;
  flex: 1;
}
.igb-item span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}
.igb-item strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}
.igb-item.highlight strong {
  color: var(--maroon);
  font-size: 22px;
}
.igb-arrow {
  color: var(--maroon);
  font-size: 20px;
  flex-shrink: 0;
}
.igb-badge {
  background: var(--maroon);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 20px;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .intro-stats { grid-template-columns: repeat(2,1fr); }
  .intro-growth-box { flex-direction: column; gap: 12px; }
}

/* ═══ ABOUT SUB-PAGES ════════════════════════════════════════════ */
.about-sub-section {
  padding: 72px 20px;
  background: #fff;
}
.about-sub-inner {
  max-width: 900px;
  margin: 0 auto;
}
.about-sub-header {
  text-align: center;
  margin-bottom: 52px;
}
.about-sub-header h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 10px;
}
.about-sub-header p {
  font-size: 15px;
  color: var(--muted);
}
.about-sub-content p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 18px;
}
.about-sub-content h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--maroon);
  margin: 32px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(139,26,44,0.12);
}
.about-sub-content ul {
  padding-left: 22px;
  margin-bottom: 18px;
}
.about-sub-content ul li {
  font-size: 15px;
  color: var(--muted);
  padding: 5px 0;
  list-style: disc;
  line-height: 1.7;
}
/* ── Director Word Page ───────────────────────────────────────── */
.director-wrapper {
  max-width: 820px;
  margin: 0 auto;
}
.director-identity {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--light);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 28px;
  border-right: 5px solid var(--maroon);
}
.director-avatar-wrap { flex-shrink: 0; }
.director-avatar-icon {
  width: 64px;
  height: 64px;
  background: var(--maroon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
}
.director-identity-info h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.director-identity-info span {
  font-size: 13px;
  color: var(--muted);
}
.director-salutation {
  text-align: center;
  margin-bottom: 32px;
  padding: 20px;
  background: linear-gradient(135deg, var(--maroon) 0%, #a12035 100%);
  border-radius: 12px;
  color: #fff;
}
.dir-salute-main {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}
.dir-salute-sub {
  font-size: 14px;
  opacity: 0.9;
}
.director-letter {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 40px;
}
.director-letter p {
  font-size: 15px;
  line-height: 2;
  color: var(--muted);
  margin-bottom: 18px;
}
.director-highlight {
  display: flex;
  gap: 18px;
  background: var(--cream);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
  border-right: 4px solid var(--teal);
  align-items: flex-start;
}
.dh-icon {
  width: 44px;
  height: 44px;
  background: var(--teal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}
.dh-text strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}
.dh-text p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}
.director-tips {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  gap: 10px;
}
.director-tips li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--light);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
}
.director-tips li i {
  color: var(--teal);
  font-size: 16px;
  flex-shrink: 0;
}
.director-signature {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: right;
}
.director-signature p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 4px;
}
.director-signature strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.director-sig-name {
  font-size: 15px !important;
  color: var(--maroon) !important;
  font-weight: 700 !important;
}
@media (max-width: 600px) {
  .director-letter { padding: 24px 18px; }
  .director-identity { flex-direction: column; text-align: center; }
  .director-highlight { flex-direction: column; }
}
/* Mission Vision Goals */
.mvg-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.mvg-card {
  background: var(--light);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s, transform 0.3s;
}
.mvg-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.mvg-icon {
  width: 56px;
  height: 56px;
  background: var(--maroon);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  margin: 0 auto 18px;
}
.mvg-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}
.mvg-card p, .mvg-card ul {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  text-align: left;
}
.mvg-card ul {
  padding-left: 18px;
}
.mvg-card ul li {
  margin-bottom: 6px;
  list-style: disc;
}
/* Goals section */
.mvg-goals-section {
  background: var(--light);
  border-radius: 16px;
  padding: 40px 36px;
  border: 1px solid var(--border);
}
.mvg-goals-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.mvg-goals-icon {
  width: 52px;
  height: 52px;
  background: var(--maroon);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
}
.mvg-goals-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}
.mvg-goals-grid {
  display: grid;
  gap: 14px;
}
.mvg-goal-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border-radius: 12px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.mvg-goal-item:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}
.mvg-goal-num {
  width: 40px;
  height: 40px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}
.mvg-goal-item p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
  padding-top: 8px;
}
@media (max-width: 640px) {
  .mvg-cards { grid-template-columns: 1fr; }
  .mvg-goals-section { padding: 24px 18px; }
}

/* ── Achievements Page ────────────────────────────────────────── */
.ach-section {
  margin-bottom: 60px;
}
.ach-section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.ach-section-icon {
  width: 50px;
  height: 50px;
  background: var(--maroon);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
}
.ach-section-title h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}
.ach-lead {
  font-size: 15px;
  line-height: 2;
  color: var(--muted);
  margin-bottom: 28px;
  background: var(--light);
  border-right: 4px solid var(--maroon);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
}
/* Academic list */
.ach-list {
  display: grid;
  gap: 14px;
}
.ach-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ach-item:hover {
  border-color: var(--maroon);
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}
.ach-num {
  width: 38px;
  height: 38px;
  background: var(--maroon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}
.ach-item p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0;
  padding-top: 6px;
}
/* Competitions table */
.ach-competitions-table {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.act-header {
  display: grid;
  grid-template-columns: 1fr 100px 130px;
  background: var(--maroon);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 12px 20px;
  gap: 10px;
}
.act-row {
  display: grid;
  grid-template-columns: 1fr 100px 130px;
  padding: 12px 20px;
  font-size: 13px;
  color: var(--text);
  gap: 10px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.act-row:last-child { border-bottom: none; }
.act-row:nth-child(even) { background: var(--light); }
.act-row:hover { background: var(--cream); }
/* Sports grid */
.ach-sports-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.ach-sport-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ach-sport-card:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 14px rgba(0,0,0,0.07);
}
.ach-sport-card--win {
  border-color: #f39c12;
  background: #fffdf5;
}
.asc-icon {
  width: 40px;
  height: 40px;
  background: var(--teal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}
.asc-body strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.asc-body p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 6px;
}
.asc-count {
  font-size: 11px;
  font-weight: 700;
  background: var(--light);
  color: var(--teal);
  padding: 2px 8px;
  border-radius: 20px;
}
/* Identity grid */
.ach-identity-grid {
  display: grid;
  gap: 16px;
}
.ach-identity-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 26px;
}
.aii-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.aii-badge {
  background: var(--maroon);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.ach-identity-item p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0;
}
.ach-identity-item ul {
  padding-right: 18px;
  margin: 0;
}
.ach-identity-item ul li {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  list-style: disc;
}
@media (max-width: 640px) {
  .ach-sports-grid { grid-template-columns: 1fr; }
  .act-header, .act-row { grid-template-columns: 1fr 60px 80px; font-size: 11px; padding: 10px 12px; }
}

/* Policies */
.policy-block {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--light);
  border-radius: 12px;
  padding: 24px 22px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.policy-block:hover {
  border-color: var(--maroon);
}
.policy-icon {
  width: 48px;
  height: 48px;
  background: var(--maroon);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
}
.policy-body h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.policy-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
/* Achievements */
.achievements-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.ach-stat {
  background: var(--maroon);
  border-radius: 12px;
  padding: 28px 16px;
  text-align: center;
  color: #fff;
}
.ach-number {
  display: block;
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 6px;
}
.ach-label {
  font-size: 13px;
  opacity: 0.85;
}
.achievements-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 40px;
}
.achievements-list::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.ach-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 36px;
  position: relative;
}
.ach-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 5px;
  width: 12px;
  height: 12px;
  background: var(--maroon);
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--maroon);
}
.ach-year {
  background: var(--maroon);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 2px;
}
.ach-desc h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}
.ach-desc p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
/* Staff */
.staff-departments {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.staff-dept h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--maroon);
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(139,26,44,0.12);
  display: flex;
  align-items: center;
  gap: 10px;
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}
.staff-card {
  background: var(--light);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s, transform 0.3s;
}
.staff-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.staff-avatar {
  width: 60px;
  height: 60px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  font-size: 22px;
  margin: 0 auto 14px;
}
.staff-card h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.staff-card span {
  font-size: 12px;
  color: var(--muted);
}
.staff-join-banner {
  margin-top: 52px;
  background: var(--light);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  border: 2px dashed var(--border);
}
.staff-join-banner p {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}
.staff-join-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--maroon);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}
.staff-join-btn:hover {
  background: var(--maroon-dark);
  color: #fff;
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .mvg-cards {
    grid-template-columns: 1fr;
  }
  .achievements-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .achievements-stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* ═══ CAREERS PAGE ════════════════════════════════════════════════ */
.careers-section {
  padding: 72px 20px;
  background: #fff;
  direction: ltr;
}
.careers-inner {
  max-width: 680px;
  margin: 0 auto;
}
.careers-heading {
  text-align: center;
  margin-bottom: 40px;
}
.careers-heading h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 10px;
}
.careers-heading p {
  font-size: 15px;
  color: var(--muted);
}
.careers-success {
  text-align: center;
  padding: 30px 24px;
  background: #eafaf1;
  border: 1px solid #a9dfbf;
  border-radius: 10px;
  color: #1e8449;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 40px;
}
.careers-success i {
  font-size: 28px;
  display: block;
  margin-bottom: 10px;
}
.careers-alert {
  background: #fdf0f0;
  border: 1px solid #e5a5a5;
  border-radius: 8px;
  color: #c0392b;
  padding: 14px 18px;
  font-size: 14px;
  margin-bottom: 24px;
  text-align: center;
}
.careers-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cf-field label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  text-align: left;
}
.cf-field input[type="text"],
.cf-field input[type="email"],
.cf-field input[type="tel"] {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid #ccc;
  padding: 10px 4px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--text);
  background: transparent;
  outline: none;
  direction: ltr;
  transition: border-color 0.2s;
}
.cf-field input[type="text"]:focus,
.cf-field input[type="email"]:focus,
.cf-field input[type="tel"]:focus {
  border-bottom-color: var(--maroon);
}
.cf-field input[type="file"] {
  font-family: var(--font);
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}
.cf-hint {
  font-size: 12px;
  color: #999;
  text-align: left;
}
.cf-checkbox {
  direction: ltr;
}
.cf-checkbox label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}
.cf-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--maroon);
  flex-shrink: 0;
}
.cf-submit {
  align-self: center;
  background: var(--maroon);
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition:
    background 0.2s,
    transform 0.2s;
  direction: ltr;
}
.cf-submit:hover {
  background: var(--maroon-dark);
  transform: translateY(-2px);
}
/* ── Direct Contact Cards ──────────────────────────────────────── */
.careers-direct {
  margin-top: 60px;
  text-align: center;
  direction: ltr;
}
.careers-direct h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 12px;
}
.careers-direct > p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 28px;
}
.careers-contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.ccc-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 18px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: #fff;
  direction: ltr;
}
.ccc-icon {
  width: 42px;
  height: 42px;
  background: var(--cream);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  font-size: 17px;
  flex-shrink: 0;
}
.ccc-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 3px;
}
.ccc-card strong {
  font-size: 14px;
  color: var(--text);
  font-weight: 700;
}
@media (max-width: 520px) {
  .careers-contact-cards {
    grid-template-columns: 1fr;
  }
}

/* ═══ LANGUAGE SWITCHER ══════════════════════════════════════════ */
#lang-switcher {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background: #fff;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  overflow: hidden;
}
#lang-select {
  display: block;
  border: none;
  outline: none;
  padding: 9px 14px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: #222;
  cursor: pointer;
  font-weight: 600;
  min-width: 110px;
  appearance: auto;
  -webkit-appearance: auto;
}
/* Hide Google translate top bar */
.goog-te-banner-frame,
.skiptranslate > span {
  display: none !important;
}
body {
  top: 0 !important;
}

/* ═══ SCROLL TOP ══════════════════════════════════════════════════ */
#scrollTopBtn {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 999;
  width: 42px;
  height: 42px;
  background: var(--maroon);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
}
#scrollTopBtn.on {
  opacity: 1;
  pointer-events: auto;
}
#scrollTopBtn:hover {
  background: var(--maroon-dark);
  transform: translateY(-2px);
}

/* ═══ RESPONSIVE ══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .vmg-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .gal-item.tall {
    grid-row: span 1;
  }
  .admission-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .header-pennant {
    display: none;
  }
  .top-bar-inner {
    padding: 0;
  }
  .top-bar-contacts {
    display: none;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--maroon);
    padding: 8px 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 999;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links > li > a {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 13px 20px;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-inner {
    justify-content: space-between;
  }
  .site-nav {
    position: relative;
  }
  .vmg-grid,
  .admission-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .programs-row {
    gap: 16px;
  }
  .prog-item {
    width: 140px;
  }
  .prog-circle {
    width: 90px;
    height: 90px;
  }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .gal-item {
    height: 200px;
  }
}
