/* ============================================
   FRONTIER GLOBAL TELECOM - ANIMATIONS & EFFECTS
   Premium Interactive UI Layer
   ============================================ */

/* ---- PRELOADER ---- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #050a30;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  overflow: hidden;
}
.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-logo {
  width: 180px;
  opacity: 0;
  transform: scale(0.5) rotateY(90deg);
  animation: preloaderLogoIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  filter: drop-shadow(0 0 30px rgba(0, 191, 98, 0.5));
}
.preloader-logo img {
  width: 100%;
  height: auto;
}
@keyframes preloaderLogoIn {
  0% { opacity: 0; transform: scale(0.5) rotateY(90deg); filter: drop-shadow(0 0 0px rgba(0, 191, 98, 0)); }
  50% { opacity: 1; transform: scale(1.1) rotateY(0deg); filter: drop-shadow(0 0 40px rgba(0, 191, 98, 0.6)); }
  100% { opacity: 1; transform: scale(1) rotateY(0deg); filter: drop-shadow(0 0 20px rgba(0, 191, 98, 0.3)); }
}

/* Preloader ring */
.preloader-ring {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #00bf62;
  animation: preloaderSpin 1.5s linear infinite;
  opacity: 0;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
}
.preloader-ring::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-right-color: #00bf62;
  animation: preloaderSpin 2s linear infinite reverse;
  opacity: 0.5;
}
@keyframes preloaderSpin {
  0% { transform: rotate(0deg); opacity: 1; }
  100% { transform: rotate(360deg); opacity: 1; }
}

/* Preloader text */
.preloader-text {
  margin-top: 30px;
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0;
  animation: preloaderTextIn 0.8s ease 1s forwards;
}
.preloader-text span {
  display: inline-block;
  animation: preloaderTextPulse 1.5s ease-in-out infinite;
}
.preloader-text span:nth-child(2) { animation-delay: 0.1s; }
.preloader-text span:nth-child(3) { animation-delay: 0.2s; }
.preloader-text span:nth-child(4) { animation-delay: 0.3s; }
.preloader-text span:nth-child(5) { animation-delay: 0.4s; }
.preloader-text span:nth-child(6) { animation-delay: 0.5s; }
.preloader-text span:nth-child(7) { animation-delay: 0.6s; }
.preloader-text span:nth-child(8) { animation-delay: 0.7s; }
.preloader-text span:nth-child(9) { animation-delay: 0.8s; }
.preloader-text span:nth-child(10) { animation-delay: 0.9s; }
@keyframes preloaderTextIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 0.7; transform: translateY(0); }
}
@keyframes preloaderTextPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Preloader particles (dots) */
.preloader-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.preloader-particles .dot {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #00bf62;
  border-radius: 50%;
  opacity: 0;
  animation: particleFade 3s ease-in-out infinite;
}
@keyframes particleFade {
  0%, 100% { opacity: 0; transform: scale(0); }
  50% { opacity: 0.6; transform: scale(1); }
}

/* Preloader opening curtain effect */
.preloader-curtain-left,
.preloader-curtain-right {
  position: fixed;
  top: 0;
  width: 50%;
  height: 100%;
  background: #050a30;
  z-index: 99998;
  transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
}
.preloader-curtain-left {
  left: 0;
  transform-origin: left;
}
.preloader-curtain-right {
  right: 0;
  transform-origin: right;
}
.preloader-curtain-left.open {
  transform: translateX(-100%);
}
.preloader-curtain-right.open {
  transform: translateX(100%);
}

/* ---- CUSTOM CURSOR ---- */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid #00bf62;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99997;
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.custom-cursor.active {
  width: 50px;
  height: 50px;
  border-color: #fff;
}
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: #00bf62;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99997;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease;
  mix-blend-mode: difference;
}
@media (max-width: 768px) {
  .custom-cursor, .cursor-dot { display: none !important; }
}

