/* ╔══════════════════════════════════════════════════════════════╗
   ║  Inner Pages — Premium Luxurious Styles                     ║
   ║  Navy + Gold Design System · Glassmorphism · Micro-Anims    ║
   ╚══════════════════════════════════════════════════════════════╝ */

/* ──────────────────────────────────────
   KEYFRAMES
   ────────────────────────────────────── */
@keyframes meshFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33%      { transform: translate(30px, -20px) rotate(120deg); }
  66%      { transform: translate(-20px, 15px) rotate(240deg); }
}

@keyframes borderGlow {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1; }
}

@keyframes slideArrow {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(6px); }
}

@keyframes goldPulse {
  0%   { box-shadow: 0 0 0 0 rgba(212,168,67,.35); }
  70%  { box-shadow: 0 0 0 14px rgba(212,168,67,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,168,67,0); }
}

@keyframes iconGlow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(212,168,67,.3)); }
  50%      { filter: drop-shadow(0 0 16px rgba(212,168,67,.6)); }
}

@keyframes breadcrumbFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ═══════════════════════════════════════
   1. PAGE HEADER
   ═══════════════════════════════════════ */
.page-header {
  position: relative;
  z-index: 1;
  min-height: 220px;
  padding: 140px 0 50px;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 35%, var(--navy-800) 70%, var(--navy-700) 100%);
  background-attachment: fixed;
  overflow: hidden;
}

/* Animated mesh pattern overlay */
.page-header::before {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image:
    radial-gradient(ellipse 600px 600px at 20% 50%, rgba(212,168,67,.06) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 80% 30%, rgba(59,122,189,.08) 0%, transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(212,168,67,.035) 1px, transparent 0);
  background-size: 100% 100%, 100% 100%, 32px 32px;
  animation: meshFloat 25s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Subtle bottom gradient fade */
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(6,15,30,.5), transparent);
  pointer-events: none;
  z-index: 0;
}

.page-header > * {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--s-sm);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

/* Gold underline accent */
.page-header h1::after {
  content: '';
  display: block;
  width: 70px;
  height: 3px;
  margin: 16px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  animation: line-grow .8s var(--ease-out) both;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255,255,255,.55);
  margin-top: var(--s-xs);
  animation: breadcrumbFade .7s var(--ease-out) .3s both;
}

.breadcrumb a {
  color: rgba(255,255,255,.75);
  transition: var(--t-fast);
  position: relative;
}

.breadcrumb a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-400);
  transition: width .3s var(--ease-out);
}

.breadcrumb a:hover {
  color: var(--gold-400);
}

.breadcrumb a:hover::after {
  width: 100%;
}

/* Gold separators */
.breadcrumb span {
  color: var(--gold-500);
  font-size: 0.75rem;
  opacity: .7;
}


/* ═══════════════════════════════════════
   2. PAGE CONTENT & LAYOUT
   ═══════════════════════════════════════ */
.page-content {
  background: var(--bg);
  position: relative;
  z-index: 2;
  min-height: 60vh;
  margin-top: 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--s-xl);
  align-items: start;
}

.content-main {
  background: var(--white);
  min-width: 0;
  overflow: hidden;
}

/* Content blocks with gold left accent */
.content-block {
  margin-bottom: var(--s-lg);
  padding-bottom: var(--s-lg);
  padding-left: var(--s-md);
  border-bottom: 1px solid var(--gray-200);
  border-left: 3px solid transparent;
  position: relative;
  z-index: 1;
  transition: border-color .4s var(--ease-out);
}

.content-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: -3px;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--gold-500), var(--gold-300));
  border-radius: 0 0 3px 3px;
  transition: height .5s var(--ease-out);
}

.content-block:hover::before {
  height: 100%;
}

.content-block:last-child {
  border-bottom: none;
}

