/* google fonts start */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap");
/* google fonts end */

:root {
  /* colors */
  --text-primary: #171a20;
  --text-secondary: rgba(0, 0, 0, 0.5);
  --base-transition: 0.4s all ease;

  /* font family */
  --font-primary: "Red Hat Display", sans-serif;
  --font-secondary: "Plus Jakarta Sans", sans-serif;

  /* all text sizes */
  --text--base: 16px;
  --text--lg: 20px;
  --text-2xl: 24px;
  --text-4xl: 32px;
  --text-6xl: 48px;
  --text-9xl: 90px;
}

.fr-testimonial {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding-top: 170px;
  padding-bottom: 48px;
}
.fr-testimonial-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.fr-testimonial-content p {
  font-size: var(--text-9xl);
  color: var(--text-primary);
  font-family: var(--font-secondary);
  font-weight: 400;
}
.fr-testimonial-content span {
  display: block; /* Needed to apply margin auto */
  font-size: 20px;
  color: #00000066;
  font-family: var(--font-primary);
  font-weight: 500;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.fr-testimonial-image {
  width: 100%;
  max-height: 800px;
  overflow: hidden;
  margin-left: auto; /* Center the container */
  margin-right: auto;
}

.fr-testimonial-image img {
  width: 100%;
  height: auto;
  max-height: 800px;
  object-fit: cover;
  display: block;
}

/* marquee section starts  */
.fr-testimonials {
  text-align: center;
  padding: 50px 20px;
}

.fr-testimonials h2 {
  font-size: 48px;
  font-family: var(--font-secondary);
  font-weight: 600;
  margin-bottom: 10px;
}

.fr-testimonials p {
  max-width: 840px;
  margin: 0 auto 40px;
  font-size: 20px;
  font-family: var(--font-secondary);
  font-weight: 400;
  color: #666;
}

/* Each row */
.fr-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  /* margin-bottom: 30px; */
}

.fr-marquee-content {
  display: flex;
  gap: 20px;
  animation: marquee 25s linear infinite;
  padding: 20px;
}

.fr-marquee-content.reverse {
  animation: marquee-reverse 25s linear infinite;
}

.fr-marquee-content:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-reverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Card Styling */
.fr-marquee-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 60px;
  padding-bottom: 60px;
}
.fr-card {
  flex: 0 0 500px;
  padding: 20px;
  text-align: left;
  border: 0.3px solid #e0e0e060;
  background: #fff;
  box-shadow: 1px 1px 14px 0 rgba(10, 48, 61, 0.06);
  border-radius: 5px;
}

.fr-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}
.fr-card p {
  font-size: 16px;
  font-family: var(--font-secondary);
  font-weight: 400;
  color: #666;
}

.fr-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fr-user-info img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.fr-user-info div {
  font-size: 14px;
}

.fr-rating i {
  color: #fbbf24; /* golden star */
  margin-right: 2px;
}
.fr-rating span {
  margin-left: 4px;
  font-weight: bold;
}

/* marquee section ends  */

.fr-hero {
  height: 800px;
  background: url("../../images/personalized_image.png") no-repeat center
    center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

/* Overlay (optional for darkening background) */
.fr-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* dark overlay */
  z-index: 1;
}

.fr-hero-content {
  position: relative;
  z-index: 2;

  padding: 20px;
}

.fr-hero-content h1 {
  font-size: 80px;
  font-weight: 600;
  font-family: var(--font-primary);
  margin-bottom: 30px;
  max-width: 1200px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.fr-subscribe-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 30px;
  padding: 5px 10px;
  max-width: 500px;
  margin: 0 auto;
}

.fr-subscribe-box input {
  border: none;
  outline: none;
  padding: 12px 15px;
  border-radius: 30px;
  flex: 1;
  font-size: 18px;
  font-family: var(--font-primary);
}

.fr-subscribe-box button {
  background: #a1865b; /* gold button */
  border: none;
  color: white;
  font-size: 18px;
  padding: 12px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
  font-family: var(--font-primary);
}

.fr-subscribe-box button:hover {
  background: #8a7047;
}

/* laptop devices */
@media only screen and (min-width: 1201px) and (max-width: 1580px) {
  /* Note: Zh testimonial header start */
  .fr-testimonial-content p {
    font-size: 70px;
  }
  .fr-testimonial-content span {
    font-size: 18px;
  }
}
/* large tablet devices */
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
  /* Note: Zh testimonial header start */
  .fr-testimonial-content p {
    font-size: 55px;
  }
  .fr-testimonial-content span {
    font-size: var(--text--base);
  }
  /* Note: Zh testimonial header end */