/* ---- SCROLL PROGRESS BAR ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #00bf62, #00d4ff, #00bf62);
  background-size: 200% 100%;
  z-index: 99996;
  width: 0%;
  transition: width 0.1s ease;
  animation: gradientShift 3s linear infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ---- REVEAL ANIMATIONS ---- */
.reveal-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}
.reveal-rotate {
  opacity: 0;
  transform: perspective(800px) rotateY(25deg) translateX(-30px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-rotate.revealed {
  opacity: 1;
  transform: perspective(800px) rotateY(0deg) translateX(0);
}

/* Stagger children */
.stagger-children > *:nth-child(1) { transition-delay: 0s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.5s; }

/* ---- 3D TILT CARD EFFECT ---- */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.1s ease;
}
.tilt-card .tilt-inner {
  transform: translateZ(30px);
  transition: transform 0.3s ease;
}

/* ---- FLOATING / PARALLAX ELEMENTS ---- */
.float-element {
  animation: floatUpDown 4s ease-in-out infinite;
}
.float-element-slow {
  animation: floatUpDown 6s ease-in-out infinite;
}
.float-element-reverse {
  animation: floatUpDown 5s ease-in-out infinite reverse;
}
@keyframes floatUpDown {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

/* ---- GLOW EFFECTS ---- */
.glow-green {
  box-shadow: 0 0 20px rgba(0, 191, 98, 0.3), 0 0 60px rgba(0, 191, 98, 0.1);
  transition: box-shadow 0.4s ease;
}
.glow-green:hover {
  box-shadow: 0 0 30px rgba(0, 191, 98, 0.5), 0 0 80px rgba(0, 191, 98, 0.2);
}

/* ---- MAGNETIC BUTTON ---- */
.magnetic-btn {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}
.magnetic-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}
.magnetic-btn:hover::before {
  width: 300%;
  height: 300%;
}

/* ---- TEXT SCRAMBLE / GLITCH EFFECT ---- */
.text-glitch {
  position: relative;
}
.text-glitch::before,
.text-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.text-glitch::before {
  color: #00bf62;
  z-index: -1;
  animation: glitch1 3s infinite linear alternate-reverse;
}
.text-glitch::after {
  color: #00d4ff;
  z-index: -2;
  animation: glitch2 3s infinite linear alternate-reverse;
}
@keyframes glitch1 {
  0%, 90%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
  92% { clip-path: inset(20% 0 60% 0); transform: translate(-3px, 2px); }
  94% { clip-path: inset(50% 0 10% 0); transform: translate(3px, -2px); }
  96% { clip-path: inset(10% 0 70% 0); transform: translate(-2px, 1px); }
  98% { clip-path: inset(30% 0 30% 0); transform: translate(2px, -1px); }
}
@keyframes glitch2 {
  0%, 90%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
  91% { clip-path: inset(60% 0 20% 0); transform: translate(3px, -2px); }
  93% { clip-path: inset(10% 0 50% 0); transform: translate(-3px, 2px); }
  95% { clip-path: inset(70% 0 10% 0); transform: translate(2px, -1px); }
  97% { clip-path: inset(30% 0 30% 0); transform: translate(-2px, 1px); }
}

/* ---- COUNTER NUMBERS ---- */
.counter-number {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* ---- PARALLAX BACKGROUND LAYER ---- */
.parallax-bg {
  position: relative;
  overflow: hidden;
}
.parallax-bg::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 120%;
  height: 140%;
  background: radial-gradient(ellipse at 30% 50%, rgba(0, 191, 98, 0.05) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(0, 212, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
  will-change: transform;
}

/* ---- PARTICLE CANVAS ---- */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ---- SECTION SEPARATORS ---- */
.section-wave {
  position: relative;
}
.section-wave::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V120H0V95.8C57.1,78.42,127.05,60.85,321.39,56.44Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
  pointer-events: none;
}

/* ---- CARD HOVER EFFECTS ---- */
.hover-lift {
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}
.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ---- PACKAGE BOX ENHANCED ---- */
.packages-box {
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}
.packages-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(0, 191, 98, 0.1), transparent, rgba(0, 212, 255, 0.05), transparent);
  animation: rotateConic 8s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.packages-box:hover::before {
  opacity: 1;
}
.packages-box:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 191, 98, 0.15);
}
@keyframes rotateConic {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---- WHY FRONTIER BOX ENHANCED ---- */
.why-Frontier-box {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}
.why-Frontier-box:hover {
  transform: translateY(-5px);
}

/* ---- TESTIMONIAL BOX ENHANCED ---- */
.testimonial-box {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.testimonial-box:hover {
  transform: scale(1.03);
}

/* ---- TEXT REVEAL LINE-BY-LINE ---- */
.text-reveal {
  overflow: hidden;
}
.text-reveal .text-reveal-line {
  display: block;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.text-reveal.revealed .text-reveal-line {
  transform: translateY(0);
}

/* ---- HERO ENTRANCE POST-PRELOADER ---- */
.hero-animated .header {
  opacity: 0;
  transform: translateY(-30px);
  animation: heroHeaderIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}
@keyframes heroHeaderIn {
  to { opacity: 1; transform: translateY(0); }
}
/* Hero banner entrance - use opacity only (no transform) to avoid
   conflicting with Slick slider's transform-based slide positioning. */
.hero-animated .home-banner {
  animation: heroBannerIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}
@keyframes heroBannerIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---- HEADING GRADIENT ANIMATION ---- */
.heading-animated {
  background: linear-gradient(135deg, #050a30 0%, #00bf62 50%, #050a30 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: headingGradient 4s ease-in-out infinite;
}
@keyframes headingGradient {
  0% { background-position: 0% center; }
  50% { background-position: 200% center; }
  100% { background-position: 0% center; }
}

/* ---- BORDER GLOW ANIMATION ---- */
.border-glow {
  position: relative;
}
.border-glow::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: inherit;
  background: linear-gradient(45deg, #00bf62, #00d4ff, #00bf62, #00d4ff);
  background-size: 300% 300%;
  z-index: -1;
  animation: borderGlow 4s ease infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.border-glow:hover::after {
  opacity: 1;
}
@keyframes borderGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ---- SMOOTH SCROLL ANCHOR HIGHLIGHT ---- */
.smooth-highlight {
  animation: highlightPulse 1s ease;
}
@keyframes highlightPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 191, 98, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(0, 191, 98, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 191, 98, 0); }
}

/* ---- NAVBAR ANIMATION ENHANCEMENTS ---- */
.header {
  transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}
.header.header-hidden {
  transform: translateY(-100%);
}
.header.header-tiny {
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.1);
}

/* ---- ACCORDION ANIMATION ---- */
.accordion ul li a {
  transition: color 0.3s ease, padding-left 0.3s ease;
}
.accordion ul li a:hover {
  padding-left: 5px;
}

/* ---- BACKGROUND MESH GRADIENT ---- */
.mesh-bg {
  position: relative;
}
.mesh-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(at 20% 50%, rgba(0, 191, 98, 0.06) 0px, transparent 50%),
    radial-gradient(at 80% 20%, rgba(0, 212, 255, 0.04) 0px, transparent 50%),
    radial-gradient(at 50% 80%, rgba(5, 10, 48, 0.03) 0px, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ---- SPEED LINES (decorative) ---- */
.speed-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  top: 0;
  left: 0;
}
.speed-lines .line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 191, 98, 0.3), transparent);
  animation: speedLine 3s linear infinite;
}
@keyframes speedLine {
  0% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(200%); opacity: 0; }
}

