/* ===========================
   1. VARIABLES & RESET
   =========================== */
:root {
  --bg-primary: #050508;
  --bg-secondary: #0a0a10;
  --bg-card: rgba(20, 20, 30, 0.6);
  --cyan: #00f2ff;
  --cyan-dim: rgba(0, 242, 255, 0.15);
  --cyan-glow: rgba(0, 242, 255, 0.35);
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --border-glass: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --transition: 0.3s ease;
}

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

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

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

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

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

/* ===========================
   2. UTILITIES & GLASSMORPHISM
   =========================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.glass::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 242, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  text-shadow: 0 0 20px rgba(0, 242, 255, 0.25);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

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

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

/* ===========================
   3. BUTTONS & RIPPLE
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border-radius: 60px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.15), rgba(0, 102, 255, 0.2));
  color: var(--cyan);
  border-color: rgba(0, 242, 255, 0.4);
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.3), rgba(0, 102, 255, 0.35));
  box-shadow: 0 0 30px rgba(0, 242, 255, 0.4);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-block {
  width: 100%;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(0, 242, 255, 0.4);
  transform: scale(0);
  animation: rippleEffect 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ===========================
   4. NAVIGATION
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  background: rgba(5, 5, 8, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: rgba(5, 5, 8, 0.9);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

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

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: 0.15em;
  text-shadow: 0 0 12px rgba(0, 242, 255, 0.6);
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan-glow);
  transition: width var(--transition);
}

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transition: 0.3s;
  box-shadow: 0 0 6px var(--cyan-glow);
}

/* ===========================
   5. HERO SECTION
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #0f172a 0%, #020617 100%);
}

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

.hero-backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5,5,8,0.2) 0%, rgba(5,5,8,0.6) 80%, var(--bg-primary) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding-top: 80px;
}

.hero-content {
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 60px;
  border: 1px solid rgba(0, 242, 255, 0.25);
  background: rgba(0, 242, 255, 0.08);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  color: #fff;
  text-shadow: 0 0 30px rgba(0, 242, 255, 0.3);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* Hologram */
.hero-hologram {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hologram-scene {
  position: relative;
  width: 320px;
  height: 320px;
  perspective: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hud-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 242, 255, 0.25);
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.1);
}

.ring-1 {
  width: 280px;
  height: 280px;
  animation: rotateRing 10s linear infinite;
}

.ring-2 {
  width: 220px;
  height: 220px;
  border-style: dashed;
  animation: rotateRingReverse 15s linear infinite;
}

.ring-3 {
  width: 160px;
  height: 160px;
  border: 1px solid rgba(0, 242, 255, 0.15);
  animation: rotateRing 20s linear infinite;
}

.hologram-building {
  width: 140px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 0 6px rgba(0, 242, 255, 0.6));
}

.hologram-floor {
  position: absolute;
  bottom: 30px;
  width: 200px;
  height: 60px;
  background: radial-gradient(ellipse at center, rgba(0, 242, 255, 0.15) 0%, transparent 70%);
  transform: rotateX(70deg);
  pointer-events: none;
}

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

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

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--cyan);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  z-index: 4;
  animation: fadeUpDown 2s ease-in-out infinite;
}

.mouse {
  width: 20px;
  height: 32px;
  border: 1px solid var(--cyan);
  border-radius: 10px;
  position: relative;
}

.wheel {
  width: 2px;
  height: 6px;
  background: var(--cyan);
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 1px;
  animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
  0% { top: 6px; opacity: 1; }
  100% { top: 18px; opacity: 0; }
}

@keyframes fadeUpDown {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(-6px); }
}

/* ===========================
   6. ABOUT SECTION
   =========================== */
.about {
  background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
}

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

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

.about-content strong {
  color: var(--text-primary);
}

.about-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stat-value {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--cyan);
  border-radius: 50%;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
}

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

.tech-visual {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-ring {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(0, 242, 255, 0.2);
  animation: techSpin 12s linear infinite;
}

.tech-ring--2 {
  width: 170px;
  height: 170px;
  border-style: dashed;
  animation: techSpinReverse 18s linear infinite;
}

.tech-core {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 242, 255, 0.2), transparent 70%);
  border: 1px solid rgba(0, 242, 255, 0.4);
  box-shadow: 0 0 30px rgba(0, 242, 255, 0.2);
  animation: corePulse 3s ease-in-out infinite;
}

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

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

@keyframes corePulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
}

/* ===========================
   7. SYSTEMS SECTION
   =========================== */
.systems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.system-card {
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.system-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 242, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 242, 255, 0.08);
}

.system-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.2rem;
}

.system-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 6px rgba(0, 242, 255, 0.4));
}

.system-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.system-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===========================
   8. PROGRAMMES SECTION
   =========================== */
.programmes {
  background: linear-gradient(to bottom, var(--bg-secondary), var(--bg-primary));
}

.programmes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.programme-card {
  padding: 2.5rem;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.programme-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(0, 242, 255, 0.35);
  box-shadow: 0 25px 50px rgba(0, 242, 255, 0.1);
}

.programme-status {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #00f2ff;
  border-radius: 50%;
  box-shadow: 0 0 8px #00f2ff;
  animation: pulse 2s infinite;
}

.programme-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
}

.programme-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 6px rgba(0, 242, 255, 0.3));
}

.programme-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: #fff;
}

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

