.hr-testimonial-card{border-radius:10px;border:2px solid #e1e1e1cc;height:calc(100% - 25px);margin-bottom:25px;background:#fff}.hr-testimonial-card:hover{box-shadow:0 4px 8px rgb(0 0 0 / .1)}.hr-testimonial-card .hr-testimonial-card-body{padding:40px 24px}.hr-testimonial-card .hr-testimonial-card-body .hr-testimonial-image{margin:0 auto;margin-bottom:20px}.hr-testimonial-card .hr-testimonial-card-body .hr-testimonial-image img{width:102px;height:102px;border-radius:100%;-o-object-fit:cover;object-fit:cover}.hr-testimonial-card .hr-testimonial-card-body .hr-testimonial-review{margin-bottom:10px}.hr-testimonial-card .hr-testimonial-card-body .hr-testimonial-review .nav-link{padding:0;margin-right:10px;font-size:16px}.hr-testimonial-card .hr-testimonial-card-body .hr-testimonial-review .nav-link{color:#6b728080}.hr-testimonial-card .hr-testimonial-card-body .hr-testimonial-review .nav-item .active{color:#ffce0a}.hr-testimonial-card .hr-testimonial-card-body .hr-testimonial-name{font-size:26px;line-height:36px;color:#000}.hr-testimonial-card .hr-testimonial-card-body .hr-testimonial-name h4,.hr-testimonial-card .hr-testimonial-card-body .hr-testimonial-name .h4{font-size:26px;line-height:36px;color:#000}.hr-testimonial-card .hr-testimonial-card-body .hr-testimonial-pos{font-size:18px;line-height:28px;color:#6b7280cc}.hr-testimonial-card .hr-testimonial-card-body .hr-testimonial-pos span{font-size:18px;line-height:28px;color:#6b7280cc}.hr-testimonial-card .hr-testimonial-dec{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-size:18px;line-height:28px;font-weight:var(--weight-400);color:#6b7280}.hr-testimonial-card .hr-testimonial-dec p{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-size:18px;line-height:28px;font-weight:var(--weight-400);color:#6b7280}.client-speak{height:auto;position:relative;padding:0;border-radius:10px;min-height:420px;box-shadow:0 16px 24px 9px #fff0;border:1px solid #fff0;padding:30px;display:flex;flex-direction:column;row-gap:50px;margin-top:80px}.client-img img{display:block;border-radius:50%;width:100px;height:100px;box-shadow:0 10px 15px rgb(0 0 0 / .2);position:relative;overflow:hidden;margin-bottom:30px;margin-top:-80px}.client-speak-head h3{font-size:20px;font-weight:600;color:#000}.client-speak-head h4{color:#666;font-size:17px;margin:0}.client-speak:hover{box-shadow:0 16px 24px 9px rgb(27 29 35 / .08);border:1px solid #eee}.client-speak-bottom{position:relative}.client-speak-bottom p{margin:0;color:#000;font-size:18px;line-height:28px}.client-shape{margin:0;position:absolute;top:-30px;left:0}.client-speak-content .row{row-gap:20px}.testimonial-two__single{position:relative;display:block;background:linear-gradient(184deg,#00ace1 0%,#a62f75 100%);border:2px solid rgb(255 255 255 / .1);border-radius:40px;padding:0 30px 30px;padding-right:0;margin-left:30px;-webkit-transition:all 500ms ease;-moz-transition:all 500ms ease;-ms-transition:all 500ms ease;-o-transition:all 500ms ease;transition:all 500ms ease;z-index:1}.testimonial-two__single{margin-bottom:30px}.testimonial-two__single:before{content:"";position:absolute;top:-2px;left:-2px;right:-2px;bottom:-2px;border-radius:40px;border:2px solid #fff0;background:linear-gradient(90deg,#3D72FC,#5CB0E9) border-box;-webkit-mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;-webkit-transition:all 500ms ease;-moz-transition:all 500ms ease;-ms-transition:all 500ms ease;-o-transition:all 500ms ease;transition:all 500ms ease;visibility:hidden;opacity:0;z-index:-1}.testimonial-two__single-inner{position:relative;display:block;overflow:hidden;padding:30px 30px 0;padding-left:0;border-radius:40px;border-bottom-left-radius:0;border-bottom-right-radius:0;z-index:1}.testimonial-two__single-inner:before{content:"";position:absolute;top:-40px;right:0;height:92px;width:92px;border-radius:50%;background-color:rgb(217 217 217 / .05);z-index:-1}.testimonial-two__text{font-size:16px;line-height:24px;margin-top:24px;color:#fff}.testimonial-two__single-inner:after{content:"";position:absolute;top:-20px;right:-40px;height:92px;width:92px;border-radius:50%;background-color:rgb(217 217 217 / .05);z-index:-1}.testimonial-two__client-info{position:relative;display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin-top:15px}.testimonial-two__client-img{position:relative;display:block;overflow:hidden;border-radius:50%}.testimonial-two__client-img img{border-radius:50%;border:2px solid rgba(var(--white),.80)}.testimonial-two__client-content{position:relative;display:block;flex:1}.testimonial-two__client-name{font-size:20px;font-weight:500;line-height:30px;margin-bottom:5px}.testimonial-two__client-name a{color:var(--white);text-decoration:none}.testimonial-two__sub-title{font-size:14px;line-height:14px;margin:0;color:#fff}.testimonial-two__quote{position:absolute;bottom:20px;right:30px}.testimonial-two__quote span{position:relative;display:inline-block;font-size:45px;line-height:45px;font-weight:500;text-transform:capitalize;background:linear-gradient(270deg,#ffffef 0%,#a62f75 100%);-webkit-text-fill-color:#fff0;background-clip:text}
.review-sec {
    column-count: 3;      /* number of columns */
  column-gap: 20px;;
}

/* Review Card */
.review-card {
    display: inline-block;
  width: 100%;
  margin: 0 0 20px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* Header inside card */
.review-card .header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.review-card .header .details {
    flex: 1;
}

.review-card .name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: inherit;
}
.review-card .name a{
	color: #000;
}
.review-card .status {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Quote */
.review-card .quote {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Animations */
.review-card:nth-child(1) { animation-delay: 0.1s; }
.review-card:nth-child(2) { animation-delay: 0.2s; }
.review-card:nth-child(3) { animation-delay: 0.3s; }
.review-card:nth-child(4) { animation-delay: 0.4s; }
.review-card:nth-child(5) { animation-delay: 0.5s; }
.review-card:nth-child(6) { animation-delay: 0.6s; }
.review-card:nth-child(7) { animation-delay: 0.7s; }
.review-card:nth-child(8) { animation-delay: 0.8s; }
.review-card:nth-child(n+9) { animation-delay: 0.9s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 🔹 Color Variations */
.review-card:nth-child(1n) { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; }
.review-card:nth-child(2n) { background: linear-gradient(135deg, #ff758c, #ff7eb3); color: #fff; }
.review-card:nth-child(3n) { background: linear-gradient(135deg, #43cea2, #185a9d); color: #fff; }
.review-card:nth-child(4n) { background: linear-gradient(135deg, #f7971e, #ffd200); color: #fff; }
.review-card:nth-child(5n) { background: linear-gradient(135deg, #11998e, #38ef7d); color: #fff; }
.review-card:nth-child(6n) { background: linear-gradient(135deg, #fc5c7d, #6a82fb); color: #fff; }


.hr-our-testimonials {
    background-image: url("https://www.hrinfocare.com//public/assest/images/testi_bg_3.jpg");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: auto;
}

.shadow-title {
    background-color: #fff0;
    background-image: linear-gradient(180deg,#232C47 0%,#141D3817 91%);
    font-size: 74px;
    font-weight: 900;
    line-height: 1;
    /* background-image: linear-gradient(180deg,rgb(226 232 250 / .7) 0%,#fff0 88.54%); */
    -webkit-background-clip: text;
    -webkit-text-fill-color: #fff0;
    background-clip: text;
    text-fill-color: #fff0;
    margin: -.55em 0 -.45em -.25em;
    text-align: center;
}
.hr-our-testimonials-head .sub-title {
  position: relative;
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-3);
  margin-bottom: 30px;
  text-transform: uppercase;
  line-height: 24px;
  margin-top: -.34em;
  text-align: center;
}

.hr-our-testimonials-head .hr-title {
  color: #fff;
  text-align: center;
  max-width: 100%;
  font-weight: 600;
}
.hr-our-testimonials-head .hr-title span {
  color: var(--color-3);
}

.hr-our-testimonials-slider {
    position: relative;
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 40px 40px 40px;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    row-gap: 50px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.testi-grid_quote {
  height: 36px;
  width: 36px;
  line-height: 36px;
  background-color: var(--color-3);
  border-radius: 50%;
  text-align: center;
  z-index: 2;
  position: relative;
}
.hr-our-testimonials-slider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.testi-grid_review i {
  color: var(--color-3);
}
.testi-grid_review {
  display: flex;
  column-gap: 5px;
}
.quote {
  color: #737887;
  font-size: 17px;
  line-height: 1.4;
}
.name a {
  font-size: 24px;
  line-height: 1.417;
  font-weight: 700;
  margin-top: -.32em;
}
.status {
  color: #737887;
}
.testi-grid_quote:before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-3);
  z-index: -1;
  border-radius: 50%;
  -webkit-transition: all ease 0.4s;
  transition: all ease 0.4s;
}
.testi-grid_quote::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 35px;
    height: 35px;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    -webkit-box-shadow: 0 0 0 0 var(--color-3);
    -ms-box-shadow: 0 0 0 0 var(--color-3);
    -o-box-shadow: 0 0 0 0 var(--color-3);
    box-shadow: 0 0 0 0 var(--color-3);
    -webkit-animation: ripple 3s infinite;
    animation: ripple 3s infinite;
    animation-delay: 0s;
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
    position: absolute;
}

@keyframes ripple {
  70% {
    -webkit-box-shadow: 0 0 0 40px rgba(253, 167, 0, 0);
            box-shadow: 0 0 0 40px rgba(253, 167, 0, 0);
  }
  100% {
    -webkit-box-shadow: 0 0 0 0 rgba(253, 167, 0, 0);
            box-shadow: 0 0 0 0 rgba(253, 167, 0, 0);
  }
}
.hr-our-testimonials-slider-bottom {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

/* Responsive Tweaks */
@media (max-width: 992px) {
    .review-sec {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .review-sec {
        grid-template-columns: 1fr;
        column-count: 2;
    }
    .review-card {
        padding: 20px;
    }
}
