/* ================================================================
   SETUNXT — ADVANCED ANIMATIONS V2
   Typewriter · 3D Tilt · Magnetic · Sparkle · Morphing Blobs
   Clip-path reveals · Gradient text · Scroll parallax
   ================================================================ */

/* ═══════════════════════════════════════════════════════════════
   KEYFRAMES
═══════════════════════════════════════════════════════════════ */

/* Morphing blob */
@keyframes sn-blob-morph-a {
  0% {
    border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
    transform: rotate(0deg) scale(1);
  }

  25% {
    border-radius: 30% 70% 40% 60% / 60% 40% 70% 30%;
    transform: rotate(90deg) scale(1.07);
  }

  50% {
    border-radius: 50% 50% 30% 70% / 40% 70% 60% 30%;
    transform: rotate(180deg) scale(0.95);
  }

  75% {
    border-radius: 70% 30% 60% 40% / 30% 60% 50% 70%;
    transform: rotate(270deg) scale(1.04);
  }

  100% {
    border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
    transform: rotate(360deg) scale(1);
  }
}

@keyframes sn-blob-morph-b {
  0% {
    border-radius: 40% 60% 30% 70% / 60% 30% 70% 40%;
    transform: rotate(0deg) scale(1);
  }

  33% {
    border-radius: 70% 30% 60% 40% / 30% 70% 40% 60%;
    transform: rotate(-120deg) scale(1.06);
  }

  66% {
    border-radius: 30% 70% 50% 50% / 70% 40% 60% 30%;
    transform: rotate(-240deg) scale(0.94);
  }

  100% {
    border-radius: 40% 60% 30% 70% / 60% 30% 70% 40%;
    transform: rotate(-360deg) scale(1);
  }
}

/* Sparkle burst */
@keyframes sn-sparkle {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 1;
  }

  60% {
    transform: scale(1.2) rotate(180deg);
    opacity: 0.8;
  }

  100% {
    transform: scale(0) rotate(360deg);
    opacity: 0;
  }
}

/* Text clip reveal (left to right) */
@keyframes sn-text-reveal {
  from {
    clip-path: inset(0 100% 0 0);
    opacity: 1;
  }

  to {
    clip-path: inset(0 0% 0 0);
    opacity: 1;
  }
}

