:root {
  --primary-color: #ae8f53;
  --primary-opacity-color: #ae8f53eb;
  --secondary-color: #3a4854;
  --card-color: #e9e9e9;
  --white-color: #fff;
  --background-color: #fff;
  --max-width: 1300px;
  --pattern-white: url('pattern-white.svg');
  --pattern-gold: url('pattern-gold.svg');
}

body {
  margin: 0;
  background-color: var(--background-color);
  background-image: var(--pattern-white);
  font-family: Cairo;
  --width: min(0.3906vw, 7.5px);
  font-size: calc(16px + var(--width));
}
button {
  margin: 0;
  background-color: var(--background-color);
  font-family: Cairo;
  --width: min(0.3906vw, 7.5px);
  font-size: calc(16px + var(--width));
}
dialog-component {
  --close-icon-color: var(--primary-color);
  --background-color: var(--white-color);
}

dialog-component::part(content) {
  max-block-size: 95svh;
  padding: 0;
  overflow: auto;
  border-radius: var(--border-radius-xl);
}
.payment-link.selected {  
    border: 2px solid #007aff !important; /* Apple Blue */
    background-color: #f0f8ff !important;
}

.challenge-dialog {
  .content {
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding: 1em;
    background: white;
    border-radius: 20px;
    width: 90%;
    text-align: center;

    > * {
      flex: 1;
    }
    
  }

  .img-header {
    inline-size: 100%;
    block-size: auto;
    margin: auto;
    background-image: url("../assets/Man_Points_At_Quran.webp");
    border-radius: var(--border-radius-l);
  }

  .title {
    margin: 0;
    font-size: 1.4rem;
    color: var(--primary-color);
    text-align: center;
  }

 

 
  .next-btn {
    position: relative;

    .loader {
      --m: conic-gradient(#0000 10%, #000), linear-gradient(#000 0 0) content-box;

      position: absolute;
      inset-block-start: 0.5em;
      inset-inline-end: 0.5em;
      inline-size: 2rem;
      block-size: 2rem;
      aspect-ratio: 1;
      padding: 8px;
      margin: auto;
      background: var(--primary-color);
      border-radius: 50%;
      mask: var(--m);
      mask-composite: subtract;
      animation: l3 1s infinite linear;
    }
  }
}
.enter-email-dialog,.thank-you-dialog  {
  .content {
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding: 1em;

    > * {
      flex: 1;
    }
  }

  .img-header {
    inline-size: 100%;
    block-size: auto;
    margin: auto;
    background-image: url("../assets/Man_Points_At_Quran.webp");
    border-radius: var(--border-radius-l);
  }

  .title {
    margin: 0;
    font-size: 1.4rem;
    color: var(--primary-color);
    text-align: center;
  }

  .email-input {
    display: block;
    padding: 1em;
    font-weight: bold;
    color: var(--secondary-color);
    text-align: center;
    outline: none;
    border: solid 2px var(--primary-color);
    border-radius: var(--border-radius-l);
    direction: ltr;
  }

  .payment-container {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 0.5em;
  }

  .payment-link {
    display: flex;
    gap: 0.2em;
    align-items: center;
    justify-content: center;
    padding: 0.2em 0.5em;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 0.4;
    -webkit-text-decoration: none;
    text-decoration: none;
    border: solid 2px #000;
    border-radius: 2em;

    &:visited {
      color: #000;
    }

    svg {
      display: block;
    }
  }

  .next-btn {
    position: relative;

    .loader {
      --m: conic-gradient(#0000 10%, #000), linear-gradient(#000 0 0) content-box;

      position: absolute;
      inset-block-start: 0.5em;
      inset-inline-end: 0.5em;
      inline-size: 2rem;
      block-size: 2rem;
      aspect-ratio: 1;
      padding: 8px;
      margin: auto;
      background: var(--primary-color);
      border-radius: 50%;
      mask: var(--m);
      mask-composite: subtract;
      animation: l3 1s infinite linear;
    }
  }
}
.footer-content {
  text-align: center;
  margin-top: 27%;
  width: 50%;
  margin: 0 auto;
  margin-top: 27%;
}

.subscribe-button {
  display: block;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 16px;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  padding-inline: 2em;
  padding-block: 0.5em;
  cursor: pointer;
  box-shadow: 24px 7px 80px rgba(0, 0, 0, 0.07);
  transition: transform 0.2s ease;
  animation: fade-in-fwd 0.6s cubic-bezier(0.39, 0.575, 0.565, 1);
  text-decoration: none;
}
#center_logo {
  margin: 0 auto;
  object-fit: cover;
  max-height: 192px;
}

.subscribe-button-white {
  background-color: var(--white-color);
  color: var(--primary-color);
  padding-inline: 0.5em;
}

@keyframes fade-in-fwd {
  0% {
    transform: perspective(500px) translateZ(-80px);
    opacity: 0;
  }
  100% {
    transform: perspective(500px) translateZ(0);
    opacity: 1;
  }
}
@keyframes focus-in-expand-fwd {
  0% {
    letter-spacing: -0.5em;
    transform: translateZ(-800px);
    filter: blur(12px);
    opacity: 0;
  }
}

@media (hover: hover) and (pointer: fine) {
  .subscribe-button:hover {
    transform: scale(1.01) translateY(-0.05em);
  }
}

.fade-scroll {
  opacity: 0;
  transform: translateY(50px);
}

@keyframes scale-in-ver-top {
  0% {
    transform: scaleY(0);
    transform-origin: 100% 0%;
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    transform-origin: 100% 0%;
    opacity: 1;
  }
}

/* #region ******************* First section the header ******************* */

.first-section {
  padding-block: 2em;
  padding-inline: 1em;
}

.first-section .container {
  display: flex;
  flex-direction: row;

  padding-block: 1em;
  margin: auto;
  max-width: var(--max-width);
  border-radius: 32px;
  background-color: var(--primary-color);
  background-image: var(--pattern-gold);
  box-shadow: 24px 7px 80px rgba(0, 0, 0, 0.07);
}

.first-section .text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding-right: 2em;
}

