

.contact-grid {
    padding: 0 50px; /* top-down, left-right */
    grid-template-columns: 1fr 1fr 1fr;
    text-align: justify;
}

.contact-grid h3 {
    display: block;
    font-family: "Inter", sans serif;
    font-size: 1.17em;
    font-weight: bold;
    margin: 1em 0;
}

.contact-grid p {
    font-family: "Inter", sans serif;
    font-size: 1.17rem;
    text-align: left;
    padding: 5px 0;
}

form input, form textarea {
    width: 90%;
    padding: 10px;
    margin: 10px auto;
    display: block;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: "Inter", sans-serif;
    font-size: 1.17em;
    box-sizing: border-box;
}

form button {
    padding: 10px 15px;
    margin: 10px auto 50px auto;
    display: block;
    background-color: #007BFF;
    font-family: "Inter", sans-serif;
    font-size: 1.17em;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

form button:hover {
    background-color: #0056b3;
}

.error {
    font-family: "Inter", sans-serif;
    font-size: 1.17em;
    color: red;
    font-weight: bold;
    margin-bottom: 10px;
}

.success {
    font-family: "Inter", sans-serif;
    font-size: 1.17em;
    color: green;
    font-weight: bold;
    margin-bottom: 10px;
}



@media (max-width: 768px) {
    /* contact form */
    .contact-grid {
        padding: 0 8px;
        grid-template-columns: 1fr;
    }
    
    form input, form textarea, form button {
        width: 90%;
        margin: 0 auto 15px auto;
        padding: 12px;
        display: block;
        box-sizing: border-box;
    }

    form button {
        width: 90%;
    }

    .error, .success {
        font-size: 1.17em;
        margin-bottom: 15px;
    }
}




@media (max-width: 480px) {
    .contact-grid {
        margin: 0;
        padding: 0 10px;
    }
    
    .contact-grid p {
        word-break: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        max-width: 100%;
    }
}













    