html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

body {
  color: #1f2937;
  min-height: 100vh;
  background-repeat: no-repeat;
  background-size: contain;
  color: #000;
  background-image: url(img.JPG);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0 0 0 8px;
}

.wrap {
  width: 100%;
  display: flex;
}
.head-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 70px 0 220px;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8), 0px 0px 10px rgba(255, 255, 255, 0.5);
}

.card {
  background: #ffffff;
  -webkit-box-shadow: 0 12px 30px rgba(17, 24, 39, 0.18);
  -moz-box-shadow: 0 12px 30px rgba(17, 24, 39, 0.18);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.18);
  overflow: hidden;
  flex: 1;
  height: 100vh;
  color: #374151;
}

.card-body {
  padding: 20px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-title {
  font-weight: 700;
  margin: 4px 0 25px;
  font-size: 20px;
}

.section-text {
  color: #6b7280;
  margin: 0 0 22px;
  font-size: 15px;
}

.btn {
  border: 0;
  background: #7c3aed;
  color: #fff;
  font-weight: 600;
  padding: 12px 18px;
  margin-top: 10px;
  border-radius: 60px;
  cursor: pointer;
  -webkit-transition: -webkit-transform 0.06s ease, background 0.18s ease,
    -webkit-box-shadow 0.18s ease;
  transition: transform 0.06s ease, background 0.18s ease, box-shadow 0.18s ease;
  -webkit-box-shadow: 0 6px 16px rgba(124, 58, 237, 0.35);
  -moz-box-shadow: 0 6px 16px rgba(124, 58, 237, 0.35);
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.35);
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
}

.btn:hover {
  background: #6d28d9;
}

.btn:active {
  -webkit-transform: translateY(3px);
  transform: translateY(3px);
}

form {
  display: block;
}

/* ── Fieldset reset ─────────────────────────────── */
fieldset {
  border: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

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

.form-group__legend {
  width: 100%;
  padding: 0 0 6px;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  border-bottom: 1px dotted #e5e7eb;
}

/* ── Fields grid (replaces direct form flex) ────── */
.fields-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  
}

/* ── Required asterisk ──────────────────────────── */
.required-mark {
  color: #ef4444;
  font-weight: 700;
}

.field {
  padding: 10px;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 280px;
  flex: 1 1 280px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

label {
  font-size: 14px;
  color: #1f2937;
  font-weight: 500;
}

.input {
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 0 12px;
  border-bottom: 2px solid #e5e7eb;
  font-size: 14px;
  width: 100%;
  color: #1f2937;
  font-family: inherit;
  -webkit-transition: border-color 0.18s ease;
  transition: border-color 0.18s ease;
}

.input:focus {
  border-bottom-color: #7c3aed;
  outline: none;
}


::-webkit-input-placeholder {
  color: #9ca3af;
}

:-ms-input-placeholder {
  color: #9ca3af;
}

::placeholder {
  color: #9ca3af;
}

.span-2 {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 100%;
  flex: 1 1 100%;
}

.submit-row {
  margin-top: 6px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.visuals img{
  border-radius: 20px;
  width: 342px;
  height: 726px;
}

@media (max-width: 1550px) {
  body {
    background-size: cover;
  }
}
@media (max-width: 1537px) {
  .card {
    height: 100%;
  }
}
@media (max-width: 1199px) {
  .head-box {
    padding: 0 8px;
  }
}
@media (max-width: 767px) {
  .wrap {
    display: block;
  }
  body {
    padding: 0;
  }

  .head-box {
    padding: 40px 8px;
  }
}
@media (max-width: 565px) {
  .head-text {
    font-size: 28px !important;
  }
  .head-subtext {
    font-size: 20px !important;
  }
}

@media (min-width: 480px) {
  .section-title {
    font-size: 22px;
  }
}

@media (min-width: 900px) {
  .section-title {
    font-size: 26px;
  }
}

.justify-center{
  display: flex;
  justify-content: center;
}
.text-center{
  margin: 0 auto;
}

.input.error {
  border-bottom-color: #ef4444;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.api-message {
  animation: slideIn 0.3s ease;
}

button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.field-error {
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
}

.api-message {
  animation: slideIn 0.3s ease;
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 500;
}

.api-message--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.api-message--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.head-text{
    font-weight: 700;
    font-size: 44px;
    margin-bottom: 30px;
    text-align: center;
}

.head-subtext{
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.2px;
  font-size: 29px;
  margin: 8px 0px 16px;
  text-align: center;
}
.head-subtext-1 {
  margin: 0;
}