:root {
  --bg-black: #040405;
  --black-2: #0a0b0d;
  --blue-1: #007BFF;
  --blue-2: #0056D6;
  --blue-3: #00C7FF;
  --white: #ffffff;
  --muted: #b9d7ff;
  --glass: rgba(255,255,255,0.04);
  --shadow: 0 8px 30px rgba(0,0,0,0.7);
}

* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
  font-family: Inter, system-ui, Arial;
  background: var(--bg-black);
  color: var(--white);
}

/* page container */
.page {
  width: 100%;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Top-left brand (fixed) */
.brand {
  position: fixed;  /* keep it locked in corner */
  top: 16px;
  left: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  user-select: none;
  flex-wrap: wrap;
  z-index: 60;
}

/* Top-right buttons (fixed) */
.cta-group {
  position: fixed;
  top: 16px;
  right: 16px;
  display: flex;
  gap: clamp(6px, 1.5vw, 12px);
  flex-wrap: wrap;
  z-index: 60;
}

/* Branding visuals (unchanged) */
.logo-symbol {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(0,123,255,0.12), rgba(0,0,0,0.85));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  animation: floatPulse 4s ease-in-out infinite;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 20px rgba(0,199,255,0.7),
              0 0 35px rgba(0,123,255,0.4);
}
.logo-symbol::before {
  content: "";
  position: absolute;
  width: 76px;
  height: 76px;
  border: 2px solid rgba(0,199,255,0.7);
  border-radius: 50%;
  animation: spinRing 12s linear infinite;
  box-shadow: 0 0 40px rgba(0,199,255,0.5);
  z-index: 1;
}
@keyframes floatPulse {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.1); }
}
@keyframes spinRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 120px;
}
.brand-main {
  font-family: Orbitron, Inter, sans-serif;
  font-weight: 700;
  font-size: clamp(14px, 2.8vw, 20px); /* responsive */
  letter-spacing: 0.6px;
  line-height: 1;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.quickstop {
  background: linear-gradient(90deg, var(--blue-1), var(--blue-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.codelab { color: var(--white); font-size: clamp(12px, 2vw, 16px); }
.tagline { color: var(--muted); font-size: clamp(11px, 1.6vw, 14px); }

/* Buttons */
.btn-cta {
  background: transparent !important;
  border: 1px solid rgba(0,199,255,0.4) !important;
  color: var(--white) !important;

  /* 🔽 Force compact size */
  padding: 2px 8px !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
  min-width: 70px !important;   /* makes them slimmer */
  max-width: 250px !important;

  border-radius: 8px !important;
  font-weight: 600 !important;
  text-align: center !important;
}

.btn-cta:hover {
  color: #fff;
  box-shadow: 0 0 25px rgba(0,199,255,0.6),
              0 0 45px rgba(0,123,255,0.4);
  transform: translateY(-2px) scale(1.03);
}

/* ---------------- MAIN CONTENT ---------------- */
/* make sure main-content fills viewport so hero is visible without scrolling */
.main-content {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;   /* <--- center vertically in viewport */
  min-height: 100vh;         /* <--- ensure it fills the screen */
  padding-top: 0;            /* reduce top padding that pushed content down */
  position: relative;
  z-index: 1;
}

/* hero text reduced top padding so it sits inside viewport */
#hero-text {
  width: 100%;
  text-align: center;
  padding: 20px 20px 0;
  z-index: 5;
}
.welcome-text {
  font-family: Orbitron, Inter, sans-serif;
  font-weight: 800;
  line-height: 1;
  margin: 0;
  color: var(--white);
  font-size: clamp(22px, 4.5vw, 48px);
}
.welcome-text .accent {
  background: linear-gradient(90deg, var(--blue-1), var(--blue-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* GLB viewer - limit height so it fits nicely in viewport */
#hero-glb {
  width: 100%;
  display: flex;
  flex-direction: column;   /* stack vertically instead of side by side */
  justify-content: center;
  align-items: center;
  margin: 8px 0 0;
  z-index: 1;
  position: relative;
}
model-viewer#viewer {
  width: 100%;
  height: min(60vh, 460px); /* responsive height that won't force scrolling */
  background: #000;
  display: block;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,199,255,0.5);
}

/* hide default model-viewer UI (same as before) */
model-viewer#viewer,
model-viewer#viewer * {
  cursor: none !important;
  pointer-events: none !important;
}
model-viewer::part(interaction-prompt),
model-viewer::part(control),
model-viewer::part(default-progress-bar),
model-viewer::part(ar-button) {
  display: none !important;
}

/* Bottom-right UI - make fixed so it sits above viewer */
.ui-bottom {
  position: relative;   /* <- now flows under the model-viewer */
  margin-top: 12px;     /* spacing below the viewer */
  display: flex;
  justify-content: center;  /* center the buttons */
  gap: 10px;
  flex-wrap: wrap;
}
.mini-card {
  position: relative;
  display: flex;
  align-items: center; /* vertically center */
  background: linear-gradient(145deg, var(--black-2), var(--bg-black) 70%);
  border-radius: 10px; /* slightly smaller radius */
  padding: 4px 8px; /* reduced padding */
  color: var(--blue-1);
  font-size: clamp(10px, 1.2vw, 12px); /* smaller text */
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  cursor: pointer;
  overflow: visible;
  text-transform: uppercase;
  box-shadow: 0 0 0.4rem var(--blue-1), 0 0 0.8rem var(--blue-2), inset 0 0 0.2rem var(--blue-1);
  transition: all 0.3s ease-in-out;
  animation: floatMiniCard 4s ease-in-out infinite, flickerMiniCard 1.5s infinite;
}

/* Orbiting dot using pseudo-element */
.mini-card::before {
  content: '';
  display: block;
  width: 6px;  /* smaller dot */
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-3), var(--blue-1));
  box-shadow: 0 0 0.3rem var(--blue-1), 0 0 0.6rem var(--blue-2);
  margin-right: 6px; /* smaller spacing before text */
  flex-shrink: 0;
  transform-origin: center;
  animation: orbitDot 2.5s linear infinite, pulseDot 1.2s infinite alternate;
}

