/* Contact page specific styles */

/* ========================================
   Contact Form - Professional Legal Services Style
   ======================================== */
.contact-form-container {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-container h3 {
    color: var(--primary-color);
    font-size: 1.375rem;
    font-weight: var(--font-weight-semibold);
    margin: 0 0 2rem 0;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: var(--font-weight-medium);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-group .required {
    color: #e53e3e;
    font-weight: var(--font-weight-bold);
    margin-left: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--bg-light);
    border: 1px solid var(--border-hover);
    border-radius: var(--border-radius-sm);
    padding: 0.75rem 1rem;
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(26, 54, 93, 0.1);
    background: var(--bg-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0aec0;
    opacity: 1;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem 1.25rem;
    padding-right: 2.5rem;
}

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

.form-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.btn-submit {
    background: var(--accent-color);
    color: var(--bg-white);
    border: none;
    border-radius: var(--border-radius-md);
    padding: 1rem 3rem;
    font-family: var(--font-family);
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    max-width: 300px;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-submit:disabled:hover {
    background: var(--accent-color);
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ========================================
   Contact Form Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .contact-form-container h3 {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

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

    .btn-submit {
        min-width: auto;
        max-width: none;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

.contact-intro-wrap {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.contact-response-box {
  margin-top: 1rem;
  background: linear-gradient(135deg, rgba(26, 95, 122, 0.1) 0%, rgba(45, 143, 170, 0.1) 100%);
}

.contact-link-note {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.contact-muted-note {
  color: var(--text-light);
}

.contact-inline-link {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Moved from contact.html inline <style> */
.contact-grid {
  display: block;
  max-width: 800px;
  margin: 0 auto;
}

.contact-form-container {
  background: var(--white);
  border-radius: 8px;
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.contact-info-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
}

.contact-info-card {
  background: var(--white);
  border-radius: 6px;
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s ease;
}

.contact-info-card:hover {
  border-color: var(--primary-color);
  background: #fffdf8;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background: #f5f5f5;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--text-dark);
}

.contact-info-content h4 {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.2rem;
  font-weight: 400;
}

.contact-info-content p,
.contact-info-content a {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}

.contact-info-content a:hover {
  color: var(--primary-color);
}

@media (max-width: 968px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