/* ---- BANDWIDTH CALCULATOR ENHANCED ---- */
.bandwidth-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bandwidth-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}
.quantity-box .minus,
.quantity-box .plus {
  transition: transform 0.2s ease, background 0.2s ease;
}
.quantity-box .minus:hover,
.quantity-box .plus:hover {
  transform: scale(1.15);
}

/* ---- FOOTER ANIMATION ---- */
.footer.be-animated.in-view .footer-logo img {
  animation: footerLogoIn 0.8s ease forwards;
}
@keyframes footerLogoIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- CONTACT ITEMS HOVER ---- */
.contact-item li a {
  transition: transform 0.3s ease, color 0.3s ease;
}
.contact-item li a:hover {
  transform: translateX(8px);
}

/* ---- RIPPLE EFFECT ON CLICK ---- */
.ripple {
  position: relative;
  overflow: hidden;
}
.ripple-wave {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* ---- LOADING SKELETON ---- */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s ease-in-out infinite;
}
@keyframes skeletonShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ---- IMAGE HOVER ZOOM ---- */
.img-zoom {
  overflow: hidden;
  border-radius: inherit;
}
.img-zoom img {
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.img-zoom:hover img {
  transform: scale(1.08);
}

/* ---- SECTION HEAD DECORATION ---- */
.section-head .heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #00bf62, #00d4ff);
  margin: 12px auto 0;
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.section-head .heading.revealed::after {
  transform: scaleX(1);
}

/* ---- BACK TO TOP BUTTON ---- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #00bf62, #00a854);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 9990;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 191, 98, 0.3);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  box-shadow: 0 6px 25px rgba(0, 191, 98, 0.5);
  transform: translateY(-3px);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ---- PHILOSOPHY IMAGE 3D PERSPECTIVE ---- */
.philosophy-img {
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform-style: preserve-3d;
}
.philosophy-img:hover {
  transform: perspective(800px) rotateY(-5deg) rotateX(3deg) scale(1.02);
}

/* ---- FEATURED ITEMS PULSE ---- */
.featured li {
  transition: transform 0.3s ease;
}
.featured li:hover {
  transform: scale(1.08);
}

/* ---- SMOOTH PAGE TRANSITION ---- */
body {
  opacity: 1;
  transition: opacity 0.3s ease;
}
body.page-transitioning {
  opacity: 0;
}

/* ============================================
   FLYING OBJECTS & CREATIVE DECORATIVES
   ============================================ */

/* ---- FLOATING ORBS (glowing spheres that drift around) ---- */
.floating-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0;
  animation: orbFloat linear infinite;
}
.orb--green {
  background: radial-gradient(circle at 30% 30%, rgba(0, 230, 118, 0.6), rgba(0, 191, 98, 0.2), transparent 70%);
  box-shadow: 0 0 30px rgba(0, 191, 98, 0.3), 0 0 60px rgba(0, 191, 98, 0.1);
}
.orb--cyan {
  background: radial-gradient(circle at 30% 30%, rgba(0, 230, 255, 0.5), rgba(0, 212, 255, 0.15), transparent 70%);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.3), 0 0 60px rgba(0, 212, 255, 0.1);
}
.orb--purple {
  background: radial-gradient(circle at 30% 30%, rgba(138, 43, 226, 0.4), rgba(100, 20, 180, 0.1), transparent 70%);
  box-shadow: 0 0 30px rgba(138, 43, 226, 0.2), 0 0 60px rgba(138, 43, 226, 0.08);
}
@keyframes orbFloat {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.5);
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translate(var(--orb-dx), var(--orb-dy)) scale(1.2);
  }
}

