body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f0f8ff;
  color: #333;
  overflow-x: hidden;
}

.welcome-page {
  background: url('institute.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.overlay {
  background-color: rgba(0,0,0,0.6);
  padding: 30px;
  text-align: center;
  border-radius: 10px;
}

.animated-title {
  font-size: 3rem;
  color: white;
  animation: fadeInDown 2s ease;
}

.institute-name {
  font-size: 2rem;
  color: #ffd700;
  margin: 20px 0;
}

.apply-button {
  padding: 10px 25px;
  font-size: 1.2rem;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.3s, background-color 0.3s;
}

.apply-button:hover {
  background-color: #218838;
  transform: scale(1.05);
}

.form-page {
  padding: 30px;
  background: #fefefe;
}

.animated-form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.animated-form input,
.animated-form select,
.animated-form button {
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.success-page {
  background-color: #d4edda;
  color: #155724;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  flex-direction: column;
}

.success-message h1 {
  font-size: 2.5rem;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}