/* Custom Styles for Massive WebTeam */

/* CSS Variables for Colors */
:root {
  --color-ivory: #F8FAFC;
  --color-royal: #3B82F6;
  --color-royal-light: #60A5FA;
  --color-royal-dark: #1D4ED8;
  --color-navy: #091437ff;
  --color-silver: #E2E8F0;
  --color-slate: #64748B;
  --color-ice: #EFF6FF;
  --color-charcoal: #334155;
  --color-white: #FFFFFF;
}

/* Body Styles */
body {
  background-color: var(--color-ivory);
  color: var(--color-charcoal);
  overflow-x: hidden;
}

/* Font Weight Classes */
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* Custom Border Radius - All squared */
.rounded-none { border-radius: 0; }
.rounded-sm { border-radius: 0; }
.rounded { border-radius: 0; }
.rounded-md { border-radius: 0; }
.rounded-lg { border-radius: 0; }
.rounded-xl { border-radius: 0; }
.rounded-2xl { border-radius: 0; }
.rounded-3xl { border-radius: 0; }
.rounded-full { border-radius: 0; }

/* Utility Classes */
.text-stroke {
  -webkit-text-stroke: 1px var(--color-navy);
  color: transparent;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-royal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animation for Hero Image Scroll */
@keyframes scroll-vertical {
  0% { transform: translateY(0%); }
  50% { transform: translateY(calc(-100% + 24rem)); } /* 24rem matches h-96 */
  100% { transform: translateY(0%); }
}

.animate-scroll-vertical {
  animation: scroll-vertical 20s ease-in-out infinite;
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.grid-pattern {
  background-image:
    linear-gradient(rgba(30, 64, 175, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 64, 175, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.dot-pattern {
  background-image: radial-gradient(rgba(30, 64, 175, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
}

.plus-pattern {
  background-image: 
    linear-gradient(rgba(30, 64, 175, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 64, 175, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.animate-float-slow {
  animation: float-slow 8s ease-in-out infinite;
}

@keyframes float-reverse {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(15px) rotate(-3deg); }
}

.animate-float-reverse {
  animation: float-reverse 10s ease-in-out infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-spin-slow {
  animation: spin-slow 20s linear infinite;
}

@keyframes spin-reverse-slow {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.animate-spin-reverse-slow {
  animation: spin-reverse-slow 25s linear infinite;
}

.blob-shape {
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: blob-morph 10s infinite ease-in-out alternate;
}

@keyframes blob-morph {
  0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: translate(0, 0) rotate(0deg); }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: translate(20px, -20px) rotate(10deg); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.15); }
}

.animate-pulse-glow {
  animation: pulse-glow 6s ease-in-out infinite;
}

.blob-light {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 1;
  pointer-events: none;
}

.blob-light-dark {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

.geo-accent {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

/* Process Card Animations */
@keyframes card-float-1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes card-float-2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(1deg); }
}

@keyframes card-float-3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes card-float-4 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(-1deg); }
}

.process-card-1 {
  animation: card-float-1 6s ease-in-out infinite;
}

.process-card-2 {
  animation: card-float-2 7s ease-in-out infinite;
  animation-delay: 0.5s;
}

.process-card-3 {
  animation: card-float-3 5s ease-in-out infinite;
  animation-delay: 1s;
}

.process-card-4 {
  animation: card-float-4 8s ease-in-out infinite;
  animation-delay: 1.5s;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-ivory); }
::-webkit-scrollbar-thumb { background: var(--color-navy); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-royal); }

/* Focus Styles */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

/* Hover lift effect */
.hover-lift {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -5px rgba(0,0,0,0.1);
}

/* Counter animation */
.counter {
  font-variant-numeric: tabular-nums;
}

/* Shimmer Animation */
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Line decoration */
.line-decoration::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 60px;
  height: 2px;
  background: var(--color-navy);
}