/* ============================================
   QUANTUM AI FILM ACADEMY — STYLESHEET
   Theme: Cinematic AI Film Studio
   ============================================
   Table of Contents:
   1. CSS Custom Properties (Theme)
   2. Reset & Base Styles
   3. Utilities & Layout
   4. Reusable Components
   5. Header & Navigation
   6. Hero Section
   7. Systems (About) Section
   8. Programs Section
   9. Studio Lab Section
  10. Contact Section
  11. Footer
  12. Animations & Keyframes
  13. Responsive Media Queries
   ============================================ */

/* ============================================
   1. CSS CUSTOM PROPERTIES (THEME)
   ============================================ */
:root {
  --neon-cyan: #00f3ff;
  --neon-purple: #b026ff;
  --neon-green: #00ff9d;
  --deep-space: #030305;
  --void-blue: #060a1f;
  --panel-bg: #0f1221;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.1);
  --text-primary: #f8f9fc;
  --text-secondary: #a7a9b5;
  --text-muted: #6b6d7b;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-smooth: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-glow-cyan: 0 0 20px rgba(0, 243, 255, 0.25);
  --shadow-glow-purple: 0 0 20px rgba(176, 38, 255, 0.25);
}

/* ============================================
   2. RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--deep-space);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
}

/* ============================================
   3. UTILITIES & LAYOUT
   ============================================ */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ============================================
   4. REUSABLE COMPONENTS
   ============================================ */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
}

.gradient-text {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), background 0.3s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 243, 255, 0.3), 0 10px 30px rgba(176, 38, 255, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  border-color: var(--neon-cyan);
  background: rgba(0, 243, 255, 0.05);
  box-shadow: var(--shadow-glow-cyan);
}

.section-header {
  margin-bottom: 3rem;
  max-width: 700px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: 1px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

.section-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--neon-purple);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.link-arrow {
  color: var(--neon-cyan);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: gap var(--transition-smooth);
}

.link-arrow:hover {
  gap: 0.75rem;
  text-shadow: var(--shadow-glow-cyan);
}

/* ============================================
   5. HEADER & NAVIGATION
   ============================================ */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}

.main-header.scrolled {
  background: rgba(3, 3, 5, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--glass-border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-primary);
}

.logo i {
  color: var(--neon-cyan);
  font-size: 1.1rem;
}

.logo .highlight {
  color: var(--neon-purple);
}

.main-nav ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.main-nav a {
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  transition: width var(--transition-smooth);
}

.main-nav a:hover {
  color: var(--text-primary);
}

.main-nav a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   6. HERO SECTION
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, #0f1221 0%, var(--deep-space) 70%);
}

#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 0%, var(--deep-space) 80%),
    linear-gradient(to bottom, rgba(3, 3, 5, 0.2), rgba(3, 3, 5, 0.95));
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(0, 243, 255, 0.3);
  background: rgba(0, 243, 255, 0.05);
  color: var(--neon-cyan);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.6rem 1.25rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  animation: fadeInDown 1s ease forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  position: relative;
}

.mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 6px;
  background: var(--neon-cyan);
  border-radius: 2px;
  animation: scrollWheel 2s infinite;
}

/* ============================================
   7. SYSTEMS (ABOUT) SECTION
   ============================================ */
.about {
  padding: 8rem 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.counters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.counter-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.3s, transform var(--transition-smooth);
}

.counter-item:hover {
  border-color: rgba(0, 243, 255, 0.3);
  transform: translateY(-2px);
}

.counter {
  font-family: var(--font-display);
  font-size: 2.25rem;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.counter-item label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.holographic-card {
  width: 100%;
  max-width: 420px;
  height: 320px;
  background: linear-gradient(135deg, rgba(0, 243, 255, 0.04), rgba(176, 38, 255, 0.04));
  border: 1px solid rgba(0, 243, 255, 0.15);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 40px rgba(0, 243, 255, 0.06);
}

.holo-timeline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-purple), transparent);
  animation: scanline 3s linear infinite;
  filter: drop-shadow(0 0 6px var(--neon-cyan));
}

.holo-interface {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.holo-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  animation: pulseBar 2.5s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.holo-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.2), transparent);
  animation: shimmer 3s infinite;
}

.holo-bar:nth-child(2) {
  width: 80%;
  animation-delay: 0.3s;
}

.holo-bar:nth-child(3) {
  width: 60%;
  animation-delay: 0.6s;
}

/* ============================================
   8. PROGRAMS SECTION
   ============================================ */
.programs {
  padding: 8rem 0;
  background: linear-gradient(to bottom, var(--deep-space) 0%, var(--void-blue) 40%, var(--deep-space) 100%);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.program-card {
  padding: 2.5rem 1.75rem;
  border-radius: 20px;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

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

.program-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 243, 255, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(0, 243, 255, 0.03);
}

.program-icon {
  font-size: 2.25rem;
  color: var(--neon-cyan);
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 8px rgba(0, 243, 255, 0.3));
}

