.contactForm-second {
    max-width: 600px;
    margin: 0 auto;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.home-popup .contactForm-second {
  box-shadow: unset;
}

.contactForm-second label {
    display: block;
    font-size: 16px;
    color: #555;
    margin-top: 15px;
    text-align: left;
}

.contactForm-second input[type="text"],
.contactForm-second input[type="tel"],
.contactForm-second select,
.contactForm-second textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.contactForm-second input[type="radio"],

/*.contactForm-second input[type="submit"] {
    display: block;
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    margin-top: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.contactForm-second input[type="submit"]:hover {
    background-color: #0056b3;
}*/
.contactForm-second .contactFormFull{
    margin: 15px auto 0;
    text-align: center;
}

.contactForm-second textarea {
    height: 80px;
    resize: vertical;
}

.radio {
  margin: 0.5rem;
}
.radio input[type=radio] {
  position: absolute;
  opacity: 0;
}
.radio input[type=radio] + .radio-label:before {
  content: "";
  background: #f4f4f4;
  border-radius: 100%;
  border: 1px solid #b4b4b4;
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  position: relative;
  top: -0.2em;
  margin-right: 1em;
  vertical-align: top;
  cursor: pointer;
  text-align: center;
  transition: all 250ms ease;
}
.radio input[type=radio]:checked + .radio-label:before {
  background-color: #3197EE;
  box-shadow: inset 0 0 0 4px #f4f4f4;
}
.radio input[type=radio]:focus + .radio-label:before {
  outline: none;
  border-color: #3197EE;
}
.radio input[type=radio]:disabled + .radio-label:before {
  box-shadow: inset 0 0 0 4px #f4f4f4;
  border-color: #b4b4b4;
  background: #b4b4b4;
}
.radio input[type=radio] + .radio-label:empty:before {
  margin-right: 0;
}

.check-box-wrap{
  text-align: left;
  font-size: 16px;
  margin: 0.5rem;
}

.my-checkbox {
  transform: scale(1.8);
  margin-right: 11px;
  margin-top:15px;
}

.checkbox {
  display: flex;
  flex-direction: column;
}

.checkbox input[type="checkbox"] {
  margin-right: 5px;
}

.checkbox label {
  display: inline-block;
  margin-bottom: 10px;
}

.checkbox input[type="checkbox"] + label {
  display: inline-block;
  vertical-align: middle;
}
label.smsCommunication{
  width: 80%;
  font-size: 14px;
}
.smsCommunication a{
  color: var(--orange);
}

.success-label, .warning-label {
    display: block;
    background-color: #4CAF50;  /* Green background */
    color: #fff;  /* White text color */
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 16px;
    margin-top: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}
.warning-label {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}

.success-label .icon {
    font-weight: bold;
    margin-right: 5px;
}

.pt-0{padding-top: 0 !important;}
.font-bold{font-weight: bold !important;}

.contactFormFull input[type="submit"] {
    background: var(--orange);
    color: var(--white);
    cursor: pointer;
    display: inline-block;
    padding: 15px 35px;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.3;
    text-transform: capitalize;
    text-align: center;
    letter-spacing: 2px;
    border: none;
}

.float-none{float: none !important;}

.text-center{text-align: center;}
.popup-form-desc{
  margin-top: 15px;
  margin-bottom: -20px;
}
.popup-form-desc p{
  font-size: 14px;
  /* text-align: justify; */
}
.max-w-991{max-width: 991px;}

/* popup css*/
.custom-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index: 10;
}
.custom-overlay:target, .custom-overlay-success, .custom-overlay-opened {
  visibility: visible;
  overflow-y: scroll;
  opacity: 1;
  z-index: 9999;
}

.custom-popup {
  margin: 70px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 40%;
  position: relative;
  transition: all 1s ease-in-out;
}

.custom-popup .custom-close {
  position: absolute;
  top: 10px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.custom-popup .custom-close:hover {
  color: #06D85F;
}
.custom-popup .custom-content {
  max-height: 30%;
  overflow: auto;
}
@media screen and (max-width: 1024px){
  .custom-popup{width: 50%;}
}
@media screen and (max-width: 1023px){
  .custom-overlay {
  	z-index: 10000;
  }
  .custom-popup {
    z-index: 10001!important;
  }

}

@media only screen and (min-width: 1024px) and (max-width: 1300px) {
    .contactFormFull input[type="submit"] {
        padding: 15px 35px;
        font-size: 18px;
    }

}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .contactFormFull input[type="submit"] {
        padding: 15px 35px;
        font-size: 18px;
    }
}

@media screen and (max-width: 768px){
  .custom-popup{width: 70%;}
  .contactForm-second {padding: 10px;box-shadow:none;}
}

@media only screen and (max-width: 767px) {
    .contactFormFull input[type="submit"] {
        padding: 15px 35px;
        font-size: 18px;
    }
}

@media screen and (max-width: 700px){
  .custom-popup{width: 85%;}
}
