/*!
Theme Name: Divi
Theme URI: http://www.elegantthemes.com/gallery/divi/
Version: 4.27.4
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */
/* Overall form */
.wpcf7 form { 
  margin: 0 auto;  
}

/* Headline */
.wpcf7 form h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
  color: #443322;
}

/* Grid for first and last name */
.form-grid > p {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.wpcf7 p {
	padding-bottom: 0;
	color: #3a5325!important;
	font-size: 18px;
}
/* Text inputs */
.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  padding: 10px;
  border: 2px solid #D0E2BE;
  margin-bottom: 15px;
  border-radius: 4px;
  font-size: 16px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 0;
  cursor: pointer;
  background-color: #ffffff;
}

.wpcf7 SELECT {
  width: 100%;
  padding: 10px;
  border: 2px solid #D0E2BE;
  margin-bottom: 15px;
  border-radius: 4px;
  font-size: 16px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 0;
  cursor: pointer;
  background-color: #ffffff;
	height: 50px;
}

/* Textarea */
.wpcf7 textarea {
  height: 120px;
  resize: vertical;
}

/* Radio buttons */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.radio-group label {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #A78370;
}

.radio-group input[type="radio"] {
  margin-right: 6px;
}

/* Submit button */
.submit-btn {
  color: #3a5325;
  padding: 10px 50px;
  border: none;
  border-radius: 0px;
  display: block;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  border: 2px solid #fff;
  background: transparent;
  font-family: 'SinhalaMN', Helvetica, Arial, Lucida, sans-serif;
}

.submit-btn:hover {
    background-color: #3a5325 ;
	color: #fff;
}
.radio-group label   {
  position:relative;
}
.radio-group label input  {
 display:none;
}
.radio-group label input + .wpcf7-list-item-label
{
  padding-left: 35px;
  line-height: 32px;
}
.radio-group label input + .wpcf7-list-item-label:before {display:inline-block;width: 17px;height: 17px;border-radius:15px;position:absolute;top: 7px;left: 4px;}
.radio-group label input + .wpcf7-list-item-label:after {
    display:inline-block;
    width: 19px;
    border: 1px solid #a87e60;
    height: 19px;
    border-radius:15px;
    padding:2px;
    position:absolute;
    top: 3px;
    left:0;
}
.radio-group label input:checked + .wpcf7-list-item-label:before {  
  background: #a87e60;
}

.wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 14px;
    font-weight: normal;
    display: block;
    margin-top: -16px;
    margin-bottom: 10px;
}

.btn, .header-btn, .inv-btn {
	  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.hsm ul {
		color: #fff;
		width: auto !important;
	}
.only-mobile {
	display:none;
}

@media only screen and (max-width: 980px){
	.form-grid > p {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}
	.form-grid > p  br {
		display:none!important;
	}
	.hsm {
		margin-top: -50px;
	}
	.hsm ul {
		width: auto !important;
	}
	.sub-btn p {
	display: flex;
	width: 100%;
	justify-content: center;
	text-align: center;
	position: relative;
}
	
	.wpcf7-spinner {
	display:none;
}
	.only-mobile {
	 display:unset;	
	}
}
  

 .underline { 
	 border-bottom:0!important;
}

h1.underline-first .first-letter::after {
	height: 10px;
	transition-delay: 1000ms;
	bottom: -0.3em;
}

h2.underline-first .first-letter::after { 
	height: 5px;
	transition-delay: 500ms;
	bottom: 1px;
}

/* First-letter underline — only applied after JS adds .underline-on */
.underline-first .first-letter{
  position: relative;
  display: inline-block; /* so ::after matches letter width */
}

.underline-first .first-letter::after{
  content:"";
  position:absolute;
  left:0; 
  right:0;
  background:currentColor;
  transform-origin:left center;
  transform:scaleX(0);
  transition: transform 500ms cubic-bezier(.2,.8,.2,1);
  pointer-events:none;
}

/* Turn on after Divi’s move-in ends */
.underline-first.underline-on .first-letter::after{
  transform:scaleX(1);
}