/* Orbit animation for pseudo-element dot */
@keyframes orbitDot {
  0%   { transform: rotate(0deg) translateX(0); }
  50%  { transform: rotate(180deg) translateX(1.5px); } /* smaller orbit radius */
  100% { transform: rotate(360deg) translateX(0); }
}

@keyframes pulseDot {
  0% { transform: scale(0.7); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 1; }
}

/* Floating effect for button */
@keyframes floatMiniCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.5px); }
}

/* Flicker hologram */
@keyframes flickerMiniCard {
  0%, 19%, 21%, 23%, 100% { opacity: 1; }
  20%, 22% { opacity: 0.7; }
}

/* Text shimmer */
.mini-card div {
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, var(--blue-1), var(--blue-2), var(--blue-1));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: shimmerText 2s linear infinite;
}

@keyframes shimmerText {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}




#btnToggleMotion.active {
  border-color: var(--blue-3);
  box-shadow: 0 0 15px var(--blue-3);
}

/* Loader overlay - use fixed so it always covers viewport cleanly */
.loading {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  background: linear-gradient(180deg, rgba(0,0,0,0.6), rgba(0,0,0,0.75));
  flex-direction: column;
  gap: 12px;
}
.loading.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-logo {
  height: 28px;
  width: 28px;
  border-radius: 50%;
  animation: pulseGlow 1.8s infinite ease-in-out;
}
@keyframes pulseGlow {
  0% { transform: scale(1); box-shadow: 0 0 10px rgba(0,199,255,0.3); }
  50% { transform: scale(1.1); box-shadow: 0 0 20px rgba(0,199,255,0.6); }
  100% { transform: scale(1); box-shadow: 0 0 10px rgba(0,199,255,0.3); }
}
.progress {
  width: clamp(160px, 50vw, 240px);
  height: 8px;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  overflow: hidden;
}
.progress > b {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-1), var(--blue-3));
}

/* RESPONSIVE tweaks */
@media (max-width: 768px) {
  .brand-text { display: none; } /* hide brand text on small screens if desired */
}

@media (max-width: 480px) {
  .brand-main { font-size: 14px; }
  .tagline { font-size: 12px; }
  .btn-cta { padding: 6px 10px; font-size: 12px; }
  model-viewer#viewer { height: 48vh; }
}