/* ---- FLYING GEOMETRIC SHAPES ---- */
.flying-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.flying-shape {
  position: absolute;
  opacity: 0;
  animation: shapeTravel linear infinite;
}
/* Triangle */
.shape-triangle {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 18px solid rgba(0, 191, 98, 0.25);
  filter: drop-shadow(0 0 6px rgba(0, 191, 98, 0.3));
}
/* Circle */
.shape-circle {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.2);
}
/* Diamond */
.shape-diamond {
  width: 14px;
  height: 14px;
  background: rgba(0, 191, 98, 0.15);
  border: 1px solid rgba(0, 191, 98, 0.3);
  transform-origin: center;
  box-shadow: 0 0 10px rgba(0, 191, 98, 0.15);
}
/* Hexagon */
.shape-hexagon {
  width: 16px;
  height: 9px;
  background: rgba(0, 212, 255, 0.15);
  position: relative;
}
.shape-hexagon::before,
.shape-hexagon::after {
  content: '';
  position: absolute;
  width: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
}
.shape-hexagon::before {
  bottom: 100%;
  border-bottom: 4px solid rgba(0, 212, 255, 0.15);
}
.shape-hexagon::after {
  top: 100%;
  border-top: 4px solid rgba(0, 212, 255, 0.15);
}
/* Plus / Cross */
.shape-plus {
  width: 14px;
  height: 14px;
  position: relative;
}
.shape-plus::before,
.shape-plus::after {
  content: '';
  position: absolute;
  background: rgba(0, 191, 98, 0.3);
}
.shape-plus::before {
  width: 2px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}
