/**
 * Common CSS - Lokenath Marketing
 * Shared styles used across all pages
 * 
 * Contents:
 * - Global resets
 * - Animations (pulse, float, slide, fade)
 * - Utilities (gradient text, check lists, mobile menu)
 * - Component styles (buttons, cards)
 */

/* =====================
   GLOBAL RESETS
   ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* =====================
   UTILITIES
   ===================== */

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #5a0f98, #0a58ca, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Check List Styles */
.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.check-list li::before {
  content: "âœ“";
  position: absolute;
  left: 0;
  color: #5a0f98;
  font-weight: bold;
}

/* Glass Card Effect */
.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

/* =====================
   ANIMATIONS
   ===================== */

/* Pulse Glow Animation */
@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.8);
  }
}

.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Float Animation */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.float {
  animation: float 3s ease-in-out infinite;
}

/* Slide Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-left {
  animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-right {
  animation: slideInRight 0.8s ease-out forwards;
}

.animate-slide-up {
  animation: slideInUp 0.8s ease-out forwards;
}

/* Fade Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade {
  animation: fadeIn 1s ease-out forwards;
}

.animate-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   MOBILE MENU
   ===================== */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

/* =====================
   BUTTONS
   ===================== */

/* Ripple Button Effect */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.btn-ripple:hover::after {
  width: 300px;
  height: 300px;
}

/* =====================
   CARDS
   ===================== */

/* Service Card Hover Effect */
.service-card {
  transition: all 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(90, 15, 152, 0.3);
}

/* =====================
   MISC EFFECTS
   ===================== */

/* Gradient Border */
.gradient-border {
  position: relative;
  background: white;
}

.gradient-border::before {
  content: "";
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, #5a0f98, #0a58ca, #ffd700);
  border-radius: inherit;
  z-index: -1;
}

/* Counter Display */
.counter {
  display: inline-block;
}