/* === Terminal Styles === */
.terminal {
  position: fixed;
  bottom: 70px;
  right: 20px;
  width: 220px;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid var(--blue-3);
  border-radius: 12px;
  box-shadow: 0 0 15px var(--blue-3);
  font-family: Orbitron, monospace;
  font-size: 13px;
  color: var(--blue-3);
  display: flex;
  flex-direction: column;
  z-index: 100;
}

.terminal.hidden {
  display: none;
}

.terminal-header {
  background: rgba(0,199,255,0.2);
  padding: 6px;
  border-bottom: 1px solid var(--blue-3);
  font-weight: bold;
  text-align: center;
  font-size: 12px;
}

.terminal-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cmd-btn {
  background: transparent;
  border: 1px solid var(--blue-3);
  border-radius: 6px;
  padding: 6px;
  font-size: 12px;
  color: var(--blue-3);
  font-family: Orbitron, monospace;
  cursor: pointer;
  transition: all 0.2s;
}

.cmd-btn:hover {
  background: var(--blue-3);
  color: black;
}


/* ---------- FUTURISTIC FOOTER ---------- */
/* === HOLOGRAPHIC STRIP FOOTER === */
.holo-footer {
  position: relative;
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(0, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px 20px;
  overflow: hidden;
  font-family: Orbitron, Inter, sans-serif;
}

/* background scanlines */
.holo-bg {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0,255,255,0.08) 0px,
    rgba(0,255,255,0.08) 2px,
    transparent 2px,
    transparent 4px
  );
  animation: scrollBg 10s linear infinite;
  z-index: 0;
}
@keyframes scrollBg {
  0% { background-position: 0 0; }
  100% { background-position: 0 40px; }
}

/* logo hologram */
.holo-logo {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}
.holo-logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%; /* make it round */
  filter: drop-shadow(0 0 12px cyan);
  animation: flicker 2s infinite;
}
.glitch-text {
  font-size: 22px;
  font-weight: bold;
  color: cyan;
  text-shadow: 0 0 5px cyan, 0 0 10px cyan;
  animation: glitch 1.5s infinite;
}

/* nav links */
.holo-nav {
  margin-top: 12px;
  display: flex;
  gap: 25px;
  z-index: 1;
}
.holo-nav a {
  color: rgba(0,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}
.holo-nav a:hover {
  color: white;
  text-shadow: 0 0 10px cyan, 0 0 20px cyan;
  transform: translateY(-3px);
}

/* credits */
.holo-credits {
  margin-top: 16px;
  text-align: center;
  z-index: 1;
}
.glitch-small {
  font-size: 12px;
  color: rgba(0,255,255,0.7);
  text-shadow: 0 0 4px cyan;
  animation: glitch 2s infinite;
  margin: 2px 0;
}

/* animations */
@keyframes flicker {
  0%, 19%, 21%, 23%, 100% { opacity: 1; }
  20%, 22% { opacity: 0.6; }
}
@keyframes glitch {
  0% { text-shadow: 2px 0 red, -2px 0 blue; }
  20% { text-shadow: -2px 0 red, 2px 0 blue; }
  40% { text-shadow: 2px 2px red, -2px -2px blue; }
  60% { text-shadow: -2px 2px red, 2px -2px blue; }
  100% { text-shadow: 2px 0 red, -2px 0 blue; }
}


/* Project page*/

/* Hero */
.projects-hero {
  text-align: center;
  padding: 100px 20px 40px;
}
.projects-hero h1 {
  font-family: Orbitron, sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  color: var(--blue-1);
  text-shadow: 0 0 10px var(--blue-2), 0 0 20px var(--blue-3);
}
.projects-hero p {
  max-width: 600px;
  margin: 20px auto 0;
  font-size: 1.1rem;
  color: #ccc;
}

/* About Us Futuristic Frame */
.about-us {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}
.about-frame {
  border: 2px solid var(--blue-1);
  border-radius: 20px;
  padding: 40px 30px;
  max-width: 900px;
  text-align: center;
  background: rgba(0,0,0,0.4);
  box-shadow: 0 0 20px rgba(0,199,255,0.4), inset 0 0 40px rgba(0,123,255,0.2);
  position: relative;
}
.about-frame::before, .about-frame::after {
  content: "";
  position: absolute;
  width: 80px; height: 80px;
  border: 2px solid var(--blue-3);
  filter: blur(2px);
}
.about-frame::before {
  top: -20px; left: -20px;
  border-radius: 0 100% 0 0;
}
.about-frame::after {
  bottom: -20px; right: -20px;
  border-radius: 100% 0 0 0;
}
.about-frame h2 {
  font-family: Orbitron, sans-serif;
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--blue-1);
  text-shadow: 0 0 6px var(--blue-2), 0 0 12px var(--blue-3);
}
.about-frame p {
  font-size: 1rem;
  color: #eee;
  line-height: 1.6;
}
.about-frame .highlight {
  color: var(--blue-1);
  font-weight: 700;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  padding: 40px;
}
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  height: 250px;
  transition: height 0.4s ease;
  cursor: pointer;
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 15px rgba(0,199,255,0.2), inset 0 0 20px rgba(0,123,255,0.1);
}
.project-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-card .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  font-family: Orbitron, sans-serif;
  color: #fff;
  background: rgba(0,0,0,0.35);
  transition: background 0.3s;
  z-index: 2;
}
.project-card:hover .overlay {
  background: rgba(0,199,255,0.25);
}

