@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap');

/* --- 2026 DESIGN SYSTEM & TOKENS --- */
:root {
  --primary: #0f2b48;
  --primary-light: #1a446c;
  --primary-dark: #071728;
  --secondary: #f59e0b;
  --secondary-hover: #d97706;
  --accent: #0ea5e9;
  --accent-soft: rgba(14, 165, 233, 0.12);
  --success: #10b981;
  --danger: #ef4444;
  
  --bg-body: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --surface-glass: rgba(255, 255, 255, 0.85);
  
  --text: #0f172a;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  
  --border: rgba(15, 43, 72, 0.08);
  --border-glass: rgba(255, 255, 255, 0.2);
  --border-focus: rgba(14, 165, 233, 0.5);
  
  --shadow-sm: 0 4px 12px rgba(15, 43, 72, 0.04);
  --shadow-md: 0 12px 30px rgba(15, 43, 72, 0.08);
  --shadow-lg: 0 24px 50px rgba(15, 43, 72, 0.12);
  --shadow-glow: 0 0 25px rgba(14, 165, 233, 0.25);
  
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --primary: #1e3e62;
  --primary-light: #2b5686;
  --primary-dark: #0b192c;
  --secondary: #fbbf24;
  --secondary-hover: #f59e0b;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.15);
  
  --bg-body: #070d17;
  --surface: #0e1726;
  --surface-alt: #142236;
  --surface-glass: rgba(14, 23, 38, 0.85);
  
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;
  
  --border: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-focus: rgba(56, 189, 248, 0.5);
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 50px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(56, 189, 248, 0.2);
}

/* --- BASE STYLES --- */
* {
  box-sizing: border-box;
}

html {
  font-size: 13.5px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
@media (min-width: 1600px) {
  html {
    font-size: 14px;
  }
}
@media (max-width: 1280px) {
  html {
    font-size: 13px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 12.8px;
  }
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-body);
  color: var(--text);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  max-width: 100vw;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1, h2, h3, h4, p {
  margin: 0;
}

h1, h2, h3 {
  font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

h1 {
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  line-height: 1.18;
}

h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.25;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.35;
}

p {
  color: var(--text-muted);
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

@media (max-width: 1280px) {
  .container {
    width: min(1040px, calc(100% - 32px));
  }
}

@media (max-width: 768px) {
  .container {
    width: calc(100% - 24px);
  }
}

.section {
  padding: 48px 0;
  position: relative;
}

.section-alt {
  background: var(--surface-alt);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 36px;
}

.center-heading {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* --- HEADER & NAVIGATION --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav-wrap {
  display: flex;
  align-items: center;
  min-height: 64px;
  gap: 12px;
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  font-size: 1.35rem;
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.3);
}

.brand strong {
  display: block;
  font-size: 1.18rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.02em;
}

.brand small {
  display: block;
  color: var(--text-muted);
  font-size: 0.68rem;
  margin-top: 1px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: var(--surface-alt);
  padding: 3px 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.02);
  transition: var(--transition);
}

.main-nav a {
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 7px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--accent);
  background: var(--surface);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.18);
  transform: translateY(-1px);
}

.main-nav a.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 43, 72, 0.25);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 9999px;
  background: var(--surface-alt);
  border: 1px solid rgba(14, 165, 233, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 9999px;
  padding: 4px 9px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.35);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  box-sizing: border-box;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-hover));
  color: #0b192c;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.45);
}

.btn-secondary {
  background: var(--surface-glass);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
              linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #ffffff;
  padding: 44px 0 36px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to top, var(--bg-body), transparent);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 36px;
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  color: #ffffff;
  margin: 12px 0;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.98rem;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 18px;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-points li::before {
  content: "✦";
  color: var(--secondary);
  margin-right: 8px;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual img {
  width: 100%;
  max-width: 460px;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s ease;
}

.hero-visual:hover img {
  transform: scale(1.02);
}

.badge {
  position: absolute;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  color: white;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}

.badge-top {
  top: 16px;
  left: -12px;
  font-weight: 800;
  font-size: 0.9rem;
  border-left: 4px solid var(--secondary);
}

.badge-bottom {
  right: -12px;
  bottom: 24px;
  display: grid;
  border-right: 4px solid var(--accent);
}

.badge-bottom strong {
  font-size: 2.2rem;
  line-height: 1;
  font-family: "Outfit", sans-serif;
  color: var(--accent);
}

.badge-bottom span {
  font-size: 0.82rem;
  opacity: 0.9;
}

/* --- MARQUEE FLOW SECTIONS (USTOZLAR CHAPDAN O'NGGA & GALEREYA AYLANMA) --- */
.marquee-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

/* Ustozlar: chapdan o'ngga sekin fonda o'tib turadi */
.teacher-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: marquee-ltr 32s linear infinite;
  will-change: transform;
}

.teacher-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-ltr {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

.teacher-marquee-card {
  width: 210px;
  flex-shrink: 0;
  margin: 0;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: var(--surface);
}

.teacher-marquee-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.18);
  border-color: rgba(14, 165, 233, 0.4);
}

.teacher-marquee-card .person-img-wrap {
  height: 140px;
  border-bottom: 1px solid var(--border);
}

.teacher-marquee-card .teacher-tag {
  position: absolute;
  bottom: 6px;
  left: 6px;
  padding: 2px 8px;
  font-size: 0.65rem;
  border-radius: 6px;
}