.content-block h2 {
  margin-bottom: var(--s-md);
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.content-block p {
  font-size: 1.0625rem;
  line-height: 1.9;
  margin-bottom: var(--s-md);
  color: var(--gray-600);
}


/* ═══════════════════════════════════════
   3. FEATURE LIST
   ═══════════════════════════════════════ */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-sm);
  margin-bottom: var(--s-xs);
  padding: var(--s-sm) var(--s-md);
  background: rgba(241,245,249,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(226,232,240,.5);
  border-left: 3px solid transparent;
  border-radius: var(--r-sm);
  transition: all .35s var(--ease-out);
}

.feature-list li:hover {
  transform: translateX(8px);
  border-left-color: var(--gold-500);
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-sm);
}

.feature-list i {
  color: var(--gold-500);
  margin-top: 0.3rem;
  min-width: 20px;
  font-size: 0.95rem;
  transition: var(--t-fast);
}

.feature-list li:hover i {
  color: var(--gold-400);
  transform: scale(1.15);
}


/* ═══════════════════════════════════════
   4. VALUES & FEATURES GRIDS
   ═══════════════════════════════════════ */

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--s-md);
  margin-top: var(--s-md);
}

.value-card {
  text-align: center;
  padding: var(--s-lg) var(--s-md);
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-200);
  transition: all .45s var(--ease-out);
  position: relative;
  overflow: hidden;
}

/* Animated gold border on hover */
.value-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300), var(--gold-500));
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .45s ease;
  animation: gradient-shift 3s ease infinite;
  pointer-events: none;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.value-card:hover::before {
  opacity: 1;
}

.value-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--s-sm);
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--navy-900);
  box-shadow: 0 6px 20px rgba(212,168,67,.25);
  transition: all .4s var(--ease-spring);
}

.value-card:hover .value-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 30px rgba(212,168,67,.35);
}

.value-card h3 {
  margin-bottom: var(--s-xs);
  font-size: 1.2rem;
  color: var(--navy-900);
}

.value-card p {
  font-size: 0.875rem;
  margin: 0;
  color: var(--gray-500);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--s-md);
  margin-top: var(--s-md);
}

.feature-item {
  text-align: center;
  padding: var(--s-lg) var(--s-md);
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-200);
  transition: all .45s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300), var(--gold-500));
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .45s ease;
  animation: gradient-shift 3s ease infinite;
  pointer-events: none;
}

.feature-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  background: var(--white);
  border-color: transparent;
}

.feature-item:hover::before {
  opacity: 1;
}

.feature-item i {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--s-sm);
  display: inline-block;
  transition: var(--t-normal);
}

.feature-item:hover i {
  transform: scale(1.15);
  filter: drop-shadow(0 0 10px rgba(212,168,67,.4));
}

.feature-item h3 {
  margin-bottom: var(--s-xs);
  font-size: 1.125rem;
  color: var(--navy-900);
}

.feature-item p {
  font-size: 0.875rem;
  margin: 0;
  color: var(--gray-500);
}


/* ═══════════════════════════════════════
   5. SIDEBAR
   ═══════════════════════════════════════ */
.content-sidebar {
  position: sticky;
  top: 90px;
  height: fit-content;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  min-width: 0;
  z-index: 1;
  scroll-behavior: smooth;
}

/* Glassmorphism sidebar widgets */
.sidebar-widget {
  background: rgba(241,245,249,.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226,232,240,.6);
  padding: var(--s-md);
  border-radius: var(--r-lg);
  margin-bottom: var(--s-md);
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: all .4s var(--ease-out);
}

/* Gold accent top border line */
.sidebar-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--s-md);
  right: var(--s-md);
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300), transparent);
  border-radius: 2px;
}

.sidebar-widget:hover {
  border-color: rgba(212,168,67,.2);
  box-shadow: var(--shadow-gold);
}

.sidebar-widget h3 {
  margin-bottom: var(--s-md);
  font-size: 1.2rem;
  color: var(--navy-900);
  font-family: var(--font-display);
  position: relative;
  padding-bottom: var(--s-xs);
}

