/* ==========================================================================
   SPZOI10.EDU.PL - Official School Portal Design System
   Szkoła Podstawowa z Oddziałami Integracyjnymi nr 10 im. Polonii
   ========================================================================== */

:root {
  /* Brand Color Tokens */
  --primary-ruby: #851227;
  --primary-crimson: #a61c38;
  --primary-accent: #e8487e;
  --primary-accent-glow: rgba(232, 72, 126, 0.35);
  --primary-light: #fff0f5;

  /* Neutral Surface Tokens */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-subtle: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --bg-dark-glass: rgba(15, 23, 42, 0.88);

  /* Text & Hierarchy */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --text-white: #ffffff;
  --text-inverse-muted: #94a3b8;

  /* Accent & Status */
  --accent-gold: #f59e0b;
  --accent-gold-light: #fef3c7;
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.3);
  --border-subtle: rgba(226, 232, 240, 0.8);
  --border-focus: rgba(232, 72, 126, 0.5);

  /* Shadows & Elevation */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 10px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.12), 0 8px 16px -6px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 0 25px var(--primary-accent-glow);

  /* Radii & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout Spacing */
  --container-max: 1280px;
  --nav-height: 72px;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   Header & Glass Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
  height: 64px;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.brand-badge-logo {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-ruby), var(--primary-crimson));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-shadow: 0 4px 10px rgba(133, 18, 39, 0.25);
  transition: var(--transition-fast);
}

.brand-badge-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

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

.brand-domain {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-crimson);
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Nav Menu Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-item a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  position: relative;
}

.nav-item a:hover,
.nav-item a.active {
  color: var(--primary-crimson);
  background: rgba(166, 28, 56, 0.06);
}

.nav-item a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--primary-crimson);
  border-radius: var(--radius-full);
}

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

.badge-live-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--primary-light);
  border: 1px solid rgba(232, 72, 126, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-crimson);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-accent);
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background-color: var(--primary-accent);
  opacity: 0.6;
  animation: pulse-ring 2s infinite cubic-bezier(0.24, 0, 0.38, 1);
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(0.9); opacity: 0; }
}

.btn-contact-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--primary-crimson), var(--primary-ruby));
  color: var(--text-white);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(166, 28, 56, 0.25);
  transition: var(--transition-normal);
}

.btn-contact-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(166, 28, 56, 0.35);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  font-size: 1.4rem;
  color: var(--text-main);
  padding: 8px;
}

/* ==========================================================================
   Hero Section (School Building & Institution Banner)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 560px;
  margin-top: var(--nav-height);
  display: flex;
  align-items: center;
  background-color: #0b1120;
  overflow: hidden;
}

.hero-bg-layer {
  position: absolute;
  inset: -10px;
  background-image: url('../assets/images/hero_school.jpg');
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.42) contrast(1.15) blur(3px);
  transform: scale(1.06);
  transition: transform 12s ease-out;
}

.hero-section:hover .hero-bg-layer {
  transform: scale(1.1);
}

/* Enhanced Gradient Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 17, 32, 0.65) 0%,
    rgba(11, 17, 32, 0.85) 60%,
    rgba(11, 17, 32, 0.98) 100%
  );
}

.hero-container {
  position: relative;
  z-index: 2;
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 1000px;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  color: #f1f5f9;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-pill-badge .flag-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff 50%, #dc2626 50%);
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.4);
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-title .highlight-gold {
  color: #fbbf24;
  background: linear-gradient(120deg, #fef08a, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 820px;
  line-height: 1.65;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-tags-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0.5rem;
}

.hero-tag-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #e2e8f0;
  font-size: 0.86rem;
  font-weight: 600;
}

.hero-tag-item i {
  color: var(--primary-accent);
}

/* ==========================================================================
   Dual Photo Carousel Section (Life & Community Showcase)
   ========================================================================== */
.showcase-section {
  padding: 5rem 0 4.5rem;
  background: linear-gradient(180deg, var(--bg-main) 0%, #ffffff 100%);
  position: relative;
}

.section-header-block {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-crimson);
  margin-bottom: 0.5rem;
  display: inline-block;
}