/* Word-by-word stagger */
@keyframes sn-word-rise {
  from {
    opacity: 0;
    transform: translateY(50%) rotateX(-60deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

/* Neon glow pulse */
@keyframes sn-neon-pulse {

  0%,
  100% {
    text-shadow:
      0 0 10px rgba(26, 111, 212, 0.5),
      0 0 30px rgba(26, 111, 212, 0.3),
      0 0 60px rgba(26, 111, 212, 0.15);
  }

  50% {
    text-shadow:
      0 0 20px rgba(26, 111, 212, 0.9),
      0 0 50px rgba(26, 111, 212, 0.6),
      0 0 90px rgba(26, 111, 212, 0.3);
  }
}

@keyframes sn-neon-pulse-orange {

  0%,
  100% {
    text-shadow:
      0 0 10px rgba(240, 124, 26, 0.5),
      0 0 30px rgba(240, 124, 26, 0.3),
      0 0 60px rgba(240, 124, 26, 0.1);
  }

  50% {
    text-shadow:
      0 0 20px rgba(240, 124, 26, 0.9),
      0 0 50px rgba(240, 124, 26, 0.6),
      0 0 80px rgba(240, 124, 26, 0.3);
  }
}

/* Rotating border gradient */
@keyframes sn-border-spin {
  to {
    --angle: 360deg;
  }
}

/* Ripple expand */
@keyframes sn-ripple-expand {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Floating label bounce */
@keyframes sn-label-bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

/* Slide-in from bottom with spring */
@keyframes sn-spring-up {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.94);
  }

  55% {
    transform: translateY(-8px) scale(1.02);
  }

  75% {
    transform: translateY(4px) scale(0.99);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Pulse ring expand */
@keyframes sn-ring-expand {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* Horizontal infinite marquee */
@keyframes sn-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Gradient text shift */
@keyframes sn-grad-text {
  0% {
    background-position: 0% center;
  }

  50% {
    background-position: 100% center;
  }

  100% {
    background-position: 0% center;
  }
}

/* Starburst */
@keyframes sn-starburst {
  0% {
    transform: rotate(0deg) scale(1);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

/* Counter roll-up */
@keyframes sn-roll {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ═══════════════════════════════════════════════════════════════
   MORPHING BACKGROUND BLOBS
═══════════════════════════════════════════════════════════════ */

.sn-blob-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.sn-blob {
  position: absolute;
  filter: blur(72px);
  will-change: transform, border-radius;
}

.sn-blob-a {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at 40% 40%, rgba(26, 111, 212, 0.25), rgba(26, 111, 212, 0.05) 70%);
  top: -15%;
  left: -10%;
  animation: sn-blob-morph-a 18s ease-in-out infinite;
}

.sn-blob-b {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle at 60% 60%, rgba(240, 124, 26, 0.2), rgba(240, 124, 26, 0.04) 70%);
  bottom: -10%;
  right: -8%;
  animation: sn-blob-morph-b 22s ease-in-out infinite;
}

.sn-blob-c {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15), transparent 70%);
  top: 40%;
  right: 20%;
  animation: sn-blob-morph-a 28s ease-in-out infinite 6s;
}

/* ═══════════════════════════════════════════════════════════════
   TYPEWRITER
═══════════════════════════════════════════════════════════════ */

.sn-typewriter {
  position: relative;
  display: inline;
}

.sn-typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: #f07c1a;
  margin-left: 2px;
  border-radius: 2px;
  vertical-align: text-bottom;
  animation: sn-cursor-blink 0.8s step-end infinite;
}

@keyframes sn-cursor-blink {
  50% {
    opacity: 0;
  }
}

/* ═══════════════════════════════════════════════════════════════
   GRADIENT SHIMMER TEXT
═══════════════════════════════════════════════════════════════ */

.sn-grad-text {
  background: linear-gradient(270deg, #1a6fd4, #2d88f0, #f07c1a, #ff9340, #1a6fd4);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  animation: sn-grad-text 6s linear infinite;
}

/* ═══════════════════════════════════════════════════════════════
   3D TILT CARD
═══════════════════════════════════════════════════════════════ */

.sn-tilt {
  transform-style: preserve-3d;
  transition: transform 0.15s ease !important;
  will-change: transform;
}

.sn-tilt .sn-tilt-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(ellipse at var(--mx, 50%) var(--my, 50%),
      rgba(255, 255, 255, 0.18) 0%,
      transparent 65%);
}

/* ═══════════════════════════════════════════════════════════════
   MAGNETIC BUTTON
═══════════════════════════════════════════════════════════════ */

.sn-magnetic {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  will-change: transform;
}

/* ═══════════════════════════════════════════════════════════════
   SPARKLE EFFECT
═══════════════════════════════════════════════════════════════ */

.sn-sparkle-wrap {
  position: relative;
  overflow: visible !important;
}

.sn-spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  pointer-events: none;
  animation: sn-sparkle 0.7s ease-out forwards;
  z-index: 20;
}

/* ═══════════════════════════════════════════════════════════════
   PULSE RING
═══════════════════════════════════════════════════════════════ */

.sn-pulse-ring {
  position: relative;
}

.sn-pulse-ring::before,
.sn-pulse-ring::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px solid currentColor;
  border-radius: inherit;
  opacity: 0;
  animation: sn-ring-expand 2s ease-out infinite;
}

.sn-pulse-ring::after {
  animation-delay: 0.8s;
}

/* ═══════════════════════════════════════════════════════════════
   MARQUEE / SCROLLING TEXT STRIP
═══════════════════════════════════════════════════════════════ */

.sn-marquee-track {
  overflow: hidden;
  white-space: nowrap;
}

.sn-marquee-inner {
  display: inline-flex;
  gap: 0;
  animation: sn-marquee 25s linear infinite;
}

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

/* ═══════════════════════════════════════════════════════════════
   ANIMATED GRADIENT BORDER
═══════════════════════════════════════════════════════════════ */

.sn-grad-border {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.sn-grad-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: conic-gradient(from var(--angle, 0deg),
      #1a6fd4, #2d88f0, #f07c1a, #ff9340, #1a6fd4);
  border-radius: inherit;
  z-index: -1;
  animation: sn-border-spin 4s linear infinite;
}

.sn-grad-border::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: white;
  border-radius: calc(16px - 2px);
  z-index: -1;
}

/* ═══════════════════════════════════════════════════════════════
   SPRING-UP REVEAL
═══════════════════════════════════════════════════════════════ */

.sn-spring {
  opacity: 0;
  animation: none;
}

.sn-spring.sn-spring-active {
  animation: sn-spring-up 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* ═══════════════════════════════════════════════════════════════
   NEON TEXT
═══════════════════════════════════════════════════════════════ */

.sn-neon-blue {
  color: #1a6fd4 !important;
  animation: sn-neon-pulse 3s ease-in-out infinite;
}

.sn-neon-orange {
  color: #f07c1a !important;
  animation: sn-neon-pulse-orange 3s ease-in-out infinite 0.5s;
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION ENHANCED
═══════════════════════════════════════════════════════════════ */

/* Tech grid overlay on hero */
.sn-tech-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(rgba(26, 111, 212, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 111, 212, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* Glowing scan line */
.sn-scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(26, 111, 212, 0.5), transparent);
  pointer-events: none;
  z-index: 2;
  animation: sn-scanline-move 8s linear infinite;
}

@keyframes sn-scanline-move {
  from {
    top: 0%;
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  95% {
    opacity: 1;
  }

  to {
    top: 100%;
    opacity: 0;
  }
}

/* ═══════════════════════════════════════════════════════════════
   FLOATING ICONS (decorative)
═══════════════════════════════════════════════════════════════ */

.sn-float-icon {
  position: absolute;
  pointer-events: none;
  opacity: 0.12;
  animation: sn-float-icon-drift 8s ease-in-out infinite;
}

@keyframes sn-float-icon-drift {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  33% {
    transform: translateY(-18px) rotate(8deg);
  }

  66% {
    transform: translateY(10px) rotate(-6deg);
  }
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE REDESIGN ELEMENTS
═══════════════════════════════════════════════════════════════ */

/* Full-page animated hero for contact */
.sn-contact-hero {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

/* Left info panel */
.sn-contact-panel-left {
  background: linear-gradient(160deg, #0b1d41 0%, #0e2554 55%, #100e38 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 56px;
  overflow: hidden;
}

/* Info card items */
.sn-contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  opacity: 0;
  animation: sn-spring-up 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.sn-contact-info-item:nth-child(1) {
  animation-delay: 0.4s;
}

.sn-contact-info-item:nth-child(2) {
  animation-delay: 0.55s;
}

.sn-contact-info-item:nth-child(3) {
  animation-delay: 0.70s;
}

.sn-contact-info-item:nth-child(4) {
  animation-delay: 0.85s;
}

.sn-contact-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sn-contact-info-item:hover .sn-contact-icon-box {
  transform: scale(1.12) rotate(-5deg);
}

.sn-contact-icon-box.blue-box {
  background: linear-gradient(135deg, rgba(26, 111, 212, 0.4), rgba(26, 111, 212, 0.15));
  border: 1px solid rgba(26, 111, 212, 0.4);
  color: #7cb9ff;
  box-shadow: 0 4px 16px rgba(26, 111, 212, 0.2);
}

.sn-contact-icon-box.orange-box {
  background: linear-gradient(135deg, rgba(240, 124, 26, 0.35), rgba(240, 124, 26, 0.12));
  border: 1px solid rgba(240, 124, 26, 0.35);
  color: #ffb366;
  box-shadow: 0 4px 16px rgba(240, 124, 26, 0.18);
}

/* Right form panel */
.sn-contact-panel-right {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 56px;
  position: relative;
  overflow: hidden;
}

/* Social proof strip */
.sn-trust-strip {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.sn-trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sn-trust-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #f07c1a;
  line-height: 1;
}

.sn-trust-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Premium form styling */
.sn-premium-form .sn-field {
  position: relative;
  margin-bottom: 22px;
}

.sn-premium-form input,
.sn-premium-form select,
.sn-premium-form textarea {
  width: 100%;
  padding: 16px 18px 16px 48px;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  font-size: 0.92rem;
  font-family: 'Sora', 'Inter', sans-serif;
  background: #fafbff;
  transition: all 0.28s ease;
  outline: none;
  color: #1e293b;
}

.sn-premium-form input:focus,
.sn-premium-form select:focus,
.sn-premium-form textarea:focus {
  border-color: #1a6fd4;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(26, 111, 212, 0.1), 0 4px 16px rgba(26, 111, 212, 0.08);
  transform: translateY(-2px);
}

.sn-premium-form .sn-field-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color 0.22s ease;
  pointer-events: none;
}

.sn-premium-form .sn-field:focus-within .sn-field-icon {
  color: #1a6fd4;
}

.sn-premium-form textarea~.sn-field-icon {
  top: 22px;
  transform: none;
}

.sn-premium-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 2-column grid for name fields */
.sn-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATED STAT COUNTER CARDS
═══════════════════════════════════════════════════════════════ */

.sn-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.28s ease;
}

.sn-stat-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════
   SERVICE CARD 3D DEPTH
═══════════════════════════════════════════════════════════════ */

.service-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.service-card .sn-card-depth {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   LOADING / PAGE TRANSITION
═══════════════════════════════════════════════════════════════ */

.sn-page-loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(150deg, #0b1d41, #100e38);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  animation: sn-loader-out 0.5s ease 1.5s both;
}

@keyframes sn-loader-out {
  to {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }
}

.sn-page-loader .sn-loader-logo {
  animation: sn-loader-pulse 1s ease-in-out infinite;
}

@keyframes sn-loader-pulse {

  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }

  50% {
    transform: scale(1.06);
    filter: brightness(1.2);
  }
}

.sn-loader-bar {
  width: 160px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  overflow: hidden;
}

.sn-loader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #1a6fd4, #f07c1a);
  border-radius: 100px;
  animation: sn-loader-fill 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes sn-loader-fill {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════
   SCROLLING TECH MARQUEE STRIP
═══════════════════════════════════════════════════════════════ */

.sn-brand-strip {
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.04);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.sn-brand-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 36px;
  /* color: rgba(255,255,255,0.45); */
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
}

.sn-brand-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(240, 124, 26, 0.5);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   REDUCE MOTION
═══════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {

  .sn-blob,
  .sn-scanline,
  .sn-typewriter-cursor,
  .sn-float-icon,
  .sn-grad-text,
  .sn-pulse-ring::before,
  .sn-pulse-ring::after,
  .sn-contact-info-item {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}