.sidebar-widget h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  border-radius: 2px;
}

/* Info List */
.info-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.info-list p {
  margin: 0;
  color: var(--gray-700);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Sidebar Links */
.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-links li {
  margin-bottom: 0.35rem;
}

.sidebar-links a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem;
  color: var(--gray-700);
  border-radius: var(--r-sm);
  border-left: 2px solid transparent;
  transition: all .3s var(--ease-out);
  font-size: 0.9375rem;
}

.sidebar-links a:hover {
  background: rgba(255,255,255,.8);
  color: var(--navy-800);
  border-left-color: var(--gold-500);
  padding-left: 1.1rem;
  box-shadow: var(--shadow-xs);
}

.sidebar-links a.active {
  background: rgba(212,168,67,.08);
  color: var(--navy-900);
  border-left-color: var(--gold-500);
  font-weight: 600;
}

.sidebar-links i {
  font-size: 0.7rem;
  color: var(--gold-500);
  transition: var(--t-fast);
}

.sidebar-links a:hover i {
  transform: translateX(3px);
}

/* Contact Info Widget */
.contact-info-widget p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--s-sm);
  color: var(--gray-700);
  font-size: 0.9375rem;
}

.contact-info-widget p:last-child {
  margin-bottom: 0;
}

.contact-info-widget i {
  color: var(--gold-500);
  min-width: 20px;
  font-size: 0.95rem;
}


/* ═══════════════════════════════════════
   6. ACADEMIC PROGRAMS
   ═══════════════════════════════════════ */
.academic-programs {
  display: flex;
  flex-direction: column;
  gap: var(--s-xl);
}

.program-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all .5s var(--ease-out);
  border: 1px solid var(--gray-200);
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(212,168,67,.15);
}

.program-card.large {
  grid-template-columns: 1fr 1.5fr;
}

/* Program Image with gold corner accent */
.program-image {
  position: relative;
  overflow: hidden;
}

.program-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(212,168,67,.35) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
  transition: all .4s var(--ease-out);
}

.program-card:hover .program-image::after {
  width: 120px;
  height: 120px;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
}

.program-card:hover .program-image img {
  transform: scale(1.08);
}

/* Program Content */
.program-content {
  padding: var(--s-lg) var(--s-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.program-level {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.1rem;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
  color: var(--gold-400);
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: var(--s-sm);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  width: fit-content;
  border: 1px solid rgba(212,168,67,.2);
}

.program-content h3 {
  margin-bottom: var(--s-sm);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-family: var(--font-display);
  color: var(--navy-900);
}

.program-content p {
  margin-bottom: var(--s-md);
  color: var(--gray-500);
  line-height: 1.85;
  font-size: 0.975rem;
}

.program-features {
  list-style: none;
  padding: 0;
  margin-bottom: var(--s-md);
}

.program-features li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
  color: var(--gray-700);
  font-size: 0.925rem;
  transition: var(--t-fast);
}

.program-features li:hover {
  color: var(--navy-800);
  transform: translateX(4px);
}

.program-features i {
  color: var(--gold-500);
  font-size: 0.8rem;
  min-width: 16px;
}


/* ═══════════════════════════════════════
   7. CURRICULUM
   ═══════════════════════════════════════ */
.curriculum-section {
  background: var(--bg-alt);
  position: relative;
}

/* Dark variant */
.curriculum-section.section-dark {
  background: var(--navy-900);
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-md);
}

.curriculum-item {
  background: var(--white);
  padding: var(--s-lg);
  border-radius: var(--r-lg);
  text-align: center;
  transition: all .45s var(--ease-out);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-200);
  position: relative;
}

.curriculum-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(10,25,47,.1), 0 0 30px rgba(212,168,67,.08);
  border-color: rgba(212,168,67,.2);
}