.section-main-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtext {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Dual Grid Layout */
.carousels-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: stretch;
}

/* Modern Carousel Card Container */
.carousel-card-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
}

.carousel-card-wrap:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.carousel-top-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 0 0.25rem;
}

.carousel-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary-crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.carousel-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.slide-counter-badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  background: var(--bg-card-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

/* Viewport & Slide Track */
.carousel-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 1.18 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #0f172a;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.carousel-slide:hover img {
  transform: scale(1.05);
}

/* Slide Caption Overlay */
.slide-caption-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.9) 100%);
  color: var(--text-white);
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}

.slide-caption-bar .caption-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fde047;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.slide-caption-bar .caption-text {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Nav Control Arrows */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: var(--transition-fast);
  opacity: 0.88;
}

.carousel-btn:hover {
  opacity: 1;
  background: #ffffff;
  color: var(--primary-crimson);
  transform: translateY(-50%) scale(1.08);
}

.carousel-btn.prev {
  left: 12px;
}

.carousel-btn.next {
  right: 12px;
}

/* Zoom Hint Pill */
.zoom-hint-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  color: #f1f5f9;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0;
  transition: var(--transition-fast);
  z-index: 8;
}

.carousel-viewport:hover .zoom-hint-pill {
  opacity: 1;
}

/* Bottom Pagination & Progress */
.carousel-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 0 0.5rem;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  padding: 0;
}

.dot-indicator.active {
  width: 28px;
  border-radius: var(--radius-full);
  background: var(--primary-accent);
  box-shadow: 0 0 10px var(--primary-accent-glow);
}

.autoplay-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.autoplay-toggle-btn:hover {
  color: var(--primary-crimson);
  background: var(--bg-card-subtle);
}

/* ==========================================================================
   Section: Website Updating (Modernized Status Dashboard)
   ========================================================================== */
.status-section {
  padding: 5rem 0;
  background: #0f172a;
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.status-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 72, 126, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.status-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(133, 18, 39, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.status-card-inner {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.status-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.status-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(232, 72, 126, 0.15);
  border: 1px solid rgba(232, 72, 126, 0.35);
  border-radius: var(--radius-full);
  color: #ff85ab;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-main-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 0.8rem;
  text-shadow: 0 4px 20px rgba(232, 72, 126, 0.25);
}

.status-lead-text {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 720px;
  line-height: 1.6;
}

/* Progress Tracker Bar */
.progress-card-block {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}

.progress-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.progress-info-row .progress-label {
  color: #e2e8f0;
}

.progress-info-row .progress-percent {
  color: #fbbf24;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}

.progress-track {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  width: 88%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-ruby), var(--primary-accent), #fbbf24);
  border-radius: var(--radius-full);
  position: relative;
  transition: width 1.2s ease-out;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Feature Roadmap Pills */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.roadmap-item {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition-fast);
}

.roadmap-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(232, 72, 126, 0.4);
}

.roadmap-item-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(232, 72, 126, 0.2);
  color: #ff85ab;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.roadmap-item-text h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.roadmap-item-text p {
  font-size: 0.78rem;
  color: #94a3b8;
}

/* ==========================================================================
   Featured Video Section (Emirates NBD #GiveInToGiving)
   ========================================================================== */
.video-section {
  padding: 5rem 0;
  background: #ffffff;
  position: relative;
}

.video-frame-outer {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

/* Ambient Ambilight Glow behind video */
.video-ambient-glow {
  position: absolute;
  inset: -20px;
  background: linear-gradient(135deg, rgba(232, 72, 126, 0.3), rgba(133, 18, 39, 0.35));
  border-radius: var(--radius-lg);
  filter: blur(35px);
  opacity: 0.6;
  z-index: 1;
}

.video-container-card {
  position: relative;
  z-index: 2;
  background: #000000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.video-responsive-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #000000;
}

.video-responsive-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Poster Cover Overlay */
.video-poster-cover {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/video_thumb.jpg');
  background-size: cover;
  background-position: center;
  cursor: pointer;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
  background-color: #0f172a;
}

.video-poster-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  transition: background 0.3s ease;
}

