.block-card{
    border: thin solid black;
    padding: var(--space-sm);
    min-height: 250px;
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--primary-color) 15%, transparent);

}

.cta-btn{
    background-color: var(--tertiary-color);
    color: var(--text-color);
    padding: 4px;
    border-radius: 4px;
    width: fit-content;
}

.cta-btn-lg{
    background-color: var(--tertiary-color);
    color: var(--text-color);
    padding: 4px;
    border-radius: 4px;
    width: fit-content;
    font-size: var(--fs-500);
}

.cta-btn:hover{
    opacity: 0.8;
}

.card{
    height: 80%;
    width: 80%;
    background-color: var(--background-color);
    /* border-radius: var(--radius-lg); */
    display: grid;
    grid-template-rows: 1fr 1fr;
    overflow: hidden;
    /* box-shadow:  0px 3px 10px rgba(0, 0, 0, 0.3); */

}

.card-info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
}

.card-img{
    height: fit-content;
    width: fit-content;
}

.contact-form{
    display: flex;
    flex-direction: column;
    text-align: center;
}

.contact-form form{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: var(--space-sm);
    width: 100%;
    height: 100%;
}

.contact-form input,
.contact-form textarea,
.contact-form select{
    box-sizing: border-box;
    width: 80%;
    padding: var(--space-sm);
    border: 2px solid rgba(0, 0, 0, 0.35);
    border-radius: var(--radius-sm);
}

.contact-form label,
.contact-form .h-captcha{
    width: 80%;
}

.contact-form label{
    text-align: left;
}

.contact-form .h-captcha{
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
    overflow: hidden;
}

.contact-form .h-captcha iframe{
    max-width: 100%;
}

.contact-form input:not([type="hidden"]):not([type="submit"]):not(:placeholder-shown):valid,
.contact-form textarea:not(:placeholder-shown):valid{
    border-color: green;
}

.contact-form input:not([type="hidden"]):not([type="submit"]):not(:placeholder-shown):invalid,
.contact-form textarea:not(:placeholder-shown):invalid{
    border-color: red;
}

.contact-form textarea{
    min-height: 10rem;
    resize: vertical;
}

.gallery{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    /* border: thin solid black; */
    margin-left: 5%;
    margin-right: 5%;
    gap: var(--space-sm);
}

.gallery > div{
    /* border: thin solid red; */
    min-height: 300px;
    min-width: 200px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    overflow: hidden;
}


.picture img{
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.page-heading-center{
    text-align: center;
}
.page-heading-left{
    text-align: left;
    margin-left: 5%;
}

.content-heading{
    font-size: var(--fs-600);
}

.rating-star{
    height: 25px;
    width: 25px;
}

.social-icon{
    height: 20px;
    width: 20px;
}

.social-links{
    display: flex;
    gap: var(--space-xs);
}

.testimonials{
    margin-left: 5%;
    margin-right: 5%;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: var(--space-sm);
}

.testimonial-card{
    min-height: 80%;
    width: 100%;
    border: solid thin black;
    padding: var(--space-sm);
    box-shadow:  0px 3px 10px rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;


}

.testimonial-icon{
    height: 50px;
    width: 50px;
}

.testimonial-rating{
    display: flex;
}

.Q-R{
    padding: var(--space-sm);
    /* border: solid thin grey; */
    border-radius: var(--radius-sm);
    box-shadow:  0px 3px 10px rgba(0, 0, 0, 0.3);
    margin-left: 5%;
    margin-right: 5%;
}

.line{
    display: block;
    border-top: 1px solid black;
    width: 100%;
    height: 1px;
    padding: var(--space-xs);
}

.map{
    grid-area: box-2;
    width: 100%;
    min-height: 450px;
}

.NF-container{
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
}

.NF-h1{
    font-size: var(--fs-1400);
}

.NF-msg{
    font-size: var(--fs-400);
}

.why-us{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: var(--space-sm);
    margin-left: 5%;
    margin-right: 5%;

}

.why-us-header-content{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-us-graphic{
    height: 100px;
    width: 100px;
    display: block;
}

.why-us-text{
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

@media (max-width: 820px){
    .cta-btn{
        font-size: var(--fs-400);
    }

    .testimonials{
        grid-template-columns: 1fr;
    }

    .gallery{
        grid-template-columns: 1fr;
    }

    .why-us{
        grid-template-columns: 1fr;
    }
}
