.contact-main {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5vh 1rem;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #f4f7f9, #e8ecef); /* softer background */
}

.contact-wrapper {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-title {
  ``  text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1565c0; /* softened dark teal */
}

.contact-thankyou {
    background-color: #e6f9ee;
    color: #256029;
    padding: 1rem 1.25rem;
    border: 1px solid #a5d6b0;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0, 128, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-thankyou img {
    width: 80px;
    border-radius: 50%;
    margin-bottom: 0.5rem;
}


.contact-thankyou p {
    margin-top: 0.5rem;
    font-size: 1rem;
    color: #2f4f4f;
}

.contact-form .form-group {
    position: relative;
    margin-bottom: 2rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #cdd6dd;
    border-radius: 10px;
    font-size: 1rem;
    background: #fdfdfd;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #00796b;
}

.contact-form label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    background: white;
    padding: 0 0.3rem;
    font-size: 0.85rem;
    color: #555;
    pointer-events: none;
    transition: all 0.2s ease;
}

.contact-form input:focus + label,
.contact-form input:not(:placeholder-shown) + label,
.contact-form textarea:focus + label,
.contact-form textarea:not(:placeholder-shown) + label {
    top: -0.6rem;
    left: 0.8rem;
    font-size: 0.75rem;
    color: #1e88e5;
}

.submit-btn {
    width: 100%;
    margin-top: 1.25rem;
    padding: 0.75rem;
    background-color: #1e88e5; /* warmer green */
    border: none;
    color: white;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background-color: #1565c0;
    transform: scale(1.02);
}

.submit-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(21, 132, 125, 0.3);
}

.captcha-error {
    background: #ffe6e6;
    color: #b30000;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 1.75rem;
    text-align: center;
    font-weight: bold;
    font-size: 0.95rem;
}

.contact-form .errorlist {
    color: #d32f2f;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    list-style-type: none;
    padding-left: 0;
}

@media (max-width: 600px) {
    .contact-wrapper {
        padding: 2rem 1.5rem;
    }
}
