/* Custom Styles for Web Do Technologies */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --primary: #63229b;
  --primary-dark: #43116e;
  --primary-light: #833ab4;
  --primary-gradient: linear-gradient(135deg, #63229b 0%, #43116e 100%);
  --secondary: #1e1b4b;
  --accent: #9333ea;
  --surface: #ffffff;
  --background: #f8fafc;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1e293b;
  background-color: #fcfcfd;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.025em;
}

/* Gradient text */
.text-brand-gradient {
  background: linear-gradient(135deg, #63229b 0%, #a855f7 60%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-brand-gradient {
  background: linear-gradient(135deg, #43116e 0%, #63229b 50%, #1e1b4b 100%);
}

.bg-brand-soft {
  background: linear-gradient(180deg, #f5f0fb 0%, #ffffff 100%);
}

/* Card hover glow */
.service-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(99, 34, 155, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: rgba(147, 51, 234, 0.4);
}

/* Image zoom on card hover */
.img-zoom-container {
  overflow: hidden;
}
.img-zoom-container img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover .img-zoom-container img {
  transform: scale(1.08);
}

/* Sub-nav active indicator */
.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: #63229b;
  transition: width 0.25s ease-in-out;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.5);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(37, 211, 102, 0.7);
}

/* Pulse animation for WhatsApp badge */
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

.whatsapp-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 9999px;
  background-color: rgba(37, 211, 102, 0.5);
  animation: pulse-ring 2s infinite ease-out;
  z-index: -1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
