body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #222;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.header {
  text-align: center;
  padding: 3rem 0 2rem;
  background: #ffffff;
  border-bottom: 1px solid #e5e3dc;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #5300fa;
  margin-bottom: 0.3rem;
  letter-spacing: 0.5px;
}

.subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: #7a7a7a;
}

.container {
  width: 80%;
  max-width: 900px;
  margin: 3rem auto 5rem;
}

.job-card {
  padding: 2rem 0;
  border-top: 1px solid #e3e3e3;
}

.job-card:first-of-type {
  border-top: none;
}

.job-header {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1.2rem;
}

.job-header h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c2c2c;
  margin: 0;
  text-transform: uppercase;
}

.job-header p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
}

.tag {
  display: inline-block;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #777;
  margin-top: 0.3rem;
}

.job-description > section.job-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.job-description > section.job-card .job-header {
  flex: 1;
}

.job-description > section.job-card .apply-btn {
  margin-top: 0;
}

.job-description {
  background: #fff;
  border: 1px solid #ebeae5;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.job-description h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
}

.job-description p {
  margin: 0.4rem 0;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.7;
}

.job-description ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0.6rem 0 1.4rem 0;
}

.job-description li {
  margin-bottom: 0.5rem;
  color: #444;
  line-height: 1.5;
}

.job-description strong {
  color: #222;
}

.apply-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #5300fa;
  color: #fff;
  padding: 0.7rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 40px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(183, 154, 94, 0.25);
  border: none;
  cursor: pointer;
  width: auto;
  max-width: 280px;
  margin: 0.5rem 0;
}

.apply-btn:hover {
  background: #5300fa;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(183, 154, 94, 0.35);
}

.apply-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(183, 154, 94, 0.2);
}

.apply-btn.secondary {
  background: #777;
  box-shadow: 0 4px 8px rgba(119, 119, 119, 0.25);
}

.apply-btn.secondary:hover {
  background: #5f5f5f;
}

.job-description .apply-btn {
  align-self: center;
}

.footer {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid #e3e3e3;
  font-size: 0.85rem;
  color: #777;
  background: #f9f9f7;
}

.footer a {
  color: #b79a5e;
  text-decoration: none;
  font-weight: 500;
}

.footer a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .container {
    width: 90%;
    margin: 2.5rem auto 4rem;
  }

  .job-description {
    padding: 1.5rem;
  }

  .job-header h2 {
    font-size: 1rem;
  }

  .apply-btn {
    font-size: 0.85rem;
    padding: 0.7rem 1.6rem;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 2rem 1rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .subtitle {
    font-size: 0.9rem;
  }

  .container {
    width: 92%;
    margin: 2rem auto 3rem;
  }

  .job-description > section.job-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
  }

  .apply-btn {
    width: 100%;
    max-width: 260px;
    margin: 0.5rem auto 0;
    border-radius: 40px;
    font-size: 0.9rem;
    padding: 0.9rem 1.2rem;
    text-align: center;
    justify-content: center;
  }

  .job-description {
    padding: 1.2rem;
  }

  .job-header h2 {
    font-size: 1rem;
  }

  .job-header p,
  .tag {
    font-size: 0.85rem;
  }

  .job-description h3 {
    font-size: 0.95rem;
  }

  .job-description p {
    font-size: 0.9rem;
  }

  .footer {
    font-size: 0.8rem;
    padding: 1.5rem 0;
  }
}

/* Extra small */
@media (max-width: 480px) {
  .logo {
    font-size: 1.3rem;
  }

  .job-header h2 {
    font-size: 0.95rem;
  }

  .job-description {
    padding: 1rem;
  }

  .apply-btn {
    padding: 0.8rem 1.4rem;
    font-size: 0.85rem;
    width: 100%;
    max-width: 240px;
  }

  .container {
    width: 94%;
  }
}
