body {
  display: flex;
  height: 100vh;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden; /* Prevents horizontal scrolling */
}

.container {
  display: flex;
  width: 100%;
  box-sizing: border-box; /* Ensures padding and borders are included in the width */
}


.left-section {
  width: 60%;
  background: url('../images/banner-bg-1.png') no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  color: white;
  text-align: center;
  box-sizing: border-box; /* Ensures padding and borders are included in the width */
}

.left-section::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.right-section {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: white;
  box-sizing: border-box; /* Ensures padding and borders are included in the width */
}

form {
  width: 80%;
  max-width: 400px;
  box-sizing: border-box; /* Ensures padding and borders are included in the width */
}

input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box; /* Ensures padding and borders are included in the width */
}

button {
  width: 100%;
  padding: 10px;
  background: #5865F2;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  box-sizing: border-box; /* Ensures padding and borders are included in the width */
}

button:hover {
  background: #4752C4;
}

.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin: 10px 0;
  box-sizing: border-box; /* Ensures padding and borders are included in the width */
}

.options label {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.options input {
  margin: 0 5px 0 0;
}

a {
  color: #5865F2;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    height: auto; /* Allow container to grow based on content */
  }

  .left-section, .right-section {
    width: 100%;
    height: auto; /* Adjust height to fit content */
    padding: 20px; /* Reduce padding for smaller screens */
  }

  .left-section {
    height: 40vh; /* Adjust height for the banner section */
  }

  .right-section {
    height: 60vh; /* Adjust height for the form section */
    justify-content: flex-start; /* Align form to the top */
  }

  form {
    width: 90%; /* Increase form width for better use of space */
    max-width: 100%; /* Allow form to take full width on small screens */
  }

  h2, h3, p {
    margin: 10px 0; /* Reduce margin for smaller screens */
  }
}