/* Contact Us Button in Header */
.contact-us-button {
    background-color: #295e84;
    color: white;
    border: none;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    margin-right: 1rem;
    white-space: nowrap;
}

.contact-us-button:hover {
    background-color: #1d4a65;
    transform: translateY(-1px);
}

.contact-us-button:active {
    transform: translateY(0);
}

/* Contact Form Styling */
.contact-intro-message {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-style: italic;
}

.contact-form-group {
    margin-bottom: 1.25rem;
}

.contact-form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 0.95rem;
}

.contact-form-input,
.contact-form-textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.contact-form-input:focus,
.contact-form-textarea:focus {
    outline: none;
    border-color: #295e84;
    box-shadow: 0 0 0 3px rgba(41, 94, 132, 0.1);
}

.contact-form-textarea {
    resize: vertical;
    font-family: inherit;
}

.contact-form-feedback {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.contact-form-feedback.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.contact-form-feedback.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* Modal Footer Buttons */
.contact-submit-button {
    background-color: #295e84 !important;
    border-color: #295e84 !important;
    color: white !important;
    font-weight: 500;
}

.contact-submit-button:hover {
    background-color: #1d4a65 !important;
    border-color: #1d4a65 !important;
}

.contact-close-button {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: white !important;
}

.contact-close-button:hover {
    background-color: #5a6268 !important;
    border-color: #545b62 !important;
}

/* Modal Customization */
.modal-content {
    border-radius: 8px;
}

.modal-header {
    background-color: #f8f9fa;
    border-bottom: 2px solid #295e84;
}

.modal-title {
    color: #295e84;
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-us-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        margin-right: 0.5rem;
    }
}

@media (max-width: 480px) {
    .contact-us-button {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
}
