/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: url('career-background.jpg') no-repeat center center fixed;
  background-size: cover;
  color: white;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.8);
  padding: 12px 20px;
  align-items: center;
  position: relative;
}

.logo {
  font-size: 26px;
  font-weight: bold;
  color: rgb(255, 255, 255);
}

.menu-icon {
  font-size: 26px;
  color: white;
  cursor: pointer;
  display: none;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin: 0 10px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

/* Career Section */
.career-section {
  display: flex;
  flex-wrap: wrap;
  padding: 40px 20px;
}

.left, .right {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.animated-heading {
  font-size: 30px;
  color: #FFD700;
  animation: fadeInUp 1s ease-in-out;
}

@keyframes fadeInUp {
  0% { transform: translateY(30px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.right {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  max-height: 70vh;
  overflow-y: auto;
}

.job-section h2 {
  margin: 20px 0 10px;
  color: #00f0ff;
}

.job-section ul {
  list-style: none;
}

.job-section li {
  margin: 10px 0;
  display: flex;
  justify-content: space-between;
}

.job-section button {
  background: yellow;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 5px;
}

/* Form Popup */
.form-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.form-container {
  background: white;
  color: black;
  border-radius: 10px;
  max-height: 90vh;
  width: 90%;
  max-width: 500px;
  overflow-y: auto;
  padding: 20px;
  animation: popUp 0.5s ease;
}

@keyframes popUp {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

#applyForm input, select {
  width: 100%;
  margin: 8px 0;
  padding: 10px;
  font-size: 16px;
}

#applyForm button {
  background: green;
  color: white;
  padding: 10px;
  margin-top: 10px;
  font-weight: bold;
  width: 100%;
  border: none;
  cursor: pointer;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* Intern only fields */
.intern-fields {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    right: 10px;
    background: black;
    flex-direction: column;
    width: 150px;
    z-index: 10;
    border-radius: 5px;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    padding: 10px;
  }

  .career-section {
    flex-direction: column;
  }
}
