* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

body,
html {
  height: 100%;
  width: 100%;
}

.main-section {
  display: flex;
  height: 100vh;
}

.left-section {
  width: auto;
  padding: 80px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 135px;
}
.left-content {
  /* width: 345px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: center;
}

.logo {
  width: 292px;
  object-fit: cover;
  margin-bottom: 30px;
}

h1 {
  color: #003865;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 66px;
  text-align: center;
}

h2 {
  font-size: 20px;
  color: #333;
  font-weight: 700;
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 350px;
  gap: 24px;
}

form input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

form button {
  padding: 12px;
  background-color: #f55733;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icons img {
  width: 24px;
  height: 24px;
}

.right-section {
  width: 100%;
  overflow: hidden;
}

.right-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50px 0px 0px 50px;
}

.copyright {
  margin-top: auto;
  font-size: 12px;
  color: #777;
}
.form-group {
  position: relative;
  margin-top: 1rem;
  width: 100%;
  max-width: 400px;
}

.form-group input {
  width: 100%;
  padding: 14px 12px 6px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  background: white;
}

.form-group label {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  background: white;
  padding: 0 4px;
  font-size: 14px;
  color: #888;
  pointer-events: none;
  transition: 0.2s ease all;
}

/* Float the label when focused or not empty */
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
  top: 6px;
  font-size: 12px;
  color: #000;
}

/* Move footer (social icons) to bottom */
.left-section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.footer {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

@media (max-width: 1024px) {
  .left-section {
    padding: 40px;
  }

  .right-section img {
    border-radius: 30px 0px 0px 30px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 16px;
  }

  .logo {
    width: 200px;
  }

  .logo-container {
    gap: 60px;
  }

  form {
    max-width: 100%;
    padding: 0 10px;
  }

  form input,
  form button {
    font-size: 16px;
  }

  .footer {
    gap: 20px;
  }

  .social-icons img {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .main-section {
    flex-direction: column;
  }
  .left-section {
    padding: 20px;
  }

  form {
    gap: 16px;
  }

  form button {
    padding: 10px;
  }

  .copyright {
    font-size: 10px;
  }
}
