/* Reset and Base Styles */
html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden; /* Prevent horizontal overflow */
  width: 100%;
}

* {
  box-sizing: inherit;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f4f4f4;
}

/* Ensure all sections respect viewport width */
section, header, footer, aside {
  width: 100%;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box; /* Ensure padding doesn’t cause overflow */
}

.hidden {
  display: none !important;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  outline: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 600;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
  font-size: 1rem;
}

@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.125rem; }
  p { font-size: 0.9375rem; }
}

/* Header and Navbar */
.header {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  overflow-x: hidden;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  max-width: 100%;
}

.logo h1 {
  font-size: 1.75rem;
  color: #007bff;
}

.logo p {
  font-size: 0.875rem;
  color: #666;
}

.nav-links {
  display: none;
  list-style: none;
  flex-direction: column;
  background: #fff;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 999;
  overflow-x: hidden;
}

.nav-links.active {
  display: flex;
}

.nav-links li {
  margin: 10px 0;
}

.nav-links a {
  display: block;
  padding: 10px 20px;
  color: #333;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav-links a:hover, .nav-links a:focus {
  color: #007bff;
}

.profile-link {
  font-weight: 500;
}

.auth-buttons {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-size: 0.875rem;
  transition: background 0.3s, transform 0.2s;
}

.btn:hover, .btn:focus {
  transform: translateY(-2px);
}

.btn-login, .btn-register {
  background: #007bff;
  color: #fff;
}

.btn-login:hover, .btn-register:hover,
.btn-login:focus, .btn-register:focus {
  background: #0056b3;
}

.btn-logout {
  background: #dc3545;
  color: #fff;
}

.btn-logout:hover, .btn-logout:focus {
  background: #c82333;
}

.mobile-menu-btn {
  display: block;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #333;
}

.mobile-menu-btn[aria-expanded="true"] i::before {
  content: "\f00d"; /* Font Awesome close icon */
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    box-shadow: none;
    width: auto;
    background: none;
  }

  .nav-links li {
    margin: 0 10px;
  }

  .nav-links a {
    padding: 0 15px;
  }

  .mobile-menu-btn {
    display: none;
  }

  .auth-buttons {
    display: flex;
  }
}

/* Side Panel */
.side-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease-in-out;
  z-index: 2000;
  overflow-y: auto;
  overflow-x: hidden; /* Prevent horizontal overflow */
  padding-bottom: 20px;
  box-sizing: border-box;
}

.side-panel[aria-hidden="false"] {
  right: 0;
}

.side-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #ddd;
  background: #f9f9f9;
  width: 100%;
}

.side-panel-header h2 {
  font-size: 1.25rem;
  color: #333;
}

.close-panel {
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #666;
  transition: color 0.3s;
}

.close-panel:hover, .close-panel:focus {
  color: #007bff;
}

.profile-content {
  padding: 20px;
  width: 100%;
  box-sizing: border-box; /* Ensure padding doesn’t cause overflow */
}

.profile-header {
  margin-bottom: 20px;
  text-align: center;
}

.profile-header h2 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.profile-header p {
  color: #666;
  font-size: 0.875rem;
}

.profile-section {
  margin-bottom: 20px;
}

.profile-section h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
  color: #007bff;
}

.profile-section p, .profile-section ul {
  font-size: 0.875rem;
  color: #333;
}

.profile-section ul {
  list-style: none;
  padding: 0;
}

.profile-section ul li {
  padding: 5px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-jobs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-job-card {
  background: #f9f9f9;
  padding: 10px;
  border-radius: 4px;
  transition: background 0.3s;
  width: 100%;
}

.profile-job-card:hover {
  background: #e9ecef;
}

.profile-job-card h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.profile-job-card p {
  font-size: 0.875rem;
  color: #666;
}

.btn-small {
  padding: 5px 10px;
  font-size: 0.75rem;
  border-radius: 4px;
}

.btn-edit-profile, .btn-post-job {
  display: block;
  width: 100%;
  margin: 10px 0;
  background: #007bff;
  color: #fff;
}

.btn-edit-profile:hover, .btn-post-job:hover,
.btn-edit-profile:focus, .btn-post-job:focus {
  background: #0056b3;
}

.btn-unsubscribe {
  background: #dc3545;
  color: #fff;
}

.btn-unsubscribe:hover, .btn-unsubscribe:focus {
  background: #c82333;
}

.status-badge {
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  text-transform: capitalize;
}

.status-badge.pending {
  background: #ffc107;
  color: #333;
}

.status-badge.accepted {
  background: #28a745;
  color: #fff;
}

.status-badge.rejected {
  background: #dc3545;
  color: #fff;
}

/* Hero Section */
.hero {
  background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e') no-repeat center/cover;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 30px;
}

.search-box {
  display: flex;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto 20px;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}

.search-box input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 4px;
  font-size: 0.875rem;
  min-width: 150px;
  box-sizing: border-box;
}

.btn-search {
  background: #007bff;
  color: #fff;
  padding: 10px 20px;
}

.btn-search:hover, .btn-search:focus {
  background: #0056b3;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: #007bff;
  color: #fff;
}

