:root {
  --wm-version: "1.0";
}




/* =====================================================
   Main Stylesheet
   ===================================================== */

/* -----------------------------------------------------
   GLOBAL STYLES
   ----------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', 'Lato', sans-serif;
  color: #333;
}

/* Section headings */
h3 {
  font-size: 1.8rem !important;
  line-height: 1.3;
}

/* Service cards */
.service-card {
  border-radius: 1rem;
  background: #f9fafb;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
  background: #ffffff;
}

/* -----------------------------------------------------
   HEADER / HERO
   ----------------------------------------------------- */

/* Morphing header gradient background */
.gradient-bg {
  background: linear-gradient(-45deg, #00AEEF, #7928CA, #FF0080);
  background-size: 400% 400%;
  animation: gradientFlow 12s ease infinite;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hero heading mobile spacing */
@media (max-width: 768px) {
  header h2 {
    line-height: 1.5;
  }
}

/* Animated “M” logo gradient */
.m-animate {
  background: linear-gradient(270deg, #00AEEF, #7928CA, #FF0080);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: morphingGradient 6s ease infinite;
  display: inline-block;
}

@keyframes morphingGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* -----------------------------------------------------
   NAV
   ----------------------------------------------------- */

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  z-index: 50;
  overflow: hidden;
}

/* Ensure nav content sits above gradient effects */
nav > * {
  position: relative;
  z-index: 1;
}

/* Nav link base style */
.nav-link {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
  transition: color 0.3s ease;
}

/* Hover underline with gradient animation */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00c6ff, #ff007f, #ffcc00);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Optional hover text color */
.nav-link:hover {
  color: #0077ff;
}

/* -----------------------------------------------------
   POPUPS / MODALS
   ----------------------------------------------------- */

/* Fade-in popup animation */
.popup-fade {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); opacity: 1; }
}

/* -----------------------------------------------------
   ANIMATIONS
   ----------------------------------------------------- */

/* Animated gradient movement (header + M) */
@keyframes navGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


.cookie-link {
  color: rgb(242 244 114);
}
.cookie-link:hover {
  color: lightblue;
}

.send-btn {
  background-color: rgb(24, 141, 190);
  color: white;
  transition: background-color 0.3s ease;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
}
.send-btn:hover {
  background-color: rgb(18, 115, 156);
}

.accept-btn {
  background-color: rgb(24, 141, 190);
  color: white;
  border-radius: 0.5rem;
  padding: 0.25rem 1.25rem;
  transition: background-color 0.3s ease;
}
.accept-btn:hover {
  background-color: rgb(18, 115, 156);
}
.modal-close {
  font-size: 40px;
  line-height: 1;
}


  .footer-link {
    transition: color 0.2s ease;
  }
  .footer-link:hover {
    color: #ff8ad9 !important; /* Soft pink glow on dark footers */
  }



