@import "tailwindcss";
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Poppins-Regular.woff2') format('woff2');
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

@theme {
  --font-sans: Poppins, ui-sans-serif, system-ui, sans-serif;
  
  --color-primary: #00B5D8;
  --color-secondary: #0E1B2A;
  --color-accent: #111827;
}

/* Custom animations and effects */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 181, 216, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 181, 216, 0.6);
  }
}

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

/* Utility classes */
.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
  animation: fadeInRight 0.6s ease-out;
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

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

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #00B5D8, #0891b2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #0891b2, #0e7490);
}

/* Focus styles */
.focus-ring {
  @apply focus:outline-none focus:ring-4 focus:ring-primary/20 focus:border-primary;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #00B5D8, #0891b2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glass morphism effect */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hover effects */
.hover-lift {
  @apply transition-all duration-300 transform hover:-translate-y-2 hover:shadow-2xl;
}

.hover-glow {
  @apply transition-all duration-300 hover:shadow-2xl hover:shadow-primary/25;
}

/* Button styles */
.btn-primary {
  @apply bg-gradient-to-r from-primary to-cyan-400 text-white font-bold py-4 px-8 rounded-2xl shadow-2xl hover:shadow-primary/25 transition-all duration-300 transform hover:-translate-y-1 hover:scale-105;
}

.btn-secondary {
  @apply bg-white text-primary font-bold py-4 px-8 rounded-2xl shadow-2xl hover:shadow-white/25 transition-all duration-300 transform hover:-translate-y-1 hover:scale-105;
}
