.testimonials-section {
  background-color: white;
  & .testimonials-container {
    margin: 0 auto;
    max-width: 100% ;
    padding-block: 64px;
    position: relative;
    @media (width >= 1024px) {
      padding-bottom: 90px;
      padding-top: 160px;
    }
    @media (width >= 1280px) {
      padding-inline: 0;
    }
    & .testimonials-label {
      text-align: center;
    }
    & .testimonials-title {
      letter-spacing: 0;
      line-height: 1.2;
      margin-bottom: 60px;
      margin-top: 0;
      text-align: center;
      text-transform: capitalize;
    }

    & .testimonials-slider {
      & .swiper-slide {
        background-color: white;
        min-height: 320px;
        height: auto;
      }
      & .testimonial-content {
        align-items: center;
        display: flex;
        flex-direction: column;
        gap: 24px;
        @media (width >= 768px) {
          flex-direction: row;
          gap: 64px;
        }

        & .testimonial-image-wrapper {
          align-items: center;
          border-radius: 24px;
          display: flex;
          flex: 6;
          justify-content: center;
          max-height: 320px;
          overflow: hidden;
          position: relative;

          width: 100%;
          @media (width >= 1024px) {
            height: 450px;
            max-height: 100%;
          }
          @media (width >= 1280px) {
            flex: 4;
            max-width: 432px;
          }
          & .testimonial-image {
            height: 320px;
            width: 100%;
            @media (width >= 768px) {
              height: 100%;
            }
          }
        }
        & .testimonial-text-wrapper {
          flex: 6;
          position: relative;
          width: 100%;
          @media (width >= 1280px) {
            flex: 8;
            max-width: 678px;
          }
          & .rating-container {
            height: 32px;
            margin-bottom: 20px;
            max-width: 192px;
            position: relative;
            width: 100%;
            @media(width >= 768px){
              margin-bottom: 28px;
            }
            & .rating-background {
              inset: 0px;
              position: absolute;
              z-index: 0;

              & .rating-stars {
                height: 32px;
                width: 192px;
                & .star-empty {
                  fill: rgb(248 243 236 / 1);
                }
              }
            }
            & .rating-filled {
              inset: 0px;
              overflow: hidden;
              position: absolute;
              z-index: 6;
              & .rating-stars-filled {
                fill: rgb(164 108 50 / 1);
                height: 32px;
                width: 192px;
              }
            }
          }
          & .testimonial-heading {
            color: rgb(164 108 50 / 1);
            line-height: 1.2;
            margin-bottom: 20px;
            margin-top: 0;
             text-transform:capitalize;
          }
          & .testimonial-quote {
            font-family: var(--font-body--family);
            font-size: 16px;
            line-height: 1.4;
            margin-top: 0;
            margin-bottom: 0;
            max-width: calc(100% - 50px);
            @media (width >= 1024px) {
              font-size: 20px;              
            }
            @media (width >= 1280px) {
              font-size: 24px;
            }
          }
          & .testimonial-author {
            align-items: center;
            display: flex;
            justify-content: flex-start;
            gap: 12px;
            margin-top: 16px;
            @media(width >= 768px){
              margin-top: 24px;
            }
            & .author-image-wrapper {
              border-radius: calc(infinity * 1px);
              height: 48px;
              overflow: hidden;
              width: 48px;
              & .author-image {
                height: 100%;
                width: 100%;
              }
            }
            & .author-name {
              font-family: var(--font-body--family);
              font-weight: 700;
              font-size: 16px;
              line-height: 1.6;
              margin-top: 0;
              @media (width >= 1024px) {
                font-size: 24px;
              }
            }
          }
        }
      }
      & .swiper-pagination {
        &.vertical-style {
          align-items: center;
          background-color: rgb(255 255 255 / 0.5);
          display: flex;
          bottom: inherit;
          gap: 16px;
          justify-content: center;
          left: inherit;
          padding-block: 8px;
          right: 0;
          top: 272px;
          width: 100%;
          @media (width >= 768px) {
            background-color: transparent;
            bottom: 0;
            flex-direction: column;
            padding-block: 0px;
            top: 0;
            width: fit-content;
          }
          & .swiper-pagination-bullet {
            align-items: center;
            background-color: rgb(164 108 50 / 0.5);
            border-radius: calc(infinity * 1px);
            display: flex;
            height: 10px;
            justify-content: center;
            opacity: 1;
            width: 10px;
            &.swiper-pagination-bullet-active {
              background-color: rgb(255, 255, 255);
              border: 1px solid rgb(164 108 50 / 1);
              height: 32px;
              width: 32px;
              &::after {
                background-color: rgb(164 108 50 / 1);
                border-radius: calc(infinity * 1px);
                content: "";
                height: 14px;
                position: absolute;
                transition-duration: 300ms;
                transition-property: transform, translate, scale, rotate;
                width: 14px;
              }
              &:hover {
                &::after {
                  scale: 125% 125%;
                }
              }
            }
          }
        }
      }
    }
  }
}