/* Animated WebMorf brand gradient */
@keyframes wmGradientShift {
  0%   { background: linear-gradient(135deg, #E00079, #8401FF, #03B5F7); }
  33%  { background: linear-gradient(135deg, #03B5F7, #E00079, #8401FF); }
  66%  { background: linear-gradient(135deg, #8401FF, #03B5F7, #E00079); }
  100% { background: linear-gradient(135deg, #E00079, #8401FF, #03B5F7); }
}

.wm-logo-animated {
  animation: wmGradientShift 8s ease-in-out infinite;
  background-size: 300% 300%;
}




.wm-logo-mark {
  width: 32px !important;
  height: 32px !important;
  border-radius: 0.8rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
  font-family: 'Montserrat', sans-serif !important;
  color: #fff !important;
  background: linear-gradient(135deg, #E00079, #8401FF, #03B5F7) !important;
}




/* ===================== GLOBAL ===================== */

body {
  background: #0b0f19;
  color: #e5e7fa;
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
}

/* Accent Gradient Text */
.text-gradient {
  background: linear-gradient(90deg, #e00079, #8401ff, #03b5f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: gradientShift 6s ease infinite;
}

/* Gradient Animation */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}




/* ===================== ORBIT CSS HERE ===================== */
/* ============================================================
   🎬 CINEMATIC W + PREMIUM ORBIT COMET EFFECT
   WebMorf — Full Clean Rebuild
   ============================================================ */

/* ===================== VARIABLES ===================== */
:root {
  --orbit-radius: 140px;     /* Orbit size (bigger = more cinematic) */
  --orbit-speed: 12s;        /* Change for Slow / Fast orbit */
  --orbit-trail: 4px;        /* Blur strength for comet tail */
}

/* ===================== W TILE ===================== */
.w-tile {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 3rem auto;  /* Center + gap below */
}

/* Gradient square behind W */
.w-logo-tile {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 135px; height: 135px;
  border-radius: 28px;
  display: flex; justify-content: center; align-items: center;
  z-index: 4;

  background: linear-gradient(135deg, #ff0096, #8401ff, #03b5f7);
  box-shadow:
    0 10px 35px rgba(136, 0, 255, 0.45),
    0 0 50px rgba(0, 164, 255, 0.45),
    inset 0 0 25px rgba(255, 255, 255, 0.3);
}

/* W Letter */
.w-letter {
  font-size: 65px;
  font-weight: 700;
  color: white;
  text-shadow: 0 0 15px rgba(255,255,255,0.65);
}




/* ===================== SECTION BACKGROUNDS ===================== */

.lab-section {
  padding: 6rem 0;
  background-size: 300% 300%;
  animation: bgMove 14s ease-in-out infinite;
}

@keyframes bgMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Premium */
.lab-section--premium {
  background: linear-gradient(120deg, #6a00d8, #8500e2, #b5b300);
}

/* Depth & Motion */
.lab-section--depth {
  background: linear-gradient(140deg, #002d53, #15092c, #263d08);
}

/* ===================== UI EFFECT CARDS ===================== */

.effect-card {
  padding: 32px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  transition: all 0.4s ease;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

/* Lifted 3D pop */
.lifted-card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 18px 40px rgba(255,0,255,0.4);
  background: linear-gradient(90deg,#ff00f7,#8a09ff);
}

/* Gold Glow */
.gold-glow:hover {
  box-shadow: 0px 0px 28px #ffcc00aa;
  border: 1px solid #ffd648;
}



/* ===================== PREMIUM INTERACTIONS ===================== */

/* =============================
   LIQUID CHROME BUTTON
   ============================= */

.liquid-button {
  display: inline-block;
  padding: 12px 34px;
  border-radius: 30px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  background: linear-gradient(135deg, #5a5a5a, #bbb);
  box-shadow: inset 0 0 10px rgba(255,255,255,0.8),
              inset 0 0 20px rgba(255,255,255,0.5),
              inset 0 -4px 12px rgba(0,0,0,0.3),
              0 4px 15px rgba(0,0,0,0.6);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: 0.2s ease;
}

.liquid-button:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* Liquid shimmer moving highlight */
.liquid-button::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.6), transparent 75%);
  transform: translateX(-120%) rotate(25deg);
  transition: transform 1.2s ease;
}

.liquid-button:hover::after {
  transform: translateX(100%) rotate(25deg);
}



/* =============================
   ELECTRIC FRAME CARD
   ============================= */

.electric-frame {
  position: relative;
  background: rgba(0,0,0,0.4);
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 28px;
  color: #fff;
  cursor: pointer;
  transition: 0.3s ease;
  overflow: hidden; /* Keeps bar inside */
}

.electric-frame:hover {
  border-color: #00eaff;
  box-shadow: 0 0 25px rgba(0, 238, 255, 0.65);
  animation: neonPulse 1.45s infinite alternate;
}

/* Isolated Shiny Sweep Bar */
.electric-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-22deg);
  opacity: 0;
  transition: 0.6s ease;
  pointer-events: none;
}

.electric-frame:hover::before {
  left: 120%;
  opacity: 1;
}

/* Pulse glow on border */
@keyframes neonPulse {
  from { box-shadow: 0 0 12px rgba(0, 238, 255, 0.25); }
  to   { box-shadow: 0 0 30px rgba(0, 238, 255, 0.75); }
}



/* =============================
   SHINY GRADIENT HEADLINE
   ============================= */

.glossy-text span {
  display: inline-block;
  font-weight: 800;
  font-size: 2rem;
  background: linear-gradient(90deg, #ffe45c, #ff4ecd, #41ddff, #ffe45c);
  background-size: 300%;
  -webkit-background-clip: text;
  color: transparent;
  animation: shinyMove 4s linear infinite;
  position: relative;
  padding-right: 4px;
}

.glossy-text span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.35), transparent 75%);
  mix-blend-mode: screen;
  opacity: 0.55;
  animation: glossyPulse 2.5s ease-in-out infinite;
}

@keyframes shinyMove {
  0% { background-position: 0% }
  100% { background-position: 300% }
}

@keyframes glossyPulse {
  0%,100% { opacity: 0.25 }
  50% { opacity: 0.6 }
}





/* ---------------- ORBIT SETTINGS ---------------- */
:root {
  --orbit-size: 100px;      /* <== CHANGE THIS TO MAKE BIGGER/SMALLER */
  --comet-size: 15px;       /* <== BASE BALL SIZE */
}

/* ---------------- CENTER LOGO ---------------- */
.w-tile {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 100px auto 0;
}

.w-logo-tile {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 140px; height: 140px;
  border-radius: 30px;
  display: flex; justify-content: center; align-items: center;

  background: linear-gradient(135deg,#ff0096,#8401ff,#03b5f7);
  box-shadow:
        0 10px 35px rgba(136, 0, 255, 0.45),
        0 0 50px rgba(0, 164, 255, 0.45),
        inset 0 0 25px rgba(255,255,255,0.3);
}

.w-letter {
  font-size: 62px;
  font-weight: 900;
  color: white;
  text-shadow: 0 0 15px rgba(255,255,255,0.65);
}

/* ---------------- ORBIT CONTAINER ---------------- */
.orbit-container {
  position: absolute;
  top: 50%; left: 50%;
  width: calc(var(--orbit-size)*2);
  height: calc(var(--orbit-size)*2);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ---------------- INDIVIDUAL ORBITS ---------------- */
.orbit-path {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: spin linear infinite;
  animation-duration: var(--speed);
}

/* ---------------- BALLS ---------------- */
.comet {
  position: absolute;
  top: 50%; left: 50%;
  width: var(--comet-size);
  height: var(--comet-size);
  border-radius: 50%;
  transform: translateX(var(--orbit-size)) translate(-50%, -50%);
  background: white;
  box-shadow: 0 0 15px rgba(255,255,255,1),
              0 0 30px rgba(255,255,255,0.6);
}

/* Gold comet */
.comet.gold {
  background: #ffe9a0;
  box-shadow: 0 0 20px rgba(255,225,140,1),
              0 0 40px rgba(255,225,140,0.6);
}

/* Light-blue fast comet */
.comet.fast {
  width: 10px;
  height: 10px;
  background: #9cf0ff;
  box-shadow: 0 0 10px rgba(156,240,255,1),
              0 0 20px rgba(156,240,255,0.6);
}

/* NEW Light-pink comet (medium-small) */
.comet.pink {
  width: 12px;
  height: 12px;
  background: #ffb3e1;
  box-shadow: 0 0 12px rgba(255,179,225,1),
              0 0 26px rgba(255,179,225,0.6);
}

/* ---------------- TRAIL ---------------- */
.comet::after,
.comet.gold::after,
.comet.fast::after,
.comet.pink::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 6px;
  background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 75%);
  top: 50%; left: -50px;
  transform-origin: right center;
  transform: translateY(-50%) rotate(90deg);
  border-radius: 50%;
  opacity: 0.5;
}

/* Color tints for trails */
.comet.gold::after { background: radial-gradient(circle, rgba(255,225,140,0.8) 0%, rgba(255,225,140,0) 75%); }
.comet.fast::after { background: radial-gradient(circle, rgba(156,240,255,0.8) 0%, rgba(156,240,255,0) 75%); }
.comet.pink::after { background: radial-gradient(circle, rgba(255,179,225,0.8) 0%, rgba(255,179,225,0) 75%); }

/* ---------------- KEYFRAME ---------------- */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}





/* =============================
   GRADIENT SWIPE BUTTON / CARD
   ============================= */

.gradient-swipe {
  position: relative;
  background: rgba(255,255,255,0.05);
  padding: 32px;
  border-radius: 16px;
  cursor: pointer;
  color: #fff;
  transition: 0.4s ease;
  overflow: hidden;     /* <– keeps the swipe inside! */
  border: 2px solid transparent;
}

/* Hover glow */
.gradient-swipe:hover {
  border-color: rgba(0, 255, 255, 0.75);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.45);
}

/* THE COLOUR SWIPE BAR */
.gradient-swipe::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  opacity: 0;
  transform: skewX(-20deg);

  /* 🌈 COLOURED SWIPE */
  background: linear-gradient(120deg,
    transparent,
    rgba(255, 215, 0, 0.8),   /* gold */
    rgba(255, 64, 200, 0.8),  /* neon pink */
    rgba(0, 200, 255, 0.8),   /* bright cyan */
    transparent
  );

  transition: left 0.65s ease, opacity 0.4s ease;
}

/* HOW IT MOVES ON HOVER */
.gradient-swipe:hover::before {
  left: 120%;
  opacity: 1;
}



/* =============================
   ELECTRIC FRAME - Neon Border
   ============================= */

.electric-frame {
  position: relative;
  background: rgba(0,0,0,0.4);
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 28px;
  color: #fff;
  cursor: pointer;
  transition: 0.3s ease;
  overflow: hidden;
}

/* Base subtle border before hover */
.electric-frame {
  box-shadow:
    0 0 10px rgba(0, 238, 255, 0.15),
    inset 0 0 12px rgba(0, 238, 255, 0.08);
}

/* Neon Glow Hover */
.electric-frame:hover {
  border-color: #00eaff;
  box-shadow:
    0 0 25px rgba(0, 238, 255, 0.75),
    0 0 45px rgba(0, 238, 255, 0.45),
    inset 0 0 22px rgba(0, 238, 255, 0.15);
  animation: neonPulse 1.45s infinite alternate;
}

/* Shiny Sweep Bar */
.electric-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: -70%; 
  width: 55%;  
  height: 100%;
  background: linear-gradient(
      115deg,
      transparent,
      rgba(255,255,255,0.45),
      transparent
  );
  transform: skewX(-20deg);
  opacity: 0;
  transition: 0.6s ease;
}

/* Shiny Bar Animation Trigger */
.electric-frame:hover::before {
  left: 135%; 
  opacity: 1;
}

/* Pulse effect on hover */
@keyframes neonPulse {
  0%   { box-shadow: 0 0 22px rgba(0, 238, 255, 0.25); }
  100% { box-shadow: 0 0 40px rgba(0, 238, 255, 0.75); }
}



/* =============================
   LIQUID GOO BANNER (90% width)
   ============================= */

.goo-banner {
  width: 90%;
  height: 200px;
  margin: 80px auto;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(18px);
  box-shadow:
    0 0 25px rgba(0, 238, 255, 0.15),
    inset 0 0 60px rgba(0, 238, 255, 0.1);
  border: 1px solid rgba(0, 238, 255, 0.25);
}

.goo-banner canvas {
  width: 100%;
  height: 100%;
  display: block;
}




/* === LAB SHOWCASE STRIP === */

.lab-showcase {
  position: relative;
  width: 100%;
  height: 350px; 
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 60px 0;
}

/* Animated Gradient Background */
.lab-showcase-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #ff007a, #7c3aed, #00c9ff, #ffe53b, #ff007a);
  background-size: 400% 400%;
  animation: labGradientMove 18s ease-in-out infinite;
  z-index: -2;
}

@keyframes labGradientMove {
  0% { background-position: 0% 50%; }
  25% { background-position: 50% 0%; }
  50% { background-position: 100% 50%; }
  75% { background-position: 50% 100%; }
  100% { background-position: 0% 50%; }
}

/* Subtle Texture */
.lab-showcase-noise {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 0);
  background-size: 3px 3px;
  mix-blend-mode: soft-light;
  opacity: 0.4;
  z-index: -1;
}

/* Card Layout */
.lab-showcase-inner {
  display: flex;
  gap: 1.2rem;
  padding: 0 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Glass Cards */
.lab-card {
  padding: 1rem 1.3rem;
  min-width: 140px;
  background: rgba(15, 23, 42, 0.55);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 10px 26px rgba(15, 23, 42, 0.6),
    0 0 0 1px rgba(255,255,255,0.08);
  color: #fff;
  text-align: center;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.lab-card:hover {
  transform: translateY(-6px) scale(1.06);
  border-color: rgba(244, 244, 245, 0.9);
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.95),
    0 0 0 1px rgba(244, 244, 245, 0.4);
}

.lab-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.lab-card p {
  font-size: 0.78rem;
  opacity: 0.92;
  letter-spacing: 0.02em;
}




@media (max-width: 480px) {
  .lab-showcase {
    height: 800px;
  }
}




/* === ANIMATED GRADIENT TEXT (With Yellow) === */

.animated-gradient {
  background: linear-gradient(
    90deg,
    #ff007a,
    #9333ea,
    #3b82f6,
    #22d3ee,
    #a855f7,
    #facc15, 
    #ff007a
  );
  background-size: 500% 500%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: animatedGradientMove 10s ease infinite;
  font-weight: 700;
}

@keyframes animatedGradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ================= SPARKLE CURSOR SECTION ================= */
.lab-sparkles-section {
  position: relative;
  background: #0b1221; /* Same background tone as the cube section */
  overflow: hidden;
}

#sparkle-container {
  position: absolute;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 100;
}

/* Sparkle particle */
.sparkle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(255,255,255,0) 60%);
  filter: blur(1px);
  animation: sparkleFade 0.9s ease-out forwards;
  opacity: 0;
}

