/* ==========================================================
   AMBASSADOR PROGRAMME PAGE STYLES
   Uses global reset, typography, headings, buttons, containers,
   header, footer and basket styles from core.css and basket-new.css.
   Page-specific layout and carousel styles live here.
   ========================================================== */

.ambassador-page {
  background: var(--color-white);
}

/* ================= PAGE UTILITIES ================= */
.max-width110 {
  max-width: 1100px;
  margin-inline: auto;
}

.margin-block {
  margin-block: clamp(56px, 7vw, 100px);
}

.position-relative {
  position: relative;
}

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

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

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

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

  100% {
    left: 100%;
  }
}

/* ================= HERO ================= */
.brand-ambassadors-hero-area {
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("/static/img/ba-banner-bg.svg") no-repeat center / cover;
  position: relative;
  overflow: hidden;
}

.brand-ambassadors-hero-area__content {
  max-width: 900px;
  margin-inline: auto;
}

.brand-ambassadors-hero-area__title {
  font-family: "Quicksand", sans-serif;
  font-size: clamp(1.875rem, 1.4375rem + 1.9444vw, 3.1875rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.brand-ambassadors-hero-area__text {
  max-width: 900px;
  margin: 10px auto 0;
}

.brand-ambassadors-hero-area_ba-hero-img {
  width: min(100%, 503px);
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}

.brand-ambassadors-hero-area__button {
  margin-top: 30px;
}

/* ================= PERKS ================= */
.ambassador-perks {
  margin-top: 30px;
}

.ambassador-perks__heading p {
  max-width: 620px;
  margin-inline: auto;
}

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

.ambassador-perk__icon {
  width: 143px;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.ambassador-perk__icon:hover {
  transform: scale(1.1);
}

.ambassador-perk__title {
  font-size: clamp(1.125rem, 0.9583rem + 0.7407vw, 1.625rem);
  line-height: 1.1;
  color: var(--color-black);
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 5px;
}

.ambassador-perk__description {
  max-width: 190px;
  margin-inline: auto;
}

/* ================= TESTIMONIALS ================= */
.testimonial-card {
  background-color: #ffffd5;
  padding: 25px;
  margin: 0 auto;
  width: 100%;
  max-width: 350px;
  border-radius: 14px;
  min-height: unset;
}

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

.testimonial-card__avatar {
  overflow: hidden;
  width: 133px;
  height: 127px;
  flex: 0 0 133px;
}

.testimonial-card__avatar,
.owl-carousel.ambassador-testimonials_carousel .owl-item img {
  display: inline-block;
  margin-right: 16px;
  border-radius: 9px;
  object-fit: contain;
}

.testimonial-card__info p {
  margin: 2px 0;
}

.testimonial-card__author {
  font-size: 18px;
  color: var(--color-black);
  font-weight: 500;
}

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

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

.testimonial-card__text {
  font-size: 15px;
  color: var(--color-black);
  margin-top: -20px;
}

.testimonial-card__read-more {
  font-size: 15px;
  color: #928f8f;
}

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

.testimonial-card__full-text {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  font-size: 15px;
  color: var(--color-black);
}

.testimonial-card.expanded .testimonial-card__full-text {
  max-height: 1000px;
  opacity: 1;
}

.owl-carousel.ambassador-testimonials_carousel .owl-stage-outer {
  padding-top: 60px;
}

.ambassador-testimonials_carousel .owl-dots {
  text-align: center;
  margin-top: 10px;
}

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

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

/* ================= HOW IT WORKS ================= */
.program-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4%;
  margin-top: 40px;
}

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

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

.program-image img {
  object-fit: cover;
}

.program-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

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

.program-icon {
  margin-right: 35px;
  width: 60px;
  height: 60px;
  position: relative;
  flex: 0 0 60px;
}

.icon-bg {
  width: 65px;
  height: 65px;
  border-radius: 33px;
  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;
  object-fit: contain;
}

.program-arrow {
  position: absolute;
  bottom: -60px;
  left: 54%;
  transform: translateX(-50%);
  width: 15px;
  height: 43px;
}

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

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

.program-content h3 {
  font-size: clamp(1.125rem, 0.9583rem + 0.7407vw, 1.625rem);
  color: #292929;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 15px;
}

.program-content p {
  max-width: 480px;
}

/* ================= GOOGLE FORM ================= */
.google-form__heading {
  max-width: 630px;
  margin-inline: auto;
}

.google-form__heading a {
  color: var(--button-color);
  text-decoration: underline;
}

.google-form__content {
  margin-top: 30px;
  padding: 20px;
  min-height: 257px;
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.google-form__content iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* ================= NEXT STEPS ================= */
.gifting-opportunity__heading {
  max-width: 760px;
  margin-inline: auto;
}

.gifting-opportunity__heading .notice {
  max-width: 560px;
  margin-inline: auto;
}

.gifting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}

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

.gifting-number {
  width: 49px;
  height: 49px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Quicksand", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
  background-color: #ffae13;
  flex-shrink: 0;
}

.gifting-content {
  max-width: 240px;
}

.gifting-content h3 {
  font-size: clamp(1.125rem, 0.9583rem + 0.7407vw, 1.625rem);
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1;
}

/* ================= PRODUCTS ================= */
.more-stickers-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.more-stickers-item {
  position: relative;
  overflow: hidden;
  border-radius: 25px;
}

.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: 25px;
  transform: translateX(-50%);
  width: 85%;
  text-align: center;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: clamp(1.125rem, 0.875rem + 1.1111vw, 1.875rem);
  color: var(--color-black);
  padding: 3px 5px;
  opacity: 0.702;
  border-radius: 7px;
  background-color: var(--color-white);
}

/* ================= RESPONSIVE ================= */
@media screen and (max-width: 1003px) {
  .more-stickers-content {
    font-size: 20px;
  }
}

@media screen and (max-width: 991px) {
  .testimonial-card {
    min-height: unset;
    height: auto;
  }

  .owl-carousel.ambassador-testimonials_carousel .owl-stage-outer {
    padding-top: 50px;
  }
}

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

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

@media screen and (max-width: 767px) {
  .margin-block {
    margin-block: 50px;
  }

  .brand-ambassadors-hero-area {
    min-height: 640px;
    background: url("/static/img/BA-banner-Mobile.png") no-repeat;
    background-size: 100%;
    background-position: 0 -20px;
  }

  .brand-ambassadors-hero-area__title {
    max-width: 370px;
    margin-inline: auto;
    margin-bottom: 20px;
  }

  .brand-ambassadors-hero-area__button {
    padding: 8px 24px;
  }

  .ambassador-perks__grid {
    margin-top: 30px;
  }

  .ambassador-perk__icon {
    width: 130px;
  }

  .testimonial-card__text {
    margin-top: -30px;
  }

  .program-grid {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .program-icon {
    margin-right: 20px;
  }

  .program-content h3 {
    margin-bottom: 10px;
  }

  .program-arrow {
    bottom: -55px;
  }

  .gifting-opportunity__heading {
    max-width: 400px;
  }

  .gifting-grid {
    grid-template-columns: 1fr;
    margin-top: 30px;
    gap: 30px;
  }

  .gifting-item {
    justify-content: flex-start;
  }

  .more-stickers-grid {
    margin-top: 30px;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media screen and (max-width: 575px) {
  .brand-ambassadors-hero-area {
    min-height: 560px;
  }

  .brand-ambassadors-hero-area_ba-hero-img {
    width: min(100%, 320px);
  }

  .ambassador-perks__grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    max-width: 330px;
  }

  .testimonial-card__avatar {
    width: 115px;
    height: 110px;
    flex-basis: 115px;
  }

  .more-stickers-content {
    font-size: 16px;
    bottom: 18px;
  }
}

@media screen and (max-width: 380px) {
  .program-steps {
    gap: 25px;
  }
}