/* Custom Styling for S2K Group Website Clone */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-dark: #050b14;
  --bg-card: rgba(10, 22, 40, 0.7);
  --cyan-primary: #00d2ff;
  --cyan-secondary: #00a8ff;
  --cyan-glow: rgba(0, 210, 255, 0.4);
  --text-main: #f0f6fc;
  --text-muted: #8b949e;
  --border-glass: rgba(0, 210, 255, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

/* Background Gradients & Grid Glow */
.cyber-bg {
  background: 
    radial-gradient(circle at 70% 20%, rgba(0, 150, 255, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 30% 70%, rgba(0, 210, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(5, 11, 20, 0.95) 0%, #050b14 100%);
  background-attachment: fixed;
}

/* Custom Glowing Nav Pill */
.nav-pill-active {
  background: linear-gradient(90deg, rgba(0, 210, 255, 0.25), rgba(0, 168, 255, 0.15));
  border: 1px solid rgba(0, 210, 255, 0.5);
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.3);
  color: #00d2ff !important;
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(11, 24, 44, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 210, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: rgba(0, 210, 255, 0.5);
  box-shadow: 0 10px 40px 0 rgba(0, 210, 255, 0.25);
  transform: translateY(-4px);
}

/* Service Glass Cards */
.service-card {
  background: rgba(8, 20, 38, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 210, 255, 0.2);
  transition: all 0.3s ease;
}

.service-card:hover {
  background: rgba(0, 210, 255, 0.1);
  border-color: #00d2ff;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
  transform: translateY(-5px);
}

/* White Company Cards Container */
.companies-white-box {
  background: #ffffff;
  color: #0f172a;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.company-item-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.company-item-card:hover {
  box-shadow: 0 10px 25px rgba(0, 210, 255, 0.2);
  border-color: #00d2ff;
  transform: translateY(-3px);
}

/* Cyan Glowing Buttons */
.btn-cyan-glow {
  background: linear-gradient(135deg, #00d2ff 0%, #0072ff 100%);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
  transition: all 0.3s ease;
}

.btn-cyan-glow:hover {
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.8);
  transform: scale(1.03);
}

/* Outline Glowing Button */
.btn-cyan-outline {
  background: rgba(5, 11, 20, 0.6);
  border: 1.5px solid #00d2ff;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
  transition: all 0.3s ease;
}

.btn-cyan-outline:hover {
  background: rgba(0, 210, 255, 0.15);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
}

/* Text Highlights */
.text-cyan-glow {
  color: #00d2ff;
  text-shadow: 0 0 15px rgba(0, 210, 255, 0.6);
}

.text-gradient {
  background: linear-gradient(135deg, #00d2ff 0%, #3a8bfd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==================== WHATSAPP FLOATING BUTTON WITH VFX ==================== */
.whatsapp-vfx-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* VFX Pulse Waves */
.whatsapp-vfx-container::before,
.whatsapp-vfx-container::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  background: rgba(37, 211, 102, 0.5);
  z-index: -1;
  animation: whatsappPulse 2.4s infinite cubic-bezier(0, 0, 0.2, 1);
}

.whatsapp-vfx-container::after {
  animation-delay: 0.8s;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.whatsapp-float-vfx {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 50px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.7), 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.whatsapp-float-vfx:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 0 35px rgba(37, 211, 102, 0.9), 0 12px 30px rgba(0, 0, 0, 0.5);
}

/* Shiny VFX Sheen Effect */
.whatsapp-float-vfx::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 70%
  );
  transform: rotate(25deg);
  animation: sheenAnimation 4s infinite;
}

@keyframes sheenAnimation {
  0% { transform: translateX(-100%) rotate(25deg); }
  20%, 100% { transform: translateX(100%) rotate(25deg); }
}

/* Mobile Drawer Overlay Transitions */
#mobile-drawer {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-backdrop {
  transition: opacity 0.3s ease;
}

/* Keyframe Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; filter: blur(20px); }
  50% { opacity: 0.9; filter: blur(28px); }
}

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

.pulse-glow {
  animation: pulseGlow 4s infinite ease-in-out;
}

/* Small Screen Adjustments */
@media (max-width: 640px) {
  .whatsapp-float-vfx {
    padding: 12px;
    border-radius: 50%;
  }
  .whatsapp-vfx-container::before,
  .whatsapp-vfx-container::after {
    border-radius: 50%;
  }
}
