.header .branding {
  background-color: var(--darkbluebg);
}
.header.scrolled .branding {
  background: #0f4a49;
  transition: background-color 0.3s ease, padding 0.3s ease,
    box-shadow 0.3s ease;
}
.herosectionrow {background: var(--darkbluebg);position: absolute;top: 0;left: 0;width: 100%;height: auto;object-fit: cover;z-index: -1;padding-bottom: 1rem;}
.header .bannersection {background: var(--darkbluebg);width: 100%;min-height: auto;}
.abcontent {width: 100%; margin-top: 130px;text-align: center;}
.abcontent .mainheading{color: #fff;padding-bottom: 0px;}
.breadcrumb{justify-content: center;padding: 0rem 0rem 0px 0px;margin-bottom: 0rem;}

/* Strat of area */
.writtentestimonialpage{padding: 60px 0px 20px 0px;}
.writtentestimonialpage .mainheading{text-align: center;}
.writtentestimonialpage .mainheading span{color: var(--accent-color);}
.testimonials {padding-top: 60px;padding-bottom: 50px;}
.testimonials .testimonial-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.testimonials .testimonial-masonry::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, color-mix(in srgb, var(--accent-color), transparent 95%), transparent);
  opacity: 0.5;
  z-index: -1;
}

.testimonials .testimonial-item:nth-child(3n-1) {
  margin-top: 3rem;
}

.testimonials .testimonial-item:nth-child(3n) {
  /* margin-top: 1.5rem; */
  margin-top: 0rem;
}

