/* Contact Form 7 */
.custom-contact-form {
    padding: 20px 20px 0px 20px;
    border-radius: 0px;
    background-color: #f7f1e9;
    color: #444841;
    width: 550px;
    max-width:85%;
    margin: 0 auto;
    z-index: 500;
    position: relative;
    margin-bottom: 80px;
    margin-top: 75px;
}

.form-grid {
    display: flex;
    gap: 20px;
}

.form-column {
    flex: 1;
}
.wpcf7-not-valid-tip{
    font-size: 0.8rem;
}
.wpcf7 input, .wpcf7 textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 30px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.wpcf7 input{
    padding-left: 0px;
    color:var(--primary-text-color);
    font-family: 'Made Tommy Regular';
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: 0px;
    border-bottom-width: 0px;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
    border-radius: 0px;
    background-color: transparent;
    border-bottom: 1px solid #837f71;
    font-size: 0.9rem;
}
input:focus{
    outline: none;
    border-bottom: 1px solid #000; /* Only change the color */
    box-shadow: 0 1px 0 rgba(0, 0, 0, 1); /* Optional shadow for effect */
}
textarea{
    border:0px;
}
textarea:focus{
    border:0px;outline:none;
}
.wpcf7 textarea {
    height: 150px;
    resize: none;
    border:0;
    outline:0;
}
.wpcf7-spinner{
    margin: 0 auto;
    margin-top: 0px;
    display: block;
    margin-top: 5px;
    margin-bottom: 5px;
}
.wpcf7-form input[type="submit"] {
    
    background-color: var(--primary-link-color); /* Use your global variable */
    color: var(--secondary-text-color);
    border: none;
    padding: 10px 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: auto;
    margin: 0 auto;
    margin-top:25px;
    text-align: center;
    display: inherit;
    
}

.wpcf7-form input[type="submit"]:hover {
    background-color: var(--secondary-bg-color); /* Change color on hover */
    
}

.wpcf7-form input[type="submit"]:active {
    transform: translateY(1px) scale(0.98);
}


.form-headline{
    font-family: 'EB+Garamond';
    font-weight: 100;
    font-size: 2rem;
    text-align: center;
    color: var(--third-headline-color);
}
@media (max-width:768px){
    .form-headline{
        font-size: 2.5rem;
    }
}
.form-subtext{
    text-align: center;
    margin-bottom:50px;
    font-family: 'Made Tommy Regular';
    color: var(--primary-text-color);
    font-size: 0.8rem;
}
::placeholder {
    color: #837f71; /* Replace with your variable or a color */
    opacity: 1; /* Ensure full opacity */
}

:-ms-input-placeholder { /* For Internet Explorer 10-11 */
    color: #837f71;
}

::-ms-input-placeholder { /* For Microsoft Edge */
    color: #837f71;
}



.wpcf7-form {
    
    padding: 0 !important;
    margin: 0 !important;

}



.wpcf7-response-output{
    border: none !important;
    font-size: 0.85rem !important;
    text-align: center !important;
}

.wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 0.8rem;
    font-weight: normal;
    position: absolute;
    left: 0;
    top: 33px;
  }