* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", system-ui;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* Modal  */
.step-card {
  margin-top: 10px;
  background-color: white;
  padding-inline: 12px;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.step-one h2 {
  color: #25272C;
  font-weight: 700;
  font-size: 20px;
}

.step-one h3 {
  color: #25272C;
  font-size: 20px;
  text-align: center;
  margin-bottom: 24px;
  padding-top: 24px;
  border-top: 1px solid #D8DBDF;
}

.step-one h3 span {
  color: #1A4ADB;
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  text-align: center;
}

.step-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-top: 16px;
}

.step-head .close-modal {
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-head img {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.step-one-content {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  gap: 24px;
}

.reference-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F5F9FD;
  border-radius: 24px;
  width: 140px;
  height: 140px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.reference-bg a {
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  outline: none;

}

.reference-bg:hover {
  transform: scale(1.02);
}

.reference-bg img {
  pointer-events: none;
  max-width: 80%;
  max-height: 80%;
}

.step-one-man,
.step-one-woman {
  color: #6B7280;
  font-weight: 700;
  font-size: 14px;
  line-height: 24px;
  text-align: center;
}

.back-btn,
.next-btn {
  text-align: center;
  width: 110px;
  border: 1px solid #B6BAC3;
  border-radius: 62px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.back-btn {
  background-color: #F7F8F8;
}

.next-btn {
  background-color: #2147D4;
}

.back-btn a,
.next-btn a {
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  pointer-events: none;
}

.back-btn a {
  color: #40444C;
}

.next-btn a {
  color: white;
}

.step-btn-wrapper {
  border-top: 1px solid #D8DBDF;
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  padding-top: 16px;
}

.step-one-btn-wrapper .next-btn {
  width: 180px;
  padding: 14px;
}

.step-one-btn-wrapper .next-btn a {
  font-size: 16px;
}

.steps {
  color: #6B7280;
  font-weight: 700;
  font-style: Bold;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  padding-bottom: 16px;
}

/* Step 2 */
.step-two-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-items: center;
  margin-bottom: 24px;
}

.step-two h3 {
  color: #25272C;
  font-size: 20px;
  margin-bottom: 8px;
  padding-top: 24px;
  border-top: 1px solid #D8DBDF;
}

.step-two h3 span {
  color: #1A4ADB;
  font-weight: 700;
}

.step-two-p {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #40444C;
  margin-bottom: 24px;
}

/* Not Sure / Other Option */
.not-sure-option {
  text-align: center;
  margin-bottom: 24px;
}

.not-sure-link {
  color: #6B7280;
  text-decoration: none;
  cursor: pointer;
  font-family: Arial;
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  transition: all 0.3s ease;
}

.not-sure-link:hover {
  background-color: #EBF5FF;
  border-color: #1A4ADB;
  border-radius: 10px;
  padding: 10px;
}

.not-sure-link.selected {
  background-color: #1A4ADB;
  border-color: #1A4ADB;
  color: white;
  padding: 10px;
  border-radius: 5px;
}

/* Step 3 */
.step-three-content {
  margin-bottom: 24px;
}

.step-three-option-bg {
  background-color: #F5F9FD;
  border-radius: 8px;
  padding: 10px;
  border: 1px solid #D8DBDF;
  margin-bottom: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.step-three-option-bg:last-child {
  margin-bottom: 0;
}

.step-three-option-bg:hover {
  background-color: #EBF5FF;
}

.step-three-option {
  gap: 12px;
  color: #25272C;
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  pointer-events: none;
}

/* Step 6 */
.step-six-content {
  margin-bottom: 24px;
}

.form-container {
  max-width: 100%;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  display: block;
  margin-bottom: 8px;
  cursor: default;
}

.form-input {
  width: 100%;
  padding: 10px 16px;
  font-size: 16px;
  color: #6B7280;
  background-color: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  outline: none;
  box-sizing: border-box;
  line-height: 24px;
}

.form-input::placeholder {
  color: #9CA3AF;
}

.phone-input-wrapper {
  position: relative;
  display: flex;
  gap: 0;
  align-items: center;
}

.phone-input {
  flex: 1;
}

/* Phone Country Code */
.iti__search-input {
  width: 100% !important;
  padding: 12px 16px !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 8px !important;
  margin-bottom: 8px !important;
  font-size: 16px !important;
  outline: none !important;
}

.iti__search-input:focus {
  border-color: #2563eb !important;
}

.iti__search-container {
  padding: 12px !important;
  border-bottom: 1px solid #E5E7EB !important;
}

.iti__flag-container {
  padding-left: 16px;
}

.iti__selected-flag {
  background-color: #F7F8F8 !important;
  border-radius: 16px !important;
}

.iti__arrow {
  border-top-color: #6B7280 !important;
}

.iti__selected-flag:hover {
  background-color: #E5E7EB !important;
}

.iti__country-list {
  border-radius: 12px !important;
  border: 1px solid #E5E7EB !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  max-height: 200px !important;
  overflow-y: auto !important;
  width: auto !important;
  min-width: 300px !important;
  max-width: 400px !important;
}

.iti__country-list {
  top: 75% !important;
  bottom: auto !important;
  margin-top: 4px !important;
}

.iti {
  display: inline !important;
}

/* Video Modal */
.video-modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.video-modal-backdrop.active {
  display: flex;
}

.video-modal-content {
  background-color: white;
  border-radius: 16px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.video-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #E5E7EB;
}

.video-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #25272C;
  margin: 0;
}

.video-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B7280;
  transition: color 0.3s ease;
}

.video-modal-close:hover {
  color: #25272C;
}

.video-modal-body {
  padding: 20px;
  background-color: #F0F4FA;
}

.video-modal-body video,
.video-modal-body iframe {
  width: 100%;
  height: auto;
  min-height: 300px;
  max-height: 70vh;
  border-radius: 12px;
  aspect-ratio: 16/9;
}

/* Video Thumbnail */
.video-thumbnail {
  cursor: pointer;
  position: relative;
  background-color: #E8EEF7;
}

.video-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.video-thumbnail:hover .video-play-overlay {
  background-color: rgba(0, 0, 0, 0.2);
}

.play-icon {
  width: 64px;
  height: 64px;
  color: #5B7FD4;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.video-thumbnail:hover .play-icon {
  transform: scale(1.1);
}

/* Video Modal End */

/* Step 7 */
.thumbsup-img {
  margin: 0 auto;
  margin-bottom: 24px;
  display: block;
  max-width: 100px;
}

.step-seven-border {
  border-bottom: 1px solid #D8DBDF;
  margin-bottom: 40px;
}

.thumbsup-content h3 {
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  text-align: center;
  border: none;
  padding: 0;
}

.thumbsup-content span {
  color: #1A4ADB;
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  text-align: center;
}

.thumbsup-content p {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}

.modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #d8e8ff;
  z-index: 999;
  justify-content: center;
  align-items: center;
  padding: 10px;
  overflow-y: auto;
}

.modal-backdrop.active {
  display: flex;
}

.modal-backdrop .step-card {
  max-width: 776px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Warning Message */
.warning-message {
  display: none;
  color: #B7291E;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
}

.warning-message.show {
  display: block;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Selected State */
.reference-bg.selected {
  border: 3px solid #1A4ADB;
  background-color: #E3F2FD;
  transform: scale(1.05);
}

.step-three-option-bg.selected {
  border: 2px solid #1A4ADB;
  background-color: #E3F2FD;
}

.back-btn:hover {
  background-color: #EAEAEA;
  transform: translateY(-2px);
}

.next-btn:hover {
  background-color: #1A3BB5;
  transform: translateY(-2px);
}

/* Modal End */

@media (width >=768px) {

  /* modal */
  .step-two-content {
    display: flex;
    justify-items: center;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    gap: 24px;
  }

  /* modal */
}