.contact-holder{
    width: 100%;
    display: flex;
    justify-content: center;
}
.contact{
    width: 100%;
    display: flex;
    padding: var(--section-padding);
    gap: 2em;
}

.contact-info{
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 2em;
    background-color: var(--card-clr);
    padding: 1em;
    height: max-content;
    border-radius: var(--radius);
}
.contact-info h4{
    font-family: var(--font-headline);
    text-align: start;
    color: var(--light);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    max-width: 300px;
    line-height: 1.6;
}
.contact-info h4 span{
    color: var(--ac-clr);
    text-shadow: 0 0 3px var(--ac-clr);
}

.contact-info .phone{
    display: flex;
    gap: 10px;
    cursor: pointer;
	width: max-content;
}
.contact-info .phone:hover p,
.contact-info .phone:hover a{
    color: var(--light);
}
.contact-info .phone img{
    min-width: 30px;
    width: 30px;
    height: auto;
}
.contact-info .phone p,
.contact-info .phone a{
    color: var(--ac-clr);
    font-size: 1.3rem;
    transition: all .4s ease;
}


.form-holder{
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 2.5em;
}
.contact-form{
    width: 100%;
    height: max-content;
    display: flex;
    flex-direction: column;
    gap: 2.5em;
}
.contact-form .form-row{
    width: 100%;
    height: max-content;
    max-height: max-content;
    position: relative;
}
.contact-form .form-row input,
.contact-form .form-row textarea{
    width: 100%;
    padding: 0 10px 8px;
    font-size: 1.2rem;
    border: 0;
    outline: 0;
    background: transparent;
    z-index: 2;
    position: relative;
    font-family: var(--font-body);
}
.contact-form .form-row::before{
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background-color: var(--card-clr);
}
.contact-form .form-row::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--ac-clr);
    box-shadow: 0 0 5px var(--ac-clr);
    transition: all .3s ease;
}

.contact-form .form-row label{
    position: absolute;
    font-size: 1.1rem;
    bottom: 8px;
    left: 10px;
    font-family: var(--font-body);
    transition: all .3s ease;
    z-index: 1;
    padding-bottom: 3px;
}

.contact-form .form-row input:focus + label,
.contact-form .form-row textarea:focus + label{
    bottom: 100%;
    font-size: .8rem;
    color: var(--ac-clr);
}
.contact-form .form-row:has(input:focus)::after,
.contact-form .form-row:has(textarea:focus)::after{
    width: 100%;;
}
.contact-form .form-row:has(input:focus)::before{
    width: 0;
}

.contact-form .form-row textarea{
    min-height: 33px !important;
    min-width: 100%;
    max-width: 100% !important;
}


.contact-form .form-row p,
.contact-form .form-row a{
    font-size: .8rem;
}
.contact-form .form-row a{
    color: var(--ac-clr);
    text-replace: all .2s;
}
.contact-form .form-row a:hover{
    text-decoration: underline;
}
.contact-form .checkbox-row{
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 10px;
}
.contact-form .checkbox-row input{
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;
}
.contact-form .checkbox-row::before,
.contact-form .checkbox-row::after{
    display: none;
}


.contact-form .form-row.active label{
    bottom: 100%;
    font-size: .8rem;
    color: var(--ac-clr);
}
.contact-form .form-row.active::after{
    width: 100%;
}



.form-row.error label {
    color: red !important;
    transition: color 0.2s ease;
}

.checkbox-row.error input[type="checkbox"] {
    outline: 2px solid red;
    outline-offset: 2px;
}


.hp-field{
    position:absolute !important;
    left:-10000px !important;
    top:auto !important;
    width:1px !important;
    height:1px !important;
    overflow:hidden !important;
}


@media (max-width: 1000px) {
    .contact{
        flex-direction: column;
        max-width: 500px;
        gap: 4em;
    }
    .contact-info,
    .contact-info h4,
    .form-holder{
        width: 100%;
        max-width: 500px;
        background: none;
        padding: 0;
    }
    .wc-form .contact-info{
        width: 100% !important;
    }
    .contact-form button{
        align-self: center;
    }
}


@media (max-width: 385px) {
    .contact-info .phone img{
        width: 20px;
        min-width: 20px;
    }
    .contact-info .phone p{
        font-size: 1rem !important;
    }
}

/* website-check form */
.wc-form{
    gap: 4em;
    align-items: center;
    margin: 8em 0;
}
.wc-form .contact-info{
    width: 50%;
}
.wc-form .contact-info h4{
    max-width: 500px;
}