.curriculum-item i {
  font-size: 2.8rem;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--s-sm);
  display: inline-block;
  transition: all .4s var(--ease-out);
}

.curriculum-item:hover i {
  animation: iconGlow 1.5s ease infinite;
  transform: scale(1.1);
}

.curriculum-item h3 {
  margin-bottom: var(--s-xs);
  font-size: 1.2rem;
  color: var(--navy-900);
}

.curriculum-item p {
  color: var(--gray-500);
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
}

/* Dark section curriculum items */
.section-dark .curriculum-item {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.section-dark .curriculum-item:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(212,168,67,.3);
  box-shadow: 0 20px 50px rgba(0,0,0,.3), 0 0 30px rgba(212,168,67,.1);
}

.section-dark .curriculum-item h3 {
  color: var(--white);
}

.section-dark .curriculum-item p {
  color: rgba(255,255,255,.6);
}


/* ═══════════════════════════════════════
   8. NEWS PAGE
   ═══════════════════════════════════════ */

/* Filter Buttons */
.news-filter {
  display: flex;
  gap: var(--s-xs);
  margin-bottom: var(--s-xl);
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 0.7rem 1.6rem;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all .35s var(--ease-out);
  color: var(--gray-600);
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 0;
}

.filter-btn span,
.filter-btn {
  position: relative;
  z-index: 1;
}

.filter-btn:hover {
  border-color: var(--gold-500);
  color: var(--gold-500);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212,168,67,.15);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  border-color: var(--gold-500);
  color: var(--navy-900);
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(212,168,67,.3);
}

.filter-btn.active:hover {
  transform: translateY(-2px);
}

/* News List */
.news-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-lg);
}

.news-item {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-200);
  transition: all .45s var(--ease-out);
}

.news-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(212,168,67,.15);
}

.news-item-image {
  position: relative;
  overflow: hidden;
}

/* Image overlay gradient */
.news-item-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6,15,30,.4) 100%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

.news-item:hover .news-item-image::after {
  opacity: 1;
}

.news-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}

.news-item:hover .news-item-image img {
  transform: scale(1.06);
}

.news-item-content {
  padding: var(--s-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-item-content h2 {
  margin-bottom: var(--s-xs);
  font-size: 1.45rem;
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.35;
  transition: var(--t-fast);
}

.news-item:hover .news-item-content h2 {
  color: var(--navy-700);
}

.news-item-content .news-meta {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: var(--s-sm);
  display: flex;
  align-items: center;
  gap: var(--s-sm);
}

.news-item-content p {
  margin-bottom: var(--s-md);
  color: var(--gray-500);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Read More with animated arrow */
.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-500);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all .3s var(--ease-out);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-read-more i {
  transition: transform .3s var(--ease-spring);
  font-size: 0.85rem;
}

.news-read-more:hover {
  color: var(--gold-400);
  gap: 0.75rem;
}

.news-read-more:hover i {
  animation: slideArrow 1s ease infinite;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--s-xs);
  margin-top: var(--s-xl);
}

.page-btn {
  padding: 0.7rem 1.15rem;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all .3s var(--ease-out);
  color: var(--gray-600);
  min-width: 44px;
  text-align: center;
}

.page-btn:hover {
  border-color: var(--gold-500);
  color: var(--gold-500);
  transform: translateY(-2px);
}

.page-btn.active {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  border-color: var(--navy-700);
  color: var(--gold-400);
  box-shadow: 0 4px 15px rgba(10,25,47,.2);
}


/* ═══════════════════════════════════════
   9. GALLERY PAGE
   ═══════════════════════════════════════ */
.gallery-filter {
  display: flex;
  gap: var(--s-xs);
  margin-bottom: var(--s-xl);
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--s-md);
}

/* Masonry-style items */
.gallery-item-full {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: all .45s var(--ease-out);
  box-shadow: var(--shadow-sm);
}

