/* making sure header stay at top */
.header {
  top: 0;
}

.margin-block {
  margin-block: 10rem;
}

img {
  max-width: 100%;
  object-fit: cover;
}

h2 {
  line-height: 1.2;
  margin-bottom: 2rem;
}

.position-relative {
  position: relative;
}

.max-width110 {
  max-width: 110rem;
  margin: auto;
}

/* shine-effect */
.shine-effect {
  position: relative;
  overflow: hidden;
}

.shine-effect:before {
  position: absolute;
  top: 0;
  left: -80%;
  z-index: 1;
  display: block;
  content: "";
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 100%);
  -webkit-transform: skewX(-25deg);
  transform: skewX(-25deg);
  transition: left 0.5s ease-in-out;
}

.shine-effect:hover:before {
  animation: shine 1.3s forwards;
}

@keyframes shine {
  0% {
    left: -80%;
  }

  100% {
    left: 100%;
  }
}

/* Start of brand ambassadors hero section */
.brand-ambassadors-hero-area {
  max-height: 100vh;
  min-height: 70rem;
  margin-top: 8.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(../img/ba-banner-bg.svg) no-repeat center/cover;
  position: relative;
  overflow: hidden;
}

.brand-ambassadors-hero-area__title {
  font-size: 3.3rem;
  font-weight: 900;
  margin-bottom: 2rem;
}

.brand-ambassadors-hero-area__text {
  margin-top: 1rem;
}

.brand-ambassadors-hero-area_ba-hero-img {
  width: 50rem;
  height: auto;
}

.brand-ambassadors-hero-area__button {
  font-weight: 500;
  font-size: 2.2rem;
  padding: 1.2rem 6rem;
  margin-top: 3rem;
  transition: 0.2s all ease;
  border-radius: 7px;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  -ms-border-radius: 7px;
  -o-border-radius: 7px;
}

/* End of brand ambassadors hero section */

/* Start of Ambassador Perks Section */
.ambassador-perks {
  margin-top: 3rem;
}

.ambassador-perks__grid {
  display: grid;
  align-items: center;
  text-align: center;
  margin-top: 4rem;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  justify-items: center;
}

.ambassador-perk__title {
  line-height: 1.1;
  color: #000000;
  font-weight: 900;
  margin-bottom: 1rem;
  margin-top: .5rem;
}

.ambassador-perk__description {
  max-width: 19rem;
  margin: auto;
}

.ambassador-perk__icon {
  width: 14.3rem;
  height: auto;
  transition:transform 0.3s ease;;
}
.ambassador-perk__icon:hover {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
}

/* End of Ambassador Perks Section */

/* Start of Ambassador Testimonials Section */
.testimonial-card {
  background-color: #ffffd5;
  padding: 2.5rem;
  margin: 0 auto;
  width: 100%;
  max-width: 35rem;
  border-radius: 1.4rem;
  -webkit-border-radius: 1.4rem;
  -moz-border-radius: 1.4rem;
  -ms-border-radius: 1.4rem;
  -o-border-radius: 1.4rem;
  min-height: 35rem;
}

.testimonial-card__header {
  display: flex;
  align-items: end;
  margin-bottom: 0;
  position: relative;
  top: -5rem;
}

.ambassador-testimonials__title {
  font-size: 2.4rem;
  font-weight: 900;
}

.testimonial-card__avatar {
  overflow: hidden;
  width: 13.3rem;
  height: 12.7rem;
}

.testimonial-card__avatar,
.owl-carousel.ambassador-testimonials_carousel .owl-item img {
  display: inline-block;

  margin-right: 1.6rem;
  border-radius: .9rem;
  -webkit-border-radius: .9rem;
  -moz-border-radius: .9rem;
  -ms-border-radius: .9rem;
  -o-border-radius: .9rem;
  object-fit: contain;
}

.testimonial-card__info p {
  margin: 0.2rem 0;
}

.testimonial-card__author {
  font-size: 18px;
  color: #000000;
  font-weight: 400;
}

.testimonial-card__handle {
  font-size: 12px;
  color: #3a99e9;
  font-weight: 400;
  font-style: italic;
}

.testimonial-card__joined {
  font-size: 11px;
  color: #928f8f;
  font-weight: 400;
}

.testimonial-card__text {
  font-size: 1.5rem;
  color: #000000;
  margin-top: -2rem
}

.testimonial-card__read-more {
  font-size: 1.5rem;
  color: #928f8f;
}

.testimonial-card__read-more span {
  font-weight: 900;
}

