/* ===== General Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #f4f6fb;
  color: #333;
  line-height: 1.6;
  margin-top: 90px; /* adds space below fixed navbar */
}

/* ===== Navbar ===== */
header {
  background-color: #ffffff;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Navbar container */
.navbar-container {
	width: 100%;
	max-width: 95%;
	margin: 0;
	display: flex;
	align-items: center;      
	justify-content: space-between;
	padding: 8px 0px;
	box-sizing: border-box;
}


.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 55px;
  margin-left:0;
  margin-bottom:10px;
  margin-top:10px;
}

.logo h1 span {
  font-size: 1.6rem;
  color: #075480;
  font-weight: 600;
}

/* ===== Job Card Section ===== */
.job-section {
  width: 95%;
  max-width: 900px;
  margin: 40px auto 50px;
}

.job-card {
  background-color: #fff;
  border-radius: 16px;
  padding: 30px 35px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.job-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.job-info h2 {
  color: #1e1e1e;
  font-size: 1.4rem;
}

.company {
  font-size: 0.95rem;
  color: #666;
}

.job-logo img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 10px;
  background: #f9f9f9;
  padding: 5px;
}

.job-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 15px 0;
  color: #333;
  font-size: 0.95rem;
}

hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 15px 0;
}

.job-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #444;
}

.btn-group {
  display: flex;
  gap: 12px;
}

.save-btn,
.apply-btn {
  border: 1px solid #0066ff;
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.3s ease;
}

.save-btn {
  background: transparent;
  color: #0066ff;
}

.save-btn:hover {
  background-color: #eaf2ff;
}

.apply-btn {
  background-color: #0066ff;
  color: #fff;
  text-decoration:none;
}

.apply-btn:hover {
  background-color: #004ecb;
}

/* ===== Job Description Section ===== */
.job-description {
  width: 95%;
  max-width: 900px;
  background-color: #ffffff;
  margin: 30px auto 60px;
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.job-description h3 {
  color: #1e1e1e;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.job-summary p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 25px;
}

.job-detail-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 25px;
}

.job-detail-content li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #444;
}

.job-detail-content li::before {
  content: "•"; 
  position: absolute;
  left: 0;
  color: #000000;
  font-size: 0.9rem;
}

.apply-section {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

.apply-section .apply-btn {
  background-color: #0066ff;
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s ease;
  text-decoration:none;
}

.apply-section .apply-btn:hover {
  background-color: #004ecb;
  transform: scale(1.03);
}

/*.popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup.active {
  display: flex;
}
.popup:target {
  display: flex;
}

.popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  width: 400px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}*/

/* Popup Background */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* This makes popup visible when linked with #applyPopup */
.popup:target {
  display: flex;
}

/* Popup box */
.popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 400px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  text-align: left;
}

/* Form Inputs */
.popup-content input,
.popup-content textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Submit Button */
.popup-content button {
  width: 100%;
  padding: 12px;
  background: #00bfff;
  color: white;
  border: none;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
}

.popup-content button:hover {
  background: #00bfff;
}


.footer {
  background-color: #000000;
  color: white;
  text-align: center;
  padding: 25px 15px;
  margin-top: 40px;
}
.footer-copy {
  font-size: 1rem;
  margin-top: 10px;
  opacity: 0.9;
}




