/* =====================================================
   SMP DARUL MUKMININ - Official School Website
   Premium, clean, institutional design
   Navy + Gold + White palette
   ===================================================== */

:root {
  --navy: #0B1D36;
  --navy-dark: #071422;
  --navy-light: #142844;
  --gold: #C9A227;
  --gold-light: #E0B93A;
  --gold-dark: #A88A1F;
  --white: #FFFFFF;
  --off-white: #F8F9FC;
  --light-gray: #EEF1F6;
  --text: #1F2937;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --shadow-sm: 0 1px 3px rgba(11, 29, 54, 0.06);
  --shadow: 0 4px 12px rgba(11, 29, 54, 0.08);
  --shadow-lg: 0 10px 30px rgba(11, 29, 54, 0.12);
  --radius: 10px;
  --radius-sm: 6px;
  --transition: all 0.25s ease;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== HEADER ========== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text .school-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.brand-text .school-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--navy);
  background: var(--light-gray);
}

.nav-desktop a.active {
  font-weight: 600;
  color: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy);
}

.menu-toggle svg {
  width: 28px;
  height: 28px;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--white);
  z-index: 999;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-size: 1.1rem;
  font-weight: 500;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  color: var(--text);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  background: var(--light-gray);
  color: var(--navy);
}

.nav-mobile .btn {
  margin-top: 16px;
  width: 100%;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(11,29,54,0.92) 0%, rgba(11,29,54,0.7) 50%, rgba(11,29,54,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  max-width: 640px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/hero-school.jpg') center/cover;
  opacity: 0.15;
}

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

.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 12px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.8);
}

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

.breadcrumb span {
  margin: 0 8px;
  opacity: 0.5;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ========== SECTIONS ========== */
section {
  padding: 72px 0;
}

.section-header {
  margin-bottom: 40px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 750;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 560px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

/* About / Welcome */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.about-text p {
  margin-bottom: 16px;
  color: var(--text);
}

.quote-box {
  background: var(--off-white);
  border-left: 4px solid var(--gold);
  padding: 28px 32px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.7;
}

.quote-box cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Program cards */
.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.program-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
  text-align: center;
}

.program-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.program-icon {
  width: 52px;
  height: 52px;
  background: rgba(201, 162, 39, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.5rem;
  color: var(--gold-dark);
}

.program-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.program-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* News / Editorial */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.8rem;
}

.news-cat {
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold-dark);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
}

.news-date {
  color: var(--text-muted);
}

.news-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 14px;
}

.news-card .read-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-dark);
}

.news-card .read-more:hover {
  color: var(--navy);
}

/* Announcement list */
.announce-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.announce-item {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: var(--transition);
}

.announce-item:hover {
  border-color: var(--border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.announce-icon {
  width: 42px;
  height: 42px;
  background: rgba(201, 162, 39, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-dark);
  font-size: 1.1rem;
}

.announce-content h4 {
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--navy);
  margin-bottom: 4px;
}

.announce-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Gallery preview */
.gallery-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-preview a {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.gallery-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-preview a:hover img {
  transform: scale(1.05);
}

/* CTA band */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 750;
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  object-fit: contain;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.95rem;
}

.social-links a:hover {
  background: var(--gold);
  color: var(--navy-dark);
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-contact .icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ========== INNER PAGE STYLES ========== */
.content-section {
  padding: 56px 0;
}

.content-section:nth-child(even) {
  background: var(--off-white);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.visi-misi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.visi-box, .misi-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.visi-box h3, .misi-box h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.visi-box h3::before, .misi-box h3::before {
  content: '';
  width: 6px;
  height: 24px;
  background: var(--gold);
  border-radius: 3px;
}

.misi-box ol {
  padding-left: 20px;
}

.misi-box li {
  margin-bottom: 10px;
  color: var(--text);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.value-card {
  text-align: center;
  padding: 28px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.value-card .icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--gold-dark);
}

.value-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.value-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Org structure */
.org-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.org-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.org-card .avatar {
  width: 72px;
  height: 72px;
  background: var(--light-gray);
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--navy);
  font-weight: 700;
}

.org-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.org-card .role {
  font-size: 0.85rem;
  color: var(--gold-dark);
  font-weight: 600;
}

/* Facilities */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.facility-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.facility-card:hover {
  box-shadow: var(--shadow);
}

.facility-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.facility-card .body {
  padding: 18px 20px;
}

.facility-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.facility-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th, td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  white-space: nowrap;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: var(--off-white);
}

/* Schedule */
.schedule-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.schedule-controls select {
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.9rem;
  background: var(--white);
  min-width: 160px;
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
}

.contact-item .icon-box {
  width: 48px;
  height: 48px;
  background: rgba(201, 162, 39, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Map placeholder */
.map-placeholder {
  background: var(--light-gray);
  border-radius: var(--radius);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  border: 1px solid var(--border);
  margin-top: 40px;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--white);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-q:hover {
  background: var(--off-white);
}

.faq-a {
  padding: 0 22px 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: none;
}

.faq-item.open .faq-a {
  display: block;
}

/* Gallery page */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.gallery-filters button {
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
}

.gallery-filters button:hover,
.gallery-filters button.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

/* Info / News page */
.info-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}

.info-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.sidebar-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}

.search-box {
  display: flex;
  gap: 8px;
}

.search-box input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.category-nav a {
  padding: 8px 16px;
  border-radius: 30px;
  background: var(--light-gray);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.category-nav a:hover,
.category-nav a.active {
  background: var(--navy);
  color: var(--white);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--white);
}

.pagination a:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.pagination .current {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Utility */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-32 { margin-top: 32px; }
.mb-24 { margin-bottom: 24px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; }
  .info-layout { grid-template-columns: 1fr; }
  .info-sidebar { position: static; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-preview { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: block; }
  .header-inner { height: 68px; }
  .brand img { width: 44px; height: 44px; }
  .brand-text .school-name { font-size: 0.95rem; }

  .hero { min-height: 420px; }
  .hero-content { padding: 56px 0; }
  .hero h1 { font-size: 1.9rem; }
  .hero p { font-size: 1rem; }

  section { padding: 48px 0; }
  .page-hero { padding: 40px 0 36px; }

  .program-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .org-grid { grid-template-columns: 1fr; }
  .facilities-grid { grid-template-columns: 1fr; }
  .visi-misi { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-preview { grid-template-columns: 1fr 1fr; }

  .container { padding: 0 18px; }

  /* Touch friendly */
  .btn { padding: 13px 22px; }
  .nav-mobile a { padding: 16px; }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .gallery-preview { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* ========== IMAGE PLACEHOLDER (Development) ========== */
.img-placeholder {
  background: var(--light-gray);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  min-height: 160px;
  width: 100%;
  aspect-ratio: 16/10;
}

.img-placeholder.hero-ph {
  position: absolute;
  inset: 0;
  min-height: 100%;
  aspect-ratio: auto;
  border: none;
  border-radius: 0;
  background: var(--navy-light);
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
}

.news-card .img-placeholder,
.facility-card .img-placeholder,
.gallery-item .img-placeholder,
.gallery-preview .img-placeholder {
  aspect-ratio: 4/3;
  min-height: 140px;
}

.gallery-preview a {
  display: block;
}
