<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Registration Form</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            margin: 0;
            padding: 0;
        }
        .form-container {
            width: 400px;
            margin: 50px auto;
            padding: 20px;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }
        h1 {
            text-align: center;
            color: #333;
        }
        label {
            font-size: 14px;
            font-weight: bold;
            margin: 10px 0 5px;
            display: block;
        }
        input, select {
            width: 100%;
            padding: 10px;
            margin-bottom: 15px;
            border-radius: 5px;
            border: 1px solid #ccc;
            font-size: 14px;
        }
        button {
            width: 100%;
            padding: 10px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 5px;
            font-size: 16px;
            cursor: pointer;
        }
        button:hover {
            background-color: #45a049;
        }
    </style>
</head>
<body>
    <div class="form-container">
        <h1>Registration Form</h1>
        <form action="/submit" method="post">
            <label for="username">Enter Your Name</label>
            <input type="text" name="username" required><br>

            <label for="phone">Phone Number</label>
            <input type="tel" name="phone" required><br>

            <label for="profession">Work Profession</label>
            <select name="profession" required>
                <option value="Mason">Mason</option>
                <option value="Plumber">Plumber</option>
                <option value="Electrician">Electrician</option>
                <option value="Carpenter">Carpenter</option>
                <option value="Housemaid">Housemaid</option>
                <option value="Painter">Painter</option>
                <option value="Driver">Driver</option>
                <option value="Construction Laborer">Construction Laborer</option>
                <option value="Security Guard">Security Guard</option>
                <option value="Agricultural Worker">Agricultural Worker</option>
                <option value="Handyman">Handyman</option>
            </select><br>

            <label for="location">Location</label>
            <select name="location" required>
                <option value="Hyderabad">Hyderabad</option>
                <option value="Warangal">Warangal</option>
                <option value="Nizamabad">Nizamabad</option>
                <option value="Khammam">Khammam</option>
                <option value="Karimnagar">Karimnagar</option>
                <option value="Suryapet">Suryapet</option>
                <option value="Mahabubnagar">Mahabubnagar</option>
                <option value="Rangareddy">Rangareddy</option>
                <option value="Medak">Medak</option>
                <option value="Adilabad">Adilabad</option>
            </select><br>

            <button type="submit">Register</button>
        </form>
    </div>
</body>
</html>
