/* Job Details Page */
.job-details-page {
  background-color: #f8fafc;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  height: 100vh;
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  /* height: 500px;z */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-section .overlay {
  background: rgba(0, 0, 0, 0.5);
  background-image: url("../img/hero.jpg");
  background-repeat: repeat;
  width: 100%;
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  padding: 20px;
}

.hero-section .job-title {
  font-size: 2.5rem;
  font-weight: bold;
}

.hero-section .breadcrumb {
  font-size: 1rem;
  margin-top: 10px;
}

.hero-section .breadcrumb a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.hero-section .breadcrumb a:hover {
  text-decoration: underline;
}

/* Job Details Grid (Two Columns) */
.job-details-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 40px 0;
}

/* Left Column: Main Job Details */
.job-content {
  flex: 1;
  min-width: 60%;
  max-width: 800px;
  background: white;
  padding: 30px;
  border-radius: 5px;
  margin: 0;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Right Column: Job Sidebar */
.job-sidebar {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  padding: 20px;
  background: white;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  text-align: center;
}

/* Sidebar Title */
.job-sidebar h3 {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 15px;
}

/* Job Meta in Sidebar */
.job-sidebar p {
  font-size: 1rem;
  color: #333;
  margin: 5px 0;
}

/* Apply Button */
.apply-btn-container {
  text-align: center;
  margin-top: 20px;
}

.apply-btn {
  background: #007bff;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2rem;
  display: inline-block;
  transition: 0.3s ease;
}

.apply-btn:hover {
  background: #0056b3;
}

.navbar {
  background-color: transparent;
  transition: background-color 0.3s ease-in-out;
}


.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.8);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}


.navbar.scrolled .nav-link {
  color: white !important;
}

@media (max-width: 1000px) {
  .job-content,
  .job-sidebar {
    min-width: 100%;
  }
}

/* Responsive for Small Screens */
@media (max-width: 768px) {
  .job-details-grid {
    flex-direction: column;
  }

  .job-content,
  .job-sidebar {
    min-width: 100%;
  }
}