/* Varied aspect ratios for masonry feel */
.gallery-item-full:nth-child(4n+1) {
  aspect-ratio: 1;
}

.gallery-item-full:nth-child(4n+2) {
  aspect-ratio: 4/5;
}

.gallery-item-full:nth-child(4n+3) {
  aspect-ratio: 3/4;
}

.gallery-item-full:nth-child(4n+4) {
  aspect-ratio: 5/4;
}

.gallery-item-full:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.gallery-item-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
}

.gallery-item-full:hover img {
  transform: scale(1.08);
}

/* Gold-tinted overlay on hover */
.gallery-item-full .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,25,47,.75) 0%,
    rgba(212,168,67,.35) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity .4s var(--ease-out);
}

.gallery-item-full:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item-full .gallery-overlay i {
  font-size: 2.2rem;
  color: var(--white);
  transition: transform .4s var(--ease-spring);
}

.gallery-item-full:hover .gallery-overlay i {
  transform: scale(1.1);
}

.gallery-item-full .gallery-overlay span {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}


/* ═══════════════════════════════════════
   10. CONTACT PAGE
   ═══════════════════════════════════════ */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-2xl);
  align-items: start;
}

.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: var(--s-xl);
}

.contact-info-section .section-header {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
  margin-bottom: var(--s-md);
}

.contact-info-section .section-header .section-tag,
.contact-info-section .section-header .section-title,
.contact-info-section .section-header .section-description {
  text-align: left;
}

.contact-info-section .section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: var(--s-sm);
}

.contact-info-section .section-title::after {
  margin: 16px 0 0;
}

.contact-info-section .section-description {
  font-size: 1.1rem;
  color: var(--gray-500);
  margin: 0;
}

/* Contact Cards Grid */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-md);
  width: 100%;
}

.contact-card {
  background: var(--white);
  padding: var(--s-lg);
  border-radius: var(--r-lg);
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 230px;
  position: relative;
  overflow: hidden;
  transition: all .45s var(--ease-out);
}

/* Gold top line on hover */
.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transform: scaleX(0);
  transition: transform .4s var(--ease-out);
  transform-origin: left;
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(10,25,47,.1), var(--shadow-gold);
  border-color: rgba(212,168,67,.15);
}

/* Icon in gold circle */
.contact-icon {
  width: 76px;
  height: 76px;
  margin-bottom: var(--s-md);
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--navy-900);
  box-shadow: 0 6px 20px rgba(212,168,67,.25);
  transition: all .4s var(--ease-spring);
  flex-shrink: 0;
}

.contact-card:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 30px rgba(212,168,67,.35);
  animation: goldPulse 2s ease infinite;
}

.contact-card h3 {
  margin-bottom: var(--s-xs);
  margin-top: 0;
  font-size: 1.3rem;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
}

.contact-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.8;
}

.contact-card a {
  color: var(--gold-500);
  font-weight: 600;
  transition: var(--t-fast);
}

.contact-card a:hover {
  color: var(--gold-400);
}

/* Map Container */
.map-container {
  width: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--gray-200);
  transition: all .4s var(--ease-out);
}

.map-container:hover {
  box-shadow: var(--shadow-xl);
  border-color: rgba(212,168,67,.2);
}

.map-container iframe {
  display: block;
  width: 100%;
}

/* Contact Form Section */
.contact-form-section {
  position: sticky;
  top: 100px;
  height: fit-content;
}


/* ═══════════════════════════════════════
   11. CAREERS PAGE
   ═══════════════════════════════════════ */
.careers-intro {
  background: rgba(241,245,249,.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--s-lg);
  border-radius: var(--r-lg);
  margin-bottom: var(--s-lg);
  text-align: center;
  border: 1px solid var(--gray-200);
}

.careers-intro p {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--gray-500);
  max-width: 800px;
  margin: 0 auto;
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-lg);
  margin-bottom: var(--s-xl);
}

