*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: #f5f8fa;
  color: #222;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }


header {
  background: #0a2540;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
header h1 {
  font-size: 1.6rem;
  font-weight: bold;
}
nav ul {
  display: flex;
  gap: 1.5rem;
}
nav a {
  font-weight: 500;
  transition: color 0.3s ease;
}
nav a:hover { color: #00c853; }


.search-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 2rem;
  gap: 0.5rem;
}
.search-container input {
  width: 60%;
  padding: 0.7rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  font-size: 1rem;
}
.search-container button {
  padding: 0.7rem 1.2rem;
  border: none;
  background: #00c853;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.search-container button:hover {
  background: #009624;
}


.container {
  display: flex;
  gap: 2rem;
  padding: 2rem;
}
aside {
  flex: 1;
  max-width: 250px;
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  height: fit-content;
}
main {
  flex: 3;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}


.filter-group {
  margin-bottom: 1.5rem;
}
.filter-group h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: #0a2540;
}
.filter-option {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}
.filter-option input[type="checkbox"] {
  accent-color: #00c853;
}


.job-card {
  background: linear-gradient(135deg, #ffffff, #f0f4f7);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 200px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}
.job-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #0a2540;
}
.company-name {
  font-size: 1rem;
  color: #444;
}
.location {
  font-size: 0.9rem;
  color: #666;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0;
}
.tag {
  background: #e0f2f1;
  color: #00695c;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
}
.apply-btn {
  align-self: flex-start;
  margin-top: auto;
  background: #00c853;
  border: none;
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}
.apply-btn:hover {
  background: #009624;
}


@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }
  aside {
    max-width: 100%;
  }
}
