.assistance__banner {
  display: flex;
  background: url(../assets/images/assistance-banner.png) no-repeat center center/cover;
  height: 300px;
}

.terms__banner {
  display: flex;
  background: url(../assets/images/banner-terms-background-desktop.webp) no-repeat center center/cover;
  height: 300px;
}

@media (min-width: 1024px) {
  .terms__banner, .assistance__banner {
    height: 500px;
  }
}

/* Modal Styles */
.modal-toggle {
  display: none;
}

.modal-trigger {
  cursor: pointer;
}

.modal-trigger:hover {
  opacity: 0.8;
  transform: scale(1.05);
  transition: all 0.2s ease;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}


.modal-toggle:checked ~ .modal-overlay {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.8);
  transition: transform 0.3s ease;
  position: relative;
}

.modal-toggle:checked ~ .modal-overlay .modal-content {
  transform: scale(1);
}

.modal-header {
  position: relative;
  padding: 0;
  border-bottom: none;
}

.modal-title {
  display: none;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: white;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(214deg, rgba(222, 179, 255, 1) 0%, rgba(62, 91, 255, 1) 44%);
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-close:hover {
  background: linear-gradient(214deg, rgba(222, 179, 255, 1) 0%, rgba(62, 91, 255, 1) 80%);
}

.modal-body {
  padding: 40px;
  padding-top: 20px;
}

.modal-subtitle {
  font-size: 28px;
  font-weight: 400;
  color: #000;
  text-align: center;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;

}

.form-row {
  display: flex;
  gap: 16px;
}

.form-half {
  flex: 1;
}

.form-group label {
  font-weight: 600;
  color: #000;
  font-size: 16px;

}

.form-group input,
.form-group textarea {
  padding: 8px;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s ease;
  background-color: #F9FAFB;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4F46E5;
  background-color: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;

}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-label {
  font-size: 16px;
  color: #374151;
  line-height: 1.5;
  cursor: pointer;
}

.privacy-link {
  color: #000;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.btn-submit {
  background: linear-gradient(214deg, rgba(222, 179, 255, 1) 0%, rgba(62, 91, 255, 1) 44%);
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 200px;
}

.btn-submit:hover {
  opacity: 0.8;



}

.btn-cancel {
  display: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .modal-content {
    margin: 20px;
    width: calc(100% - 40px);
    border-radius: 16px;
  }

  .modal-body {
    padding: 30px 24px;
  }

  .modal-subtitle {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .form-row {
    flex-direction: column;
    gap: 24px;
  }

  .modal-close {
    top: 6px;
    right: 6px;
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .btn-submit {
    width: 100%;
    min-width: auto;
  }
}
