:root {

    --primary-blue: #2563eb;
    --hover-blue: #1d4ed8;
    --accent-blue: #3b82f6;
    --deep-purple: #7c3aed;
    --dark-bg: #0f172a;
    --light-text: #f8fafc;
    --card-bg: #ffffff;
    --card-shadow: rgba(0, 0, 0, 0.1);
    --section-bg: #f8f9fa;
    --gradient-start: #2563eb;
    --gradient-end: #7c3aed;
  }
  
  .testimonials-section {
    background: linear-gradient(135deg, #f0f7ff 0%, #f9fbfd 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
  }
  
  .testimonials-section::before {
    content: "";
    position: absolute;
    top: 10%;
    left: -50px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--accent-blue), var(--deep-purple));
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
  }
  
  .testimonials-section::after {
    content: "";
    position: absolute;
    bottom: 10%;
    right: -50px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-blue), var(--deep-purple));
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
  }
  
  .text-gradient {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .testimonials-carousel {
    position: relative;
    z-index: 1;
  }
  
  .testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
  }
  
  @media (min-width: 992px) {
    .testimonial-slider {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      padding: 20px 0;
    }
    
    .testimonial-slider::-webkit-scrollbar {
      display: none;
    }
  }
  
  .testimonial-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    transition: all 0.3s ease;
    scroll-snap-align: start;
    min-width: 300px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
  }
  
  .testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.15);
  }
  
  .testimonial-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--deep-purple));
  }
  
  .testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 20px;
  }
  
  .client-avatar {
    position: relative;
    margin-right: 15px;
  }
  
  .client-avatar img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .client-location {
    position: absolute;
    bottom: -5px;
    right: -10px;
    background: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-blue);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
  }
  
  .client-location i {
    margin-right: 3px;
    font-size: 0.7rem;
  }
  
  .client-info h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark-bg);
  }
  
  .position {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 8px;
  }
  
  .rating {
    color: #f59e0b;
    font-size: 0.9rem;
  }
  
  .testimonial-body {
    position: relative;
  }
  
  .quote-icon {
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 3rem;
    color: rgba(59, 130, 246, 0.1);
    z-index: 0;
  }
  
  .testimonial-text {
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 20px;
  }
  
  .project-details {
    background: rgba(59, 130, 246, 0.05);
    border-radius: 8px;
    padding: 10px 15px;
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
  }
  
  .project-tag {
    font-weight: 600;
    color: var(--primary-blue);
    margin-right: 8px;
  }
  
  .project-name {
    color: #4b5563;
  }
  
  .testimonial-cta {
    background: linear-gradient(135deg, var(--primary-blue), var(--deep-purple));
    border-radius: 16px;
    padding: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: 4rem;
  }
  
  .testimonial-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><rect x="0" y="0" width="200" height="200" fill="none" stroke="white" stroke-width="0.5" stroke-dasharray="5,5" opacity="0.1"/></svg>');
    z-index: -1;
  }
  
  .testimonial-cta h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }
  
  .testimonial-cta p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
  }

  .stats-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 2rem;
    flex-wrap: wrap;
  }
  
  .stats-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 15px 25px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
  }
  
  .stats-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
  }
  
  .stats-label {
    font-size: 0.9rem;
    opacity: 0.9;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .testimonial-slider {
      grid-template-columns: 1fr;
    }
    
    .testimonial-cta {
      padding: 2rem 1.5rem;
    }
    
    .testimonial-cta h3 {
      font-size: 1.5rem;
    }
    
    .testimonial-cta p {
      font-size: 1rem;
    }
  }