.first-section .text-content .title {
  color: var(--white-color);
  font-size: 2em;
}

.first-section .text-content .sub-title {
  color: var(--secondary-color);
  font-size: 2em;
  font-weight: normal;
}

.first-section .text-content .description {
  color: var(--white-color);
  margin-bottom: 2em;
}

.first-section .text-content .description span {
  font-weight: bold;
}

.first-section .image-container {
  flex: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  align-items: center;
}

.first-section .image-container .quran-image {
  grid-area: 1 / 1;
  height: auto;
  width: 100%;
  animation: slide-in-fwd-center 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes slide-in-fwd-center {
  0% {
    transform: perspective(500px) translateZ(-1400px);
    opacity: 0;
  }
  100% {
    transform: perspective(500px) translateZ(0);
    opacity: 1;
  }
}

.first-section .image-container .phone-image {
  grid-area: 1 / 1;
  width: 60%;
  height: auto;
  animation: slide-in-bck-center 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes slide-in-bck-center {
  0% {
    transform: perspective(500px) translateZ(200px);
    opacity: 0;
  }
  100% {
    transform: perspective(500px) translateZ(0);
    opacity: 1;
  }
}

.first-section .image-container .logo-svg {
  grid-area: 1 / 1;
  align-self: end;
  margin-bottom: 10%;
  width: 50px;
  height: 50px;
  fill: #fff;
  animation: slide-in-bottom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes slide-in-bottom {
  0% {
    transform: translateY(500px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.first-divider {
  text-align: center;
  animation: scale-in-ver-top 0.5s 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.first-divider svg {
  margin: auto;
  width: 10em;
  height: 10em;
  fill: var(--card-color);
}

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

  .first-section .text-content {
    text-align: center;
    padding-inline: 1em;
  }

  .first-section .image-container {
    margin-top: 5em;
  }
}

@media (max-width: 320px) {
  .first-section .image-container .logo-svg {
    width: 30px;
    height: 30px;
  }
}

/* #endregion */

/* #region ******************* Second section the description ******************* */

.second-section {
  padding-bottom: 0;
}

.second-section .container {
  display: flex;
  flex-direction: row;
  gap: 2em;

  padding-inline: 2em;
  margin: auto;
  max-width: var(--max-width);
}

.second-section .image-container {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-inline: 1.5em;
  overflow: hidden;
}

.second-section .image-container img {
  margin-bottom: -20px;
  animation: wobble-hor-bottom 0.8s 0.3s both;
}

@keyframes wobble-hor-bottom {
  0%,
  100% {
    transform: translateX(0%);
    transform-origin: 50% 50%;
  }
  15% {
    transform: translateX(-30px) rotate(-6deg);
  }
  30% {
    transform: translateX(15px) rotate(6deg);
  }
  45% {
    transform: translateX(-15px) rotate(-3.6deg);
  }
  60% {
    transform: translateX(9px) rotate(2.4deg);
  }
  75% {
    transform: translateX(-6px) rotate(-1.2deg);
  }
}

.second-section .image-container::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90%;
  background-color: var(--primary-color);
  background-image: var(--pattern-gold);
  border-radius: 32px;
  z-index: -1;
  box-shadow: 24px 7px 80px rgba(0, 0, 0, 0.07);
}

.second-section .text-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;

  color: var(--secondary-color);
}

.second-divider {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.second-divider svg {
  width: 4em;
  height: 4em;
  fill: var(--card-color);
  animation: scale-in-ver-top 0.5s 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@media (max-width: 900px) {
  .second-section .container {
    flex-direction: column;
    margin-top: 2em;
  }

  .second-section .image-container img {
    height: auto;
    width: 100%;
    max-width: 300px;
  }

  .second-section .text-content .subscribe-button {
    padding-inline: 0.5em;
  }

  .second-divider {
    margin-block: 2em;
  }

  .second-divider img {
    height: auto;
    width: 4em;
  }
}

/* #endregion */

/* #region ******************* Third section the features ******************* */

.third-section {
  padding-bottom: 0;
}

.third-section .container {
  padding-inline: 2em;
  margin: auto;
  max-width: var(--max-width);
}

.third-section .title-container {
  margin-bottom: 1em;
}

.third-section .title-container .title {
  color: var(--secondary-color);
  font-weight: normal;
  margin-top: 0;
}

.third-section .title-container .sub-title {
  color: var(--primary-color);
}

.third-section .cards-container {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.third-section .cards-container .row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 1.5em;
}

.third-section .cards-container .card {
  flex: 1;
  background-color: var(--white-color);
  border: solid 2px var(--primary-color);
  border-radius: 24px;
  padding: 0.5em;
}

.third-section .cards-container .card .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 0.5em;
  background-color: var(--primary-color);
  border-radius: 16px;
  box-shadow: 24px 7px 80px rgba(0, 0, 0, 0.07);
}

.third-section .cards-container .card .icon svg {
  width: 2em;
  height: 2em;
  fill: var(--white-color);
}

.third-section .cards-container .card .text {
  color: var(--secondary-color);
  text-align: center;
}

.third-section .section-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 2em;
}

.third-section .section-footer p {
  color: var(--secondary-color);
  font-weight: bold;
  text-align: center;
}

.third-divider {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.third-divider svg {
  width: 6em;
  height: 6em;
  fill: var(--card-color);
  animation: scale-in-ver-top 0.5s 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@media (max-width: 900px) {
  .third-section .title-container {
    text-align: center;
  }

  .third-divider {
    margin-block: 2em;
  }

  .third-divider img {
    height: auto;
    width: 4em;
  }
}

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

  .third-section .section-footer {
    flex-direction: column-reverse;
  }
}

/* #endregion */

/* #region ******************* Fourth section the statistics ******************* */

.fourth-section {
  padding-bottom: 2em;
}

.fourth-section .container {
  padding-inline: 2em;
  margin: auto;
  max-width: var(--max-width);
  border-radius: 32px;
}

.fourth-section .cards-container {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: stretch;
  gap: 1.5em;
}

.fourth-section .cards-container .card {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1em;
  border-radius: 32px;
  box-shadow: 24px 7px 80px rgba(0, 0, 0, 0.07);
  animation: swing-in-top-fwd 2s 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes swing-in-top-fwd {
  0% {
    transform: rotateX(-100deg);
    transform-origin: top;
    opacity: 0;
  }
  100% {
    transform: rotateX(0deg);
    transform-origin: top;
    opacity: 1;
  }
}

.fourth-section .cards-container .card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: var(--primary-opacity-color);
  border-radius: 32px;
  z-index: -1;
}

.fourth-section .cards-container .card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 32px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: -1;
}

.fourth-section .cards-container .card:nth-child(1)::before {
  background-image: url(book-500x374.webp);
}

.fourth-section .cards-container .card:nth-child(2)::before {
  background-image: url(clock-500x374.webp);
}

.fourth-section .cards-container .card:nth-child(3)::before {
  background-image: url(reading-quran-500x374.webp);
}

.fourth-section .cards-container .card .title {
  color: var(--secondary-color);
  text-align: center;
  margin: 0;
}

.fourth-section .cards-container .card .number {
  color: var(--white-color);
  font-weight: bold;
  font-size: 4em;
  text-align: center;
  margin: 0;
}

.fourth-section .big-card {
  display: flex;
  flex-direction: row;
  gap: 2em;

  margin-top: 3em;
  padding-block: 2em;
  border-radius: 64px;
  background-color: var(--card-color);
  box-shadow: 24px 7px 80px rgba(0, 0, 0, 0.07);
}

.fourth-section .big-card .text-content {
  flex: 1;
  padding-right: 2em;
}

.fourth-section .big-card .text-content h1 {
  color: var(--primary-color);
  margin-top: 0;
}

.fourth-section .big-card .text-content p {
  color: var(--secondary-color);
}

.fourth-section .big-card .text-content .quote {
  color: var(--secondary-color);
  font-weight: bold;
}

.fourth-section .big-card .text-content .quote span {
  color: var(--primary-color);
}

.fourth-section .big-card .text-content .quote span.end {
  color: var(--secondary-color);
  font-size: 0.5em;
}

.fourth-section .big-card .text-content .subscribe-button {
  margin-top: 2em;
}

.fourth-section .big-card .image-container {
  flex: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  align-items: center;
}

.fourth-section .big-card .image-container .shape {
  grid-area: 1 / 1;
  width: 10em;
  height: 90%;
  background-color: var(--primary-color);
  border-radius: 144px;
  animation: scale-in-hor-center 0.5s 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes scale-in-hor-center {
  0% {
    transform: scaleX(0);
    opacity: 1;
  }
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
}

.fourth-section .big-card .image-container img {
  grid-area: 1 / 1;
  height: auto;
  width: 100%;
  animation: scale-in-center 0.5s 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes scale-in-center {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.fourth-divider {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

.fourth-divider svg {
  width: 6em;
  height: 6em;
  fill: var(--card-color);
  animation: scale-in-ver-top 0.5s 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@media (max-width: 900px) {
  .fourth-section .cards-container {
    flex-direction: column;
  }

  .fourth-section .big-card {
    flex-direction: column-reverse;
  }

  .fourth-section .big-card .text-content {
    padding-inline: 2em;
  }
}

@media (max-width: 500px) {
  .fourth-section .cards-container {
    flex-direction: column;
  }

  .fourth-section .container {
    padding-inline: 1em;
  }
}

@media (max-width: 370px) {
  .fourth-section .cards-container .card .number {
    font-size: 3em;
  }
}

/* #endregion */

/* #region ******************* Fifth section the testimonials ******************* */

.fifth-section {
  padding-bottom: 2em;
}

.fifth-section .container {
  padding-block: 1em;
  padding-inline: 2em;
  margin: auto;
  max-width: var(--max-width);
}

.fifth-section .title-container {
  margin-bottom: 4em;
}

.fifth-section .title-container .title {
  color: var(--secondary-color);
  font-weight: normal;
  text-align: center;
}

.fifth-section .title-container .sub-title {
  color: var(--primary-color);
  text-align: center;
}

.fifth-section .cards-container {
  display: flex;
  flex-direction: row;
  gap: 1.5em;
}

.fifth-section .cards-container .column {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.fifth-section .cards-container .card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 16px;
  background-color: var(--primary-color);
  padding-inline: 1em;
  padding-block: 0.5em;
  box-shadow: 24px 7px 80px rgba(0, 0, 0, 0.07);
}

.fifth-section .cards-container .card .text-content {
  flex: 1;
  display: flex;
  align-items: center;
  color: var(--white-color);
}

.fifth-section .cards-container .card .text-footer {
  color: var(--white-color);
  font-weight: bold;
  border-top: solid 2px var(--white-color);
  padding-top: 0.5em;
  margin: 0;
}

.fifth-divider {
  display: flex;
  justify-content: center;
  align-items: center;
}

.fifth-divider svg {
  width: 6em;
  height: 6em;
  fill: var(--card-color);
  animation: scale-in-ver-top 0.5s 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@media (max-width: 700px) {
  .fifth-section .container {
    padding-inline: 1em;
  }

  .fifth-section .cards-container {
    flex-direction: column;
  }
}

/* #endregion */

/* #region ******************* Sixth section the services ******************* */

.sixth-section {
  margin-top: 2em;
}

.sixth-section .container {
  padding-block: 1em;
  padding-inline: 2em;
  margin: auto;
  max-width: var(--max-width);
}

.sixth-section .title {
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid 2px var(--primary-color);
  border-radius: 16px;
  margin-bottom: 2em;
}

.sixth-section .title h1 {
  color: var(--primary-color);
  margin-block: 0.5em;
}

.sixth-section .cards-container {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.sixth-section .cards-container .row {
  display: flex;
  flex-direction: row;
  gap: 1.5em;
}

.sixth-section .cards-container .card {
  flex: 1;
  border: solid 2px var(--primary-color);
  border-radius: 16px;
  padding: 0.5em;
}

.sixth-section .cards-container .card .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 0.5em;
  background-color: var(--primary-color);
  border-radius: 16px;
  box-shadow: 24px 7px 80px rgba(0, 0, 0, 0.07);
}

.sixth-section .cards-container .card .icon svg {
  width: 2em;
  height: 2em;
  fill: var(--white-color);
}

.sixth-section .cards-container .card .text {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.1em;
  text-align: center;
  margin-block: 0.5em;
}

@media (max-width: 700px) {
  .sixth-section .container {
    padding-inline: 1em;
  }

  .sixth-section .cards-container .row {
    flex-direction: column;
  }
}

/* #endregion */

/* #region ******************* Seventh Section Q&A ******************* */

.seventh-section {
  margin-top: 2em;
}

.seventh-section .container {
  padding-block: 1em;
  padding-inline: 2em;
  margin: auto;
  max-width: var(--max-width);
}

.seventh-section .qa-container {
  background-color: var(--primary-color);
  border-radius: 16px;
  padding: 1em;
  box-shadow: 0px 0px 31px rgba(0, 0, 0, 0.07);
}

.seventh-section .qa-container .list-title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-right: 0.8em;
  cursor: pointer;
}

.seventh-section .qa-container .list-title h1 {
  color: var(--white-color);
  margin: 0;
}

.seventh-section .qa-container .list-title svg {
  width: 1.5em;
  height: 1.5em;
  fill: var(--white-color);
  transform: rotate(180deg);
  transition: transform 0.3s ease-out;
}

.seventh-section .qa-container ol {
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.seventh-section .qa-card {
  color: var(--white-color);
  font-weight: bold;
  padding-block: 1em;
  border-bottom: 1px solid var(--background-color); /* Add border to create divider */
}

.seventh-section .qa-card:last-child {
  border-bottom: none;
}

.seventh-section .question {
  color: var(--white-color);
  font-weight: bold;
  font-size: 1em;
  margin: 0;
}

.seventh-section .answer {
  color: var(--secondary-color);
  font-size: 0.9em;
  margin: 0;
}

@media (max-width: 700px) {
  .seventh-section .container {
    padding-inline: 0.5em;
  }
}
/* #endregion */

/* #region ******************* Footer ******************* */

footer {
  margin-top: 4em;
  text-align: center;
}

footer .container {
  margin: auto;
  padding-inline: 2em;
  max-width: var(--max-width);
}

footer .container .join-container {
  border-radius: 32px;
  border: solid 2px var(--card-color);
  padding: 1em;
  margin-bottom: 2em;
}

footer .container .join-container h1 {
  color: var(--primary-color);
  margin-top: 0;
}

footer .container .join-container p {
  color: var(--secondary-color);
  font-weight: bold;
  margin-top: 0;
}

footer .container .share {
  text-align: center;
}

footer .container .share h1 {
  color: var(--primary-color);
}

footer .container .share p {
  color: var(--secondary-color);
  font-weight: bold;
}

footer .container .subscribe-button {
  display: inline-block;
  margin-top: 2em;
  text-decoration: none;
}

.footer-image {
  display: grid;
  width: 100%;
}

.footer-image img {
  grid-area: 1 / 1;
  height: 100%;
  width: 100%;
}

.footer-image .gradient {
  position: relative;
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 1) 100%);
}
.animated-number {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  height: 1em;
  margin-bottom: 0.2em;
  font-family: Cairo;
  line-height: 1em;
  text-align: center;
  color: var(--white-color);
  font-weight: bold;
  font-size: 3em;
  overflow: hidden;
  animation: focus-in-expand-fwd 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.cycle {
  position: relative;
  width: 0.6em;
  display: block;
  float: left;
  top: 0%;
  transition:  top 0.7s ease-out;
}
  /* Add keyframe animations */

@media (max-width: 700px) {
  footer .container {
    padding-inline: 0.5em;
  }

  footer .container .join-container {
    border: none;
  }
}

/* #endregion */
@keyframes focus-in-expand-fwd {
  0% {
    letter-spacing: -0.5em;
    transform: translateZ(-800px);
    filter: blur(12px);
    opacity: 0;
  }

  100% {
    transform: translateZ(0);
    filter: blur(0);
    opacity: 1;
  }
}
/* challenge modal */
.modal-overlay {
  top: 0; right: 0; bottom: 0; left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal {
  background: white;
  border-radius: 20px;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.step {
  padding: 25px 20px;
  display: none;
}

.step.active {
  display: block;
}

.step img {
  width: 160px;
  margin-bottom: 20px;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
}

.dot.active {
  background: #b89b5d;
}

.options {
  display: flex;
  justify-content: space-around;
  margin: 20px 0;
}

.options button {
  background: white;
  border: none;
  border-radius: 14px;
  padding: 15px 10px;
  width: 100px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  font-size: 14px;
  color: #777;
  cursor: pointer;
  transition: background 0.3s;
}

.options button.selected {
  background-color: #b89b5d;
  color: white;
}

.buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
}

.buttons button {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}

.prev {
  background: #fff;
  color: #b89b5d;
  border: 1px solid #b89b5d;
}

.next {
  background: #b89b5d;
  color: white;
}

.page-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.arrow {
  background: #eee;
  border: none;
  padding: 10px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
}

.page-number {
  background: #b89b5d;
  color: white;
  width: 36px;
  height: 36px;
  margin: 0 15px;
  border-radius: 50%;
  line-height: 36px;
}

p {
  margin: 10px 0;
  font-size: 15px;
  color: #333;
}

.hidden {
  display: none !important;
}
