@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&family=Overpass:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Work+Sans:ital,wght@0,100..900;1,100..900&family=Young+Serif&display=swap");

:root {
  --Red: hsl(4, 100%, 67%);
  --Blue-800: hsl(234, 29%, 20%);
  --Blue-700: hsl(235, 18%, 26%);
  --Grey: hsl(0, 0%, 58%);
  --White: hsl(0, 0%, 100%);
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--Blue-700);
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  margin: 0;
  font-family: "Roboto" sans-serif;
  display: flex;
}

.container {
  max-width: 930px;
  background: var(--White);
  padding: 1.5rem;
  border-radius: 2rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.content-wrapper {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.image-side {
  flex: 0 0 45%;
}

.image-side img {
  width: 100%;
  height: auto;
  display: block;
}

.information-side {
  flex: 1;
  padding: 2rem;
}

.heading {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--Blue-800);
  margin-bottom: 1.5rem;
}
.heading-description {
  margin-bottom: 20px;
  font-weight: 400;
  color: var(--Blue-800);
  line-height: 1.6;
  font-size: 1rem;
}

.row {
  display: flex;
  gap: 15px;
  font-size: 15px;
  font-weight: 400;
  color: var(--Blue-800);
}

.row img {
  margin-top: 3px;
}

.form-group {
  margin-top: 2.5rem;
}
.label-group {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
label {
  color: var(--Blue-800);
  font-weight: 700;
  font-size: 0.9rem;
}
input {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--Grey);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

input:focus {
  outline: 1px solid #4a3aff;
}

input::placeholder {
  color: var(--Grey);
}

button {
  width: 100%;
  padding: 1rem;
  background: var(--Blue-800);
  color: var(--White);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: var(--Red);
}

.error-message {
  color: var(--Red);
  display: none;
  font-size: 0.8rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  body {
    background: var(--White);
    display: block;
  }

  .container {
    padding: 0;
    border-radius: 0;
    min-height: 100vh;
  }

  .content-wrapper {
    flex-direction: column-reverse;
    gap: 0;
  }

  .image-side {
    width: 100%;
  }

  .information-side {
    padding: 2rem 1.5rem;
  }
  .heading {
    font-size: 2.5rem;
  }
  .row img {
    width: 20px;
    height: 20px;
  }
}

.success-page {
    display: none;
    max-width: 465px;
    background: var(--White);
    padding: 3rem;
    border-radius: 2rem;
}

.success-page.visible {
  display: block;
}

.success-page img {
    margin-bottom: 1rem;
}

.success-heading {
    font-size: 3.5rem;
    margin: 0;
    line-height: 1;
    color: var(--Blue-800);
    font-weight: 700;
}

span {
    color: var(--Blue-800);
    font-weight: 700;
}

.success-description {
    font-size: 1.1rem;
    color: var(--Blue-800);
    padding-bottom: 1rem;
    line-height: 1.3;
    font-weight: 400;
}