.job-listings {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

@media (max-width: 768px) {
  .job-listings {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.5rem 2rem;
  }
}

.job-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  min-height: 300px;
  height: 100%;
  box-sizing: border-box;
}


.hiring-header {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.hiring-header h1 {
  margin-top: 3.8rem;
  margin-bottom: 0.8rem;
  font-size: 2.5rem;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.hiring-header p {
  font-size: 1.2rem;
  color: #555;
  margin: 0 auto;
  max-width: 600px;
  line-height: 1.6;
}


@media (max-width: 768px) {
  .hiring-header {
    padding: 1.5rem 1rem;
  }

  .hiring-header h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    margin-top: 3rem;
  }

  .hiring-header p {
    font-size: 1rem;
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .hiring-header h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    margin-top: 2rem;
  }

  .hiring-header p {
    font-size: 0.95rem;
  }
}

.job-card:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.1);
}

.job-card-content {
  position: relative;
  flex-grow: 1;
}

.job-title {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  padding-right: 3rem;
  line-height: 1.4;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
  color: var(--text-medium);
  font-size: 0.95rem;
}

.job-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.job-description {
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.job-actions {
  display: flex;
  gap: 1rem;
  margin-top: auto;
}

.job-btn {
  padding: 0.9rem 1.25rem;
  border-radius: 8px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 0.95rem;
  flex: 1;
  justify-content: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.details-btn {
  background-color: white;
  color: #006c1d;
  border: 1px solid #34a853;
}

.details-btn:hover {
  background-color: #34a853;
  color: white;
}

.details-btn:hover i {
  color: white;
}

.apply-btn {
  background-color: white;
  color: var(--primary-blue);
  border: 1px solid var(--primary-blue);
}

.apply-btn:hover {
  background-color: var(--primary-blue);
  color: white;
}

.apply-btn:hover i {
  color: white;
}

.contact-btn {
  background-color: var(--bg-light);
  color: var(--text-dark);
  border: none;
}

.contact-btn:hover {
  border: 1px solid black;
}

.job-type-tag {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.job-type-tag.job {
  background-color: var(--primary-blue);
  color: white;
}

.job-type-tag.internship {
  background-color: #34a853;
  color: white;
}

.no-jobs-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  width: 100%;
  max-width: 600px;
  margin: 2rem 18rem;
  background-color: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.no-jobs-message p {
  color: #6c757d;
  margin: 0.5rem 0;
  font-size: 1rem;
  line-height: 1.6;
}

.no-jobs-message p:first-child {
  font-weight: 600;
  color: #495057;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .no-jobs-message {
    padding: 2rem 1.5rem;
    margin: 1.5rem auto;
    border-radius: 8px;
  }

  .no-jobs-message p {
    font-size: 0.95rem;
  }

  .no-jobs-message p:first-child {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .no-jobs-message {
    padding: 1.5rem 1rem;
    margin: 1rem auto;
  }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1rem;
  box-sizing: border-box;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.job-modal {
  background-color: white;
  border-radius: 12px;
  width: 100%;
  max-width: 700px;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.close-modal {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-medium);
  transition: all 0.2s ease;
}

.close-modal:hover {
  color: var(--text-dark);
}

.modal-content {
  padding: 0.5rem;
}

.modal-content h2 {
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  padding-right: 2rem;
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  color: var(--text-medium);
}

.modal-section {
  margin-bottom: 2rem;
}

.modal-section h4 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.modal-section p,
.modal-section ul {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.modal-section ul {
  padding-left: 1.5rem;
}

.modal-section li {
  margin-bottom: 0.75rem;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

@media (max-width: 768px) {
  .jobs-container {
    padding-top: 1.5rem;
  }

  .job-card {
    padding: 1.75rem;
  }

  .job-title {
    font-size: 1.3rem;
    padding-right: 2.5rem;
  }

  .job-actions {
    flex-direction: column;
  }

  .job-btn {
    width: 100%;
  }

  .job-modal {
    padding: 1.75rem;
  }

  .modal-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .job-listings {
    padding: 0 1.25rem 1.5rem;
    gap: 1.5rem;
  }

  .job-card {
    padding: 1.5rem;
  }

  .job-meta {
    flex-direction: column;
    gap: 0.75rem;
    margin: 0.75rem 0 1.25rem;
  }

  .job-description {
    margin-bottom: 1.5rem;
  }

  .modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }

  .modal-section {
    margin-bottom: 1.75rem;
  }
}