@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Montserrat:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i");
:root {
  --color-custom: #ffeba7;
  --color-primary: #ff3671;
  --color-text-dark: #0d0925;
  --color-text-medium: #4e4a67;
  --color-text-light: #7b7992;
  --color-light: #fff;
  --color-bg-medium: #4e4a67;
  --color-bg: #26242e;
  --spacing-base: 4px;
  --gradient-bg: linear-gradient(45deg, #4527a0, #6a1b9a);
  --shadow-base: 0px 14px 80px rgba(34, 35, 58, 0.2);
  --shadow-colored: rgba(255, 54, 110, 0.2) 0px 0px 5px 0px,
                    rgba(255, 54, 110, 0.4) 0px 3px 20px 0px,
                    rgba(255, 54, 110, 0.3) 0px 10px 28px 0px;
}

/** {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: sans-serif;
  text-decoration: none;
}

body {
  background-size: 200% 200%;
  min-height: 100vh;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--color-bg);
}

h1 {
  margin-bottom: 40px;
  color: var(--color-light);
  font-size: 44px;
  text-align: center;
}
*/
.c-card-testimonial .c-card-testimonial__profile {
  width: 300px;
  flex-shrink: 0;
  height: 300px;
  border-radius: 20px;
  transform: translateX(-80px);
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .c-card-testimonial .c-card-testimonial__profile {
    /* transform: translateY(-50%); */
    transform: translateY(0%);
    width: 90%;
  }
}
@media screen and (max-width: 576px) {
  .c-card-testimonial .c-card-testimonial__profile {
    width: 95%;
  }
}
@media screen and (max-height: 500px) and (min-width: 992px) {
  .c-card-testimonial .c-card-testimonial__profile {
    height: 270px;
  }
}
.c-card-testimonial .c-card-testimonial__profile .c-card-testimonial__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  opacity: 0;
  transition: all 0.3s;
}
.c-card-testimonial .c-card-testimonial__description {
  padding-right: 60px;
}
@media screen and (max-width: 768px) {
  .c-card-testimonial .c-card-testimonial__description {
    /* margin-top: -80px; */
    text-align: center;
    padding: 0 30px;
    margin-top: 30px
  }
}
@media screen and (max-width: 576px) {
  .c-card-testimonial .c-card-testimonial__description {
    padding: 0;
  }
}
.c-card-testimonial .c-card-testimonial__description > * {
  opacity: 0;
  transform: translateY(25px);
  transition: all 400ms;
}
.c-card-testimonial .c-card-testimonial__description .c-card-testimonial__job {
  color: var(--color-text-light);
}
.c-card-testimonial .c-card-testimonial__description .c-card-testimonial__author {
  margin: var(--spacing-base) 0 calc(var(--spacing-base) * 5);
  color: var(--color-light);
  font-size: 24px;
  font-weight: 700;
}
.c-card-testimonial .c-card-testimonial__description .c-card-testimonial__excerpt {
  margin-bottom: 30px;
  color: var(--color-light);
  line-height: 1.5em;
}
.c-card-testimonial .c-card-testimonial__description .c-card-testimonial__link {
  display: inline-flex;
  justify-content: center;
  padding: calc(var(--spacing-base) * 4) calc(var(--spacing-base) * 8);
  color: var(--color-light);
  background-color: var(--color-primary);
  border-radius: 50px;
  letter-spacing: 1px;
  box-shadow: var(--shadow-colored);
  text-transform: uppercase;
}
@media screen and (max-width: 576px) {
  .c-card-testimonial .c-card-testimonial__description .c-card-testimonial__link {
    width: 100%;
  }
}