.teacher-marquee-card .person-body {
  padding: 10px 12px;
}

.teacher-marquee-card .subject-pill {
  font-size: 0.68rem;
  padding: 2px 8px;
  margin-bottom: 4px;
  border-radius: 6px;
}

.teacher-marquee-card .person-name {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 4px 0 2px 0;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.teacher-marquee-card .experience-badge {
  display: inline-block;
  font-size: 0.66rem;
  padding: 1px 6px;
  margin-bottom: 4px;
  border-radius: 4px;
}

.teacher-marquee-card .person-desc {
  font-size: 0.74rem;
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text-muted);
}

/* Fotogalereya: aylana shaklda uzluksiz aylanma harakat */
.gallery-marquee-section {
  position: relative;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 28px;
  animation: marquee-rtl 34s linear infinite;
  will-change: transform;
  padding: 20px 0;
}

.gallery-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-rtl {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Har bir rasm to'liq AYLANA shaklda */
.gallery-marquee-card {
  position: relative;
  width: 210px;
  height: 210px;
  flex-shrink: 0;
  margin: 0;
  border-radius: 50% !important;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 4px solid rgba(14, 165, 233, 0.45);
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.25), 0 0 18px rgba(14, 165, 233, 0.2);
  background: var(--surface);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.gallery-marquee-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50% !important;
  transition: transform 0.6s ease;
}

.gallery-marquee-card:hover {
  transform: scale(1.08) rotate(3deg);
  border-color: #38bdf8;
  box-shadow: 0 16px 45px rgba(14, 165, 233, 0.5), 0 0 30px rgba(56, 189, 248, 0.4);
  z-index: 5;
}

.gallery-marquee-card:hover img {
  transform: scale(1.15);
}

.gallery-marquee-card .gallery-overlay {
  position: absolute;
  inset: 0;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(11, 25, 44, 0.9) 35%, rgba(14, 165, 233, 0.85) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-marquee-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-marquee-card .gallery-overlay figcaption {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 4px 0;
  max-width: 160px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-marquee-card .gallery-zoom-icon {
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.25);
  padding: 3px 8px;
  border-radius: 9999px;
  margin-top: 6px;
}

.center-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* --- STATS GRID --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.stat-card strong {
  display: block;
  font-family: "Outfit", sans-serif;
  color: var(--accent);
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-card span {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.92rem;
}

/* --- 2026 ENHANCED PERSON CARDS (ADMINISTRATION, TEACHERS, STUDENTS) --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 30px;
}

.admin-grid {
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 24px;
}

@media (max-width: 1100px) {
  .admin-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
}

@media (max-width: 640px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
}

.person-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.person-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 165, 233, 0.35);
}

.person-img-wrap {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: var(--surface-alt);
}

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

.person-card:hover .person-img-wrap img {
  transform: scale(1.05);
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 4rem;
  background: var(--surface-alt);
}

.executive-badge,
.teacher-tag,
.medal-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.executive-badge {
  background: rgba(15, 43, 72, 0.85);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.teacher-tag {
  background: rgba(16, 185, 129, 0.85);
  color: #fff;
}

.medal-tag {
  background: rgba(245, 158, 11, 0.9);
  color: #0b192c;
  font-weight: 900;
}

.person-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.role-pill,
.subject-pill,
.student-pill {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.role-pill { color: var(--accent); }
.subject-pill { color: var(--secondary); }
.student-pill { color: var(--success); }

.person-name {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text);
}

.person-meta {
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.person-meta a {
  color: var(--accent);
  font-weight: 700;
}

.person-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 8px;
}

.experience-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  width: fit-content;
  color: var(--text-muted);
}

/* --- NEWS CARDS --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 30px;
}

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

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

.news-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: var(--surface-alt);
}

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

.news-card:hover .news-img-wrap img {
  transform: scale(1.06);
}

.news-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

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

.news-body .date {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.news-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.35;
}

.news-summary {
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.btn-read-news {
  background: transparent;
  border: none;
  color: var(--accent);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-read-news:hover {
  color: var(--secondary);
  transform: translateX(4px);
}

/* --- GALLERY GRID & LIGHTBOX --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 22px;
}

.gallery-entry {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 25, 44, 0.92) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
  opacity: 0;
  transition: var(--transition);
}

.gallery-entry:hover .gallery-overlay {
  opacity: 1;
}

.gallery-album-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 4px;
}

.gallery-overlay figcaption {
  font-size: 1rem;
  font-weight: 700;
}

.gallery-zoom-icon {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 6px;
}

/* Modal Lightbox */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(7, 13, 23, 0.92);
  backdrop-filter: blur(14px);
  display: none;
  place-items: center;
  padding: 24px;
}

.lightbox-backdrop.open {
  display: grid;
}

.lightbox-dialog {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.lightbox-dialog img {
  max-height: 70vh;
  width: 100%;
  object-fit: contain;
  background: #000;
}

.lightbox-dialog p {
  padding: 18px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 1.2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.news-modal-dialog {
  position: relative;
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.news-modal-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.news-modal-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

/* --- 2026 PREMIUM CONTACT SECTION & DIRECTOR VIP CARD --- */
.contact-section {
  padding: 50px 0 80px;
}

.contact-grid-2026 {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: start;
}

/* DIRECTOR VIP CARD */
.director-vip-card {
  position: relative;
  background: var(--surface);
  border: 1.5px solid rgba(14, 165, 233, 0.35);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.08), 0 0 25px rgba(14, 165, 233, 0.1);
  margin-bottom: 24px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.director-vip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.12), 0 0 35px rgba(14, 165, 233, 0.2);
  border-color: rgba(14, 165, 233, 0.6);
}

.vip-badge-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.2));
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #d97706;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.director-profile-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.director-avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 22px;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid rgba(14, 165, 233, 0.5);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.25);
  background: var(--surface-alt);
}

