/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'Optima';
  src: url('../fonts/Optima.woff2') format('woff2'),
       url('../fonts/Optima.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body, html {
  height: 100%;
  font-family: 'Optima', sans-serif;
  background-color: #7A2639;
}

/* Survey container */
.survey-container {
  background-image: url('../assets/images/bg-pattern.png');
  background-repeat: no-repeat;
  background-position: right;
  background-size: contain;
  color: white;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
  flex-direction: column;
}

/* Screens */
.screen {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.screen.active {
  display: flex;
}

/* Logo */
.logo {
  max-width: 300px;
  height: auto;
  margin-bottom: 30px;
}

/* Subtitle */
.subtitle {
  font-size: 2.5rem;
  letter-spacing: 5px;
  margin-bottom: 40px;
}

/* Start Button */
.start-btn {
  background-color: white;
  font-family: 'Optima', sans-serif;
  color: #5e152d;
  border: none;
  padding: 12px 28px;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.start-btn:hover {
  background-color: #f0f0f0;
}

/* End Button */
.end-btn {
  background-color: white;
  font-family: 'Optima', sans-serif;
  color: #5e152d;
  border: none;
  padding: 12px 28px;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 50px;
  border-radius: 30px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.3s ease;

  /* Keep it fixed at bottom center */
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999; /* Make sure it stays above other elements */
}

.end-btn:hover {
  background-color: #f0f0f0;
}



/* Question */
.question {
  font-size: 1.5rem;
  text-align: center;
  letter-spacing: 1px;
  max-width: 700px;
  margin-bottom: 40px;
  line-height: 1.5;
}

.suggestion{
  font-size: 1.5rem;
  text-align: center;
  letter-spacing: 1px;
  max-width: 700px;
  line-height: 1.5;
}

/* Rating Icons */
.ratings {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 50px;
}

.rating-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.rating-option img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.rating-option span {
  font-size: 0.9rem;
  letter-spacing: 1px;
}



/* NPS Scale */
.nps-scale {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
  margin-bottom: 50px;
}

.nps-btn {
  background-color: transparent;
  border: 2px solid white;
  color: white;
  font-family: 'Optima', sans-serif;
  font-size: 1rem;
  font-weight: bold;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 5px;
}

.nps-btn:hover {
  background-color: white;
  color: #7A2639;
}

/* Footer */
.footer {
  font-size: 0.9rem;
  letter-spacing: 1px;
  opacity: 0.8;
  margin-top: 30px;
}

/* Responsive */
@media (max-width: 600px) {
  .logo {
    max-width: 150px;
  }

  .subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }

  .question {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }

  .ratings {
    gap: 20px;
  }

  .rating-option img {
    width: 60px;
    height: 60px;
  }

  .nps-btn {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
}

.text-input, .text-area {
  font-family: 'Optima', sans-serif;
  border: none;
  border-radius: 30px;
  padding: 12px 20px;
  font-size: 1rem;
  width: 300px;
  margin-top: 10px;
  background-color: white;
  color: #7A2639;
  text-align: center;
}

.text-area {
  border-radius: 20px;
  height: 120px;
  resize: none;
  width: 400px;
  padding: 15px;
  text-align: left;
}

.submit-btn {
  background-color: white;
  font-family: 'Optima', sans-serif;
  color: #5e152d;
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 30px;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.submit-btn:hover {
  background-color: #f0f0f0;
}

@media (max-width: 600px) {
  .text-input, .text-area {
    width: 90%;
    font-size: 0.9rem;
  }

  .text-area {
    height: 100px;
  }
}


.lottie-container {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.thank-you-text {
  font-size: 1.5rem;
  font-family: 'Optima', sans-serif;
  text-align: center;
  color: white;
  letter-spacing: 1px;
}
