/* NextZen Tech — Light Theme Stylesheet */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #FFFFFF;
  color: #0F172A;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

/* Hero & CTA Royal/Navy Blue Gradient */
.hero-gradient {
  position: relative;
  background: radial-gradient(circle at 78% 35%, rgba(14, 165, 233, 0.25), transparent 52%),
              linear-gradient(135deg, #071A52 0%, #1D4ED8 58%, #2563EB 100%);
}

@keyframes heroGlowPulse {
  0%, 100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(1.08);
  }
}

.hero-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 30%, rgba(0, 207, 255, 0.16), transparent 45%),
              radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.18), transparent 45%);
  animation: heroGlowPulse 14s ease-in-out infinite;
  pointer-events: none;
}

.hero-gradient::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Soft Curved Bottom Wave for Hero */
.hero-wave {
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -48px;
  height: 110px;
  background: #FFFFFF;
  border-radius: 50% 50% 0 0 / 70% 70% 0 0;
}

/* Active Industry Filter Pill */
.sector-btn.active {
  background-color: #0284C7;
  color: #FFFFFF;
  border-color: #0284C7;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.25);
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* Navbar Dropdowns */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  padding: 8px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  box-shadow: 0 18px 40px rgba(7, 26, 82, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
  z-index: 60;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #0f172a;
}

.dropdown-item:hover {
  background: #f0f7ff;
  color: #0284c7;
}

/* Subtle Hero Floating Animation */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-float {
  animation: floatSlow 5s ease-in-out infinite;
}

/* Infinite Logo Marquee */
@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-mask {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 24s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

/* Testimonial Card Lift + Top Cyan Glow Line + Staggered Reveal */
.review-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.55s ease;
}

.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #0ea5e9, #00cfff, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(2, 132, 199, 0.14);
}

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

.review-card:hover .text-amber-400,
.review-card:hover span {
  transform: scale(1.03);
  transition: transform 0.25s ease;
}

/* Animated Conic Border / Beam Effect */
@keyframes spinBeam {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.conic-beam-spin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 35%, #00cfff 58%, #6366f1 76%, #10b981 90%, transparent 100%);
  animation: spinBeam 7s linear infinite;
}

.badge-float-a {
  animation: floatSlow 4s ease-in-out infinite;
}

.badge-float-b {
  animation: floatSlow 4s ease-in-out 2s infinite;
}

/* Navbar Link Smooth Underline Slide */
nav .xl\:flex > a {
  position: relative;
  padding-bottom: 4px;
}

nav .xl\:flex > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00cfff, #38bdf8);
  border-radius: 2px;
  transition: width 0.25s ease;
}

nav .xl\:flex > a:hover::after {
  width: 100%;
}

.review-card:nth-child(1) { transition-delay: 0s; }
.review-card:nth-child(2) { transition-delay: 0.12s; }
.review-card:nth-child(3) { transition-delay: 0.24s; }