.director-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.director-info-text h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.director-title-pill {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(14, 165, 233, 0.12);
  padding: 2px 10px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.director-desc-brief {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.director-phone-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 18px;
  gap: 12px;
}

.director-phone-label small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.director-phone-label strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.02em;
}

.btn-call-director {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-call-director:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.45);
  background: linear-gradient(135deg, #34d399 0%, #059669 100%);
  color: #fff;
}

/* CONTACT CHANNELS GRID */
.contact-channels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-card-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.contact-card-item:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.contact-card-item strong {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 4px;
}

.contact-card-item p,
.contact-card-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0 0 10px 0;
}

.contact-card-action {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.contact-card-action:hover {
  gap: 8px;
}

/* CONTACT FORM CARD 2026 */
.contact-form-card-2026 {
  background: var(--surface);
  border: 1.5px solid rgba(14, 165, 233, 0.3);
  border-radius: 28px;
  padding: 38px 36px;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.08), 0 0 30px rgba(14, 165, 233, 0.08);
}

.form-header-2026 {
  margin-bottom: 24px;
}

.form-header-2026 .section-tag {
  margin-bottom: 8px;
}

.form-header-2026 h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 8px 0;
}

.form-header-2026 p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 4px;
}

.form-group-modern {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

.form-group-modern label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-group-modern input,
.form-group-modern select,
.form-group-modern textarea {
  width: 100%;
  padding: 13px 16px;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--surface-alt);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  outline: none;
  font-family: inherit;
  transition: all 0.25s ease;
}

.form-group-modern input:focus,
.form-group-modern select:focus,
.form-group-modern textarea:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3.5px rgba(14, 165, 233, 0.15);
}

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

.btn-submit-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 28px;
  border-radius: 14px;
  font-size: 1.02rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(14, 165, 233, 0.35);
  transition: all 0.3s ease;
}

.btn-submit-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.45);
}

.form-disclaimer {
  margin-top: 14px;
  font-size: 0.76rem;
  color: var(--text-muted);
  text-align: center;
}

/* MAP & LOCATION BANNER */
.contact-map-banner {
  margin-top: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-banner-header {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}

.map-banner-header h3 {
  font-size: 1.15rem;
  margin: 0;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-iframe-wrap {
  position: relative;
  width: 100%;
  height: 320px;
}

.map-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- FOOTER --- */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 48px;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
  margin-bottom: 16px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.site-footer a:hover {
  color: var(--accent);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0 28px;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ========================================================
   2026 ADMIN STUDIO MODERN DESIGN
   ======================================================== */
.admin-page {
  min-height: 100vh;
  background: var(--bg-body);
}

.admin-top-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.admin-nav-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35);
}

.brand-title {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
}

.brand-tagline {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.admin-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.server-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.server-status-pill.status-offline {
  background: rgba(239, 68, 68, 0.12);
  color: var(--danger);
  border-color: rgba(239, 68, 68, 0.25);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.admin-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  transition: var(--transition);
}

.btn-ghost-admin {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
}

.btn-ghost-admin:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-danger-admin {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: var(--danger);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-danger-admin:hover {
  background: var(--danger);
  color: #fff;
}

/* Admin Main Workspace */
.admin-main-wrap {
  max-width: 1380px;
  margin: 28px auto;
  padding: 0 24px;
}

/* Glass Card */
.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

/* --- 2026 ULTRA-MODERN ADMIN LOGIN CARD --- */
.admin-login-card {
  position: relative;
  max-width: 520px;
  margin: 50px auto;
  background: var(--surface);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: 28px;
  padding: 46px 38px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.25), 0 0 40px rgba(14, 165, 233, 0.12);
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-glow-aura {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 200px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.35) 0%, rgba(99, 102, 241, 0.2) 40%, transparent 70%);
  filter: blur(35px);
  pointer-events: none;
  z-index: 0;
}

.login-header-zone {
  position: relative;
  z-index: 1;
}

.shield-icon-badge-2026 {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(99, 102, 241, 0.2));
  border: 1.5px solid rgba(14, 165, 233, 0.4);
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.25);
  display: grid;
  place-items: center;
}

.shield-core-icon {
  font-size: 2.2rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.shield-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 28px;
  border: 2px solid rgba(14, 165, 233, 0.3);
  animation: pulse-ring 2.5s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 0.2; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.login-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.25);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.status-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  display: inline-block;
}

.login-title-2026 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.login-subtext-2026 {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 20px;
}

