/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  background: #f7f7f7;
  color: #333;
}

a {
  text-decoration: none;
  color: #007bff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
header {
  background: #003366;
  color: white;
  padding: 20px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: white;
  padding: 8px 12px;
  transition: background 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

/* Hero Section */
.hero {
  background: linear-gradient(
      rgba(0, 0, 0, 0.6), 
      rgba(0, 0, 0, 0.7)
    ),
    url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1600&q=80') 
    no-repeat center center / cover;
  color: #fff;
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content {
  max-width: 700px;
  margin: auto;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.search-form input,
.search-form select {
  padding: 12px;
  border-radius: 5px;
  border: none;
  width: 200px;
}

.search-form button {
  background-color: #28a745;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.search-form button:hover {
  background-color: #218838;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  background: #007bff;
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background: #0056b3;
}

/* Jobs Grid */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.job-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.job-card h3 {
  margin-bottom: 10px;
  color: #003366;
}

.job-card p {
  margin: 5px 0;
}

.location, .type {
  font-weight: bold;
  color: #555;
}

/* Footer */
footer {
  background: #003366;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 60px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-content ul {
  list-style: none;
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.footer-content ul li a {
  color: white;
  font-weight: bold;
}