@keyframes sparkleFade {
  0% { transform: scale(0.6); opacity: 1; }
  70% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Colour cycling shimmer */
.sparkle.glow-1 { background: radial-gradient(circle, #fcd34d, rgba(255,255,255,0)); }
.sparkle.glow-2 { background: radial-gradient(circle, #fb7185, rgba(255,255,255,0)); }
.sparkle.glow-3 { background: radial-gradient(circle, #60a5fa, rgba(255,255,255,0)); }
.sparkle.glow-4 { background: radial-gradient(circle, #a78bfa, rgba(255,255,255,0)); }


/* Desktop height upgrade for sparkle section */
@media (min-width: 768px) {
  .lab-sparkles-section {
    padding-top: 160px;
    padding-bottom: 160px;
  }
}


@media (max-width: 767px) {
  .lab-sparkles-section {
    display: none !important;
  }
}








#mobileMenu .nav-link {
  display: block !important;
}

@media (min-width: 768px) {
  #mobileMenu {
    display: none !important;
  }
}





/* ===== LAB FOOTER GRADIENT BORDER ===== */
.gradient-footer-border {
  position: relative;
}

.gradient-footer-border::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg,
      #e00079,
      #8401ff,
      #03b5f7,
      #00ffa3,
      #faff00
  );
}



/* ===============================
   PUGGY BALL JUMP
   =============================== */

#pug-grand-national {
  width: 100%;
  margin: 0 auto;
  max-width: 1200px;
}

/* Game area */
.pgn-game {
  position: relative;
  width: 100%; height: 200px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(#87ceeb 0%, #b3e5fc 65%, #43a047 65%, #2e7d32 100%);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Clouds */
.pgn-cloud {
  position: absolute; top: 20px;
  width: 60px; height: 24px;
  background: #fff;
  border-radius: 20px; opacity: 0.8;
  box-shadow: 18px 4px 0 0 #fff, 36px 0 0 0 #fff, 20px -8px 0 0 #fff;
  animation: pgnCloudDrift 25s linear infinite;
}
.pgn-cloud-1 { top: 18px; left: -120px; animation-delay: 0s; }
.pgn-cloud-2 { top: 50px; left: -200px; animation-delay: 10s; transform: scale(0.8); opacity: 0.7; }
@keyframes pgnCloudDrift { 0% { transform: translateX(0);} 100% { transform: translateX(1400px);} }

/* Pug */
.pgn-pug {
  position: absolute;
  left: 50px; bottom: 38px;
  width: 52px; height: 40px;
  background-image: url('https://webmorf.co.uk/assets/icons/pug.png');
  background-size: contain; background-repeat: no-repeat;
  transform-origin: bottom center;
}
.pgn-pug-ears {
  position: absolute; top: -2px; left: 0; width: 100%; height: 100%;
  background-image: url('https://webmorf.co.uk/assets/icons/pug.png'); background-size: contain;
  pointer-events: none;
}
.pgn-pug-ears.pgn-earflap { animation: pgnEarFlap 0.25s ease-out forwards; }
@keyframes pgnEarFlap {
  0% { transform: rotate(0deg) scale(1);}
  30%{ transform: rotate(-8deg) scale(1.02);}
  60%{ transform: rotate(6deg) scale(1.02);}
  100%{ transform: rotate(0deg) scale(1);}
}

/* Dust */
.pgn-dust {
  position: absolute; bottom: -2px; left: 12px;
  width: 28px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.65);
  box-shadow: 12px 0px 0 0 rgba(255,255,255,0.5), -12px 0px 0 0 rgba(255,255,255,0.5);
  opacity: 0; transform: scale(0.4);
}
.pgn-dust.pgn-poof { animation: pgnDustPoof 0.35s ease-out forwards; }
@keyframes pgnDustPoof{
  0% { opacity:0.4; transform:scale(0.4);}
  50%{ opacity:0.8; transform:scale(0.9);}
  100%{ opacity:0; transform:scale(1.3);}
}

/* Score UI */
.pgn-ui {
  position: absolute; top: 8px; left: 12px; right: 12px;
  display: flex; justify-content: space-between; align-items: center;
  font-size:13px; color:#fff; text-shadow:0 1px 2px rgba(0,0,0,0.4);
}
.pgn-title { font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.pgn-score, .pgn-best { font-weight: 600; }
.pgn-message {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  padding: 4px 10px; background: rgba(0,0,0,0.45); color:#fff;
  border-radius: 999px; font-size: 12px;
}
.pgn-message.hidden { opacity: 0; transition: opacity .4s ease-out; }

/* Football obstacles */
.pgn-obstacle { position:absolute; bottom:0; }

.pgn-obstacle-football {
  width: 34px; height: 34px;
  background-image: url('https://webmorf.co.uk/assets/icons/football.png');
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  bottom: 38px;
  transform-origin: center bottom;
  box-shadow: 0px 4px 4px rgba(0,0,0,0.3);
  animation: pgnBallBounce 0.35s ease-in-out infinite alternate;
}

.pgn-ball-inner {
  width: 100%; height: 100%;
  background-image: url('https://webmorf.co.uk/assets/icons/football.png');
  background-size: contain;
  background-repeat: no-repeat;
  animation: pgnBallRollReverse 0.45s linear infinite;
  transform-origin: center center;
}

@keyframes pgnBallRollReverse {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

@keyframes pgnBallBounce { 0% { transform: translateY(0px);} 100% { transform: translateY(-5px);} }

/* Small screens */
@media(max-width:500px){
  .pgn-title{display:none;}
  .pgn-ui{justify-content:flex-start; gap:10px;}
}


/* Puggy ball jump section Style */
.lab-section.pug-grand-national {
  text-align: center;
  padding: 60px 0 80px 0; /* Top & bottom spacing */
}

.lab-section.pug-grand-national h3 {
  margin: 0 0 6px 0;
  font-size: 28px;
  font-weight: 700;
}

.lab-section.pug-grand-national p {
  margin: 0 0 24px 0;
  font-size: 16px;
  opacity: 0.85;
}

/* Make the game box centered and neat */
.lab-section.pug-grand-national .lab-demo-box {
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  padding: 14px;
  overflow: hidden;
}


/* hiding the honeypot on contact frm */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