.login-status-bar {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.login-status-bar.online {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.login-status-bar.checking {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

.login-status-bar.offline {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.modern-admin-form-2026 {
  position: relative;
  z-index: 1;
  text-align: left;
}

.form-group-2026 {
  margin-bottom: 22px;
}

.label-2026 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.pwd-badge-info {
  font-size: 0.74rem;
  color: var(--accent);
  background: rgba(14, 165, 233, 0.12);
  padding: 2px 8px;
  border-radius: 6px;
}

.password-input-wrap-2026 {
  position: relative;
  display: flex;
  align-items: center;
}

.input-leading-icon {
  position: absolute;
  left: 16px;
  font-size: 1.15rem;
  pointer-events: none;
  opacity: 0.7;
}

.password-input-wrap-2026 input {
  width: 100%;
  padding: 16px 48px 16px 46px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text);
  background: var(--surface-alt);
  border: 2px solid var(--border);
  border-radius: 16px;
  outline: none;
  transition: all 0.25s ease;
}

.password-input-wrap-2026 input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.18), 0 8px 24px rgba(14, 165, 233, 0.12);
  background: var(--surface);
}

.pwd-eye-btn-2026 {
  position: absolute;
  right: 14px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 6px;
  border-radius: 8px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.pwd-eye-btn-2026:hover {
  opacity: 1;
}

.quick-pwd-actions {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}

.quick-pwd-chip {
  background: rgba(14, 165, 233, 0.08);
  border: 1px dashed rgba(14, 165, 233, 0.35);
  color: var(--accent);
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-pwd-chip:hover {
  background: rgba(14, 165, 233, 0.16);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.admin-btn-primary-2026 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 28px;
  border-radius: 16px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #4338ca 100%);
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.35), 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.admin-btn-primary-2026:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(2, 132, 199, 0.45), 0 6px 15px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #4f46e5 100%);
}

.admin-btn-primary-2026:active {
  transform: translateY(1px);
}

.admin-btn-primary-2026 .btn-arrow-icon {
  font-size: 1.25rem;
  transition: transform 0.25s ease;
}

.admin-btn-primary-2026:hover .btn-arrow-icon {
  transform: translateX(4px);
}

.login-footer-info {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Admin Tabs Navigation */
.admin-tabs-nav {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  overflow-x: auto;
}

.admin-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.admin-tab:hover {
  color: var(--text);
  background: var(--surface-alt);
}

.admin-tab.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 43, 72, 0.25);
}

.tab-counter {
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.25);
  font-size: 0.72rem;
}

.admin-tab:not(.active) .tab-counter {
  background: var(--surface-alt);
  color: var(--text-muted);
}

/* Tab Panels */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* Dashboard Banner & Stats */
.dash-hero-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.dash-hero-banner h2 {
  color: #fff;
  margin: 10px 0;
}

.dash-hero-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
}

.dash-quick-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.dash-stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.dash-stat-box:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.stat-icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}

.news-bg { background: rgba(14, 165, 233, 0.15); color: var(--accent); }
.teachers-bg { background: rgba(245, 158, 11, 0.15); color: var(--secondary); }
.admin-bg { background: rgba(99, 102, 241, 0.15); color: #6366f1; }
.students-bg { background: rgba(16, 185, 129, 0.15); color: var(--success); }
.gallery-bg { background: rgba(236, 72, 153, 0.15); color: #ec4899; }
.media-bg { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }

.dash-stat-box strong {
  display: block;
  font-size: 1.8rem;
  font-family: "Outfit", sans-serif;
  line-height: 1.1;
  color: var(--text);
}

.dash-stat-box span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.dash-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.system-spec-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 12px;
  font-size: 0.92rem;
}

.badge-active {
  color: var(--success);
  font-weight: 700;
}

.quick-nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.nav-pill-item {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
}

.nav-pill-item:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* CRUD Layout */
.crud-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(420px, 1.05fr);
  gap: 24px;
  align-items: start;
}

.pane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.list-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-search-input {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  width: 220px;
}

/* Form Styles */
.modern-admin-form {
  display: grid;
  gap: 18px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

.admin-input,
.admin-textarea,
.admin-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  transition: var(--transition);
}

.admin-input:focus,
.admin-textarea:focus,
.admin-select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-hint {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.localized-input-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  background: var(--surface-alt);
}

.localized-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.localized-header label {
  font-weight: 800;
  font-size: 0.88rem;
}

.lang-pills {
  display: flex;
  gap: 4px;
}