.job-card {
  background: var(--white);
  padding: var(--s-lg);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-200);
  transition: all .45s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out);
}

.job-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(212,168,67,.15);
}

.job-card:hover::before {
  transform: scaleX(1);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--s-md);
  flex-wrap: wrap;
  gap: var(--s-sm);
}

.job-header h3 {
  margin: 0;
  font-size: 1.45rem;
  color: var(--navy-900);
  font-family: var(--font-display);
}

.job-type {
  padding: 0.45rem 1.1rem;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
  color: var(--gold-400);
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid rgba(212,168,67,.2);
}

.job-details {
  display: flex;
  gap: var(--s-md);
  margin-bottom: var(--s-md);
  flex-wrap: wrap;
}

.job-details p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-500);
  font-size: 0.875rem;
  margin: 0;
}

.job-details i {
  color: var(--gold-500);
}

.job-description {
  margin-bottom: var(--s-md);
  color: var(--gray-500);
  line-height: 1.85;
  font-size: 0.975rem;
}

.job-requirements {
  margin-bottom: var(--s-md);
}

.job-requirements h4 {
  margin-bottom: var(--s-sm);
  font-size: 1rem;
  color: var(--navy-900);
}

.job-requirements ul {
  list-style: none;
  padding-left: 0;
}

.job-requirements li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--gray-600);
  line-height: 1.7;
}

.job-requirements li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-500);
  font-weight: bold;
}

.application-form-section {
  margin-top: var(--s-xl);
  padding-top: var(--s-xl);
  border-top: 2px solid var(--gray-200);
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE — 1024px (Tablets Landscape)
   ═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: var(--s-lg);
  }

  .content-sidebar {
    position: static;
    max-height: none;
  }

  .content-block {
    padding-left: var(--s-sm);
  }

  .sidebar-widget {
    padding: var(--s-md);
    margin-bottom: var(--s-md);
  }

  .sidebar-widget h3 {
    font-size: 1.1rem;
  }

  .program-card,
  .program-card.large {
    grid-template-columns: 1fr;
  }

  .program-image {
    min-height: 300px;
  }

  .program-content {
    padding: var(--s-lg);
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--s-xl);
  }

  .contact-form-section {
    position: static;
  }

  .news-item {
    grid-template-columns: 280px 1fr;
  }
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE — 768px (Tablets Portrait)
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Page Header */
  .page-header {
    padding: 100px 0 36px;
    min-height: 180px;
    background-attachment: scroll;
  }

  .page-header h1 {
    font-size: clamp(1.7rem, 5vw, 2.5rem);
  }

  .page-header h1::after {
    width: 50px;
    margin-top: 12px;
  }

  .breadcrumb {
    font-size: 0.8125rem;
    gap: 0.4rem;
  }

  /* Content */
  .content-sidebar {
    margin-top: var(--s-md);
  }

  .content-block {
    padding-left: var(--s-sm);
    margin-bottom: var(--s-md);
    padding-bottom: var(--s-md);
  }

  .content-block h2 {
    font-size: 1.4rem;
  }

  .content-block p {
    font-size: 1rem;
    line-height: 1.8;
  }

  /* Sidebar */
  .sidebar-widget {
    padding: var(--s-sm);
    margin-bottom: var(--s-sm);
    border-radius: var(--r-md);
  }

  .sidebar-widget h3 {
    font-size: 1rem;
    margin-bottom: var(--s-sm);
  }

  .sidebar-links a {
    padding: 0.6rem 0.7rem;
    font-size: 0.875rem;
  }

  .info-list p {
    font-size: 0.875rem;
  }

  .contact-info-widget p {
    font-size: 0.875rem;
  }

  /* Values / Features */
  .values-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-sm);
  }

  .value-card,
  .feature-item {
    padding: var(--s-md) var(--s-sm);
  }

  .value-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  /* Curriculum */
  .curriculum-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-sm);
  }

  .curriculum-item {
    padding: var(--s-md);
  }

  .curriculum-item i {
    font-size: 2.2rem;
  }

  /* Programs */
  .program-card {
    border-radius: var(--r-lg);
  }

  .program-image {
    min-height: 250px;
  }

  .program-content {
    padding: var(--s-md);
  }

  .program-content h3 {
    font-size: 1.3rem;
  }

  .program-content p {
    font-size: 0.875rem;
  }

  .program-level {
    font-size: 0.75rem;
    padding: 0.35rem 0.9rem;
  }

  /* News */
  .news-item {
    grid-template-columns: 1fr;
  }

  .news-item-image {
    min-height: 220px;
  }

  .news-item-content {
    padding: var(--s-md);
  }

  .news-item-content h2 {
    font-size: 1.25rem;
  }

  .news-item-content p {
    font-size: 0.875rem;
  }

  .news-filter {
    gap: 0.4rem;
    margin-bottom: var(--s-lg);
  }

  .filter-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }

  /* Gallery */
  .gallery-filter {
    gap: 0.4rem;
    margin-bottom: var(--s-lg);
  }

  .gallery-grid-full {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-sm);
  }

  .gallery-item-full {
    border-radius: var(--r-md);
    aspect-ratio: 1 !important;
  }

  .gallery-item-full .gallery-overlay i {
    font-size: 1.8rem;
  }

  /* Contact */
  .contact-cards {
    grid-template-columns: 1fr;
    gap: var(--s-md);
  }

  .contact-card {
    min-height: 200px;
    padding: var(--s-md);
  }

  .contact-icon {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
    margin-bottom: var(--s-sm);
  }

  .contact-card h3 {
    font-size: 1.15rem;
  }

  .contact-card p {
    font-size: 0.875rem;
    line-height: 1.7;
  }

  .contact-info-section .section-title {
    font-size: 1.8rem;
  }

  .map-container {
    border-radius: var(--r-lg);
  }

  /* Careers */
  .job-header {
    flex-direction: column;
  }

  .job-header h3 {
    font-size: 1.25rem;
  }

  .job-card {
    padding: var(--s-md);
  }

  .careers-intro {
    padding: var(--s-md);
  }

  .careers-intro p {
    font-size: 1rem;
  }
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE — 480px (Mobile)
   ═══════════════════════════════════════════════════ */
