/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #f8f9fa;
  color: #03045e;
}

/* Navbar */
.job-navbar {
  background-color: #03045e;
  color: #fff;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.job-navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.job-navbar-logo {
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: #caf0f8;
}

.job-nav-links {
  display: flex;
  list-style: none;
  gap: 1.2rem;
}

.job-nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.job-nav-links a:hover {
  color: #00b4d8;
}

/* Hero Section */
.job-hero {
  background: linear-gradient(rgba(0, 13, 255, 0.8), rgba(242, 255, 0, 0.7));
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.job-hero-overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.job-hero-overlay p {
  font-size: 1.2rem;
}

/* Job Section */
.job-section {
  padding: 60px 20px;
  text-align: center;
}

.job-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #0077b6;
}

.job-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.job-card {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  width: 300px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.job-card:hover {
  transform: translateY(-5px);
}

.job-card h3 {
  color: #03045e;
  margin-bottom: 10px;
}

.job-card p {
  margin-bottom: 1rem;
}

.apply-btn,
.job-apply-btn {
  background-color: #0077b6;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.apply-btn:hover,
.job-apply-btn:hover {
  background-color: #00b4d8;
}

/* Partners Section */
.job-partners {
  background: #e0f7fa;
  padding: 60px 20px;
  text-align: center;
}

.job-partners h2 {
  color: #0077b6;
  margin-bottom: 2rem;
}

.job-partner-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
}

.job-partner-logos img {
  max-width: 100px;
  filter: grayscale(70%);
  transition: filter 0.3s ease;
}

.job-partner-logos img:hover {
  filter: grayscale(0%);
}

/* Modal */
.job-modal {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
}

.job-modal-content {
  background: #fff;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  border-radius: 10px;
  position: relative;
}

.job-modal-content h2 {
  margin-bottom: 1rem;
  color: #03045e;
}

.job-modal-content input,
.job-modal-content textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #0077b6;
  border-radius: 5px;
}

.job-modal-content button[type="submit"] {
  background: #0077b6;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
}

.job-modal-content button[type="submit"]:hover {
  background: #00b4d8;
}

.job-response-msg {
  margin-top: 10px;
  font-size: 0.9rem;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #03045e;
}

/* Footer */
.job-footer {
  background: #03045e;
  color: white;
  text-align: center;
  padding: 20px;
}

/* Animations */
.fade-in {
  animation: fadeInUp 1s ease-in-out;
}

@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .job-navbar-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .job-nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
    margin-top: 1rem;
  }

  .job-hero-overlay h1 {
    font-size: 2rem;
  }

  .job-cards {
    flex-direction: column;
    align-items: center;
  }

  .job-card {
    width: 100%;
    max-width: 350px;
  }
}

@media (max-width: 480px) {
  .job-navbar-logo {
    font-size: 1.2rem;
  }

  .job-hero {
    padding: 80px 15px;
  }

  .job-hero-overlay h1 {
    font-size: 1.8rem;
  }

  .job-partner-logos {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  }
}
