<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>IT Scholarship Opportunity Form</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f9f9f9;
color: #333;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.container {
max-width: 500px;
background-color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h2 {
text-align: center;
color: #333;
margin-bottom: 20px;
}
label {
font-weight: bold;
color: #555;
}
input[type="text"],
input[type="email"],
input[type="file"],
select,
textarea {
width: 100%;
padding: 10px;
margin-bottom: 20px;
border-radius: 5px;
border: 1px solid #ccc;
}
input[type="submit"] {
background-color: #4CAF50;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
input[type="submit"]:hover {
background-color: #45a049;
}
select {
background-color: #f5f5f5;
color: #333;
}
</style>
</head>
<body>
<div class="container">
<h2>IT Scholarship Opportunity Form</h2>
<form action="https://yourwebsite.com/submit" method="post" enctype="multipart/form-data">
<!-- Personal Information -->
<label for="name">Full Name:</label><br>
<input type="text" id="name" name="name" required><br>
<label for="email">Email Address:</label><br>
<input type="email" id="email" name="email" required><br>
<label for="university_logo">Upload Your Image (JPG/PNG only):</label><br>
<input type="file" id="university_logo" name="university_logo" accept="image/jpeg, image/png"><br>
<label for="university">University/Institution:</label><br>
<input type="text" id="university" name="university" required><br>
<!-- Academic Background -->
<label for="program">Select Program:</label><br>
<select id="program" name="program">
<option value="">Select Program</option>
<option value="Bachelor's Degree">Bachelor's Degree</option>
<option value="Master's Degree">Master's Degree</option>
<option value="PhD Program">PhD Program</option>
<!-- Add more programs as needed -->
</select><br><br>
<!-- Statement of Purpose -->
<label for="statement">Statement of Purpose:</label><br>
<textarea id="statement" name="statement" rows="4" required></textarea><br>
<!-- Letters of Recommendation -->
<label for="recommendation">Letters of Recommendation (optional):</label><br>
<input type="file" id="recommendation" name="recommendation" accept=".pdf, .doc, .docx"><br><br>
<!-- Country -->
<label for="country">Country:</label><br>
<select id="country" name="country">
<option value="">Select Country</option>
<option value="Afghanistan">Afghanistan</option>
<option value="Albania">Albania</option>
<option value="Algeria">Algeria</option>
<!-- Add more countries as needed -->
</select><br><br>
<!-- Resume -->
<label for="pdf_file">Upload Your Resume (PDF only):</label><br>
<input type="file" id="pdf_file" name="pdf_file" accept=".pdf" required><br><br>
<input type="submit" value="Submit Application">
</form>
</div>
<script>
// Open a new website for submitting the PDF file
document.querySelector('form').addEventListener('submit', function(event) {
event.preventDefault(); // Prevent default form submission
window.open('https://yourwebsite.com/submit'); // Open the submission website in a new tab
});
</script>
</body>
</html>