.c-testimonials {
  width: 95%;
  position: relative;
  max-width: 800px;
  margin: auto;
  box-shadow: var(--shadow-base);
  padding: calc(var(--spacing-base) * 8);
  border-radius: 25px;
  height: 400px;
  /* background-color: var(--color-light); */
  transition: all 300ms;
  box-shadow: 0px 0px 18px 0px rgb(119 96 165);
}
@media screen and (max-width: 992px) {
  .c-testimonials {
    max-width: 680px;
    height: 400px;
  }
}
@media screen and (max-width: 768px) {
  .c-testimonials {
    min-height: 500px;
    height: auto;
    margin: 180px auto;
  }
}
@media screen and (max-height: 500px) and (min-width: 992px) {
  .c-testimonials {
    /*height: 350px;*/
    height: 500px !important;
  }
}
.c-testimonials .c-testimonials__item {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .c-testimonials .c-testimonials__item {
    flex-direction: column;
  }
}
.c-testimonials .c-testimonials__item.swiper-slide-active .c-card-testimonial__profile .c-card-testimonial__image {
  opacity: 1;
  transition-delay: 300ms;
}
.c-testimonials .c-testimonials__item.swiper-slide-active .c-card-testimonial__description > * {
  opacity: 1;
  transform: none;
}
.c-testimonials .c-testimonials__item.swiper-slide-active .c-card-testimonial__description > *:nth-child(1) {
  transition-delay: 0.3s;
}
.c-testimonials .c-testimonials__item.swiper-slide-active .c-card-testimonial__description > *:nth-child(2) {
  transition-delay: 0.4s;
}
.c-testimonials .c-testimonials__item.swiper-slide-active .c-card-testimonial__description > *:nth-child(3) {
  transition-delay: 0.5s;
}
.c-testimonials .c-testimonials__item.swiper-slide-active .c-card-testimonial__description > *:nth-child(4) {
  transition-delay: 0.6s;
}
.c-testimonials .c-testimonials__item.swiper-slide-active .c-card-testimonial__description > *:nth-child(5) {
  transition-delay: 0.7s;
}
.c-testimonials .c-testimonials__item.swiper-slide-active .c-card-testimonial__description > *:nth-child(6) {
  transition-delay: 0.8s;
}
.c-testimonials .c-testimonials__item.swiper-slide-active .c-card-testimonial__description > *:nth-child(7) {
  transition-delay: 0.9s;
}
.c-testimonials .c-testimonials__item.swiper-slide-active .c-card-testimonial__description > *:nth-child(8) {
  transition-delay: 1s;
}
.c-testimonials .c-testimonials__item.swiper-slide-active .c-card-testimonial__description > *:nth-child(9) {
  transition-delay: 1.1s;
}
.c-testimonials .c-testimonials__item.swiper-slide-active .c-card-testimonial__description > *:nth-child(10) {
  transition-delay: 1.2s;
}
.c-testimonials .c-testimonials__item.swiper-slide-active .c-card-testimonial__description > *:nth-child(11) {
  transition-delay: 1.3s;
}
.c-testimonials .c-testimonials__item.swiper-slide-active .c-card-testimonial__description > *:nth-child(12) {
  transition-delay: 1.4s;
}
.c-testimonials .c-testimonials__item.swiper-slide-active .c-card-testimonial__description > *:nth-child(13) {
  transition-delay: 1.5s;
}
.c-testimonials .c-testimonials__item.swiper-slide-active .c-card-testimonial__description > *:nth-child(14) {
  transition-delay: 1.6s;
}
.c-testimonials .c-testimonials__item.swiper-slide-active .c-card-testimonial__description > *:nth-child(15) {
  transition-delay: 1.7s;
}
.c-testimonials .c-testimonials__pagination {
  position: absolute;
  top: 50%;
  right: calc(var(--spacing-base) * 5);
  bottom: auto !important;
  left: auto !important;
  width: 11px !important;
  text-align: center;
  z-index: 21;
  transform: translateY(-50%);
}
@media screen and (max-width: 768px) {
  .c-testimonials .c-testimonials__pagination {
    top: 312px;
    left: 50% !important;
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
  }
}
.c-testimonials .c-testimonials__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 8px 0;
}
@media screen and (max-width: 768px) {
  .c-testimonials .c-testimonials__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 5px;
  }
}
.c-testimonials .c-testimonials__arrows {
  width: 100%;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: calc(var(--spacing-base) * 3);
  display: flex;
  justify-content: center;
}
@media screen and (min-width: 768px) {
  .c-testimonials .c-testimonials__arrows {
    justify-content: flex-end;
  }
}
.c-testimonials .c-testimonials__arrows .c-testimonials__arrow-next, .c-testimonials .c-testimonials__arrows .c-testimonials__arrow-prev {
  position: relative;
  margin-left: calc(var(--spacing-base) * 2);
  cursor: pointer;
  outline: 0;
  border: 0;
  color: var(--color-light);
  background-color: transparent;
  font-size: 16px;
  transition: color 300ms ease;
}
.c-testimonials .c-testimonials__arrows .c-testimonials__arrow-next::before, .c-testimonials .c-testimonials__arrows .c-testimonials__arrow-prev::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  right: 50%;
  height: 1px;
  background-color: var(--color-light);
  transition: all 250ms ease;
}
.c-testimonials .c-testimonials__arrows .c-testimonials__arrow-next:hover::before, .c-testimonials .c-testimonials__arrows .c-testimonials__arrow-prev:hover::before {
  left: 0;
  right: 0;
}

