.contact-form-wrapper {
    max-width: 100%;
    margin: 20px auto;
    padding: 20px;
    width: 100%;
}

.contact-form {
    background: transparent;
    padding: 30px 0;
    border: none;
    box-shadow: none;
}

.contact-form-field {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.contact-form-field input[type="text"],
.contact-form-field input[type="email"],
.contact-form-field textarea {
    width: 60%;
    max-width: 600px;
    padding: 12px;
    border: 1px solid #173f7e;
    border-radius: 8px;
    background: transparent;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    transition: all 0.3s ease;
    color: #173f7e;
}

/* Mobile devices */
@media screen and (max-width: 768px) {
    .contact-form-field input[type="text"],
    .contact-form-field input[type="email"],
    .contact-form-field textarea {
        width: 80%;
        max-width: 100%;
    }
}

.contact-form-field input[type="text"]::placeholder,
.contact-form-field input[type="email"]::placeholder,
.contact-form-field textarea::placeholder {
    color: #173f7e;
    opacity: 0.7;
}

.contact-form-field input[type="text"]:focus,
.contact-form-field input[type="email"]:focus,
.contact-form-field textarea:focus {
    outline: none;
    border-color: #173f7e;
    background: rgba(23, 63, 126, 0.05);
    box-shadow: 0 0 0 3px rgba(23, 63, 126, 0.1);
}

.contact-form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-submit {
    background: transparent;
    color: #173f7e;
    padding: 12px 30px;
    border: 1px solid #173f7e;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 60%;
    max-width: 600px;
}

/* Mobile devices */
@media screen and (max-width: 768px) {
    .contact-form-submit {
        width: 80%;
        max-width: 100%;
    }
}

.contact-form .contact-form-submit:hover,
.contact-form-wrapper .contact-form-submit:hover,
.contact-form-submit:hover {
    color: #ffffff !important;
    border-color: #173f7e !important;
    background: #173f7e !important;
    box-shadow: 0 0 0 3px rgba(23, 63, 126, 0.1);
}

.contact-form-submit:disabled {
    color: #173f7e;
    opacity: 0.5;
    border-color: #173f7e;
    cursor: not-allowed;
    background: transparent;
}

.contact-form-message {
    margin-bottom: 20px;
    padding: 12px;
    border: 1px solid #173f7e;
    border-radius: 8px;
    display: none;
    background: transparent;
    font-size: 14px;
    color: #173f7e;
}

.contact-form-message.success {
    color: #173f7e;
    border-color: #173f7e;
    background: rgba(23, 63, 126, 0.05);
    display: block;
}

.contact-form-message.error {
    color: #173f7e;
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
    display: block;
}

/* Honeypot field - hidden from users, visible to bots */
.contact-form-honeypot {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.contact-form-honeypot label,
.contact-form-honeypot input {
    display: none !important;
}

/* Success screen */
.contact-form-success-screen {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.contact-form-success-message {
    max-width: 600px;
    width: 100%;
}

.contact-form-success-message h2 {
    color: #173f7e;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.5;
}

.contact-form-home-button {
    display: inline-block;
    background: transparent;
    color: #173f7e;
    padding: 12px 30px;
    border: 1px solid #173f7e;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form-home-button:hover {
    color: #ffffff !important;
    border-color: #173f7e !important;
    background: #173f7e !important;
    box-shadow: 0 0 0 3px rgba(23, 63, 126, 0.1);
}

/* Mobile devices */
@media screen and (max-width: 768px) {
    .contact-form-success-message h2 {
        font-size: 20px;
    }
    
    .contact-form-home-button {
        width: 80%;
        max-width: 300px;
    }
}

