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

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #f97316;
  --secondary-dark: #ea580c;
  --bg-gradient: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --radius: 12px;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-gradient);
  color: #1e293b;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Montserrat', sans-serif;
  font-weight: 700;
}

.glassmorphism {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
}

.section-padding {
  padding-top: 80px;
  padding-bottom: 80px;
}

.btn-primary {
  @apply bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 px-8 rounded-full transition-all duration-300 transform hover:scale-105 shadow-lg;
}

.btn-secondary {
  @apply bg-orange-500 hover:bg-orange-600 text-white font-bold py-3 px-8 rounded-full transition-all duration-300 transform hover:scale-105 shadow-lg;
}

/* Custom animations */
.glow-border:hover {
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
  border-color: #2563eb;
}

.scale-up {
  transition: transform 0.3s ease;
}

.scale-up:hover {
  transform: scale(1.05);
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* Sticky Bottom Bar for Mobile */
.mobile-sticky-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 2000;
    padding: 10px;
    justify-content: space-around;
    align-items: center;
  }
}

/* Utility to hide scrollbar */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

/* Marquee Animation for Latest Updates */
.animate-marquee {
    display: flex;
    animation: marquee 25s linear infinite;
    width: max-content;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee:hover {
    animation-play-state: paused;
}
