/* Contact Page Styles */

/* Hero */
.contact-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.contact-subtitle {
    font-size: 1.125rem;
    color: #64748b;
}

/* Contact Section */
.contact-section {
    padding: 80px 0 120px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}

/* Form Wrapper */
.contact-form-wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1a1a2e;
}

.required {
    color: #ef4444;
    font-size: 0.875rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: inherit;
    color: #1a1a2e;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    background: #fff;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #94a3b8;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

/* Checkbox */
.form-checkbox {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #6366f1;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.9375rem;
    color: #64748b;
    cursor: pointer;
}

.form-checkbox label a {
    color: #6366f1;
    text-decoration: underline;
}

.form-checkbox label a:hover {
    color: #4f46e5;
}

/* Submit Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background: #f1f5f9;
    color: #1a1a2e;
}

.btn-secondary:hover {
    background: #e2e8f0;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.0625rem;
}

.btn-full {
    width: 100%;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
}

.success-icon svg {
    stroke: #fff;
}

.success-message h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.success-message p {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 32px;
}

/* Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
}

.sidebar-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-card p {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.7;
}

.sidebar-card a {
    color: #6366f1;
    text-decoration: underline;
}

.sidebar-card a:hover {
    color: #4f46e5;
}

/* Responsive */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        order: -1;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar-card {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 640px) {
    .contact-hero {
        padding: 100px 0 40px;
    }

    .contact-title {
        font-size: 1.875rem;
    }

    .contact-subtitle {
        font-size: 1rem;
    }

    .contact-section {
        padding: 40px 0 80px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        flex-direction: column;
    }

    .sidebar-card {
        min-width: auto;
    }
}