.testimonials .testimonial-item.highlight .testimonial-content {
  background: #fdf4f4;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
}
.testimonial-item:nth-child(3n){margin-top: 0rem;}
.testimonial-item:nth-child(3n-1){background: #f3fafa;z-index: 1; border-radius: 20px;}
.testimonial-item.active {background: #f3fafa;border: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);z-index: 1; border-radius: 20px;}

.testimonials .testimonial-item.highlight .testimonial-content .quote-pattern {
  background-color: #fdfaf7;
}

.testimonials .testimonial-item.highlight .testimonial-content .quote-pattern i {
  color: var(--accent-color);
}

.testimonials .testimonial-content {
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
  border-left: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  border-bottom: 4px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

/* .testimonials .testimonial-content:hover {
  transform: translateY(-5px);
} */

.testimonials .testimonial-content p {
  font-size: 1rem;
  line-height: 1.7;
  margin: 1rem 0;
  position: relative;
  height: 140px;
  padding-right: 10px;
  overflow: auto;
}
.testimonials .testimonial-content p::-webkit-scrollbar {
    width: 5px;
    margin-left: 20px;
}

.testimonials .testimonial-content p::-webkit-scrollbar-track {
    background-color: #cccccc;
    border-radius: 100px;
}

.testimonials .testimonial-content p::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 100px;
}

.testimonials .quote-pattern {
  position: absolute;
  top: -1.25rem;
  right: 2rem;
  width: 2.5rem;
  height: 2.5rem;
  background-color:var(--white-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px; line-height: 0px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.testimonials .quote-pattern .comma {
  font-size: 50px;margin-top: 20px;
  color: var(--surface-color);
}

.testimonials .client-info {
  display: flex;
  align-items: center;
  gap: 1rem;position: relative;
  margin-top: 0rem;
  padding-top: 0.4rem;padding-bottom: 1.5rem;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}
.google{position: absolute;right: 1rem;top:36px; background: #fff;padding: 3px 6px;box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;border-radius: 50%;height: 44px;width: 44px;line-height: 36px;}
.person{font-size: 10px;}
.testimonials .client-image {
  width: 50px;font-family: var(--heading-font);
  height: 50px; font-size: 20px;font-weight: 600;
  border-radius: 50%;display: flex;align-items: center; justify-content: center;
  overflow: hidden; background-color: var(--white-color);
  flex-shrink: 0; border: #ddd 1px solid;
}

.testimonials .client-details .clientheading {
  font-size: 18px;font-weight: 600;
  margin-bottom: 0rem;font-family: var(--heading-font);
}
.testimonials .client-details .rating {
  font-size: 0.875rem;
  color: var(--accent-color);

}

@media (max-width: 1199.98px) {
  .testimonials .testimonial-masonry {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .testimonials .testimonial-item:nth-child(3n-1),
  .testimonials .testimonial-item:nth-child(3n) {
    margin-top: 0;
  }

  .testimonials .testimonial-item:nth-child(even) {
    margin-top: 2rem;
  }
}

/* Start of IPad Pro Screen */
@media screen and (max-width:1400px) and (min-width:1301px){
.herosectionrow {height:auto;}
.abcontent {margin-top: 160px;}
.testimonials{padding: 50px 0px 30px 0px;}
}

/* Start of Mini Desktop Screen */
@media screen and (max-width:1300px) and (min-width:1201px){
.herosectionrow {height:auto;}
.abcontent {margin-top: 160px;}
.mtops {margin-top: var(--spacing-md);}
.testimonials {padding-top: 50px;padding-bottom: 30px;}
}


/* Start of Mini Desktop Screen */
@media screen and (max-width:1200px) and (min-width:1101px){
.herosectionrow {height:auto;}
.abcontent {margin-top: 150px;text-align: center;}
.mtops {margin-top: var(--spacing-md);}
.testimonials {padding-top: 40px;padding-bottom: 30px;}
.testimonials .testimonial-masonry {grid-template-columns: repeat(2, 1fr);gap: 1.5rem;}
.testimonials .testimonial-item:nth-child(even) {margin-top: 0;}
.testimonials .testimonial-content {padding: 2rem;}
.testimonials .testimonial-content p {font-size: 0.9375rem;margin: 1.25rem 0;}
.testimonials .quote-pattern {width: 2.25rem;height: 2.25rem;top: -1.125rem;font-size: 40px;}
.testimonials .client-info {margin-top: 0rem;padding-top: 0rem;}
.testimonials .client-image {width: 45px;height: 45px;}
.testimonials .client-details .clientheading {font-size: 1rem;}
.testimonials .client-details .rating {font-size: 0.8125rem;}
}

/* Start of Ipad Screen */
@media screen and (max-width:1100.98px) and (min-width:992px){
.herosectionrow {height:auto;}
.abcontent {margin-top: 120px;}
.mtops {margin-top: var(--spacing-md);}
.testimonials {padding-top: 40px;padding-bottom: 30px;}
.testimonials .testimonial-masonry {grid-template-columns: repeat(2, 1fr);gap: 1.5rem;}
.testimonials .testimonial-item:nth-child(even) {margin-top: 0;}
.testimonials .testimonial-content {padding: 2rem;}
.testimonials .testimonial-content p {font-size: 0.9375rem;margin: 1.25rem 0;}
.testimonials .quote-pattern {width: 2.25rem;height: 2.25rem;top: -1.125rem;font-size: 40px;}
.testimonials .client-info {margin-top: 0rem;padding-top: 0rem;}
.testimonials .client-image {width: 45px;height: 45px;}
.testimonials .client-details .clientheading {font-size: 1rem;}
.testimonials .client-details .rating {font-size: 0.8125rem;}
}

/* Start of Ipad Screen */
@media screen and (max-width:991.99px) and (min-width:768px){
.herosectionrow {height:auto;}
.abcontent {margin-top: 120px;}
.mtops {margin-top: var(--spacing-md);}
.testimonials {padding-top: 40px;padding-bottom: 30px;}
.testimonials .testimonial-masonry {grid-template-columns: 1fr;gap: 1.5rem;}
.testimonials .testimonial-item:nth-child(even) {margin-top: 0;}
.testimonials .testimonial-content {padding: 2rem;}
.testimonials .testimonial-content p {font-size: 0.9375rem;margin: 1.25rem 0;}
.testimonials .quote-pattern {width: 2.25rem;height: 2.25rem;top: -1.125rem;font-size: 40px;}
.testimonials .client-info {margin-top: 0rem;padding-top: 0rem;}
.testimonials .client-image {width: 45px;height: 45px;}
.testimonials .client-details .clientheading {font-size: 1rem;}
.testimonials .client-details .rating {font-size: 0.8125rem;}
}

/* Start of Mini Ipad Screen */
@media screen and (max-width:767px) and (min-width:600px){
.mtops {margin-top: var(--spacing-md);}
.testimonials {padding-top: 30px;padding-bottom: 30px;}
.herosectionrow {height:auto;}
.abcontent {margin-top: 120px;}
.testimonials .testimonial-masonry {grid-template-columns: 1fr;gap: 1.5rem;}
.testimonials .testimonial-item:nth-child(even) {margin-top: 0;}
.testimonials .testimonial-content {padding: 1rem;}
.testimonials .testimonial-content p {font-size: 0.9375rem;margin: 1.25rem 0;}
.testimonials .quote-pattern {width: 2.25rem;height: 2.25rem;top: -1.125rem;font-size: 40px;}
.testimonials .client-info {margin-top: 0rem;padding-top: 0rem;}
.testimonials .client-image {width: 45px;height: 45px;}
.testimonials .client-details .clientheading {font-size: 1rem;}
.testimonials .client-details .rating {font-size: 0.8125rem;}
}

/* Start of Iphone/Mobile Screen */
@media screen and (max-width:599.98px) and (min-width:320px){
.mtops {margin-top: var(--spacing-md);}
.testimonials {padding-top: 30px;padding-bottom: 30px;}
.herosectionrow {height:auto;}
.abcontent {margin-top: 120px;text-align: center;}
.testimonials .testimonial-masonry {grid-template-columns: 1fr;gap: 1.5rem;}
.testimonials .testimonial-item:nth-child(even) {margin-top: 0;}
.testimonials .testimonial-content {padding: 1rem;}
.testimonials .testimonial-content p {font-size: 0.9375rem;margin: 1.25rem 0;}
.testimonials .quote-pattern {width: 2.25rem;height: 2.25rem;top: -1.125rem;font-size: 40px;}
.testimonials .client-info {margin-top: 0rem;padding-top: 0rem;}
.testimonials .client-image {width: 45px;height: 45px;}
.testimonials .client-details .clientheading {font-size: 1rem;}
.testimonials .client-details .rating {font-size: 0.8125rem;}
}