body { margin: 0; padding: 40px 20px; font-family: 'Inter', sans-serif; background-color: #f4f5f7; display: flex; flex-direction: column; align-items: center; min-height: 100vh; color: #333; transition: font-family 0.3s ease; }
body.font-tamil { font-family: 'Baloo Thambi 2', cursive, sans-serif; }
.lang-switcher { width: 100%; max-width: 1000px; display: flex; justify-content: flex-end; margin-bottom: 20px; }
.lang-switcher select { padding: 8px 16px; border-radius: 20px; border: 1px solid #ccc; font-family: inherit; font-size: 14px; cursor: pointer; outline: none; background: white; }
.wrapper { display: flex; flex-wrap: wrap; max-width: 1000px; width: 100%; gap: 40px; align-items: center; }
.info-section { flex: 1; min-width: ; }
.overline { font-size: 12px; font-weight: 600; color: #888; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.title { font-size: 42px; font-weight: 700; color: #0f172a; line-height: 1.1; margin: 0 0 20px 0; }
.subtitle { font-size: 15px; color: #666; margin-bottom: 40px; line-height: 1.5; }
.contact-item { display: flex; align-items: center; margin-bottom: 20px; }
.contact-icon { width: 40px; height: 40px; background: #e0e7ff; border-radius: 50%; display: flex; justify-content: center; align-items: center; margin-right: 15px; color: #007bff; }
.contact-icon svg { width: 20px; height: 20px; fill: currentColor; }
.contact-label { font-size: 12px; color: #888; margin-bottom: 2px; }
.contact-value { font-size: 15px; font-weight: 500; color: #333; }
.form-section { flex: 1; background: #ffffff; padding: 40px; border-radius: 24px; box-shadow: 0 10px 40px rgba(0,0,0,0.04); position: relative; min-height: 450px; }
.form-group { margin-bottom: 20px; position: relative; }
.form-row { display: flex; gap: 15px; }
.form-row .form-group { flex: 1; }
label { display: block; font-size: 13px; color: #555; margin-bottom: 8px; font-weight: 500; }
input, textarea { width: 100%; padding: 14px 16px; background-color: #f0f2f5; border: 1px solid transparent; border-radius: 8px; font-family: inherit; font-size: 14px; color: #333; box-sizing: border-box; outline: none; transition: background 0.2s, border-color 0.2s; }
input::placeholder, textarea::placeholder { color: #aaa; }
input:focus, textarea:focus { background-color: #e4e6e9; }
.textarea-wrapper { position: relative; }
textarea { height: 120px; resize: none; padding-bottom: 45px; }
.mic-btn { position: absolute; bottom: 12px; right: 12px; background: #e0e7ff; color: #0066ff; border: none; border-radius: 50%; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; display: none; }
.mic-btn svg { width: 18px; height: 18px; fill: currentColor; }
.mic-btn:hover { background: #d0d7ff; }
.mic-btn.listening { background: #ffe3e3; color: #dc3545; animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); } 100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); } }
button.primary-btn { display: flex; align-items: center; justify-content: center; padding: 14px 24px; background: #0066ff; color: white; border: none; border-radius: 50px; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background 0.3s, transform 0.1s; width: max-content; }
button.primary-btn:hover { background: #0052cc; }
button.primary-btn:active { transform: scale(0.98); }
button.secondary-btn { background: #f1f5f9; color: #334155; border: 1px solid #e2e8f0; margin: 0 auto; }
button.secondary-btn:hover { background: #e2e8f0; }
.btn-icon { background: white; color: #0066ff; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 12px; }
.btn-icon svg { width: 14px; height: 14px; fill: currentColor; }
#formMessage { margin-top: 15px; font-weight: 500; font-size: 14px; min-height: 20px; }
.inline-error { color: #dc3545; font-size: 12px; margin-top: 6px; display: none; font-weight: 500; }
#successState { display: none; text-align: center; padding: 40px 20px; animation: fadeIn 0.5s ease; }
.success-icon-wrap { background: #e6f4ea; color: #34a853; width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.success-icon-wrap svg { width: 40px; height: 40px; fill: currentColor; }
#successState h2 { margin-top: 0; color: #0f172a; font-size: 28px; margin-bottom: 10px; }
#successState p { color: #64748b; line-height: 1.6; margin-bottom: 30px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 768px) { .wrapper { flex-direction: column; } .form-section { padding: 25px; min-height: auto; } .title { font-size: 32px; } }