/* Expanded State */
.project-card.active {
  height: 400px;
}
.card-details {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  max-height: 0;
  overflow: hidden;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 0 20px;
  transition: max-height 0.4s ease, padding 0.4s ease;
  z-index: 3;
}
.project-card.active .card-details {
  max-height: 220px;
  padding: 20px;
}
.card-details h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--blue-1);
}
.card-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 150px;
  overflow-y: auto;
}
.card-details ul li {
  margin: 8px 0;
}
.card-details ul li a {
  color: var(--blue-3);
  text-decoration: none;
  transition: color 0.3s;
}
.card-details ul li a:hover {
  color: var(--blue-1);
}

/* Close Button Circle */
.close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--blue-1);
  background: rgba(0,0,0,0.6);
  color: var(--blue-1);
  font-size: 1.2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0,199,255,0.4), inset 0 0 8px rgba(0,123,255,0.3);
}
.close-btn:hover {
  background: var(--blue-1);
  color: #000;
  box-shadow: 0 0 15px var(--blue-3), 0 0 25px var(--blue-2);
}



/* ===== ENTER LAB PAGE ===== */

/* Page layout → stack everything vertically */
.page {
  display: flex;
  flex-direction: column; /* top → bottom */
  align-items: center;    /* center horizontally */
  width: 100%;
}

/* Sections fill width but stay centered */
.lab-hero,
.lab-demo,
.contact-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero */
.lab-hero {
  text-align: center;
  padding: 100px 20px 40px;
}
.lab-hero h1 {
  font-family: Orbitron, Inter, sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 5vw, 56px);
  margin: 0;
  background: linear-gradient(90deg, var(--blue-1), var(--blue-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lab-hero p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-top: 12px;
}

/* Demo */
.lab-demo {
  text-align: center;
  padding: 60px 0; /* no side padding for full-width viewer */
}
.lab-demo h2 {
  font-size: clamp(22px, 3.5vw, 36px);
  margin-bottom: 24px;
}
.lab-demo model-viewer {
  width: 100%;
  height: 340px;
  margin: 0 auto 20px;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0,199,255,0.6);
  display: block;
}
.lab-demo button {
  margin-top: 10px;
}

/* ---------- FUTURISTIC CONTACT SECTION WITH FIXED ADDRESS ---------- */
.contact-section {
  position: relative;
  text-align: center;
  padding: 60px 20px 120px; /* extra bottom padding for address */
  perspective: 600px;
  background: radial-gradient(circle at center, rgba(4,4,5,0.95), rgba(0,0,0,0.9));
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,199,255,0.15), inset 0 0 25px rgba(0,123,255,0.1);
  overflow: visible;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(rgba(0,255,255,0.015) 0deg 15deg, transparent 15deg 30deg);
  animation: rotateGrid 40s linear infinite;
  z-index: 0;
  border-radius: 16px;
}

