body {
  margin: 0;
  font-family: sans-serif;
  color: #333;
}

.testimonial-section {
  padding: 30px 20px;
  background-image: url("https://martialconnects.yilstaging.com/wp-content/uploads/2025/08/Frame-1000009759-6.png");
  background-repeat: no-repeat;
  background-position: bottom -20px right -40px;
  background-size: auto;
	
	@media screen and (min-width:600px) and (max-width: 900px) {
    background-position: bottom -20px right -128px;
  }
}

.container {
  max-width: 100%;
  display: flex;
  padding: 0px 80px;
  justify-content: center;
  align-items: center;
  gap: 80px;
  margin-left: 86px;
}

.left {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 33%;
}

.left h2 {
  font-size: 2em;
}

.left {
  color: #555;
}

.subtitle {
  font-family: Archivo;
  font-weight: 500;
  font-style: Medium;
  font-size: 24px;
  leading-trim: NONE;
  line-height: 30px;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #7d7d7d;
  margin: 0;
}

.right {
  flex: 1 1 300px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.quote-card {
  position: relative;
  background: #ff4f4f;
  color: white;
  padding: 40px 30px;
  border-radius: 16px;
  max-width: 710px;
  height: 100%;
  width: 699px;
  height: auto;
  opacity: 1;
  border-radius: 40px;
}

.quote-icon {
  font-size: 3em;
  line-height: 1;
  width: 69px;
  height: 59px;
  top: 37px;
  left: 519px;
  angle: 0 deg;
  opacity: 1;
  margin-bottom: 20px;

  @media screen and (max-width: 600px) {
    position: relative;
    top: 0px;
    left: 0;
  }
}

.quote-card .quote {
  margin-bottom: -85px;
  line-height: 1.5;
  position: relative;
  z-index: 11;
  font-family: Archivo;
  font-weight: 700;
  font-style: Bold;
  font-size: 18px;
  leading-trim: NONE;
  line-height: 30px;
  letter-spacing: 1%;
}

.author {
  display: flex;
  align-items: center;
}

.author img {
  @media screen and (max-width: 768px) {
    position: relative;
    left: 0;
    bottom: -75px;
  }
}

.author-info .name {
  font-family: Archivo;
  font-weight: 500;
  font-style: Medium;
  font-size: 50px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: -4%;
  color: #ffffff;
}

.author-info .location {
  font-family: Archivo;
  font-weight: 400;
  font-style: Regular;
  font-size: 20px;
  leading-trim: NONE;
  line-height: 32px;
  letter-spacing: -2%;
  color: #ffffff;
}

.arrow-btn {
  position: absolute;
  top: 50%;
  right: -25px;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.arrow-btn::after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-right: 4px solid #ff4f4f;
  border-bottom: 4px solid #ff4f4f;
  transform: rotate(-45deg);
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -8px 0 0 -6px;
}

@media (max-width: 700px) {
  .container {
    flex-direction: column;
  }

  .right {
    margin-top: 30px;
    justify-content: flex-start;
  }

  .arrow-btn {
    display: none;
  }
}

.Testimonials {
  font-family: Archivo;
  font-weight: 700;
  font-style: Bold;
  font-size: 24px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 1%;
  text-transform: capitalize;
  color: #ff5a5e;
  margin: 0;
}

.trusted {
  font-family: Castoro;
  font-weight: 400;
  font-style: Regular;
  font-size: 44px;
  leading-trim: NONE;
  line-height: 1.5;
  letter-spacing: 0%;
  color: #1c1c1c;
  margin: 0;
  width: 75%;
}

.arrow-div {
  width: 121px;
  height: 121px;
  position: relative;
  bottom: -50px;
  angle: 0 deg;
  opacity: 1;
  background: #ff5a5e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  /* margin: 15% 0; */
}

.arrow-div img {
  width: 47.160400390625px;
  angle: -0 deg;
  opacity: 1;
  border-width: 5.26px;
}

.Siddharth {
  width: 208px;
  height: 204px;
  padding: 40px;
  left: -72px;
  angle: 0 deg;
  border-top-right-radius: 40px !important;
  opacity: 1;
  position: relative;
  /* border-radius: 40px !important; */
  background: #ffffff;
}

.background {
  background: #fff;
  width: 48px;
  height: 43px;
  position: relative;
  left: -30px;
}

.rounded {
  margin: 0;
  height: 100%;
  border-bottom-left-radius: 40px;
  background: #ff4f4f;
  z-index: 10px;
}

.background-bottom {
  background: #fff;
  width: 48px;
  height: 43px;
  position: relative;
  left: -72px;
  bottom: -80px !important;
}

@media (min-width: 1440px) and (max-width: 1599px) {
  .background-bottom {
    bottom: -80px !important;
  }
}

.rounded-bottom {
  margin: 0;
  height: 100%;
  border-bottom-left-radius: 40px;
  background: #ff4f4f;
  z-index: 10px;
}

@media screen and (min-width: 600px) and (max-width: 900px) {
  .quote-card {
    width: 60%;
    height: 625px;
  }

  .container {
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    position: relative;
    z-index: 11;
    padding: 20px 0;
  }

  .arrow-div {
    width: 71px;
    height: 71px;
    margin: 0;
  }

  .subtitle {
    line-height: 1.5;
    font-size: 16px;
  }

  .trusted {
    font-size: 1.5em;
  }

  .right {
    padding-left: 0;
    padding-right: 0;
  }

  .quote-card .quote {
    font-size: 13px;
    line-height: 20px;
  }

  .quote-icon {
    width: 47px;
    height: 30px;
  }

  .Siddharth {
    width: 101px;
    height: 103px;
    padding: 22px;
    left: -37px;
    bottom: -74px;
    position: relative;
    z-index: 12;
    border-radius: 40 !important;
    border-top-right-radius: 40px;
  }

  .background {
    left: -30px;
    bottom: -89px;
  }

  .author-info .name {
    font-size: 20px;
  }

  .author-info {
    display: flex;
    flex-direction: column;
    justify-content: end;
  }

  .author {
    align-items: end;
  }

  .background-bottom {
    left: -38px;
    bottom: -40px;
  }

  .left {
    width: 35%;
  }
}

@media screen and (min-width: 901px) and (max-width: 1200px) {
  .quote-card {
    width: auto;
    height: auto;
  }

  .container {
    padding: 20px 0;
    gap: 0;
  }

  .Siddharth {
    bottom: -78px;
  }

  .background-bottom {
    bottom: -94px;
  }

  .background {
    bottom: -78px;
  }

  .right {
    padding: 0;
    padding-left: 20px;
  }

  .arrow-div {
    margin: 0 0;
  }
}

@media screen and (min-width: 1801px) {
  .right {
    flex: 0 1 300px;
  }
}

.testimonial-content {
  transition: transform 0.5s ease, opacity 0.5s ease;
  will-change: transform, opacity;
}

.slide-left-out {
  transform: translateX(-100%);
  opacity: 0;
}

.slide-right-in {
  transform: translateX(100%);
  opacity: 0;
}

.testimonial-content.slide-reset {
  transform: translateX(0%);
  opacity: 1;
}

@media screen and (max-width: 700px) {
  .right {
    margin-top: 20px;
    justify-content: center;
    align-items: center;
    padding: 0;
  }

  .quote-card {
    width: 95%;
    height: auto;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author {
    flex-direction: column;
    align-items: center;
    margin-top: 109px !important;
  }
  .testimonial-section {
    padding: 0 !important;
  }
  .author img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
    position: static;
  }

  .arrow-btn {
    display: none !important;
  }

  .testimonial-content {
    width: 100%;
    overflow: hidden;
    position: relative;
  }

  .quote-card {
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
  }
}
@media screen and (min-width: 1025px) {
  .page-center {
    gap: 106px;
  }
}

/* Default: show desktop arrow, hide mobile arrow */
.arrow-div.desktop {
  display: flex;
}
.arrow-div.mobile {
  display: none;
}
.arrow-div.mobile {
  position: relative;
  bottom: 0px;
  border: 2px solid;
}

/* On mobile */
@media (max-width: 767px) {
  .arrow-div.desktop {
    display: none; /* hide desktop arrow */
  }
  .arrow-div.mobile {
    display: flex; /* show mobile arrow */
    margin-top: 20px; /* optional spacing */
    text-align: center !important;
  }
}

/* moments section */
.gallery-section {
  background: #fff5f6;
  position: relative;
}

.images-section {
  display: flex;
  gap: 1rem;
}

.image-marquee {
  height: 800px;
  overflow: hidden;
  flex: 1 1 0;
  position: relative;
}

.inner {
  display: flex;
  flex-direction: column;
  animation: scrollUp 15s linear infinite;
}

.reverse-scroll .inner {
  animation: scrollDown 15s linear infinite;
}

.group {
  display: flex;
  flex-direction: column;
}

.group img {
  height: auto;
}

.image-marquee img {
  width: 100%;
  display: block;
  border-radius: 8px;
  margin-bottom: 16px;
}

.fade-overlay {
  position: absolute;
  left: 0;
  right: 0;
  height: 100px;
  pointer-events: none;
  z-index: 2;
}

.fade-overlay.top {
  top: 0;
  background: linear-gradient(to bottom, #ffe2e3, #fff3e200);
}

.fade-overlay.bottom {
  bottom: 0;
  background: linear-gradient(to top, #ffe2e3, #fff3e200);
}

@keyframes scrollUp {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

@keyframes scrollDown {
  0% {
    transform: translateY(-50%);
  }

  100% {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .inner {
    animation: none;
  }
}

.gallery {
  font-family: Archivo;
  font-weight: 700;
  font-style: Bold;
  font-size: 24px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 1%;
  color: #ff5a5e;
  margin: 0;
}

.gallery-text {
  font-family: Castoro;
  font-weight: 400;
  font-style: Regular;
  font-size: 44px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  color: #1c1c1c;
  margin: 0;

  @media screen and (min-width: 600px) and (max-width: 900px) {
    font-size: 2em;
  }
}

.lead {
  font-family: Archivo;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 24px;
  leading-trim: NONE;
  line-height: 32px;
  letter-spacing: 0%;
  color: #7d7d7d;
  margin: 0;

  @media screen and (min-width: 600px) and (max-width: 900px) {
    font-size: 16px;
    line-height: 1.5;
  }
}

.left-section-moments {
  width: 32%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.page-center {
  display: flex;
  justify-content: center;
}

.right-section-moments {
  width: 50%;

  @media screen and (min-width: 600px) and (max-width: 900px) {
    width: 55%;
  }

  @media screen and (min-width: 1800px) {
    width: 30%;
  }
}

.cornerImg {
  position: absolute;
  top: -60px;
  width: 277.64px;
  left: -45px;
  height: 346.2px !important;
}

@media screen and (max-width: 600px) {
  .container {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }

  .page-center {
    flex-direction: column;
  }

  .left,
  .right {
    width: 100%;
  }

  .left {
    align-items: center;
    text-align: center;
  }

  .trusted {
    font-size: 24px;
    width: 100%;
  }

  .subtitle {
    font-size: 14px;
    line-height: 1.4;
    padding: 0 10px;
  }

  .arrow-div {
    width: 60px;
    height: 60px;
    margin: 15px auto;
  }

  .arrow-div img {
    width: 25px;
  }

  .quote-card {
    width: 100%;
    padding: 20px 15px;
    height: auto;
  }

  .quote-card .quote {
    font-size: 13px;
    line-height: 20px;
  }

  .author {
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
  }

  .author-info .name {
    font-size: 18px;
    text-align: center;
  }

  .author-info .location {
    font-size: 14px;
    text-align: center;
  }

  .Siddharth {
    width: 90px;
    height: 90px;
    padding: 10px;
    position: static;
    border-radius: 40px;
    background: #fff;
    margin: 20px 0;
    object-fit: cover;
  }

  .background,
  .background-bottom {
    display: none;
  }

  /* Gallery Section Adjustments */
  /* .gallery-text {    font-size: 22px;    text-align: center;  } */
  .lead {
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 20px;
  }

  .singleImage {
    margin-top: 10px;
  }

  /* .images-section {    flex-direction: column;    gap: 1rem;  } */
  .image-marquee {
    height: 298px;
  }

  .left-section-moments,
  .right-section-moments {
    width: 100%;
    text-align: center;
  }

  .cornerImg {
    width: 40px;
    top: -20px;
  }

  .Testimonials,
  .gallery {
    font-size: 18px;
  }
}

.background {
  @media screen and (min-width: 601px) and (max-width: 900px) {
    display: none;
  }
  @media screen and (min-width: 901px) and (max-width: 1200px) {
    display: none;
  }
}

.background-bottom {
  @media screen and (min-width: 601px) and (max-width: 900px) {
    display: none;
  }
  @media screen and (min-width: 901px) and (max-width: 1200px) {
    display: none;
  }
}
.Siddharth {
  @media screen and (min-width: 601px) and (max-width: 900px) {
    left: 0;
    bottom: -205px;
  }
}

.author-info {
  @media screen and (min-width: 601px) and (max-width: 900px) {
    position: relative;
    bottom: -39px;
  }
}

.quote-card {
  @media screen and (min-width: 601px) and (max-width: 900px) {
    padding-top: 20px;
    height: 671px;
  }
}

.container {
  justify-content: center !important;
}

.background {
  @media screen and (min-width: 601px) and (max-width: 900px) {
    display: none;
  }
  @media screen and (min-width: 901px) and (max-width: 1200px) {
    display: none;
  }
}

.background-bottom {
  @media screen and (min-width: 601px) and (max-width: 900px) {
    display: none;
  }
  @media screen and (min-width: 901px) and (max-width: 1200px) {
    display: none;
  }
}
.Siddharth {
  @media screen and (min-width: 601px) and (max-width: 900px) {
    left: 0;
    bottom: -82px;
  }
}

.author-info {
  @media screen and (min-width: 601px) and (max-width: 900px) {
    position: relative;
    bottom: -39px;
  }
}

.quote-card {
  @media screen and (min-width: 601px) and (max-width: 900px) {
    padding-top: 20px;
  }
}

.quote-card {
  @media screen and (min-width: 601px) and (max-width: 900px) {
    height: 590px;
  }
}
.author img {
  @media screen and (min-width: 601px) and (max-width: 900px) {
    left: -31px;
  }
}
.Siddharth {
  @media screen and (min-width: 600px) and (max-width: 900px) {
    bottom: -286px !important;
  }
}

.quote-card {
  @media screen and (min-width: 601px) and (max-width: 900px) {
    width: 70%;
  }
}
.container {
  justify-content: center !important;
}

.background-bottom {
  bottom: -79.5px;
}

.arrow-div {
  position: relative;
  bottom: -50px;
}

.container {
  @media screen and (max-width: 1366px) {
    margin-left: 0;
  }
}

.author-info .name {
	@media screen and (min-width:901px) and (max-width: 1200px) {
    position: relative;
		top: 60px;
  }
}


.author-info .location {
	@media screen and (min-width:901px) and (max-width: 1200px) {
    position: relative;
		top: 60px;
  }
}
