@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,600;0,800;1,300;1,400;1,600;1,800&family=Rubik:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&display=swap');
@font-face {
  font-family: "SF Pro";
  src: url("/fonts/SF-Pro-Display-Regular.woff2") format("woff2"),
       url("/fonts/SF-Pro-Display-Regular.woff") format("woff"),
       url("/fonts/SF-Pro-Display-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
:root{
  --primary-color:#ff6b6b ;
  --secondary-color:#794afa;
  --secondary-dark-color:#453c5c;
  --white-color:#ffffff;
  --light-bg-color:#f2f3f5;
  --light-text-color:#7c899a;
  --border-color:#e5e8ec;
  --dark-color:#000000;
  --font-small:13px;
  --font-smaller:11px;
  --percent100:100%;
  --percent50:50%;
  --fw3:300;
  --fw5:500;
  --fw6:600;
  --fw7:700;
  --fw8:800;
  --trans-background-color:background-color .3s ,color .3s;
  --trans-background:background-color .3s;
  --trans-color:color .3s;
}

*{
  margin: 0;
  padding: 0;
}
*,::before,::after{
  box-sizing: border-box;
}
body{
  font-family: 'Rubik' , sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  /* color: var(--dark-color); */
  background-color: var(--white-color);
}
a{
  text-decoration: none;
  color: inherit;
  -webkit-top-highlight-color:transparent;
}
ul{
  list-style: none;
}

strong{
  font-weight: var(--fw8);
}
table{
  border-collapse: collapse;
  border-spacing: 0;
}
input::placeholder{
  font: inherit;
}
h1,h2,h3,h4{
  font-family: 'Poppins', sans-serif;
}
h1{
  font-size: calc(1.3rem + 1vw);
  font-weight: var(--fw8);
  line-height: 1;
}
h2{
  font-size: 2.5em;
}
h3{
  font-size: 1.2rem;
  font-weight: var(--fw7);
}
h4{
  font-size: 1rem;
  font-weight: var(--fw6);
}

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
/* body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
} */

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
.testimonial img {
  max-width: 100%;
  display: block;
}
.testimonial picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}





.flow > *:where(:not(:first-child)) {
  margin-top: var(--flow-spacer, 24px);
}



/* components */
.testimonial-grid {
  display: grid;
  gap: 12px;
  grid-auto-columns: 1fr;
  grid-template-areas:
   'one'
   'two'
   'three'
   'four'
   'five';
   align-items: stretch;
   height: 100%;
}

.testimonial {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-size: var(--fs-400);
}

.testimonial:nth-child(1) {
  grid-area: one;
  height: 100%;
  align-items: stretch;
}
.testimonial:nth-child(2) {
  grid-area: two;
  height: 100%;
  align-items: stretch;
}
.testimonial:nth-child(3) {
  grid-area: three;
  height: 100%;
  align-items: stretch;
}
.testimonial:nth-child(4) {
  grid-area: four;
  height: 100%;
  align-items: stretch;
}
.testimonial:nth-child(5) {
  grid-area: five;
  height: 100%;
  align-items: stretch;
}
.testimonial .flex{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; /* ensures card fills full height */
  padding: 12px;
  background-color: #ffffff;
  border-radius: 16px;
}
.testimonial .flex div{
  flex: 1; /* makes inner content expand to fill available space */
}
.testimonial .flex img{
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
  height: auto;
}













@media screen and (min-width: 33em) {
  .testimonial-grid {
      grid-template-areas:
      "one one"
      "two three"
      "five five"
      "four four";
  }
}

@media screen and (min-width: 38em) {
  .testimonial-grid {
    grid-template-areas:
     'one one'
     'two five'
     'three five'
     'four four';
  }
}

@media screen and (min-width: 54em) {
  .testimonial-grid {
      grid-template-areas:
      "one one two"
      "five five five"
      "three four four";
  }
}

@media screen and (min-width: 75em) {
  .testimonial-grid {
      grid-template-areas:
      "one one two five"
      "three four four five";
  }
}



.bg-primary-100 img{
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.bg-primary-200 img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}
.bg-primary-300 img{
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}
.bg-primary-400 img{
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.bg-primary-500 img{
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}



.bg-primary-100 .name , .bg-primary-400 .name {
  font-weight: bold;
  font-family: "Montserrat", sans-serif;
  font-size: 1.75em;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  color: #1a1c36;
  line-height: 1.4;
  margin: 12px 0;
}
.bg-primary-200 .name , .bg-primary-300 .name ,  .bg-primary-500 .name {
  font-weight: bold;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  color: #1a1c36;
  line-height: 1.4;
  margin: 12px 0;
}



.testimonial .position {
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  color: #5A5D7E;
  font-weight: bold;
}

.testimonial > p:first-of-type {
  font-size: var(--fs-500);
  line-height: 1.2;
}

.testimonial > p:last-of-type {
  opacity: 0.7;
}
@media (max-width: 481px) {
  .bg-primary-100 .name , .bg-primary-400 .name{
    font-size: 1em;
  }
  .bg-primary-100 img{
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
  .bg-primary-200 img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
  .bg-primary-300 img{
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
  .bg-primary-400 img{
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
  .bg-primary-500 img{
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
}

@media (max-width: 853px) {
  .bg-primary-100 img{
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
  .bg-primary-200 img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
  .bg-primary-300 img{
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
  .bg-primary-400 img{
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
  .bg-primary-500 img{
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
}