@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  :root {
    --primary-blue: #0A2647;
    --secondary-blue: #144272;
    --accent-blue: #205295;
    --light-blue: #2C74B3;
    --professional-white: #F8FAFC;
    --text-dark: #1E293B;
    --text-muted: #64748B;
  }

  body {
    @apply bg-slate-50 text-slate-900 font-sans antialiased;
    scroll-behavior: smooth;
  }
}

@layer components {
  .btn-primary {
    @apply px-8 py-3 bg-primary-blue text-white rounded-lg font-semibold hover:bg-secondary-blue transition-all duration-300 transform hover:-translate-y-1 shadow-lg hover:shadow-xl active:scale-95;
  }

  .btn-outline {
    @apply px-8 py-3 border-2 border-primary-blue text-primary-blue rounded-lg font-semibold hover:bg-primary-blue hover:text-white transition-all duration-300;
  }

  .nav-link {
    @apply text-slate-700 hover:text-primary-blue font-medium transition-colors relative after:content-[''] after:absolute after:bottom-0 after:left-0 after:w-0 after:h-0.5 after:bg-primary-blue after:transition-all hover:after:w-full;
  }

  .section-title {
    @apply text-3xl md:text-4xl font-black text-primary-blue text-center mb-12 relative pb-4 after:content-[''] after:absolute after:bottom-0 after:left-1/2 after:-translate-x-1/2 after:w-20 after:h-1 after:bg-accent-blue;
  }

  .card-hover {
    @apply transition-all duration-300 hover:shadow-2xl hover:-translate-y-2 border border-slate-100 bg-white;
  }
}

/* Custom Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Glassmorphism utility */
.glass {
  @apply bg-white/80 backdrop-blur-md border border-white/20;
}