.lang-pill {
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.lang-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.loc-pane {
  display: none;
}

.loc-pane.active {
  display: block;
}

/* Image Uploader Card */
.image-uploader-card {
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  background: var(--surface-alt);
}

.image-uploader-controls {
  display: flex;
  gap: 10px;
  margin: 12px 0;
  flex-wrap: wrap;
}

.btn-upload-file {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

.image-preview-box {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.image-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-remove-img {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(239, 68, 68, 0.85);
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.admin-btn-primary {
  padding: 12px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.admin-btn-primary:hover {
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
}

.admin-btn-primary.btn-sm {
  padding: 8px 16px;
  font-size: 0.84rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.admin-btn-secondary {
  padding: 12px 24px;
  border-radius: var(--radius-md);
  background: var(--surface-alt);
  color: var(--text);
  border: 1px solid var(--border);
  font-weight: 700;
  cursor: pointer;
}

.full-width {
  width: 100%;
}

/* Record List */
.record-list-grid {
  display: grid;
  gap: 12px;
  max-height: 700px;
  overflow-y: auto;
  padding-right: 6px;
}

.record-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.record-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.record-card.is-editing {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.record-thumb {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.record-no-thumb {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: var(--surface-alt);
  color: var(--text-muted);
  font-size: 0.7rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.record-main-info {
  flex: 1;
  min-width: 0;
}

.record-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.record-subtitle {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.record-action-btns {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.btn-record-edit {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
}

.btn-record-del {
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--danger);
  cursor: pointer;
}

/* Media Manager Dropzone & Grid */
.media-top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.media-dropzone {
  border: 2px dashed rgba(14, 165, 233, 0.4);
  border-radius: var(--radius-lg);
  padding: 42px;
  text-align: center;
  background: var(--surface-alt);
  margin-bottom: 28px;
  transition: var(--transition);
}

.media-dropzone.drag-active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.dropzone-icon {
  font-size: 3rem;
  margin-bottom: 8px;
}

.media-files-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.media-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}

.media-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.media-thumb-wrap {
  height: 140px;
  background: var(--surface-alt);
}

.media-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-details {
  padding: 10px 12px;
  flex: 1;
}

.media-filename {
  display: block;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.media-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.media-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-top: 1px solid var(--border);
  background: var(--surface-alt);
}

.btn-subtle {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-danger-mini {
  border: 1px solid rgba(239, 68, 68, 0.2);
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  cursor: pointer;
}

/* Modals */
.admin-modal {
  border: none;
  background: transparent;
  padding: 0;
}

.admin-modal::backdrop {
  background: rgba(7, 13, 23, 0.8);
  backdrop-filter: blur(8px);
}

.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
}

.wide-modal .modal-box {
  max-width: 800px;
  width: 90vw;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.picker-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  max-height: 400px;
  overflow-y: auto;
  margin: 16px 0;
}

.picker-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.picker-item:hover {
  border-color: var(--accent);
  transform: scale(1.03);
}

.picker-item img {
  width: 100%;
  height: 90px;
  object-fit: cover;
}

.picker-item span {
  display: block;
  padding: 4px 6px;
  font-size: 0.7rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

/* Security & Password Change Section */
.security-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 900px) {
  .security-grid {
    grid-template-columns: 1fr;
  }
}

.security-card-highlight {
  border: 1px solid rgba(14, 165, 233, 0.35) !important;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.08) !important;
}

.password-input-wrap-relative {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrap-relative .admin-input {
  padding-right: 48px;
}

.pwd-field-eye {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 1.15rem;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
  border-radius: 6px;
}

.pwd-field-eye:hover {
  opacity: 1;
  transform: scale(1.1);
  background: var(--surface);
}

.pwd-info-banner {
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 14px;
}

.pwd-info-banner strong {
  color: var(--accent);
}

.server-auto-banner {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100000;
  background: var(--surface);
  border: 1px solid var(--accent);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 90vw;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { transform: translate(-50%, -20px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

/* Toast Container */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  display: grid;
  gap: 10px;
}

.admin-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  font-weight: 700;
  font-size: 0.9rem;
  animation: slideToast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.admin-toast.hide {
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast-success { border-left: 5px solid var(--success); color: var(--text); }
.toast-error { border-left: 5px solid var(--danger); color: var(--danger); }
.toast-info { border-left: 5px solid var(--accent); color: var(--text); }

.toast-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-alt);
  font-size: 0.8rem;
}

/* Responsive Media Queries */
@media (max-width: 1100px) {
  .directory-grid,
  .dash-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .card-grid,
  .news-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .crud-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    min-height: 400px;
  }
  .dash-hero-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .directory-grid,
  .dash-stats-grid,
  .stats-grid,
  .footer-grid,
  .dash-info-grid {
    grid-template-columns: 1fr 1fr;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: 6px;
    z-index: 100;
  }
  .main-nav.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  .contact-grid-2026 {
    grid-template-columns: 1fr;
  }
  .form-row-2col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .contact-channels-grid {
    grid-template-columns: 1fr;
  }
  .director-profile-row {
    flex-direction: column;
    text-align: center;
  }
  .director-phone-cta {
    flex-direction: column;
    text-align: center;
  }
  .card-grid,
  .news-grid,
  .gallery-grid,
  .directory-grid,
  .dash-stats-grid,
  .stats-grid,
  .footer-grid,
  .dash-info-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
  .badge {
    position: static;
    margin-top: 10px;
  }
}

/* ==========================================================================
   2026 ADVANCED ENHANCEMENTS: A11Y, SPOTLIGHT, CAMPUS, LIBRARY, 360, ALUMNI
   ========================================================================== */

/* 1. Header Tools (Search & A11y Buttons) */
.icon-tool-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
}
.icon-tool-btn:hover {
  background: var(--surface-alt);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.2);
}

/* 2. Accessibility Toolbar (O'zbekiston Davlat Standartlari) */
#a11y-toolbar {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 12px 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
#a11y-toolbar.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.a11y-group {
  display: flex;
  align-items: center;
  gap: 6px;
}
.a11y-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}
.a11y-btn {
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.a11y-btn:hover, .a11y-btn.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}
.a11y-btn.btn-reset {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
}

/* A11Y Body Modes */
body.a11y-font-sm { font-size: 90% !important; }
body.a11y-font-lg { font-size: 115% !important; }
body.a11y-font-xl { font-size: 130% !important; }
body.a11y-contrast-grayscale {
  filter: grayscale(100%) !important;
}
body.a11y-contrast-high-dark {
  background-color: #000000 !important;
  color: #ffff00 !important;
}
body.a11y-contrast-high-dark * {
  background-color: #000000 !important;
  color: #ffff00 !important;
  border-color: #ffff00 !important;
}
body.a11y-contrast-high-dark a {
  color: #00ffff !important;
  text-decoration: underline !important;
}
body.a11y-contrast-high-light {
  background-color: #ffffff !important;
  color: #000000 !important;
}
body.a11y-contrast-high-light * {
  background-color: #ffffff !important;
  color: #000000 !important;
  border-color: #000000 !important;
}
body.a11y-hide-images img,
body.a11y-hide-images .hero-visual,
body.a11y-hide-images .person-img-wrap {
  display: none !important;
}

/* 3. 2026 Futuristic Spotlight Command Palette Search Modal (Ctrl+K) */
#spotlight-search-modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 11, 22, 0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: 2500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 16px 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
#spotlight-search-modal.open {
  opacity: 1;
  pointer-events: auto;
}
#spotlight-search-modal::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 320px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.22) 0%, rgba(99, 102, 241, 0.15) 50%, transparent 75%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: auraPulse 6s ease-in-out infinite alternate;
}
@keyframes auraPulse {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}
.spotlight-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  background: var(--surface);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 24px;
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.65),
    0 0 35px rgba(14, 165, 233, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(-24px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
#spotlight-search-modal.open .spotlight-box {
  transform: translateY(0) scale(1);
}
.spotlight-input-row {
  display: flex;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  gap: 14px;
  background: rgba(255, 255, 255, 0.02);
}
.spotlight-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(99, 102, 241, 0.15));
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: var(--accent);
  font-size: 1.15rem;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.2);
}
.spotlight-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1.12rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--text);
  letter-spacing: -0.2px;
}
.spotlight-input::placeholder {
  color: var(--text-muted);
  opacity: 0.75;
}
.spotlight-clear-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.spotlight-clear-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
}
.spotlight-kbd-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 8px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

