/* ========================================
   Home Testimonial Section Styles
   ======================================== */

.cs_home_testimonial_section {
  background: #fff;
  position: relative;
}

/* Header */
.cs_testimonial_header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cs_testimonial_label {
  color: #1e40af;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  display: inline-block;
}

.cs_testimonial_title {
  font-size: 42px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
  line-height: 1.3;
}

.cs_testimonial_subtitle {
  font-size: 18px;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

/* Slider Wrapper */
.cs_testimonial_slider_wrapper {
  position: relative;
  padding: 0 60px;
}

/* Testimonial Cards */
.cs_home_testimonial_card {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 20px;
  padding: 35px 30px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cs_home_testimonial_card:hover {
  background: #fff;
  border-color: #1e40af;
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(30, 64, 175, 0.12);
}

/* Rating Stars */
.cs_testimonial_rating {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
}

.cs_testimonial_rating i {
  color: #22c55e;
  font-size: 16px;
}

/* Testimonial Text */
.cs_testimonial_text {
  color: #475569;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 25px;
  flex: 1;
  font-style: italic;
}

/* Author Info */
.cs_testimonial_author {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.cs_testimonial_author_avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e40af;
  font-size: 20px;
  flex-shrink: 0;
}

.cs_testimonial_author_info {
  flex: 1;
}

.cs_testimonial_author_name {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
  line-height: 1.2;
}

.cs_testimonial_author_designation {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.3;
}

/* Slider Arrows */
.cs_slider_arrows.cs_style_2 {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.cs_slider_arrow {
  width: 50px;
  height: 50px;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e40af;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
}

.cs_slider_arrow:hover {
  background: #1e40af;
  border-color: #1e40af;
  color: #fff;
  transform: scale(1.1);
}

/* Pagination Dots */
.cs_pagination.cs_style_2 {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.cs_pagination.cs_style_2 .cs_pagination_item {
  width: 10px;
  height: 10px;
  background: #e2e8f0;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cs_pagination.cs_style_2 .cs_pagination_item.active,
.cs_pagination.cs_style_2 .cs_pagination_item:hover {
  background: #1e40af;
  transform: scale(1.2);
}

/* Responsive */
@media (max-width: 1199px) {
  .cs_testimonial_title {
    font-size: 36px;
  }
  
  .cs_testimonial_slider_wrapper {
    padding: 0 50px;
  }
}

@media (max-width: 991px) {
  .cs_testimonial_title {
    font-size: 32px;
  }
  
  .cs_testimonial_subtitle {
    font-size: 16px;
  }
  
  .cs_home_testimonial_card {
    padding: 30px 25px;
  }
  
  .cs_testimonial_slider_wrapper {
    padding: 0 50px;
  }
}

@media (max-width: 767px) {
  .cs_testimonial_title {
    font-size: 28px;
  }
  
  .cs_testimonial_text {
    font-size: 15px;
  }
  
  .cs_testimonial_slider_wrapper {
    padding: 0 40px;
  }
  
  .cs_slider_arrow {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .cs_testimonial_title {
    font-size: 24px;
  }
  
  .cs_home_testimonial_card {
    padding: 25px 20px;
  }
  
  .cs_testimonial_slider_wrapper {
    padding: 0;
  }
  
  .cs_slider_arrows.cs_style_2 {
    display: none;
  }
}

