/* ============================================
   QUANTUM AI BIOTECHNOLOGY INSTITUTE
   Production Stylesheet
   ============================================ */

/* --------------------------------------------
   1. CSS VARIABLES & THEME
   -------------------------------------------- */
:root {
  --midnight-950: #020617;
  --midnight-900: #0f172a;
  --midnight-800: #1e293b;
  --midnight-700: #334155;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-300: #6ee7b7;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --cyan-300: #67e8f9;
  --white: #f8fafc;
  --glass-bg: rgba(15, 23, 42, 0.55);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.03);
  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'Rajdhani', sans-serif;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-glow: 0 0 20px rgba(6, 182, 212, 0.15);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--midnight-950);
  color: #e2e8f0;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: rgba(6, 182, 212, 0.3);
  color: #fff;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--midnight-900);
}
::-webkit-scrollbar-thumb {
  background: var(--emerald-500);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--emerald-400);
}

*:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 2px;
}

/* --------------------------------------------
   3. TYPOGRAPHY & UTILITIES
   -------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.section-title.center {
  text-align: center;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-text {
  font-size: 1.125rem;
  color: #94a3b8;
  line-height: 1.7;
  max-width: 600px;
}

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

/* Glassmorphism utility */
.glass {
  background: linear-gradient(135deg, var(--glass-bg), rgba(15, 23, 42, 0.35));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(2, 8, 20, 0.4);
}

/* Scroll reveal utility */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------
   4. NAVIGATION
   -------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--glass-border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--emerald-400);
}

.accent {
  color: var(--cyan-400);
}

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

.nav-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald-400), var(--cyan-400));
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--white);
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: 0.3s ease;
  border-radius: 2px;
}

/* --------------------------------------------
   5. HERO SECTION
   -------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(5, 150, 105, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 70% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--midnight-950) 0%, var(--midnight-900) 100%);
}

.hero-canvas,
.dna-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-canvas {
  z-index: 1;
}

.dna-canvas {
  z-index: 2;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--cyan-400);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald-400);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(52, 211, 153, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #94a3b8;
  margin-bottom: 2.5rem;
  max-width: 540px;
  line-height: 1.6;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--emerald-500), var(--cyan-500));
  color: var(--midnight-950);
  padding: 1rem 2.5rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
}

/* Floating Dashboards */
.floating-dashboards {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.dash-card {
  position: absolute;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  width: 220px;
  box-shadow: 0 8px 24px rgba(2, 8, 20, 0.4);
  animation: float 6s ease-in-out infinite;
}

.dash-card:nth-child(1) {
  top: 20%;
  right: 10%;
  animation-delay: 0s;
}

.dash-card:nth-child(2) {
  top: 45%;
  right: 5%;
  animation-delay: 2s;
}

.dash-card:nth-child(3) {
  bottom: 20%;
  right: 12%;
  animation-delay: 4s;
}

.dash-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.dash-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #64748b;
}

.dash-indicator.active {
  background: var(--emerald-400);
  box-shadow: 0 0 8px var(--emerald-400);
}

.dash-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  font-family: var(--font-display);
}

.dash-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.dash-value .unit {
  font-size: 1rem;
  color: #94a3b8;
  margin-left: 0.25rem;
}

.status-active {
  color: var(--emerald-400);
  text-shadow: 0 0 10px rgba(52, 211, 153, 0.4);
}

.dash-sub {
  font-size: 0.875rem;
  color: #64748b;
}

.dash-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
}

.dash-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--emerald-500), var(--cyan-400));
  border-radius: 2px;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* --------------------------------------------
   6. ABOUT / SYSTEMS SECTION
   -------------------------------------------- */
.about {
  background: linear-gradient(180deg, var(--midnight-900) 0%, var(--midnight-950) 100%);
}

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

.about-content {
  max-width: 560px;
}

.about-features {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.05);
}

.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(5, 150, 105, 0.1));
  border: 1px solid rgba(6, 182, 212, 0.15);
  color: var(--cyan-400);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-info h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.feature-info p {
  font-size: 0.95rem;
  color: #64748b;
}

/* Holographic Visual */
.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.holographic-card {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.holo-ring {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 50%;
  animation: rotate 10s linear infinite;
}

.holo-ring.second {
  width: 260px;
  height: 260px;
  border-color: rgba(52, 211, 153, 0.15);
  animation-duration: 15s;
  animation-direction: reverse;
}

.holo-core {
  position: relative;
  z-index: 2;
  text-align: center;
}

.holo-dna {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.4));
}