.shape-plus::after {
  width: 100%;
  height: 2px;
  top: 50%;
  transform: translateY(-50%);
}

@keyframes shapeTravel {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(0deg) scale(0.3);
  }
  8% { opacity: 0.6; }
  50% {
    transform: translate(var(--shape-mx), var(--shape-my)) rotate(180deg) scale(1);
  }
  92% { opacity: 0.6; }
  100% {
    opacity: 0;
    transform: translate(var(--shape-dx), var(--shape-dy)) rotate(360deg) scale(0.3);
  }
}

/* ---- SHOOTING STARS / METEORS ---- */
.shooting-stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.shooting-star {
  position: absolute;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 191, 98, 0.8), rgba(0, 191, 98, 0.3), transparent);
  opacity: 0;
  animation: shootStar linear infinite;
  transform-origin: right center;
  border-radius: 1px;
}
.shooting-star::before {
  content: '';
  position: absolute;
  right: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  background: #00e676;
  border-radius: 50%;
  box-shadow: 0 0 10px #00e676, 0 0 20px rgba(0, 191, 98, 0.5);
}
@keyframes shootStar {
  0% {
    opacity: 0;
    transform: translateX(0) translateY(0) rotate(-35deg);
  }
  5% { opacity: 1; }
  15% { opacity: 0; }
  100% { opacity: 0; transform: translateX(-800px) translateY(500px) rotate(-35deg); }
}

/* ---- WIFI SIGNAL WAVES (ISP themed!) ---- */
.wifi-signals {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.wifi-signal {
  position: absolute;
  width: 40px;
  height: 40px;
  opacity: 0;
  animation: wifiPulse 4s ease-in-out infinite;
}
.wifi-signal .wifi-arc {
  position: absolute;
  border: 2px solid rgba(0, 191, 98, 0.3);
  border-radius: 50%;
  border-bottom-color: transparent;
  border-left-color: transparent;
  transform: rotate(-45deg);
}
.wifi-signal .wifi-arc:nth-child(1) {
  width: 12px;
  height: 12px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(-45deg);
  animation: wifiArc 2s ease-in-out infinite;
  animation-delay: 0.4s;
}
.wifi-signal .wifi-arc:nth-child(2) {
  width: 22px;
  height: 22px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(-45deg);
  animation: wifiArc 2s ease-in-out infinite;
  animation-delay: 0.2s;
}
.wifi-signal .wifi-arc:nth-child(3) {
  width: 32px;
  height: 32px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(-45deg);
  animation: wifiArc 2s ease-in-out infinite;
}
.wifi-signal .wifi-dot {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: rgba(0, 191, 98, 0.5);
  border-radius: 50%;
}
@keyframes wifiPulse {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  20% { opacity: 0.6; transform: scale(1); }
  80% { opacity: 0.6; transform: scale(1); }
}
@keyframes wifiArc {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

/* ---- DATA STREAM (binary-ish flowing lines) ---- */
.data-streams {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.data-stream {
  position: absolute;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0, 191, 98, 0.4), rgba(0, 191, 98, 0.1), transparent);
  opacity: 0;
  animation: dataFall linear infinite;
}
@keyframes dataFall {
  0% { opacity: 0; transform: translateY(-100%); }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(calc(100vh + 100%)); }
}

