/* Custom styles that complement Tailwind */

/* Smooth scrolling for all browsers */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background-color: #0d9488;
  color: white;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #0d9488;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0f766e;
}

/* Geometric pattern overlay for hero */
.hero-pattern {
  background-image: radial-gradient(circle at 25% 25%, rgba(45, 212, 191, 0.1) 0%, transparent 50%),
                    radial-gradient(circle at 75% 75%, rgba(13, 148, 136, 0.08) 0%, transparent 50%);
}

/* Gradient text utility */
.text-gradient {
  background: linear-gradient(135deg, #0d9488, #2dd4bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Card shine effect */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}
.service-card:hover::after {
  left: 100%;
}

/* Teal accent bar animation */
.accent-bar {
  background: linear-gradient(90deg, #0d9488, #2dd4bf, #0d9488);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Subtle float animation for decorative elements */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(45deg); }
  50% { transform: translateY(-20px) rotate(45deg); }
}

.float-anim {
  animation: float 6s ease-in-out infinite;
}

/* Pulse ring for CTA buttons */
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(13, 148, 136, 0); }
  100% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0); }
}

/* Print styles */
@media print {
  nav, #backToTop, .geo-circle, .geo-triangle, .geo-rect {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
}