/* Category Filter Pills (2026 Navigation UX) */
.spotlight-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.015);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.spotlight-pills-row::-webkit-scrollbar {
  display: none;
}
.spotlight-filter-pill {
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.spotlight-filter-pill:hover {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(14, 165, 233, 0.08);
}
.spotlight-filter-pill.active {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(99, 102, 241, 0.25));
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.25);
}

/* Results & Suggestions Container */
.spotlight-results {
  max-height: 410px;
  overflow-y: auto;
  padding: 14px 16px;
  overscroll-behavior: contain;
}
.spotlight-category-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.8px;
  padding: 10px 12px 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.spotlight-category-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}
.spotlight-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 14px;
  margin-bottom: 4px;
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.spotlight-item-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.spotlight-item-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.spotlight-item-text {
  min-width: 0;
}
.spotlight-item-text strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spotlight-item-text small {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.4;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spotlight-item-arrow {
  color: var(--text-muted);
  font-size: 0.95rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.2s ease;
}
.spotlight-item:hover, .spotlight-item.selected {
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.12), rgba(99, 102, 241, 0.08));
  border-color: rgba(14, 165, 233, 0.3);
  transform: translateX(4px);
}
.spotlight-item:hover .spotlight-item-icon-box, .spotlight-item.selected .spotlight-item-icon-box {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(99, 102, 241, 0.2));
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.3);
}
.spotlight-item:hover .spotlight-item-text strong, .spotlight-item.selected .spotlight-item-text strong {
  color: var(--accent);
}
.spotlight-item:hover .spotlight-item-arrow, .spotlight-item.selected .spotlight-item-arrow {
  opacity: 1;
  color: var(--accent);
  transform: translateX(0);
}
.search-highlight {
  background: rgba(14, 165, 233, 0.24);
  color: #38bdf8;
  border-radius: 4px;
  padding: 1px 4px;
  font-weight: 700;
}

/* Empty State & Popular Chips */
.spotlight-empty-suggestions {
  padding: 10px 6px;
}
.spotlight-suggestions-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.spotlight-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.spotlight-chip {
  padding: 8px 14px;
  border-radius: 14px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.spotlight-chip:hover {
  background: rgba(14, 165, 233, 0.15);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.18);
}

.spotlight-footer {
  padding: 12px 22px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-muted);
}
.spotlight-footer-keys {
  display: flex;
  align-items: center;
  gap: 12px;
}
.spotlight-footer-keys span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.spotlight-footer-keys kbd {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 2px 5px;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text);
}

/* AI Translation Toast Notification (2026 Sleek Floating Indicator) */
#ai-translation-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(14, 165, 233, 0.25);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
#ai-translation-toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.ai-toast-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(56, 189, 248, 0.25);
  border-top-color: #38bdf8;
  border-radius: 50%;
  animation: aiSpin 0.75s linear infinite;
}
@keyframes aiSpin {
  to { transform: rotate(360deg); }
}
.ai-toast-icon {
  font-size: 1.15rem;
}