.btn-primary:hover, .btn-primary:focus {
  background: #0056b3;
}

.btn-secondary {
  background: #6c757d;
  color: #fff;
}

.btn-secondary:hover, .btn-secondary:focus {
  background: #5a6268;
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 20px;
  }

  .search-box {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box input, .btn-search {
    width: 100%;
  }
}

/* Job Platform UI Section */
.job-platform-ui {
  padding: 40px 20px;
  background: #fff;
  width: 100%;
  overflow-x: hidden;
}

.job-platform-ui h2 {
  text-align: center;
  margin-bottom: 30px;
}

.platform-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

.platform-card {
  background: #f9f9f9;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
  width: 100%;
}

.platform-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.platform-card i {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 10px;
}

.platform-card h3 {
  margin-bottom: 10px;
}

.platform-card p {
  font-size: 0.875rem;
  color: #666;
}

.platform-card .btn {
  margin-top: 10px;
  background: #007bff;
  color: #fff;
}

.platform-card .btn:hover, .platform-card .btn:focus {
  background: #0056b3;
}

/* Featured Jobs Section */
.featured-jobs {
  padding: 40px 20px;
  background: #f4f4f4;
  width: 100%;
  overflow-x: hidden;
}

.featured-jobs h2 {
  text-align: center;
  margin-bottom: 30px;
}

.job-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}

.job-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 16px;
  background: #ddd;
  border: none;
  border-radius: 4px;
  font-size: 0.875rem;
  transition: background 0.3s, color 0.3s;
}

.filter-btn.active, .filter-btn:hover, .filter-btn:focus {
  background: #007bff;
  color: #fff;
}

.job-sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

.job-sort label {
  font-size: 0.875rem;
}

.job-sort select {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.875rem;
}

.job-listings {
  display: grid;
  gap: 20px;
  width: 100%;
  overflow-x: hidden;
}

.job-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  width: 100%;
  box-sizing: border-box;
}

.job-card:hover {
  transform: translateY(-5px);
}

.job-card h3 {
  margin-bottom: 10px;
}

.job-card p {
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.job-type, .job-req {
  background: #e9ecef;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
}

.job-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap; /* Prevent overflow */
}

.btn-save-job {
  background: #28a745;
  color: #fff;
}

.btn-save-job:hover, .btn-save-job:focus {
  background: #218838;
}

.btn-apply-job {
  background: #007bff;
  color: #fff;
}

.btn-apply-job:hover, .btn-apply-job:focus {
  background: #0056b3;
}

.btn.disabled {
  background: #ddd;
  cursor: not-allowed;
  transform: none;
}

.saved-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #28a745;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
}

.no-jobs {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  border-radius: 8px;
  width: 100%;
}

.no-jobs i {
  font-size: 2.5rem;
  color: #666;
  margin-bottom: 10px;
}

.no-jobs p {
  font-size: 1rem;
  color: #666;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.pagination .btn {
  padding: 8px 16px;
}

.pagination .btn.disabled {
  background: #ddd;
  cursor: not-allowed;
}

.pagination span {
  font-size: 0.875rem;
}

.view-all {
  text-align: center;
  margin-top: 20px;
  width: 100%;
}

.btn-view-all {
  background: #007bff;
  color: #fff;
  padding: 10px 20px;
}

.btn-view-all:hover, .btn-view-all:focus {
  background: #0056b3;
}

/* Map Section */
.job-map {
  padding: 40px 20px;
  background: #fff;
  width: 100%;
  overflow-x: hidden;
}

.job-map h2 {
  text-align: center;
  margin-bottom: 20px;
}

#map {
  height: 400px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background: #e9ecef;
  width: 100%;
  max-width: 100%; /* Ensure map doesn’t overflow */
  box-sizing: border-box;
}

/* How It Works Section */
.how-it-works {
  padding: 40px 20px;
  background: #f4f4f4;
  width: 100%;
  overflow-x: hidden;
}

.how-it-works h2 {
  text-align: center;
  margin-bottom: 30px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  width: 100%;
}

.step {
  text-align: center;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  width: 100%;
}

.step-number {
  width: 40px;
  height: 40px;
  background: #007bff;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 1.125rem;
}

.step h3 {
  margin-bottom: 10px;
}

.step p {
  font-size: 0.875rem;
  color: #666;
}

/* Testimonials Section */
.testimonials {
  padding: 40px 20px;
  background: #f4f4f4;
  width: 100%;
  overflow-x: hidden;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 30px;
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  width: 100%;
}

.testimonial {
  display: none;
  text-align: center;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  width: 100%;
}

.testimonial.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.testimonial-slider:hover .testimonial {
  animation-play-state: paused;
}

.quote {
  font-size: 1.125rem;
  font-style: italic;
  margin-bottom: 20px;
  color: #333;
}

.author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author h4 {
  font-size: 1rem;
}

.author p {
  font-size: 0.875rem;
  color: #666;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.slider-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #007bff;
  transition: color 0.3s;
}

.slider-btn:hover, .slider-btn:focus {
  color: #0056b3;
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  background: #ddd;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.dot:hover, .dot:focus {
  background: #007bff;
}