.contact-section h2 {
  font-size: clamp(24px, 4vw, 32px);
  font-family: Orbitron, sans-serif;
  font-weight: 900;
  color: var(--blue-1);
  text-shadow: 0 0 8px var(--blue-1), 0 0 16px var(--blue-2), 0 0 24px var(--blue-3);
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px; /* reduced spacing for extra icons */
}

.contact-list li {
  width: 70px;   /* smaller size for more movement space */
  height: 70px;
  position: relative;
  transform-style: preserve-3d;
  animation: floatRingCompact 20s linear infinite;
}

.contact-list li:nth-child(1) { animation-delay: 0s; }
.contact-list li:nth-child(2) { animation-delay: 4s; }
.contact-list li:nth-child(3) { animation-delay: 8s; }
.contact-list li:nth-child(4) { animation-delay: 12s; }
.contact-list li:nth-child(5) { animation-delay: 16s; }

@keyframes floatRingCompact {
  0%   { transform: rotateY(0deg) translateZ(50px) rotateX(0deg); }
  50%  { transform: rotateY(180deg) translateZ(50px) rotateX(10deg); }
  100% { transform: rotateY(360deg) translateZ(50px) rotateX(0deg); }
}

.contact-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: Orbitron, sans-serif;
  font-weight: 700;
  color: var(--blue-3);
  text-decoration: none;
  background: rgba(0,0,0,0.35);
  border-radius: 50%;
  border: 2px solid rgba(0,199,255,0.25);
  box-shadow: 0 0 12px rgba(0,199,255,0.3), 0 0 25px rgba(0,123,255,0.15) inset;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: visible;
}

.contact-list a::after {
  content: "";
  position: absolute;
  inset: -12px; /* slightly smaller halo */
  border-radius: 50%;
  border: 2px solid rgba(0,199,255,0.15);
  animation: pulseHaloCompact 2.5s infinite ease-in-out;
  z-index: 0;
}

.contact-list a img.contact-icon {
  width: 24px;   /* smaller icon size */
  height: 24px;
}

.contact-list a:hover {
  transform: translateY(-6px) rotateY(10deg) rotateX(6deg);
  box-shadow: 0 0 30px var(--blue-3), 0 0 45px var(--blue-2) inset;
}

/* Fixed Address at bottom-left */
.contact-address {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 0.9rem;
  z-index: 2;
  width: max-content;
  text-align: left;
}

.contact-address a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.contact-address a:hover {
  color: var(--blue-2);
  text-shadow:
    0 0 6px var(--blue-1),
    0 0 12px var(--blue-2),
    0 0 18px var(--blue-3),
    0 0 24px rgba(0,199,255,0.5);
}

/* Animations */
@keyframes pulseHaloCompact {
  0% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.3); opacity: 0.1; }
  100% { transform: scale(1); opacity: 0.3; }
}

@keyframes floatSlight {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes rotateGrid {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.contact-address {
  position: absolute;
  bottom: 20px;       /* fixed distance from bottom */
  left: 50%;           /* center horizontally */
  transform: translateX(-50%);
  font-size: 0.9rem;
  color: var(--muted);
  z-index: 2;
  width: max-content;
  text-align: center;
}

.contact-address a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Futuristic glow effect on hover */
.contact-address a:hover {
  color: var(--blue-2);
  text-shadow:
    0 0 6px var(--blue-1),
    0 0 12px var(--blue-2),
    0 0 18px var(--blue-3),
    0 0 24px rgba(0,199,255,0.5);
}

@keyframes pulseHaloCompact {
  0% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.3); opacity: 0.1; }
  100% { transform: scale(1); opacity: 0.3; }
}

@keyframes floatSlight {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}





/* CTA Buttons (shared style for nav + motion toggle) */
.btn-cta {
  display: inline-block;
  padding: 12px 28px;
  margin: 6px;
  font-size: 1rem;
  font-weight: 600;
  font-family: Orbitron, Inter, sans-serif;
  color: var(--blue-1);
  background: transparent;
  border: 2px solid var(--blue-2);
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Glow effect on hover/tap ONLY */
.btn-cta:hover,
.btn-cta:focus,
.btn-cta:active {
  color: var(--white);
  background: rgba(0,199,255,0.08);
  box-shadow: 0 0 18px rgba(0,199,255,0.7), inset 0 0 10px rgba(0,199,255,0.4);
  border-color: var(--blue-3);
}