/* ---- MOUSE TRAIL PARTICLES ---- */
.mouse-trail-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99996;
  opacity: 0.8;
  transition: opacity 0.5s ease, transform 0.5s ease;
  background: radial-gradient(circle, #00e676, transparent);
  box-shadow: 0 0 6px rgba(0, 230, 118, 0.5);
}

/* ---- MORPHING BLOB (decorative section backgrounds) ---- */
.morphing-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  opacity: 0.04;
  animation: blobMorph 12s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.morphing-blob--green {
  background: radial-gradient(ellipse, #00bf62, transparent 70%);
}
.morphing-blob--cyan {
  background: radial-gradient(ellipse, #00d4ff, transparent 70%);
}
@keyframes blobMorph {
  0%   { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: rotate(0deg) scale(1); }
  25%  { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(90deg) scale(1.1); }
  50%  { border-radius: 30% 60% 40% 70% / 50% 60% 30% 60%; transform: rotate(180deg) scale(0.95); }
  75%  { border-radius: 70% 30% 50% 40% / 30% 70% 40% 60%; transform: rotate(270deg) scale(1.05); }
  100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: rotate(360deg) scale(1); }
}

/* ---- RADAR / PING EFFECT (for ISP coverage feel) ---- */
.radar-ping {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.radar-ping::before,
.radar-ping::after,
.radar-ping .ping-ring {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(0, 191, 98, 0.15);
  transform: translate(-50%, -50%) scale(0);
  animation: radarExpand 4s ease-out infinite;
}
.radar-ping::after {
  animation-delay: 1.3s;
}
.radar-ping .ping-ring {
  animation-delay: 2.6s;
}
.radar-ping .ping-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: #00bf62;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(0, 191, 98, 0.5);
  animation: pingGlow 2s ease-in-out infinite;
}
@keyframes radarExpand {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 0.8; border-color: rgba(0, 191, 98, 0.3); }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0; border-color: rgba(0, 191, 98, 0); }
}
@keyframes pingGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(0, 191, 98, 0.5); }
  50% { box-shadow: 0 0 25px rgba(0, 191, 98, 0.8), 0 0 50px rgba(0, 191, 98, 0.3); }
}

