.main{
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

@keyframes circle {
  0%{
      margin-top: -100%;
  }
  100%{
      margin-top: 0;
  }
}
.co{
  width: 80%;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0px 2px 15px -4px #9e9e9e;
  border-radius: 5px;
  animation: co 1.5s ease;
}
@keyframes co {
  0%{
      margin-top: -100%;
  }
  100%{
      top: 0;
  }
}
.co .image{
  width: 50%;
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}
.co .image::before{
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #f0f6ff;
  clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%);
}
.co .image img{
  margin-left: 10px;
  width: : 100px;
  z-index: 1;
}
.co .form-area{
  display: flex;
  width: 50%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: form 1.8s ease;
}
@keyframes form {
  0%{
      margin-left: 500px;
  }
  100%{
      left: 0;
  }
}
.co .form-area h2{
  font-size: 30px;
  font-family: Arial, Helvetica, sans-serif;
}
.co .form-area form{
  width: 60%;
  display: flex;
  flex-direction: column;
  margin-top: 30px;
}
.co .form-area form input{
  padding: 15px 5px;
  margin-bottom: 10px;
  border: none;
  border-bottom: 1px solid #ddd;
  outline: none;
}
.co .form-area form input::placeholder{
  color: #999;
  letter-spacing: 1px;
}
.co .form-area form input:hover::placeholder,
.co .form-area form textarea:hover::placeholder{
  padding-left: 10px;
}
.co .form-area form input:focus,
.co .form-area form textarea:focus{

}
@keyframes border {
  0%{
      width: 0%;
  }
  100%{
      width: 100%;
  }
}
.co .form-area form textarea{
  border: none;
  border-bottom: 1px solid #ddd;
  outline: none;
  resize: none;
  padding: 0px 5px;
}
.co .form-area form textarea::placeholder{
  color: #999;
}
.co .form-area form button{
  margin-top: 10px;
  border: none;
  padding: 10px 0px;
  border-radius: 30px;
  background-color:#202B67;
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  transition: .3s all ease-in-out;
}
.co .form-area form button:hover{
  background-color: #2fa5e9;
}
.co .form-area .social-icons{
  margin-top: 50px;
  display: flex;
}
.co .form-area .social-icons i{
  margin-right:  10px;
  padding: 10px;
  cursor: pointer;
}
.co .form-area .social-icons .facebook{
  background-color: #3b5998;
  color: #fff;
}
.co .form-area .social-icons .instagram{
  background: linear-gradient(167deg, #0085fc 0%, #f700da 30%, #f7ed00 90%);
  color: #fff;
}
.co .form-area .social-icons .linkedin{
  background-color: #0e76a8;
  color: #fff;
}

@media (min-width:1200px){
  .main .co{
      height: 85vh;
  }
}
@media (max-width:1200px) and (min-width:900px){
  body::before{
      height: 200px;
      width: 200px;
  }
  .main .co{
      height: 85vh;
  }
  .main .co .image img{
      margin-left: 30px;
  }
  .main .co .form-area h2{
      font-size: 25px;
  }
}

@media (max-width:900px) and (min-width:600px){
  body::before{
      height: 150px;
      width: 150px;
  }
  .main .co{
      width: 95%;
      height: 85vh;
  }
  .main .co .image img{
      height: 150px;
      margin-left: 30px;
  }
  .main .co .form-area form{
      width: 90%;
  }
}
@media (max-width:600px){
  body{
      height: auto;
  }
  body::before{
      height: 100px;
      width: 100px;
  }
  .main .co{
      width: 98%;
      height: auto;
      flex-direction: column;
      margin: 20px 0px;
      box-shadow: none;
  }
  .main .co .image{
      height: 200px;
      width: 100%;
      display: flex;
      justify-content: center;
  }
  .main .co .image::before{
      height: 200px;
      clip-path: polygon(0% 0%, 100% 0, 100% 81%, 50% 100%, 0 81%);
  }
  .main .co .image img{
      height: 150px;
      margin-left: 0px;
      margin-top: -40px;
  }
  .main .co .form-area{
      width: 100%;
  }
  .main .co .form-area h2{
      font-size: 25px;
  }
  .main .co .form-area form{
      width: 90%;
      margin-top: 10px;
  }
  .main .co .social-icons{
      margin: 20px 0px;
  }
}

.checkbox-container {
    margin: 20px 0;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-family: Arial, sans-serif;
    color: #333;
    position: relative;
}

.checkbox-container input[type="checkbox"] {
    display: none; /* Hide the default checkbox */
}

.checkbox-container label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    transition: color 0.3s ease;
}

.checkbox-container label:hover {
    color: #000;
}

/* Custom checkbox design */
.checkbox-custom {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #62c3fc;
    border-radius: 4px;
    background-color: transparent;
    position: relative;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.checkbox-container input[type="checkbox"]:checked + label .checkbox-custom {
    background-color: #62c3fc;
    border-color: #62c3fc;
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 6px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -50%) rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.checkbox-container input[type="checkbox"]:checked + label .checkbox-custom::after {
    opacity: 1;
}