.testimonial-card__full-text {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.testimonial-card.expanded .testimonial-card__full-text {
  max-height: 500px;
  /* or auto via JS if you want exact height */
  opacity: 1;
}

/* Owl Carousel Dots */
.owl-carousel.ambassador-testimonials_carousel .owl-stage-outer {
  padding-top: 6rem;

}

.owl-dots {
  text-align: center;
  margin-top: 1rem;
}

.owl-dot span {
  width: 8px;
  height: 8px;
  background: #dbd9d9;
  border-radius: 50%;
  display: inline-block;
  margin: 0 4px;
  cursor: pointer;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.owl-dot.active span {
  background: #898989;
}

/* End of Ambassador Testimonials Section */

/* Start of How It Works program Section */
.program-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4%;
  margin-top: 4rem;
}

.program-image {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 2rem;
}

.program-image picture {
  width: 100%;
  height: 100%;
}

.program-image img {
  width: 100%;
  height: 100%;
}

.program-steps {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.program-step {
  display: flex;
  position: relative;
}

.program-icon {
  margin-right: 3.5rem;
  width: 6rem;
  height: 6rem;
  position: relative;
}

.icon-bg {
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 3.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apply-bg {
  background-color: #af79d1;
}

.goodies-bg {
  background-color: #5ccfb3;
}

.share-bg {
  background-color: #ff7da8;
}

.icon-bg img {
  width: 24px;
  height: auto;
}

.program-arrow {
  position: absolute;
  bottom: -6rem;
  left: 54%;
  transform: translateX(-50%);
  width: 1.5rem;
  height: 4.3rem;
}

.program-arrow img {
  width: 100%;
  height: 100%;
}

.program-content {
  text-align: left;
  flex: 1;
}

.program-content h3 {
  font-size: 2.2rem;
  color: #292929;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.program-content p {
  max-width: 48rem;
}

/* End of How It Works program Section */

/* Start of Google Form Section */
.google-form__heading {
  max-width: 63rem;
  margin: auto;
}

.google-form__content {
  margin-top: 3rem;
  padding: 2rem;
  min-height: 25.7rem;
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.google-form__heading a {
  color: #3a99e9;
}

/* End of Google Form Section */

/* Start of Gifting Opportunity Section */
.gifting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  margin-top: 4rem;
}

.gifting-item {
  display: flex;
  align-items: start;
  justify-content: center;
  gap: 1.5rem;
}

.gifting-number {
  width: 4.9rem;
  height: 4.9rem;
  border-radius: .7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  background-color: #ffae13;
  flex-shrink: 0;
  /* Prevent shrinking */
}

.gifting-content {
  max-width: 24rem;
}

.gifting-content h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 900;
  line-height: 1;
}

/* End of Gifting Opportunity Section */

/* Start of More Stickers Section */
.more-stickers-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(4, 4fr);
  gap: 3rem;
}

.more-stickers-item {
  position: relative;
  overflow: hidden;
  border-radius: 2.5rem;
}

.more-stickers-item:hover img {
  transform: scale(1.1);
}

.more-stickers-item img {
  width: 100%;
  height: 100%;
  transition: 0.3s ease-in-out;
}

.more-stickers-content {
  position: absolute;
  left: 50%;
  bottom: 2.5rem;
  transform: translateX(-50%);
  width: 85%;
  text-align: center;
  font-weight: 900;
  font-size: 2.4rem;
  color: rgb(0, 0, 0);
  padding: 0.3rem 0.5rem;
  opacity: 0.702;
  border-radius: .7rem;
  background-color: #ffffff;
}

/* End of More Stickers Section */

/* Media query */
/*FOR-TABLET-START*/
@media screen and (max-width: 1003px) {
  .more-stickers-content {
    font-size: 2rem;
  }
}

@media screen and (max-width: 991px) {
  .heading-2 {
    font-size: 2.8rem;
  }

  .margin-block {
    margin-block: 5rem;
  }

  .testimonial-card {
    min-height: unset;
    height: auto;
  }

  .owl-carousel.ambassador-testimonials_carousel .owl-stage-outer {
    padding-top: 5rem;
  }

}

@media screen and (max-width: 883px) {
  .more-stickers-content {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 862px) {
  .ambassador-perks__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*FOR-MOBILE-START*/
/* Small Devices: 767px and below */
@media screen and (max-width: 767px) {
  h2 {
    margin-bottom: 1rem;
  }

  .heading-2 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .btn--primary {
    font-size: 1.7rem !important;
    padding: 0.7rem 2rem !important;
    font-weight: 700 !important;
  }

  .brand-ambassadors-hero-area {
    background: url(../img/BA-banner-Mobile.png) no-repeat;
    background-size: 100%;
    background-position: 0rem -2rem;
  }

  .brand-ambassadors-hero-area__title {
    font-size: 2rem;
    max-width: 37rem;
    margin: auto;
    margin-bottom: 2rem;
  }

  .ambassador-perks__grid {
    margin-top: 3rem;
  }

  .ambassador-perk__icon {
    width: 13rem;
  }

  .ambassador-testimonials__title {
    font-size: 1.9rem;
  }

  .testimonial-card__text {
    margin-top: -3rem;
  }

  .program-grid {
    grid-template-columns: 1fr;
    margin-top: 3rem;
  }

  .program-icon {
    margin-right: 2rem;
  }

  .program-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .program-arrow {
    bottom: -5.5rem;
  }

  .gifting-opportunity__heading {
    max-width: 40rem;
    margin: auto;
  }

  .gifting-grid {
    grid-template-columns: 1fr;
    margin-top: 3rem;
    gap: 3rem;
  }

  .gifting-content h3 {
    font-size: 1.8rem;
  }

  .more-stickers-grid {
    margin-top: 3rem;
    grid-template-columns: repeat(2, 2fr);
    gap: 2rem;
  }
}

/* Small Devices: 380px and below */
@media (max-width: 380px) {
  .program-steps {
    gap: 2.5rem;
  }
}