.programme-meta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.tag {
  padding: 0.35rem 0.8rem;
  border-radius: 60px;
  border: 1px solid rgba(0, 242, 255, 0.25);
  background: rgba(0, 242, 255, 0.06);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ===========================
   9. SMART BUILDING LAB
   =========================== */
.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.lab-item {
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}

.lab-item:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 242, 255, 0.35);
  box-shadow: 0 20px 40px rgba(0, 242, 255, 0.08);
}

.lab-visual {
  position: relative;
  height: 180px;
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.08), rgba(0, 102, 255, 0.05));
  border-bottom: 1px solid var(--border-glass);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lab-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
}

.lab-bar {
  width: 10px;
  background: linear-gradient(to top, rgba(0, 242, 255, 0.8), rgba(0, 242, 255, 0.2));
  border-radius: 2px 2px 0 0;
  animation: barPulse 2s infinite alternate ease-in-out;
}

@keyframes barPulse {
  from { opacity: 0.5; transform: scaleY(0.85); }
  to { opacity: 1; transform: scaleY(1); }
}

.lab-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
}

.lab-visual-2 {
  background: radial-gradient(circle, rgba(0, 242, 255, 0.12), transparent 70%);
}

.lab-radar {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(0, 242, 255, 0.3);
  overflow: hidden;
}

.radar-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 2px;
  background: linear-gradient(to right, rgba(0, 242, 255, 0.8), transparent);
  transform-origin: 0 0;
  animation: radarSweep 3s linear infinite;
}

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

.radar-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--cyan);
  animation: radarBlink 2s infinite;
}

.lab-visual-3 {
  background: radial-gradient(circle at 30% 30%, rgba(0, 242, 255, 0.1), transparent);
}

.lab-gear svg {
  animation: gearSpin 10s linear infinite;
  filter: drop-shadow(0 0 6px rgba(0, 242, 255, 0.4));
}

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

.lab-visual-4 {
  background: linear-gradient(45deg, rgba(0, 242, 255, 0.05), rgba(0, 102, 255, 0.05));
}

.lab-light-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.light-cell {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.light-cell.on {
  background: rgba(0, 242, 255, 0.6);
  box-shadow: 0 0 10px rgba(0, 242, 255, 0.4);
  animation: lightFlicker 3s infinite alternate;
}

@keyframes lightFlicker {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.7; }
}

.lab-visual-5 {
  background: linear-gradient(to right, rgba(0, 242, 255, 0.06), transparent);
}

.lab-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 70%;
}

.lab-line {
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  border-radius: 2px;
  opacity: 0.6;
  animation: lineShimmer 3s infinite alternate;
}

@keyframes lineShimmer {
  0% { opacity: 0.4; transform: translateX(0); }
  100% { opacity: 0.8; transform: translateX(10px); }
}

.lab-visual-6 {
  background: radial-gradient(circle, rgba(0, 242, 255, 0.1), transparent);
}

.lab-cube-scene {
  perspective: 200px;
}

.mini-cube {
  width: 40px;
  height: 40px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCube 8s infinite linear;
}

.cube-face {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 242, 255, 0.6);
  background: rgba(0, 242, 255, 0.05);
}

.face-front { transform: translateZ(20px); }
.face-back { transform: rotateY(180deg) translateZ(20px); }
.face-right { transform: rotateY(90deg) translateZ(20px); }
.face-left { transform: rotateY(-90deg) translateZ(20px); }
.face-top { transform: rotateX(90deg) translateZ(20px); }
.face-bottom { transform: rotateX(-90deg) translateZ(20px); }

@keyframes rotateCube {
  from { transform: rotateX(-20deg) rotateY(0deg); }
  to { transform: rotateX(-20deg) rotateY(360deg); }
}

.lab-content {
  padding: 1.5rem;
}

.lab-content h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.lab-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===========================
   10. CONTACT SECTION
   =========================== */
.contact {
  background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
}

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

.contact-card {
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 242, 255, 0.35);
  box-shadow: 0 20px 40px rgba(0, 242, 255, 0.08);
}

.contact-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.2rem;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 6px rgba(0, 242, 255, 0.3));
}

.contact-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.contact-link {
  color: var(--cyan);
  font-size: 0.95rem;
  word-break: break-all;
  transition: opacity var(--transition);
}

.contact-link:hover {
  opacity: 0.8;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-address {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Contact Form */
.contact-form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem;
}

.form-title {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--text-primary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(0, 242, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 242, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(148, 163, 184, 0.5);
}

/* ===========================
   11. FOOTER
   =========================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  padding: 2rem 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

/* ===========================
   13. RESPONSIVE
   =========================== */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-hologram {
    order: -1;
  }
  .hologram-scene {
    width: 260px;
    height: 260px;
  }
  .about-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-visual {
    order: -1;
  }
  .systems-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lab-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 8, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 3rem;
    gap: 2rem;
    transform: translateY(-120%);
    transition: transform 0.4s ease;
    border-bottom: 1px solid var(--border-glass);
    z-index: 999;
  }
  .nav-menu.active {
    transform: translateY(0);
  }
  .nav-link {
    font-size: 1.3rem;
    color: var(--text-primary);
  }
  .nav-toggle {
    display: flex;
  }
  body.nav-open {
    overflow: hidden;
  }
  .hamburger-line {
    transition: transform 0.3s, opacity 0.3s;
  }
  .programmes-grid {
    grid-template-columns: 1fr;
  }
  .lab-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .about-stats {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  .systems-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}