.dot.active {
  background: #007bff;
}

/* Profile Section */
.profile-section {
  padding: 40px 20px;
  background: #fff;
  width: 100%;
  overflow-x: hidden;
}

.profile-content {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

/* Saved Jobs Section */
.saved-jobs {
  padding: 40px 20px;
  background: #f4f4f4;
  width: 100%;
  overflow-x: hidden;
}

.saved-jobs h2 {
  text-align: center;
  margin-bottom: 30px;
}

.saved-jobs-list {
  display: grid;
  gap: 20px;
  width: 100%;
}

.saved-job-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.saved-job-card h4 {
  font-size: 1.125rem;
}

.saved-job-card p {
  font-size: 0.875rem;
  color: #666;
}

.no-saved-jobs {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  border-radius: 8px;
  width: 100%;
}

.no-saved-jobs i {
  font-size: 2.5rem;
  color: #666;
  margin-bottom: 10px;
}

.no-saved-jobs p {
  font-size: 1rem;
  color: #666;
}

/* Call to Action */
.cta {
  padding: 60px 20px;
  background: #007bff;
  color: #fff;
  text-align: center;
  width: 100%;
  overflow-x: hidden;
}

.cta h2 {
  margin-bottom: 20px;
}

.cta p {
  font-size: 1rem;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-large {
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 4px;
}

.btn-large:hover, .btn-large:focus {
  background: #0056b3;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 3000;
  overflow-x: hidden; /* Prevent modal overflow */
  overflow-y: auto;
}

.modal[aria-hidden="false"] {
  display: block;
}

.modal-content {
  background: #fff;
  max-width: 500px;
  margin: 50px auto;
  padding: 20px;
  border-radius: 8px;
  position: relative;
  width: 90%; /* Ensure modal fits within viewport */
  box-sizing: border-box;
}

.job-details-body {
  max-width: 700px;
  width: 90%;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}

.close-modal:hover, .close-modal:focus {
  color: #333;
}

.form-group {
  margin-bottom: 15px;
  width: 100%;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.875rem;
  box-sizing: border-box;
}

.form-group input[type="file"] {
  padding: 3px;
}

.form-group textarea {
  resize: vertical;
}

.radio-group {
  display: flex;
  gap: 20px;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.form-footer {
  text-align: center;
  margin-top: 15px;
}

.form-footer a {
  color: #007bff;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.job-meta span {
  font-size: 0.875rem;
  color: #666;
}

.job-description, .job-requirements {
  margin-bottom: 20px;
  width: 100%;
}

.job-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-tertiary {
  background: #28a745;
  color: #fff;
}

.btn-tertiary:hover, .btn-tertiary:focus {
  background: #218838;
}

/* Notifications */
.notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 4000;
  width: auto;
  max-width: calc(100% - 40px); /* Prevent overflow on small screens */
}

.notification {
  background: #333;
  color: #fff;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.3s, transform 0.3s;
  width: 300px;
  max-width: 100%; /* Ensure notification fits viewport */
  box-sizing: border-box;
}

.notification.show {
  opacity: 1;
  transform: translateX(0);
}

.notification-info {
  background: #007bff;
}

.notification-success {
  background: #28a745;
}

.notification-error {
  background: #dc3545;
}

.notification-warning {
  background: #ffc107;
  color: #333;
}

.close-notification {
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
}

.close-notification:hover, .close-notification:focus {
  color: #ddd;
}

/* Footer */
.footer {
  background: #333;
  color: #fff;
  padding: 40px 20px;
  width: 100%;
  overflow-x: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
  width: 100%;
}

.footer-about h3,
.footer-links h3,
.footer-contact h3 {
  font-size: 1.125rem;
  margin-bottom: 15px;
  color: #007bff;
}

.footer-about p {
  font-size: 0.875rem;
  line-height: 1.8;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  font-size: 1.25rem;
  color: #fff;
  transition: color 0.3s;
}

.social-icons a:hover, .social-icons a:focus {
  color: #007bff;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  font-size: 0.875rem;
  color: #ddd;
  transition: color 0.3s;
}

.footer-links ul li a:hover, .footer-links ul li a:focus {
  color: #007bff;
}

.footer-contact p {
  font-size: 0.875rem;
  margin-bottom: 10px;
}

.footer-contact p i {
  margin-right: 10px;
  color: #007bff;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  width: 100%;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: #bbb;
}

.legal-links {
  margin-top: 10px;
}

.legal-links a {
  font-size: 0.75rem;
  color: #bbb;
  margin: 0 10px;
}

.legal-links a:hover, .legal-links a:focus {
  color: #007bff;
}

/* Accessibility */
:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

[role="button"] {
  cursor: pointer;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .side-panel {
    width: 100%;
  }

  .modal-content {
    margin: 20px;
    width: calc(100% - 40px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .job-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .job-filters {
    justify-content: center;
  }

  .notification-container {
    right: 10px;
  }

  .notification {
    width: calc(100% - 20px);
  }
}

@media (max-width: 480px) {
  .job-card {
    padding: 15px;
  }

  .btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
}