body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.contact-div {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #c22d2d;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: white;
}
.contact-div h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #dfd408;
    text-align: center;
}
.contact-div p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: center;
    color: #fff;
}

#contactForm {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #c22d2d;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.0);
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: white;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

textarea {
    resize: none;
    min-height: 100px;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #0056b3;
}

.submit-btn:active {
    background-color: #004085;
}


.char-counter {
    font-size: 12px;
    color: #666;
    text-align: right;
    margin-top: 5px;
}


input:invalid:focus,
textarea:invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 5px rgba(220, 53, 69, 0.5);
}


@media (max-width: 768px) {
    #contactForm {
        margin: 10px;
        padding: 15px;
    }
}