.video-poster-cover:hover::before {
  background: rgba(15, 23, 42, 0.2);
}

.video-poster-cover.hidden {
  opacity: 0;
  pointer-events: none;
}

.play-pulse-btn {
  position: relative;
  z-index: 2;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(232, 72, 126, 0.95);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  padding-left: 5px; /* Visual optical center for play triangle */
  box-shadow: 0 0 35px rgba(232, 72, 126, 0.7);
  transition: transform 0.25s ease, background 0.25s ease;
}

.video-poster-cover:hover .play-pulse-btn {
  transform: scale(1.12);
  background: #e8487e;
  box-shadow: 0 0 45px rgba(232, 72, 126, 0.9);
}

.play-btn-hint {
  position: relative;
  z-index: 2;
  margin-top: 14px;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  background: rgba(15, 23, 42, 0.75);
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.video-meta-bar {
  padding: 1.5rem 2rem;
  background: #0f172a;
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.video-meta-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.video-meta-info p {
  font-size: 0.88rem;
  color: #94a3b8;
}

.video-meta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-yt-external {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #cc0000;
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.btn-yt-external:hover {
  background: #ff0000;
  transform: translateY(-1px);
}

/* ==========================================================================
   Footer & Contact Information Section
   ========================================================================== */
.site-footer {
  background: #f1f5f9;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2.5rem;
  position: relative;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* Footer Column 1: School Identity */
.footer-school-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-crest-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-crest-img {
  width: 58px;
  height: 58px;
  background: var(--primary-ruby);
  border-radius: var(--radius-sm);
  padding: 8px;
  box-shadow: 0 4px 12px rgba(133, 18, 39, 0.2);
}

.footer-crest-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-herb-img {
  width: 52px;
  height: 58px;
}

.footer-herb-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-school-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
}

.footer-school-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Footer Column 2: Contact Details */
.footer-contact-block h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-icon-bubble {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--primary-crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.contact-detail-wrap {
  display: flex;
  flex-direction: column;
}

.contact-item-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

.contact-item-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.contact-item-value a:hover {
  color: var(--primary-crimson);
  text-decoration: underline;
}

.email-copy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  background: #e2e8f0;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.email-copy-badge:hover {
  background: var(--primary-crimson);
  color: #ffffff;
}

/* Footer Column 3: Quick Links & Institutional Affiliations */
.footer-links-block h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-list a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-nav-list a:hover {
  color: var(--primary-crimson);
  transform: translateX(4px);
}

.footer-nav-list a i {
  font-size: 0.75rem;
  color: var(--primary-accent);
}

/* Institutional Badges Banner */
.institution-badges-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
  justify-content: center;
}

.inst-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}

.inst-pill i {
  color: var(--primary-crimson);
}

/* Footer Bottom Copyright */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-light);
}

.copyright-text {
  font-weight: 500;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: var(--primary-crimson);
}

/* ==========================================================================
   Image Lightbox Modal
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content-box {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 1rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  background: rgba(15, 23, 42, 0.7);
  padding: 8px 18px;
  border-radius: var(--radius-full);
}

.lightbox-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: var(--primary-crimson);
  transform: scale(1.1);
}

/* Toast Notification */
.toast-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2100;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast-bubble.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-bubble i {
  color: var(--accent-emerald);
}

/* Back to Top Floating Button */
.back-to-top-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 990;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  color: var(--primary-crimson);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all var(--transition-normal);
}

.back-to-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--primary-crimson);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .carousels-dual-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 680px;
    margin: 0 auto;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .nav-links, .nav-actions .btn-contact-nav {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .hero-section {
    min-height: 460px;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .status-card-inner {
    padding: 2rem 1.5rem;
  }

  .status-main-title {
    font-size: 2.5rem;
  }

  .video-meta-bar {
    padding: 1.25rem 1.5rem;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }
}
