<?php
/**
 * Globinex Research — Central configuration
 * Google reCAPTCHA + SMTP mail settings used by contact-handler.php,
 * proposal-handler.php, apply-handler.php and newsletter-handler.php.
 *
 * IMPORTANT: This file contains live credentials (SMTP password, reCAPTCHA
 * secret). Keep it OUTSIDE any public git repo, or at least add it to
 * .gitignore. Never expose this file's contents to the browser.
 */

// ---------------- Google reCAPTCHA v2 ("I'm not a robot" checkbox) ----------------
define('GX_RECAPTCHA_SITE_KEY',   '6LeGpiArAAAAAMmpEuTe7IrUJzXJNbJfIjLAyxC6');
define('GX_RECAPTCHA_SECRET_KEY', '6LeGpiArAAAAADQFE83JlCODzGXrRBimRDjCRBgf');

// ---------------- SMTP (Amazon SES) ----------------
define('GX_SMTP_HOST',       'email-smtp.us-west-2.amazonaws.com');
define('GX_SMTP_USERNAME',   'AKIAZZHLWCCQ5NBOJZP3');
define('GX_SMTP_PASSWORD',   'BJ4IqJXcxJL9E3Lw3d4dilFvNMrmQjFPZ+KdKR4MQAUe');
define('GX_SMTP_PORT',       587);
define('GX_SMTP_SECURE',     'tls'); // tls (STARTTLS) or ssl

// "From" address shown on outgoing mail (should ideally be a verified SES domain/identity)
define('GX_MAIL_FROM_EMAIL', 'noreply@globinexresearch.com');
define('GX_MAIL_FROM_NAME',  'Globinex Research Website');

// ---------------- Recipient addresses per form ----------------
// Change these if a form's notification should go to a different inbox.
define('GX_CONTACT_TO_EMAIL',     'info@globinexresearch.in');
define('GX_PROPOSAL_TO_EMAIL',    'business@globinexresearch.com');
define('GX_APPLY_TO_EMAIL',       'info@globinexresearch.in');
define('GX_NEWSLETTER_TO_EMAIL',  'info@globinexresearch.in');

// ---------------- Uploads (used by apply-handler.php) ----------------
define('GX_UPLOAD_DIR', __DIR__ . '/uploads/resumes/');
define('GX_UPLOAD_MAX_BYTES', 5 * 1024 * 1024); // 5 MB
define('GX_UPLOAD_ALLOWED_EXT', ['pdf', 'doc', 'docx']);