/* Library Spotlight & School Facilities Showcase */
.library-spotlight-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: var(--surface);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(14, 165, 233, 0.1);
  margin-bottom: 28px;
}
.lib-spotlight-image {
  position: relative;
  min-height: 280px;
}
.lib-spotlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lib-spotlight-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 20px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}
.lib-spotlight-content {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lib-stats-mini {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.lib-stats-mini div {
  display: flex;
  flex-direction: column;
}
.lib-stats-mini strong {
  font-size: 1.4rem;
  color: var(--accent);
}
.lib-stats-mini span {
  font-size: 0.78rem;
  color: var(--text-muted);
}
@media (max-width: 868px) {
  .library-spotlight-card {
    grid-template-columns: 1fr;
  }
  .lib-spotlight-image {
    height: 220px;
  }
  .lib-spotlight-content {
    padding: 24px 20px;
  }
}

/* Facilities 4-Grid Showcase (Home & About) */
.facilities-grid-2026 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}
@media (max-width: 1024px) {
  .facilities-grid-2026 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .facilities-grid-2026 {
    grid-template-columns: 1fr;
  }
}
.facility-card-2026 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.facility-card-2026:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 0 0 25px rgba(14, 165, 233, 0.2);
}
.facility-card-media {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.facility-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.facility-card-2026:hover .facility-card-media img {
  transform: scale(1.08);
}
.facility-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.facility-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.facility-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text);
}
.facility-card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}
.facility-card-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 4. Quick Feature Tiles on Home Page */
.quick-features-section {
  padding: 20px 0 60px;
}
.feature-tiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.quick-feature-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.quick-feature-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #38bdf8);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.quick-feature-tile:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 25px rgba(14, 165, 233, 0.12);
}
.quick-feature-tile:hover::before {
  opacity: 1;
}
.tile-icon {
  font-size: 2.2rem;
}
.tile-body h3 {
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 8px;
}
.tile-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}
.tile-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 5. Campus Life & Dormitory Features */
.dormitory-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card-2026 {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  transition: transform 0.3s ease;
}
.feature-card-2026:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.feature-icon-badge {
  font-size: 2rem;
  margin-bottom: 12px;
}
.feature-card-2026 h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 8px;
}
.feature-card-2026 p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.dormitory-gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dorm-photo-card {
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
}
.dorm-photo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.dorm-photo-card:hover img {
  transform: scale(1.05);
}
.dorm-photo-caption {
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
}

/* Schedule Timeline */
.schedule-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 20px 0;
}
.schedule-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 155px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(14, 165, 233, 0.1));
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
  position: relative;
}
.time-col {
  width: 135px;
  text-align: right;
  padding-right: 20px;
}
.time-pill {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--accent);
}
.timeline-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 2;
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.3);
  margin-right: 20px;
  flex-shrink: 0;
}
.timeline-content {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 20px;
  transition: all 0.25s ease;
}
.timeline-item.highlight .timeline-content {
  border-color: var(--accent);
  background: rgba(14, 165, 233, 0.05);
}
.timeline-content h4 {
  font-size: 1.05rem;
  margin: 6px 0;
  color: var(--text);
}
.timeline-content p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin: 0;
}
.cat-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.5px;
}
.cat-tag.highlight {
  color: #f59e0b;
}

/* Weekly Nutrition Menu */
.menu-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}
.menu-tabs-nav {
  display: inline-flex;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 6px;
  flex-wrap: wrap;
}
.menu-tab-btn {
  padding: 10px 20px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.menu-tab-btn.active {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
}
.menu-day-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.menu-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.nutrition-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.84rem;
}
.meal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.meal-col {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}
.meal-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}
.meal-col h4 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 8px;
}
.meal-col p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.nutrition-notes {
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.6;
}

/* 6. Library (Elektron Kutubxona) */
.library-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}
.library-search-box {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 8px 16px;
  gap: 10px;
  min-width: 320px;
  flex: 1;
}
.library-search-box input {
  border: none;
  background: transparent;
  outline: none;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  width: 100%;
}
.library-category-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.lib-pill-btn {
  padding: 8px 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lib-pill-btn.active, .lib-pill-btn:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}
.library-book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.library-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.library-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}
.book-cover-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--surface-alt);
}
.book-cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.library-card:hover .book-cover-wrap img {
  transform: scale(1.06);
}
.book-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}
.book-badge.gold {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.3);
}
.book-badge.blue {
  color: #a855f7;
  border-color: rgba(168, 85, 247, 0.3);
}
.book-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.book-subject {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.book-title {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
  flex: 1;
}
.book-author {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.book-meta-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.book-size {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.btn-sm {
  padding: 8px 14px;
  font-size: 0.82rem;
  border-radius: 10px;
}

/* 7. Virtual 360 Tour */
.virtual-tour-wrapper {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}
.tour-nav-tabs {
  display: flex;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  padding: 8px 12px;
  gap: 8px;
}
.tour-btn {
  padding: 10px 18px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tour-btn.active, .tour-btn:hover {
  background: var(--accent);
  color: #ffffff;
}
.panorama-viewer-container {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: #000000;
  cursor: grab;
}
.panorama-viewer-container:active {
  cursor: grabbing;
}
.panorama-drag-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#panorama-image {
  min-width: 150%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
  transform: translateX(0) scale(1);
  transition: transform 0.05s linear;
}
.panorama-hud {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 5;
}
.hud-badge {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
}
.hud-controls {
  pointer-events: auto;
  display: flex;
  gap: 8px;
}
.hud-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}
.hud-btn:hover {
  background: var(--accent);
}
.panorama-info-panel {
  position: absolute;
  bottom: 20px;
  left: 20px;
  max-width: 360px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 20px;
  color: #ffffff;
  z-index: 5;
}
.panorama-info-panel h4 {
  font-size: 0.92rem;
  margin: 0 0 8px 0;
  color: #38bdf8;
}
.panorama-info-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
  color: #cbd5e1;
}
.panorama-info-panel li {
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.panorama-info-panel li::before {
  content: '✓';
  color: #10b981;
  font-weight: bold;
}
.video-tour-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}
.video-mock-player {
  position: relative;
  height: 420px;
  background: #000;
}
.video-placeholder-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  gap: 16px;
}
.play-pulse-btn {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.7);
  animation: pulse-ring 2s infinite;
  transition: transform 0.2s ease;
}
.play-pulse-btn:hover {
  transform: scale(1.1);
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.7); }
  70% { box-shadow: 0 0 0 24px rgba(14, 165, 233, 0); }
  100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
}
.video-tagline {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}
.video-features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 24px 32px;
  gap: 20px;
}
.v-feat strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 4px;
}
.v-feat p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0;
}