.swiper-container-horizontal > .swiper-pagination-bullets,
.swiper-container-horizontal .swiper-pagination-custom,
.swiper-container-horizontal .swiper-pagination-fraction {
  bottom: calc(var(--spacing-base) * 3);
  left: 0;
  width: 100%;
}

.swiper-pagination-bullet {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 11px;
  background: var(--color-bg-medium);
  transition: all 0.3s;
}
.swiper-pagination-bullet-active {
  height: calc(11px * 3);
  background: var(--color-primary);
}
@media screen and (max-width: 768px) {
  .swiper-pagination-bullet-active {
    height: 11px;
    width: calc(11px * 3);
  }
}
@media (max-width: 768px) {
  .more-info {
    width: 100%;
    text-align: center;
  }
}
.swiper-pagination-bullet-active {
  opacity: 1;
  background: #c10c26 !important;
}
.swiper-pagination-bullet{
  width: 12px !important;
  height: 12px !important;
}
.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 100%;
  background: #ffffff !important;
  opacity: .2;
}

/* --- Mobile-only fixes for swiper card layout --- */
@media screen and (max-width: 768px) {
  /* Container should be full width with comfortable padding */
  .c-testimonials {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px !important;
    margin: 0px auto 40px !important;
    border-radius: 16px !important;
    min-height: auto !important;
    height: auto !important;
  }

  /* Ensure swiper adapts height to content */
  .c-testimonials .swiper-container,
  .c-testimonials .swiper-wrapper,
  .c-testimonials .swiper-slide {
    height: auto !important;
    width: 100% !important;
    padding: 10px 20px 0 20px;
    right: 10px;
  }

  /* Stack content vertically and constrain image */
  .c-card-testimonial {
    display: block !important;
  }

  .c-card-testimonial .c-card-testimonial__profile {
    width: 100% !important;
    height: 220px !important;
    transform: none !important;
    margin: 0 auto 16px !important;
  }

  .c-card-testimonial .c-card-testimonial__profile .c-card-testimonial__image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 16px !important;
  }

  .c-card-testimonial .c-card-testimonial__description {
    padding: 0 !important;
    margin-top: 0 !important;
    text-align: center !important;
  }

  /* Center bullets below card */
  .c-testimonials .c-testimonials__pagination {
    position: static !important;
    width: 100% !important;
    transform: none !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 16px !important;
  }

  /* Keep bullets horizontal on mobile */
  .c-testimonials .c-testimonials__pagination .swiper-pagination-bullet {
    display: inline-block !important;
    margin: 0 6px !important;
  }

  /* Place arrows below and centered */
  .c-testimonials .c-testimonials__arrows {
    position: static !important;
    width: 100% !important;
    padding: 10px 0 !important;
    margin-top: 8px !important;
    justify-content: center !important;
  }

  .c-testimonials .c-testimonials__arrows .c-testimonials__arrow-prev,
  .c-testimonials .c-testimonials__arrows .c-testimonials__arrow-next {
    font-size: 12px !important;
    padding: 6px 12px !important;
    min-width: 64px !important;
  }

  .c-card-testimonial__author p
  {
    margin-bottom: 0 !important;
  }
}