* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

.career-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem auto;
}

.career-header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0b2b44, #1c5a8a);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 0.75rem;
}

.career-header p {
  font-size: 1.2rem;
  color: #2d3a4b;
  line-height: 1.5;
}

.filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filters select {
  padding: 0.6rem 1.2rem;
  border-radius: 60px;
  border: 1px solid #cbd5e1;
  background: white;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1e3c72;
  cursor: pointer;
  transition: all 0.2s;
}

.filters select:hover {
  border-color: #3b82f6;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.8rem;
  max-width: 1400px;
  margin: 0 auto;
}

.offer-card {
  background: white;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.2);
}

.card-badge {
  background: linear-gradient(135deg, #1e3c72, #2b4c7c);
  color: white;
  padding: 0.4rem 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  display: inline-block;
  border-radius: 60px;
  margin: 1rem 0 0 1rem;
}

.card-content {
  padding: 1.2rem 1.5rem 1.5rem 1.5rem;
}

.offer-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f2b3f;
  margin-bottom: 0.5rem;
}

.offer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
}

.offer-meta span {
  background: #eef2ff;
  padding: 0.25rem 0.8rem;
  border-radius: 60px;
  color: #1e3c72;
  font-weight: 500;
}

.offer-location {
  background: #e6f7e6;
  color: #2d6a2d;
}

.offer-type {
  background: #fff3e0;
  color: #b45f06;
}

.offer-date {
  background: #f0f0f0;
  color: #5a5a5a;
}

.short-description {
  color: #3a4a5c;
  line-height: 1.5;
  margin: 0.75rem 0 1rem 0;
  font-size: 0.95rem;
}

.btn-details {
  background: transparent;
  border: 2px solid #1e3c72;
  color: #1e3c72;
  padding: 0.6rem 1.2rem;
  border-radius: 60px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  font-size: 0.9rem;
}

.btn-details:hover {
  background: #1e3c72;
  color: white;
}

/* Offer Detail Page Styles */
.offer-detail-container {
  max-width: 900px;
  margin: 2rem auto;
  background: white;
  border-radius: 40px;
  box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.offer-detail-header {
  background: linear-gradient(135deg, #1e3c72, #2b4c7c);
  padding: 2rem;
  color: white;
}

.offer-detail-header h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.offer-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.offer-detail-meta span {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 60px;
  font-size: 0.85rem;
}

.offer-detail-body {
  padding: 2rem;
}

.offer-detail-body h2 {
  font-size: 1.5rem;
  color: #1e3c72;
  margin: 1.5rem 0 0.75rem 0;
  border-left: 4px solid #3b82f6;
  padding-left: 0.75rem;
}

.offer-detail-body h3 {
  font-size: 1.2rem;
  color: #2d4a6e;
  margin: 1rem 0 0.5rem 0;
}

.offer-detail-body p, .offer-detail-body li {
  color: #2d3a4b;
  line-height: 1.6;
}

.offer-detail-body ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.offer-detail-body li {
  margin: 0.5rem 0;
}

.btn-apply {
  background: linear-gradient(135deg, #1e3c72, #2a5a8c);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 60px;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  margin-top: 1.5rem;
  box-shadow: 0 6px 14px rgba(30, 60, 114, 0.3);
}

.btn-apply:hover {
  transform: scale(1.02);
  background: linear-gradient(135deg, #14345e, #1f4e74);
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}

.back-link:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .career-container {
    padding: 1rem;
  }
  .career-header h1 {
    font-size: 2rem;
  }
  .offers-grid {
    grid-template-columns: 1fr;
  }
  .offer-detail-header h1 {
    font-size: 1.6rem;
  }
  .offer-detail-body {
    padding: 1.2rem;
  }
}