.program-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.program-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

/* ============================================
   9. STUDIO LAB SECTION
   ============================================ */
.studio-lab {
  padding: 8rem 0;
  position: relative;
}

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

.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  transition: transform var(--transition-smooth), border-color 0.3s;
}

.gallery-item:hover {
  transform: scale(1.02) translateY(-4px);
  border-color: rgba(176, 38, 255, 0.25);
}

.gallery-thumb {
  height: 220px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.gallery-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 3, 5, 0.95) 0%, rgba(3, 3, 5, 0.2) 60%, transparent 100%);
}

.gallery-info {
  padding: 1.5rem;
  position: relative;
  z-index: 2;
  margin-top: -3.5rem;
}

.gallery-platform {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--neon-cyan);
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  background: rgba(0, 243, 255, 0.08);
  border: 1px solid rgba(0, 243, 255, 0.15);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
}

.gallery-info h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.gallery-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ============================================
  10. CONTACT SECTION
   ============================================ */
.contact {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 50%, rgba(176, 38, 255, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0, 243, 255, 0.04) 0%, transparent 50%);
}

.contact-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.holo-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border: 1px solid rgba(0, 243, 255, 0.08);
  border-radius: 50%;
  animation: rotateRing 20s linear infinite;
}

.holo-ring:nth-child(2) {
  width: 700px;
  height: 700px;
  border-color: rgba(176, 38, 255, 0.06);
  animation-duration: 30s;
  animation-direction: reverse;
}

.contact-container {
  position: relative;
  z-index: 2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form-wrapper {
  padding: 3rem;
  border-radius: 24px;
}

.contact-form-wrapper h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.form-group {
  position: relative;
  margin-bottom: 1.75rem;
}

.form-group label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 4px rgba(0, 243, 255, 0.08);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a7a9b5'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  cursor: pointer;
}

.form-group select option {
  background: var(--deep-space);
  color: var(--text-primary);
}

.btn-glow {
  width: 100%;
  margin-top: 0.5rem;
}

.btn-glow:hover {
  box-shadow: 0 0 30px rgba(176, 38, 255, 0.3);
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card {
  padding: 1.75rem;
  border-radius: 16px;
  text-align: center;
  transition: transform var(--transition-smooth), border-color 0.3s;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 243, 255, 0.2);
}

.contact-card i {
  font-size: 1.5rem;
  color: var(--neon-cyan);
  margin-bottom: 0.75rem;
  display: inline-block;
  filter: drop-shadow(0 0 6px rgba(0, 243, 255, 0.2));
}

.contact-card h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.contact-card a,
.contact-card address {
  color: var(--text-secondary);
  text-decoration: none;
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: color 0.3s;
}

.contact-card a:hover {
  color: var(--neon-cyan);
}

.contact-card.holographic {
  position: relative;
  border: 1px solid rgba(0, 243, 255, 0.15);
  background: rgba(0, 243, 255, 0.02);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: var(--neon-green);
  border-radius: 50%;
  margin: 0 auto 0.75rem;
  box-shadow: 0 0 10px var(--neon-green);
  animation: pulse 2s infinite;
}

.status-text {
  color: var(--neon-green);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ============================================
  11. FOOTER
   ============================================ */
.main-footer {
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem;
  background: rgba(0, 0, 0, 0.2);
}

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

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 1rem;
  font-size: 0.95rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-links h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.3s;
  position: relative;
}

.footer-links a:hover {
  color: var(--neon-cyan);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ============================================
  12. ANIMATIONS & KEYFRAMES
   ============================================ */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollWheel {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 12px);
    opacity: 0;
  }
}

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

@keyframes pulseBar {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes rotateRing {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 157, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 255, 157, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 157, 0);
  }
}

/* ============================================
  13. RESPONSIVE MEDIA QUERIES
   ============================================ */
@media (max-width: 1024px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-card {
    flex: 1 1 calc(50% - 0.75rem);
    min-width: 240px;
  }
}

@media (max-width: 768px) {
  .main-nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: rgba(3, 3, 5, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: right 0.4s ease;
    border-left: 1px solid var(--glass-border);
  }

  .main-nav ul.active {
    right: 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand p {
    max-width: 100%;
  }

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

  .holographic-card {
    height: 260px;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .counters {
    grid-template-columns: 1fr;
  }

  .counter {
    font-size: 1.75rem;
  }

  .holographic-card {
    height: 220px;
  }

  .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }

  .contact-card {
    flex: 1 1 100%;
  }

  .holo-ring {
    width: 300px !important;
    height: 300px !important;
  }

  .holo-ring:nth-child(2) {
    width: 400px !important;
    height: 400px !important;
  }
}