/* Contact Page Specific Styles */

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8fafc 0%, #fff 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

/* Contact Info */
.contact-info h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
}

.contact-info__intro {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid #e2e8f0;
}

.contact-detail-item:first-child {
    padding-top: 0;
}

.contact-detail-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.contact-detail-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.contact-detail-content p {
    font-size: 1rem;
    color: #64748b;
}

/* Trust Indicators */
.trust-indicators {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.trust-indicators h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.process-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.process-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    color: #475569;
    font-size: 1rem;
}

.step-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: #fff;
    padding: 50px 45px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.form-header {
    margin-bottom: 2.5rem;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.form-header p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
}

/* Form Styles */
.contact-form {
    position: relative;
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.625rem;
}

.required {
    color: #ef4444;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: #0f172a;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-input.error {
    border-color: #ef4444;
}

.form-input.error:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 45px;
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.form-error {
    display: block;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    min-height: 20px;
}

.form-privacy {
    margin-bottom: 2rem;
}

.form-privacy p {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Submit Button */
.btn--submit {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn--submit .btn-text,
.btn--submit .btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn--submit .btn-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    opacity: 0;
    pointer-events: none;
}

.btn--submit.loading .btn-text {
    opacity: 0;
}

.btn--submit.loading .btn-loader {
    opacity: 1;
}

.btn--submit:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Success Message */
.form-success {
    display: none;
    align-items: center;
    gap: 16px;
    background: #f0fdf4;
    border: 2px solid #86efac;
    border-radius: 12px;
    padding: 20px 24px;
    margin-top: 2rem;
}

.form-success.show {
    display: flex;
}

.form-success svg {
    color: #22c55e;
    flex-shrink: 0;
}

.form-success p {
    color: #166534;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.form-success strong {
    display: block;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .contact-info__intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .contact-detail-item {
        padding: 20px 0;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
    }

    .contact-icon svg {
        width: 20px;
        height: 20px;
    }

    .trust-indicators {
        padding: 28px 24px;
    }

    .contact-form-wrapper {
        padding: 40px 32px;
    }

    .form-header h2 {
        font-size: 1.75rem;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-input {
        padding: 12px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .form-textarea {
        min-height: 120px;
    }
}

@media (max-width: 480px) {
    .contact-info h2 {
        font-size: 1.75rem;
    }

    .contact-detail-item {
        gap: 16px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
    }

    .contact-detail-content h3 {
        font-size: 1rem;
    }

    .contact-detail-content p {
        font-size: 0.95rem;
    }

    .trust-indicators {
        padding: 24px 20px;
    }

    .trust-indicators h3 {
        font-size: 1.125rem;
    }

    .process-list li {
        font-size: 0.95rem;
    }

    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .form-header h2 {
        font-size: 1.5rem;
    }

    .form-header p {
        font-size: 0.95rem;
    }

    .form-label {
        font-size: 0.9rem;
    }

    .form-success {
        padding: 16px 20px;
        gap: 12px;
    }

    .form-success svg {
        width: 20px;
        height: 20px;
    }

    .form-success p {
        font-size: 0.875rem;
    }
}
