/* Global Styles */
:root {

  --primary: #2665a9;
  --primary-dark: #144e8d;
  --secondary: #ff7d4d;
  --accent: #4dff9e;
  --dark: #1a1c2e;
  --light: #f8faff;
  --gradient: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

body {
  font-family: "Titillium Web", sans-serif;
  color: var(--dark);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

h2:after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 12px;
  background: rgba(108, 77, 255, 0.2);
  z-index: -1;
  border-radius: 20px;
}



/* Process Section - Timeline */
.process {
  padding: 100px 0;
  background: linear-gradient(to bottom, white 0%, var(--light) 100%);
  position: relative;
}

.process:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="%23F8FAFF" d="M0,100 L100,100 L100,0 Q50,20 0,0"></path></svg>')
    no-repeat top center/100% auto;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
  margin-top: 80px;
}

.process-steps:before {
  content: "";
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 4px;
  background: var(--gradient);
  z-index: 0;
}

.step {
  width: calc(25% - 30px);
  text-align: center;
  position: relative;
  padding-top: 80px;
  
}

.step:before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(108, 77, 255, 0.2);
  border: 4px solid var(--light);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  color: var(--primary);
  transition: all 0.3s ease;
  /* padding: 0% 20px; */
    line-height: 8px;

}

.step:nth-child(1):before {
  content: "1";
}
.step:nth-child(2):before {
  content: "2";
}
.step:nth-child(3):before {
  content: "3";
}
.step:nth-child(4):before {
  content: "4";
}

.step:hover:before {
  background: var(--gradient);
  color: white;
  transform: translateX(-50%) scale(1.1);
}

.step h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.step p {
  color: #666;
  font-size: 1.05rem;
}


  .testimonial-slider-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
  
  }

  .slider-header {
    text-align: center;
    margin-bottom: 50px;
  }

  .gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
  }

  .subtitle {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 25px;
  }

  .feedback-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* box-shadow: 0 5px 20px rgba(108, 77, 255, 0.3); */
  }

  .feedback-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    /* box-shadow: 0 8px 30px rgba(108, 77, 255, 0.4); */
  }

  .testimonial-slider {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
  }

  .slider-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
  }

  .slide {
    min-width: 100%;
    padding: 15px;
    box-sizing: border-box;
  }

  .testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 40px;
    height: 100%;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
  }

  .customer-image {
    position: relative;
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    border-radius: 20px;
    overflow: hidden;
    /* box-shadow: 0 15px 40px rgba(0,0,0,0.1); */
  }

  .customer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
  }

 

  .testimonial-content {
    flex: 1;
  }

  .testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
   
  }

  .testimonial-author h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--dark);
  }

  .testimonial-author p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 10px;
  }

  .rating {
    color: #ffd700;
    font-size: 1.1rem;
  }

  .slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 70px;
    gap: 25px;
    z-index: 10;
  }

  .control-btn {
    background: white;
    color: var(--primary);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
 
  }

  .control-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
   
  }

  .slider-dots {
    display: flex;
    gap: 12px;
  }

  .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .dot.active {
    background: var(--primary);
    transform: scale(1.2);
  }

  /* Animation when slide changes */
  .slide.active .customer-image img {
    transform: scale(1.05);
  }

  .slide.active .testimonial-card {
    transform: perspective(1000px) rotateY(0deg);
    /* box-shadow: 0 25px 60px rgba(108, 77, 255, 0.15); */
  }

  @media (max-width: 768px) {
    .testimonial-slider-container {
      padding: 40px 15px;
    }

    .gradient-text {
      font-size: 2.2rem;
    }

    .testimonial-card {
      flex-direction: column;
      padding: 30px;
      gap: 25px;
    }

    .customer-image {
      width: 120px;
      height: 120px;
    }

    .quote-icon {
      width: 50px;
      height: 50px;
      font-size: 20px;
    }

    .testimonial-text {
      font-size: 1rem;
      padding-left: 15px;
    }

    .slider-controls {
      margin-top: 30px;
    }
  }




/* CTA Section - Glowing Gradient */
.cta {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta:before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: pulse 8s infinite alternate;
  z-index: 0;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta h2 {
  color: white;
  text-align: center;
}

.cta h2:after {
  background: rgba(255, 255, 255, 0.2);
}

.cta p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.cta .btn-primary {
  background: white;
  color: var(--primary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta .btn-primary:hover {
  background: var(--light);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .process-steps:before {
    display: none;
  }

  .step {
    width: calc(50% - 20px);
    padding-top: 70px;
  }

  .step:before {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  h2 {
    font-size: 2rem;
  }

  .feature-list,
  .testimonial-list {
    grid-template-columns: 1fr;
  }

  .step {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .cta {
    padding: 80px 0;
  }
}