.holo-label {
  font-family: var(--font-display);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  color: var(--cyan-400);
  text-transform: uppercase;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------
   7. PROGRAMS SECTION
   -------------------------------------------- */
.programs {
  background: var(--midnight-950);
}

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

.program-card {
  position: relative;
  padding: 2.5rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan-400), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.program-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.2);
  box-shadow: 0 20px 40px rgba(6, 182, 212, 0.1);
}

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

.program-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(5, 150, 105, 0.1));
  border: 1px solid rgba(6, 182, 212, 0.15);
  color: var(--cyan-400);
  margin-bottom: 1.5rem;
}

.program-icon svg {
  width: 28px;
  height: 28px;
}

.program-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.program-card p {
  color: #94a3b8;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.program-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--emerald-400);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: gap 0.3s ease;
}

.program-link:hover {
  gap: 0.75rem;
  color: var(--emerald-300);
}

.arrow {
  transition: transform 0.3s ease;
}

.program-link:hover .arrow {
  transform: translateX(4px);
}

/* --------------------------------------------
   8. BIO LAB SECTION
   -------------------------------------------- */
.bio-lab {
  background: linear-gradient(180deg, var(--midnight-950) 0%, var(--midnight-900) 100%);
}

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

.lab-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.lab-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(2, 8, 20, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
}

.lab-visual {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.lab-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lab-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--white);
  opacity: 0.9;
}

.grad-1 {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(6, 182, 212, 0.05));
}

.grad-2 {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.05));
}

.grad-3 {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.05));
}

.grad-4 {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.05));
}

.grad-5 {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(236, 72, 153, 0.05));
}

.grad-6 {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.05));
}

.lab-info {
  padding: 1.5rem;
}

.lab-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--cyan-400);
  background: rgba(6, 182, 212, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
}

.lab-info h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.lab-meta {
  font-size: 0.875rem;
  color: var(--emerald-400);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.lab-desc {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.5;
}

/* --------------------------------------------
   9. CONTACT SECTION
   -------------------------------------------- */
.contact {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--midnight-900) 0%, var(--midnight-950) 100%);
}

.contact-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
}

.contact-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info .section-title {
  margin-bottom: 1rem;
}

.contact-info .section-text {
  margin-bottom: 2.5rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateX(6px);
  border-color: rgba(34, 211, 238, 0.25);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(5, 150, 105, 0.1));
  color: var(--cyan-400);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-details h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.contact-details p {
  font-size: 0.95rem;
  color: #94a3b8;
}

/* Contact Form */
.contact-form {
  padding: 2.5rem;
  border-radius: 24px;
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2rem;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--cyan-400);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.form-group label {
  position: absolute;
  left: 1.25rem;
  top: 1rem;
  color: #64748b;
  font-size: 1rem;
  pointer-events: none;
  transition: var(--transition);
  background: transparent;
  padding: 0 0.25rem;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -0.6rem;
  left: 1rem;
  font-size: 0.8rem;
  color: var(--cyan-400);
  background: linear-gradient(180deg, var(--midnight-900) 50%, var(--midnight-950) 50%);
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--emerald-500), var(--cyan-500));
  border: none;
  border-radius: 12px;
  color: var(--midnight-950);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
  font-family: var(--font-body);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  color: var(--emerald-400);
  font-size: 0.95rem;
  text-align: center;
}

.success-icon {
  margin-right: 0.5rem;
}

/* --------------------------------------------
   10. FOOTER
   -------------------------------------------- */
.footer {
  background: var(--midnight-950);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-text,
.footer-legal {
  font-size: 0.875rem;
  color: #475569;
}

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

/* --------------------------------------------
   12. RESPONSIVE DESIGN
   -------------------------------------------- */
@media (max-width: 1024px) {
  .floating-dashboards {
    display: none;
  }

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

  .about-visual {
    order: -1;
  }

  .holographic-card {
    width: 280px;
    height: 280px;
  }

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    height: calc(100vh - 64px);
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: var(--transition);
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }

  .mobile-toggle {
    display: block;
  }

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

  .mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

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

  .nav-container {
    height: 64px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .dna-canvas {
    opacity: 0.3;
  }

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

  .contact-container {
    gap: 2rem;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .program-card,
  .contact-form {
    padding: 1.5rem;
  }

  .dash-card {
    width: 180px;
    padding: 1rem;
  }
}