/* 8. Alumni & University Admissions */
.alumni-infographics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.alumni-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}
.alumni-stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.alumni-stat-card.highlight {
  border-color: var(--accent);
  background: rgba(14, 165, 233, 0.08);
}
.alumni-stat-card .stat-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}
.alumni-stat-card .stat-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 4px;
}
.alumni-stat-card .stat-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}
.alumni-stat-card .stat-hint {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.3;
}
.home-infographics-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}
.infograph-item {
  padding: 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.infograph-item:last-child {
  border-right: none;
}
.infograph-item strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}
.infograph-item.highlight strong {
  color: #38bdf8;
}
.infograph-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}
.alumni-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.alumni-profile-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s ease;
}
.alumni-profile-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}
.alumni-img-wrapper {
  position: relative;
  width: 140px;
  height: 170px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface-alt);
}
.alumni-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.alumni-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 6px;
  border-radius: 8px;
  background: rgba(14, 165, 233, 0.9);
  color: #fff;
}
.alumni-badge.gold {
  background: rgba(245, 158, 11, 0.95);
  color: #000;
}
.alumni-info {
  flex: 1;
}
.alumni-year {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}
.alumni-info h3 {
  font-size: 1.25rem;
  margin: 4px 0 8px;
  color: var(--text);
}
.alumni-uni-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: #38bdf8;
  margin-bottom: 6px;
}
.alumni-faculty {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.alumni-quote {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
  border-left: 3px solid var(--accent);
  padding-left: 12px;
}

/* 9. Social Hub & PWA Floating Banner */
.social-hub-card {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(99, 102, 241, 0.1));
  border: 1.5px solid rgba(56, 189, 248, 0.3);
  border-radius: 28px;
  padding: 48px;
  text-align: center;
}
.social-hub-content h2 {
  font-size: 2rem;
  margin: 12px 0 16px;
  color: var(--text);
}
.social-hub-content p {
  max-width: 600px;
  margin: 0 auto 32px;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.social-hub-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.social-big-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 28px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  transition: all 0.25s ease;
}
.social-big-btn span {
  margin-bottom: 4px;
}
.social-big-btn small {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.85;
}
.social-big-btn.tg {
  background: #0284c7;
  color: #fff;
}
.social-big-btn.ig {
  background: linear-gradient(135deg, #e1306c, #833ab4);
  color: #fff;
}
.social-big-btn.yt {
  background: #dc2626;
  color: #fff;
}
.social-big-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}
.social-badges-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.social-pill-btn {
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
}
.social-pill-btn.tg { background: #0284c7; }
.social-pill-btn.ig { background: #e1306c; }
.social-pill-btn.yt { background: #dc2626; }

/* PWA Floating Banner */
.pwa-floating-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(14, 165, 233, 0.2);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 1500;
  max-width: 420px;
  animation: slide-up 0.4s ease;
}
.pwa-floating-banner.hidden {
  display: none;
}
@keyframes slide-up {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.pwa-banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pwa-banner-content strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text);
}
.pwa-banner-content p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.3;
}
.pwa-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-close-sm {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
}

/* Responsive adjustments for 2026 additions */
@media (max-width: 1024px) {
  .feature-tiles-grid,
  .dormitory-feature-grid,
  .dormitory-gallery-row,
  .library-book-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .alumni-infographics-grid,
  .home-infographics-bar {
    grid-template-columns: repeat(3, 1fr);
  }
  .meal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .feature-tiles-grid,
  .dormitory-feature-grid,
  .dormitory-gallery-row,
  .library-book-grid,
  .alumni-cards-grid,
  .meal-grid,
  .video-features-row {
    grid-template-columns: 1fr;
  }
  .alumni-infographics-grid,
  .home-infographics-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .schedule-timeline::before {
    left: 20px;
  }
  .timeline-item {
    flex-direction: column;
    padding-left: 45px;
  }
  .time-col {
    width: auto;
    text-align: left;
    padding: 0;
    margin-bottom: 6px;
  }
  .timeline-dot {
    position: absolute;
    left: 2px;
    top: 0;
    margin: 0;
  }
  .panorama-viewer-container {
    height: 380px;
  }
  .pwa-floating-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
}

