/* ========================================
   RAJHANS TESTIMONIAL SECTION - EXACT MATCH
   Clean Minimal Design with Overlapping Avatar
   ======================================== */

/* Main Section */
.client-slider-section {
  padding: 80px 0 100px;
  background: linear-gradient(135deg, #e8f4fc 0%, #f0f4f8 50%, #e5eef5 100%);
  position: relative;
  overflow: hidden;
}

/* Decorative Background Elements */
.client-slider-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.client-slider-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(118, 75, 162, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

/* Container */
.client-slider-section .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 1;
}

/* ===============================
   HEADER SECTION
   =============================== */
.client-slider-section .theme-title {
  text-align: center;
  margin-bottom: 40px;
}

/* Title with underline */
.client-slider-section .theme-title h2 {
  font-size: 40px !important;
  font-weight: 900 !important;
  color: #1a1a2e !important;
  text-transform: uppercase !important;
  letter-spacing: 4px !important;
  margin-bottom: 15px !important;
  text-shadow: none !important;
  position: relative;
  display: inline-block;
}

.client-slider-section .theme-title h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #1a1a2e;
  border-radius: 2px;
}

/* Book Icon */
.client-slider-section .theme-title .icon {
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  display: block;
  margin: 30px auto 25px;
  box-shadow: none;
  transform: none;
}

.client-slider-section .theme-title .icon i {
  font-size: 40px;
  color: #3b5998;
}

/* Subtitle Paragraph */
.client-slider-section .theme-title p {
  font-size: 15px !important;
  color: #4a5568 !important;
  max-width: 950px;
  margin: 0 auto;
  line-height: 1.7 !important;
  font-weight: 400 !important;
  text-shadow: none !important;
}

/* ===============================
   AVATAR INDICATORS (Small Colored Circles)
   =============================== */
.client-slider-section .carousel-indicators {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  width: auto !important;
  margin: 0 auto 35px !important;
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 0;
}

.client-slider-section .carousel-indicators li {
  width: 55px !important;
  height: 55px !important;
  border-radius: 50% !important;
  margin: 0 !important;
  border: none !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08) !important;
  text-indent: 0 !important;
}