@media (max-width: 480px) {

  /* Page Header */
  .page-header {
    padding: 80px 0 28px;
    min-height: 150px;
  }

  .page-header h1 {
    font-size: 1.6rem;
  }

  .page-header h1::after {
    width: 40px;
    margin-top: 10px;
    height: 2px;
  }

  .breadcrumb {
    font-size: 0.75rem;
    gap: 0.3rem;
  }

  /* Content */
  .content-block {
    padding-left: var(--s-xs);
    margin-bottom: var(--s-sm);
    padding-bottom: var(--s-sm);
  }

  .content-block h2 {
    font-size: 1.25rem;
  }

  .content-block p {
    font-size: 0.9375rem;
    line-height: 1.75;
  }

  /* Feature list */
  .feature-list li {
    padding: 0.75rem;
    gap: 0.6rem;
    font-size: 0.875rem;
  }

  .feature-list li:hover {
    transform: translateX(4px);
  }

  /* Sidebar */
  .sidebar-widget {
    padding: 0.875rem;
    margin-bottom: 0.875rem;
    border-radius: var(--r-sm);
  }

  .sidebar-widget h3 {
    font-size: 0.9375rem;
  }

  .sidebar-links a {
    padding: 0.5rem 0.6rem;
    font-size: 0.8125rem;
  }

  .info-list p {
    font-size: 0.8125rem;
  }

  .contact-info-widget p {
    font-size: 0.8125rem;
  }

  /* Values / Features */
  .values-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--s-sm);
  }

  .value-card,
  .feature-item {
    padding: var(--s-md);
  }

  .value-icon {
    width: 56px;
    height: 56px;
    font-size: 1.3rem;
  }

  .value-card h3,
  .feature-item h3 {
    font-size: 1.05rem;
  }

  /* Curriculum */
  .curriculum-grid {
    grid-template-columns: 1fr;
  }

  .curriculum-item {
    padding: var(--s-md);
  }

  .curriculum-item i {
    font-size: 2rem;
  }

  .curriculum-item h3 {
    font-size: 1.05rem;
  }

  /* Programs */
  .program-card {
    border-radius: var(--r-md);
  }

  .program-image {
    min-height: 200px;
  }

  .program-content {
    padding: var(--s-sm);
  }

  .program-content h3 {
    font-size: 1.15rem;
  }

  .program-content p {
    font-size: 0.8125rem;
    line-height: 1.75;
  }

  .program-level {
    font-size: 0.7rem;
    padding: 0.3rem 0.8rem;
  }

  .program-features li {
    font-size: 0.85rem;
  }

  /* News */
  .news-list {
    gap: var(--s-md);
  }

  .news-item {
    border-radius: var(--r-lg);
  }

  .news-item-image {
    min-height: 180px;
  }

  .news-item-content {
    padding: var(--s-sm);
  }

  .news-item-content h2 {
    font-size: 1.1rem;
  }

  .news-item-content p {
    font-size: 0.8125rem;
    line-height: 1.7;
  }

  .news-read-more {
    font-size: 0.8rem;
  }

  .news-filter,
  .gallery-filter {
    gap: 0.35rem;
    margin-bottom: var(--s-md);
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    flex: 1;
    min-width: calc(50% - 0.35rem);
    text-align: center;
  }

  .pagination {
    gap: 0.35rem;
    margin-top: var(--s-lg);
  }

  .page-btn {
    padding: 0.55rem 0.9rem;
    font-size: 0.8rem;
    min-width: 38px;
  }

  /* Gallery */
  .gallery-grid-full {
    grid-template-columns: 1fr;
    gap: var(--s-sm);
  }

  .gallery-item-full {
    border-radius: var(--r-sm);
  }

  .gallery-item-full .gallery-overlay i {
    font-size: 1.6rem;
  }

  /* Contact */
  .contact-cards {
    gap: var(--s-sm);
  }

  .contact-card {
    min-height: 180px;
    padding: var(--s-sm);
    border-radius: var(--r-md);
  }

  .contact-icon {
    width: 56px;
    height: 56px;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
  }

  .contact-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .contact-card p {
    font-size: 0.8125rem;
    line-height: 1.6;
  }

  .contact-info-section .section-title {
    font-size: 1.5rem;
  }

  .contact-info-section .section-description {
    font-size: 0.95rem;
  }

  .map-container {
    border-radius: var(--r-md);
  }

  /* Careers */
  .job-card {
    padding: var(--s-sm);
    border-radius: var(--r-md);
  }

  .job-header h3 {
    font-size: 1.1rem;
  }

  .job-type {
    font-size: 0.7rem;
    padding: 0.35rem 0.85rem;
  }

  .job-details {
    gap: var(--s-sm);
  }

  .job-details p {
    font-size: 0.8125rem;
  }

  .careers-intro {
    padding: var(--s-sm);
    border-radius: var(--r-md);
  }

  .careers-intro p {
    font-size: 0.9rem;
  }
}


/* ═══════════════════════════════════════════════════
   ACCESSIBILITY — Reduced Motion
   ═══════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .page-header::before {
    animation: none;
  }

  .gallery-item-full:nth-child(n) {
    aspect-ratio: 1 !important;
  }

  .content-block::before,
  .value-card::before,
  .feature-item::before,
  .contact-card::before,
  .job-card::before {
    transition-duration: 0.01ms !important;
  }
}