/* Note: Zh what e say start */
  .fr-testimonials {
    text-align: center;
    padding: 40px 16px;
  }

  .fr-marquee-container {
    padding: 0;
    gap: 0;
  }

  .fr-testimonials h2 {
    font-size: 36px;
  }

  .fr-testimonials p {
    margin: 0;
    padding-bottom: 25px;
    font-size: var(--text--base);
  }
  /* Note: Zh what people say end */
  /* Note: personalize section start */
  .fr-hero {
    height: 500px;
  }

  .fr-hero-content h1 {
    font-size: var(--text-6xl);
  }

  .fr-subscribe-box {
    border-radius: 10px;
  }
  .fr-subscribe-box button {
    font-size: var(--text--base);
    padding: 8px 20px;
    border-radius: 10px;
    cursor: pointer;
  }

  .fr-subscribe-box input {
    padding: 10px 8px;
  }
  /* Note: personalize section end */
}
/* medium tablet devices 991px */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  /* Note: Zh testimonial header start */
  .fr-testimonial {
    padding-top: 120px;
    padding-bottom: 0;
    gap: 25px;
  }
  .fr-testimonial-content p {
    font-size: var(--text-6xl);
  }
  .fr-testimonial-content span {
    font-size: var(--text--base);
  }
  /* Note: Zh testimonial header end */

  /* Note: Zh what people say start */
  .fr-testimonials {
    text-align: center;
    padding: 40px 16px;
  }

  .fr-marquee-container {
    padding: 0;
    gap: 0;
  }

  .fr-testimonials h2 {
    font-size: 28px;
  }

  .fr-testimonials p {
    margin: 0;
    padding-bottom: 25px;
    font-size: 14px;
  }
  /* Note: Zh what people say end */

  /* Note: personalize section start */
  .fr-hero {
    height: 400px;
  }

  .fr-hero-content {
    padding: 16px;
  }
  .fr-hero-content h1 {
    font-size: var(--text-4xl);
  }

  .fr-subscribe-box {
    border-radius: 10px;
  }
  .fr-subscribe-box button {
    font-size: var(--text--base);
    padding: 8px 20px;
    border-radius: 10px;
    cursor: pointer;
  }

  .fr-subscribe-box input {
    padding: 10px 8px;
  }
  /* Note: personalize section end */
}
/* small tablet devices */
@media only screen and (min-width: 576px) and (max-width: 767px) {
  /* Note: Zh testimonial header start */
  .fr-testimonial {
    padding-top: 96px;
    padding-bottom: 0;
    gap: 25px;
  }
  .fr-testimonial-content p {
    font-size: var(--text-4xl);
  }
  .fr-testimonial-content span {
    font-size: var(--text--base);
  }
  /* Note: Zh testimonial header end */

  /* Note: Zh what people say start */
  .fr-testimonials {
    text-align: center;
    padding: 40px 16px;
  }

  .fr-marquee-container {
    padding: 0;
    gap: 0;
  }

  .fr-testimonials h2 {
    font-size: 28px;
  }

  .fr-testimonials p {
    margin: 0;
    padding-bottom: 25px;
    font-size: 14px;
  }
  /* Note: Zh what people say end */

  /* Note: personalize section start */
  .fr-hero {
    height: 400px;
  }

  .fr-hero-content {
    padding: 16px;
  }
  .fr-hero-content h1 {
    font-size: var(--text-4xl);
    margin-bottom: 20px;
  }

  .fr-subscribe-box {
    border-radius: 10px;
  }
  .fr-subscribe-box button {
    font-size: var(--text--base);
    padding: 8px 20px;
    border-radius: 10px;
    cursor: pointer;
  }
  /* Note: personalize section end */
}
/* large mobile devices */
@media only screen and (min-width: 480px) and (max-width: 575px) {
  /* Note: Zh testimonial header start */
  .fr-testimonial {
    padding-top: 96px;
    padding-bottom: 0;
    gap: 25px;
  }
  .fr-testimonial-content p {
    font-size: var(--text-4xl);
  }
  .fr-testimonial-content span {
    font-size: var(--text--base);
  }
  /* Note: Zh testimonial header end */

  /* Note: Zh what people say start */
  .fr-testimonials {
    text-align: center;
    padding: 40px 16px;
  }

  .fr-marquee-container {
    padding: 0;
    gap: 0;
  }

  .fr-testimonials h2 {
    font-size: var(--text-2xl);
  }
  .fr-testimonials p {
    margin: 0;
    padding-bottom: 20px;
    font-size: 14px;
  }
  /* Note: Zh what people say end */

  /* Note: personalize section start */
  .fr-hero {
    height: 400px;
  }

  .fr-hero-content {
    padding: 16px;
  }
  .fr-hero-content h1 {
    font-size: var(--text-4xl);
    margin-bottom: 20px;
  }

  .fr-subscribe-box {
    border-radius: 14px;
  }
  .fr-subscribe-box button {
    font-size: var(--text--base);
    padding: 8px 20px;
    border-radius: 10px;
    cursor: pointer;
  }
  /* Note: personalize section end */
}
/* mobile devices */
@media only screen and (min-width: 375px) and (max-width: 479px) {
  /* Note: Zh testimonial header start */
  .fr-testimonial {
    padding-top: 96px;
    padding-bottom: 0;
    gap: 25px;
  }
  .fr-testimonial-content p {
    font-size: var(--text-4xl);
  }
  .fr-testimonial-content span {
    font-size: var(--text--base);
  }
  /* Note: Zh testimonial header end */

  /* Note: Zh what people say start */
  .fr-testimonials {
    text-align: center;
    padding: 40px 16px;
  }

  .fr-marquee-container {
    padding: 0;
    gap: 0;
  }

  .fr-card {
    padding: 16px;
  }

  .fr-testimonials h2 {
    font-size: var(--text-2xl);
  }
  .fr-testimonials p {
    margin: 0;
    font-size: 14px;
  }
  /* Note: Zh what people say end */

  /* Note: personalize section start */
  .fr-hero {
    height: 400px;
  }

  .fr-hero-content {
    padding: 16px;
  }
  .fr-hero-content h1 {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .fr-subscribe-box {
    flex-direction: column;
  }
  .fr-subscribe-box {
    border-radius: 14px;
  }
  .fr-subscribe-box button {
    font-size: var(--text--base);
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
  }
  /* Note: personalize section end */
}
/* extra small devices */
@media only screen and (min-width: 320px) and (max-width: 374px) {
  /* Note: Zh testimonial header start */
  .fr-testimonial {
    padding-top: 96px;
    padding-bottom: 0;
    gap: 25px;
  }
  .fr-testimonial-content p {
    font-size: var(--text-4xl);
  }
  .fr-testimonial-content span {
    font-size: var(--text--base);
  }
  /* Note: Zh testimonial header end */

  /* Note: Zh what people say start */
  .fr-testimonials {
    text-align: center;
    padding: 40px 16px;
  }

  .fr-marquee-container {
    padding: 0;
    gap: 0;
  }

  .fr-card {
    padding: 16px;
  }

  .fr-testimonials h2 {
    font-size: var(--text-2xl);
  }
  .fr-testimonials p {
    margin: 0;
    font-size: 14px;
  }
  /* Note: Zh what people say end */

  /* Note: personalize section start */
  .fr-hero {
    height: 400px;
  }

  .fr-hero-content {
    padding: 16px;
  }
  .fr-hero-content h1 {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .fr-subscribe-box {
    flex-direction: column;
  }
  .fr-subscribe-box {
    border-radius: 14px;
  }
  .fr-subscribe-box button {
    font-size: var(--text--base);
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
  }
  /* Note: personalize section end */
}
/* extra extra extra small devices */
@media only screen and (max-width: 319px) {
  /* Note: Zh testimonial header start */
  .fr-testimonial {
    padding-top: 96px;
    padding-bottom: 0;
    gap: 25px;
  }
  .fr-testimonial-content p {
    font-size: var(--text-4xl);
  }
  .fr-testimonial-content span {
    font-size: var(--text--base);
  }
  /* Note: Zh testimonial header end */

  /* Note: Zh what people say start */
  .fr-testimonials {
    text-align: center;
    padding: 40px 16px;
  }

  .fr-marquee-container {
    padding: 0;
    gap: 0;
  }

  .fr-card {
    padding: 16px;
  }

  .fr-testimonials h2 {
    font-size: var(--text-2xl);
  }
  .fr-testimonials p {
    margin: 0;
    font-size: 14px;
  }
  /* Note: Zh what people say end */
}
