@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --primary: #da51a0; /* Magenta - Primary */
  --secondary: #0653a2; /* Blue - Secondary */
  --bg-light: #f8fafc;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;
  background-color: var(--bg-light);
  color: #0f172a;
  overflow-x: hidden;
}

/* Custom selection color */
::selection {
  background-color: var(--primary);
  color: white;
}

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, #fff5f9 0%, #ffffff 100%);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .hero-section {
    height: auto;
    padding-bottom: 60px;
  }
}

/* Old Navbar */
/* .glass-nav {
  background: rgb(250 252 251);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(218, 81, 160, 0.1);
} */

/* New Navbar Design Starts Here */
.glass-nav {
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.4s ease-in-out;
}

.nav-scrolled {
  background: rgb(250 252 251);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(218, 81, 160, 0.1);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  box-shadow: 0 4px 20px -10px rgba(0, 0, 0, 0.1);
}

/* End Here */

.accent-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background-color: #c43d8b;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(218, 81, 160, 0.4);
}

.btn-secondary {
  background-color: var(--secondary);
  color: white;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background-color: #044383;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(6, 83, 162, 0.4);
}

/* Infinite Scroll Animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.scroll-container {
  display: flex;
  width: fit-content;
  animation: scroll 35s linear infinite;
}

.scroll-container:hover {
  animation-play-state: paused;
}

/* Testimonials */
.testimonial-card {
  width: 320px;
  flex-shrink: 0;
  margin: 0 1rem;
  background: white;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Clients */
.client-logo-card {
  width: 200px;
  flex-shrink: 0;
  margin: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.client-logo-card:hover {
  transform: scale(1.1);
}

/* How it Works - Hover Effects */
.step-item {
  position: relative;
  text-align: center;
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step-circle {
  width: 100px;
  height: 100px;
  background: white;
  border: 4px solid #fce7f3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 40px;
  color: var(--primary);
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.step-item:hover {
  transform: translateY(-12px);
}

.step-item:hover .step-circle {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 20px 30px -10px rgba(218, 81, 160, 0.3);
}

.step-item:hover .step-number-badge {
  background: var(--secondary);
  transform: scale(1.2);
}

.step-number-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  border: 3px solid white;
  transition: all 0.4s ease;
}

@media (min-width: 768px) {
  .steps-container::after {
    content: "";
    position: absolute;
    top: 50px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: repeating-linear-gradient(
      to right,
      transparent,
      transparent 10px,
      #fce7f3 10px,
      #fce7f3 20px
    );
    z-index: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Delays */
.delay-100 {
  transition-delay: 100ms;
}
.delay-200 {
  transition-delay: 200ms;
}
.delay-300 {
  transition-delay: 300ms;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.15);
}

@media (min-width: 1024px) {
  .hero-image-wrapper {
    height: 550px;
    max-height: 60vh;
    margin-left: 2rem;
  }
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  object-fit: cover;
}

.hero-slide.active {
  opacity: 1;
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 15px 30px -5px rgba(37, 211, 102, 0.3);
  z-index: 100;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
}

#mobile-menu {
  transition: transform 0.3s ease-in-out;
  transform: translateX(100%);
}
#mobile-menu.active {
  transform: translateX(0);
}

.service-card {
  background: white;
  border-radius: 32px;
  padding: 32px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid #f1f5f9;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px -12px rgba(218, 81, 160, 0.1);
}

.text-primary {
  color: var(--primary);
}
.text-secondary {
  color: var(--secondary);
}
.bg-primary {
  background-color: var(--primary);
}
.bg-secondary {
  background-color: var(--secondary);
}
.border-primary {
  border-color: var(--primary);
}
