@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.contact{
    position: relative;
    min-height: 100vh;
    padding: 10px 40px 20px;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    background-image: url(../img/road1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
  
}
.contact::before{
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.6); */
}

.contact .cont-content{
    max-width: 800px;
    text-align: center;
}

.contact .cont-content h2{
    font-size: 36px;
    font-weight: 500;
    color: #fff;
}

.contact .cont-content p{
font-weight: 300;
color: #fff;
}

.container-c{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.container-c .contactInfo{
    width: 50%;
    display: flex;
    flex-direction: column;
}

.container-c .contactInfo .box-1{
    position: relative;
    padding: 20px 0;
    display: flex;

}

.container-c .contactInfo .box-1 .icon{
    min-width: 60px;
    height: 60px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 22px;
}

.container-c .contactInfo .box-1 .text{
  width: 70%;
    display: flex;
    margin-left: 20px;
    font-size: 42px;
    color: #fff;
    flex-direction: column;
    font-weight: 800;
}

/* .container-c .contactInfo .box-1 .text h3{
    font-weight: 500;
    color: #00bcd4
} */

.contactForm {
    width: 100%; /* Change width to 100% for responsiveness */
    max-width: 400px; /* Set a maximum width to avoid excessive expansion */
    padding: 20px; /* Adjust padding for better spacing */
    background: #fff;
    border-radius: 2%;
    height: auto;
  }
  
  @media (min-width: 768px) {
    /* Apply styles for screens with a minimum width of 768px */
    .contactForm {
      width: 50%; /* Adjust width for larger screens */
      max-width: 500px; /* Adjust maximum width */
      padding: 30px; /* Adjust padding */
      height: auto;
    }
  }
  
@media (max-width: 991px) {
	.text p{
    width: 130%;
		 font-size: 25px;
	}
    
 }

  
.contactForm h2{
    font-size: 30px;
    color: #333;
    font-weight: 500;
}
.contactForm .inputbox{
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.contactForm .inputbox input,
.contactForm .inputbox textarea{
    /* width: 100%;
    padding: 15px 0;
    font-size: 16px;
    margin: 10px 0; */

    position: relative;
    height: 45px;
    margin-top: 15px;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0px 15px;
    /* border: none; */
    /* border-bottom: 2px solid #333; */
    /* outline: none;
    resize: none; */
}



/* .contactForm .inputbox span{
    position: absolute;
    left: 0;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    pointer-events: none;
    transition: 0.5s;
    color: #666;
} */

.contactForm .inputbox input:focus ~ span,
.contactForm .inputbox input:valid ~ span,
.contactForm .inputbox textarea:focus ~ span,
.contactForm .inputbox textarea:valid ~ span{
    color: #e91e63;
    font-size: 12px;
    transform: translate(-20px);

}

.login-form .captcha{
    margin: 15px 0px;
}

.login-form .captcha .preview{
    color: #555;
    width: 100%;
    text-align: center;
    height: 40px;
    line-height: 40px;
    letter-spacing: 8px;
    border: 1px dashed #888;
    font-family: "monospace";
}

.login-form .captcha .preview span{
    display: inline-block;
    user-select: none;
}

.login-form .captcha .captcha-form{
    display: flex;
}

.login-form .captcha .captcha-form input{
    width: 100%;
    padding: 8px;
    border: 1px solid #888;
}

.login-form .captcha .captcha-form .captcha-refresh{
    width: 40px;
    border: none;
    outline: none;
    background: #888;
    color: #eee;
    cursor: pointer;
}


/* captcha css */


.input_field {
    position: relative;
    height: 40px;
    margin-top: 15px;
    width: 100%;
  }
  .refresh_button {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: #826afb;
    height: 25px;
    width: 25px;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
  }
  .refresh_button:active {
    transform: translateY(-50%) scale(0.98);
  }
  .input_field input,
  .btn button {
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    border-radius: 8px;
  }
  .input_field input {
    padding: 0 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
  }
  .captch_box input {
    color: #6b6b6b;
    font-size: 18px;
    pointer-events: none;
  }
  .captch_input input:focus {
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  }
  .message {
    font-size: 14px;
    margin: 14px 0;
    color: #826afb;
    display: none;
  }
  .message.active {
    display: block;
  }
   .btn button {
    background: #826afb;
    color: #fff;
    cursor: pointer;
    user-select: none;
  }
  .btn button:active {
    transform: scale(0.99);
  }
  .btn.disabled {
    opacity: 0.6;
    pointer-events: none;
  }


@media(max-width:991px){
    .contact{
        padding: 50px;
      
    }
    .container-c{
        flex-direction: column;
    }
    .container-c .contactInfo{
        margin-bottom: 40px;
    }
    .container, .container-c .contactInfo,.contactForm{
        width: 100%;
    }
}