/* ---- GLOWING FIBER OPTIC LINES ---- */
.fiber-lines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.fiber-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, transparent 40%, rgba(0, 191, 98, 0.5) 50%, transparent 60%, transparent 100%);
  background-size: 200% 100%;
  animation: fiberPulse 3s ease-in-out infinite;
  opacity: 0.3;
}
@keyframes fiberPulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---- AURORA GRADIENT (behind hero section) ---- */
.aurora-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.aurora-bg .aurora-layer {
  position: absolute;
  width: 150%;
  height: 50%;
  filter: blur(80px);
  opacity: 0.06;
  animation: auroraShift 10s ease-in-out infinite alternate;
}
.aurora-bg .aurora-layer:nth-child(1) {
  background: linear-gradient(120deg, #00bf62, transparent 50%);
  top: -20%;
  left: -30%;
}
.aurora-bg .aurora-layer:nth-child(2) {
  background: linear-gradient(240deg, #00d4ff, transparent 50%);
  bottom: -10%;
  right: -20%;
  animation-delay: -5s;
  animation-direction: alternate-reverse;
}
.aurora-bg .aurora-layer:nth-child(3) {
  background: linear-gradient(60deg, rgba(138, 43, 226, 0.5), transparent 40%);
  top: 30%;
  left: 20%;
  animation-delay: -3s;
  width: 80%;
  height: 40%;
}
@keyframes auroraShift {
  0% { transform: translateX(-10%) translateY(-5%) rotate(-5deg); }
  100% { transform: translateX(10%) translateY(5%) rotate(5deg); }
}

/* ---- SECTION FLOATING DECORATORS ---- */
.section-decorator {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.decorator-ring {
  width: 80px;
  height: 80px;
  border: 2px solid rgba(0, 191, 98, 0.1);
  border-radius: 50%;
  animation: decoratorSpin 20s linear infinite;
}
.decorator-dots {
  width: 60px;
  height: 60px;
  background-image: radial-gradient(circle, rgba(0, 191, 98, 0.15) 1px, transparent 1px);
  background-size: 8px 8px;
  animation: floatUpDown 6s ease-in-out infinite;
}
@keyframes decoratorSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---- TYPING CURSOR BLINK ---- */
.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: #00bf62;
  margin-left: 2px;
  animation: cursorBlink 0.8s step-end infinite;
  vertical-align: text-bottom;
}
@keyframes cursorBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* ---- GLITCH OVERLAY ON HOVER (for images) ---- */
.glitch-hover {
  position: relative;
  overflow: hidden;
}
.glitch-hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent 33%, rgba(0, 191, 98, 0.03) 33%, rgba(0, 191, 98, 0.03) 66%, transparent 66%);
  background-size: 100% 3px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  mix-blend-mode: overlay;
  animation: glitchScan 4s linear infinite;
}
.glitch-hover:hover::after {
  opacity: 1;
}
@keyframes glitchScan {
  0% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ---- NEON TEXT GLOW ---- */
.neon-text {
  text-shadow: 0 0 7px rgba(0, 191, 98, 0.4), 
               0 0 10px rgba(0, 191, 98, 0.3), 
               0 0 21px rgba(0, 191, 98, 0.2), 
               0 0 42px rgba(0, 191, 98, 0.1);
}

/* ---- SCROLL-TRIGGERED COUNTER BAR ---- */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 191, 98, 0.03), rgba(0, 212, 255, 0.02));
  pointer-events: none;
}
.stat-item {
  text-align: center;
}
.stat-item .stat-number {
  font-size: 42px;
  font-weight: 800;
  color: #00bf62;
  font-family: 'Sora', sans-serif;
  line-height: 1;
}
.stat-item .stat-label {
  font-size: 13px;
  color: #666;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---- ENHANCED PRELOADER - NETWORK GRID ---- */
.preloader-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 191, 98, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 191, 98, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridPan 3s linear infinite;
  opacity: 0.5;
}
@keyframes gridPan {
  0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
  100% { transform: perspective(500px) rotateX(60deg) translateY(40px); }
}

/* ---- RESPONSIVE ADJUSTMENTS ---- */
@media (max-width: 768px) {
  .preloader-logo { width: 120px; }
  .preloader-ring { width: 160px; height: 160px; }
  .back-to-top { width: 40px; height: 40px; bottom: 20px; right: 20px; }
  .speed-lines { display: none; }
  .floating-orbs,
  .flying-shapes,
  .shooting-stars,
  .wifi-signals,
  .data-streams,
  .fiber-lines,
  .aurora-bg,
  .morphing-blob { display: none !important; }
  .mouse-trail-dot { display: none !important; }
  .stats-bar { gap: 30px; flex-wrap: wrap; }
  .stat-item .stat-number { font-size: 28px; }
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .preloader { display: none; }
  .preloader-curtain-left, .preloader-curtain-right { display: none; }
  .custom-cursor, .cursor-dot { display: none; }
  .floating-orbs, .flying-shapes, .shooting-stars,
  .wifi-signals, .data-streams, .fiber-lines { display: none; }
}