/* Different colors for each indicator - Vibrant Pastel Colors */
.client-slider-section .carousel-indicators li:nth-child(4n+1) {
  background: linear-gradient(135deg, #7dd3a8 0%, #5ec492 100%) !important;
  box-shadow: 0 4px 15px rgba(125, 211, 168, 0.4) !important;
}

.client-slider-section .carousel-indicators li:nth-child(4n+2) {
  background: linear-gradient(135deg, #e8d5a3 0%, #dcc78e 100%) !important;
  box-shadow: 0 4px 15px rgba(232, 213, 163, 0.4) !important;
}

.client-slider-section .carousel-indicators li:nth-child(4n+3) {
  background: linear-gradient(135deg, #a8d4e6 0%, #8ec5dd 100%) !important;
  box-shadow: 0 4px 15px rgba(168, 212, 230, 0.4) !important;
}

.client-slider-section .carousel-indicators li:nth-child(4n+4) {
  background: linear-gradient(135deg, #f5b8d0 0%, #f0a0c0 100%) !important;
  box-shadow: 0 4px 15px rgba(245, 184, 208, 0.4) !important;
}

.client-slider-section .carousel-indicators li:hover {
  transform: scale(1.12) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12) !important;
}

.client-slider-section .carousel-indicators li.active {
  transform: scale(1.18) !important;
  box-shadow: 0 6px 20px rgba(59, 89, 152, 0.3) !important;
  border: 3px solid #3b5998 !important;
}

.client-slider-section .carousel-indicators li img {
  opacity: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* ===============================
   TESTIMONIAL CARD
   =============================== */
.client-slider-section .slider-wrapper {
  padding: 0 20px !important;
  position: relative;
}

.client-slider-section .carousel-inner {
  overflow: visible;
}

.client-slider-section .item {
  padding: 0 0 0 80px;
}

.client-slider-section .text-wrapper {
  background: linear-gradient(145deg, #ffffff 0%, #fafbfd 100%) !important;
  border-radius: 20px !important;
  padding: 55px 70px 55px 130px !important;
  box-shadow: 0 8px 40px rgba(102, 126, 234, 0.1), 0 2px 10px rgba(0, 0, 0, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  transition: all 0.4s ease !important;
  display: block;
  width: 80%;
  max-width: none;
  margin: 0 auto;
  position: relative;
  text-align: center;
  backdrop-filter: blur(10px);
}

.client-slider-section .text-wrapper:hover {
  box-shadow: 0 15px 50px rgba(102, 126, 234, 0.15), 0 5px 20px rgba(0, 0, 0, 0.08) !important;
  transform: translateY(-5px);
}

/* ===============================
   AVATAR (Overlapping Left Side)
   =============================== */
.client-slider-section .img-box {
  width: 150px !important;
  height: 150px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -75px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  border: 5px solid #5a7dba !important;
  box-shadow: 0 10px 35px rgba(90, 125, 186, 0.25), 0 5px 15px rgba(0, 0, 0, 0.1) !important;
  background: linear-gradient(145deg, #c8d8ea 0%, #b0c4dc 100%) !important;
  margin: 0 !important;
}

.client-slider-section .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
}

/* Initials Overlay - Always Visible */
.client-slider-section .img-box .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 400;
  color: #5a7a9a;
  letter-spacing: 3px;
  font-family: 'Arial', sans-serif;
  background: transparent;
}

/* ===============================
   CONTENT SECTION
   =============================== */

/* Quote Text */
.client-slider-section .text-wrapper p {
  font-size: 17px !important;
  color: #5a6a7a !important;
  line-height: 1.9 !important;
  font-style: normal !important;
  text-align: center !important;
  margin: 0 0 35px 0 !important;
  font-weight: 400 !important;
  padding: 0 40px !important;
  position: relative;
}

.client-slider-section .text-wrapper p::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 50px;
  color: rgba(102, 126, 234, 0.2);
  position: absolute;
  top: -20px;
  left: 10px;
  line-height: 1;
}

.client-slider-section .text-wrapper p::after {
  content: '\201D';
  font-family: Georgia, serif;
  font-size: 50px;
  color: rgba(102, 126, 234, 0.2);
  position: absolute;
  bottom: 10px;
  right: 10px;
  line-height: 1;
}

/* Name */
.client-slider-section .name {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #2d3a4a !important;
  margin: 0 !important;
  text-align: center !important;
  text-shadow: none !important;
  letter-spacing: 0.5px !important;
  position: relative;
  display: inline-block;
}

.client-slider-section .name::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

/* ===============================
   CAROUSEL CONTROLS (Hide)
   =============================== */
.client-slider-section .carousel-control {
  display: none !important;
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */

/* Tablets */
@media (max-width: 991px) {
  .client-slider-section {
    padding: 50px 0 70px;
  }
  
  .client-slider-section .theme-title h2 {
    font-size: 34px !important;
    letter-spacing: 3px !important;
  }
  
  .client-slider-section .slider-wrapper {
    padding: 0 20px !important;
  }
  
  .client-slider-section .item {
    padding: 70px 0 0 0;
  }
  
  .client-slider-section .text-wrapper {
    padding: 80px 40px 45px !important;
    text-align: center;
  }
  
  .client-slider-section .img-box {
    left: 50% !important;
    top: -60px !important;
    transform: translateX(-50%) !important;
    width: 120px !important;
    height: 120px !important;
  }
  
  .client-slider-section .img-box .overlay {
    font-size: 42px;
  }
  
  .client-slider-section .carousel-indicators {
    margin-bottom: 30px !important;
    gap: 12px;
  }
  
  .client-slider-section .carousel-indicators li {
    width: 50px !important;
    height: 50px !important;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .client-slider-section {
    padding: 40px 0 60px;
  }
  
  .client-slider-section .theme-title h2 {
    font-size: 28px !important;
    letter-spacing: 2px !important;
  }
  
  .client-slider-section .theme-title h2::after {
    width: 60px;
    height: 3px;
    bottom: -10px;
  }
  
  .client-slider-section .theme-title .icon i {
    font-size: 32px;
  }
  
  .client-slider-section .theme-title p {
    font-size: 14px !important;
    padding: 0 15px;
  }
  
  .client-slider-section .item {
    padding: 60px 0 0 0;
  }
  
  .client-slider-section .text-wrapper {
    padding: 70px 30px 40px !important;
    border-radius: 12px !important;
  }
  
  .client-slider-section .img-box {
    width: 110px !important;
    height: 110px !important;
    top: -55px !important;
  }
  
  .client-slider-section .img-box .overlay {
    font-size: 38px;
  }
  
  .client-slider-section .text-wrapper p {
    font-size: 15px !important;
    padding: 0 10px !important;
    line-height: 1.8 !important;
  }
  
  .client-slider-section .name {
    font-size: 17px !important;
  }
  
  .client-slider-section .carousel-indicators li {
    width: 45px !important;
    height: 45px !important;
  }
}

/* Small Mobile */
@media (max-width: 479px) {
  .client-slider-section {
    padding: 35px 0 50px;
  }
  
  .client-slider-section .theme-title h2 {
    font-size: 24px !important;
    letter-spacing: 1.5px !important;
  }
  
  .client-slider-section .slider-wrapper {
    padding: 0 10px !important;
  }
  
  .client-slider-section .item {
    padding: 55px 0 0 0;
  }
  
  .client-slider-section .text-wrapper {
    padding: 65px 25px 35px !important;
  }
  
  .client-slider-section .img-box {
    width: 100px !important;
    height: 100px !important;
    top: -50px !important;
  }
  
  .client-slider-section .img-box .overlay {
    font-size: 34px;
  }
  
  .client-slider-section .text-wrapper p {
    font-size: 14px !important;
    padding: 0 5px !important;
  }
  
  .client-slider-section .text-wrapper p::before,
  .client-slider-section .text-wrapper p::after {
    font-size: 20px;
  }
  
  .client-slider-section .name {
    font-size: 16px !important;
  }
  
  .client-slider-section .carousel-indicators {
    gap: 10px;
  }
  
  .client-slider-section .carousel-indicators li {
    width: 40px !important;
    height: 40px !important;
  }
}
