body {
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

/* WhatsApp Icon Animation */
@keyframes ringing {
  0% {
    transform: rotate(0deg) scale(1);
  }
  10% {
    transform: rotate(-10deg) scale(1.1);
  }
  20% {
    transform: rotate(10deg) scale(1.1);
  }
  30% {
    transform: rotate(-10deg) scale(1.1);
  }
  40% {
    transform: rotate(10deg) scale(1.1);
  }
  50% {
    transform: rotate(0deg) scale(1);
  }
  100% {
    transform: rotate(0deg) scale(1);
  }
}

.animate-ring {
  animation: ringing 2s infinite;
}

/* Stop animation on hover */
.whatsapp-icon:hover .animate-ring {
  animation: none;
  transform: scale(1.2);
  transition: transform 0.3s ease;
}

/* Hero Section Animations */
.hero-animate {
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Add these styles for navbar */
.navbar {
  background-color: transparent;
  transition: all 0.3s ease;
  z-index: 999 !important;
}

.navbar.scrolled {
  background-color: rgba(9, 0, 43, 1); /* blue-900 with opacity */
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Dropdown menu styles */
.nav-links .group:hover .absolute {
  display: block;
  visibility: visible !important;
  opacity: 1 !important;
  animation: fadeIn 0.3s ease;
  background-color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.nav-links .absolute {
  z-index: 50;
  border-radius: 0.5rem;
  min-width: 200px;
  background-color: white;
}

.nav-links .absolute a {
  color: #1e3a8a; /* blue-900 */
  padding: 0.75rem 1rem;
  display: block;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.nav-links .absolute a:hover {
  background-color: #eff6ff; /* blue-50 */
  color: #396ec5; /* blue-500 */
  border-radius: 0.5rem;
}

/* Add this to ensure proper spacing and borders */
.nav-links .absolute a:not(:last-child) {
  border-bottom: 1px; /* gray-200 */
}

/* Ensure proper positioning */
.nav-links .group {
  position: relative;
}

.nav-links .absolute {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
}

/* Stats Animation */
.stat-card {
  transition: all 0.3s ease;
  transform: translateY(20px);
  opacity: 0;
}

.stat-card.animate {
  transform: translateY(0);
  opacity: 1;
}

.stat-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Process Steps */
.process-step {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.process-step.animate {
  opacity: 1;
  transform: translateX(0);
}

.process-step:nth-child(1) {
  animation-delay: 0.1s;
}

.process-step:nth-child(2) {
  animation-delay: 0.3s;
}

.process-step:nth-child(3) {
  animation-delay: 0.5s;
}

/* Success Stories */
.success-card {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.5s ease;
}

.success-card.animate {
  opacity: 1;
  transform: scale(1);
}

.success-card:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Timeline Animation */
.timeline-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.timeline-item.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Floating Elements */
.floating {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Counter Animation */
.counter {
  font-weight: bold;
  color: #3b82f6;
}

/* Navigation */
.navbar {
  backdrop-filter: blur(10px);
  background: rgba(9, 0, 43, 1);
}

azySettle\our-work.css */
/* Replace the existing testimonial styles */

.testimonials-wrapper {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
  margin: 0 auto;
  max-width: 1200px;
}

/* Ensure the parent section contains the pseudo-elements */
section:has(.testimonials-wrapper) {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: infiniteScroll 30s linear infinite;
}

.testimonial-card {
  flex: 0 0 auto;
  width: 350px;
  padding: 1rem;
  transition: all 0.5s ease;
}

.card-content {
  height: 20rem;
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
  transform-origin: center center;
}
.card-content p {
  max-height: 10rem; /* Adjust height as needed */
  overflow-y: auto;
  word-break: break-word;
  white-space: normal;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.card-content p::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Hover Effects */
.testimonial-track:hover {
  animation-play-state: paused;
}

.testimonial-card:hover .card-content {
  transform: scale(1.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

/* Infinite Scroll Animation */
@keyframes infiniteScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(
      calc(-350px * var(--total-cards))
    ); /* Will be set by JS */
  }
}

/* Gradient masks */
.testimonials-wrapper::before,
.testimonials-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.testimonials-wrapper::before {
  left: 0;
  background: linear-gradient(to right, rgba(30, 58, 138, 1), transparent);
}

.testimonials-wrapper::after {
  right: 0;
  background: linear-gradient(to left, rgba(30, 58, 138, 1), transparent);
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-card {
    width: 300px;
  }

  .testimonials-wrapper::before,
  .testimonials-wrapper::after {
    width: 100px;
  }
}
