:root {
  --primary-color: #2557a7;
  --primary-hover: #1d4a8f;
  --secondary-color: #f4f6f9;
  --text-color: #2d2d2d;
  --light-text: #5e5e5e;
  --border-color: #e0e0e0;
  --white: #ffffff;
  --black: #000000;
  --rarity-1: #4caf50;
  --rarity-2: #ff9800;
  --rarity-3: #f44336;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: #f9f9f9;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 16px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--secondary-color);
}

/* Header Styles */
.header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo h1 {
  color: var(--primary-color);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
}

.logo p {
  font-size: 12px;
  color: var(--light-text);
  margin-top: -5px;
}

.nav ul {
  display: flex;
  list-style: none;
}

.nav ul li {
  margin: 0 15px;
}

.nav ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
  padding: 5px 0;
}

.nav ul li a:hover,
.nav ul li a.active {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

.auth-buttons .btn {
  margin-left: 10px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--primary-color);
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("https://images.unsplash.com/photo-1518562180175-34a163b1a9a9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80")
      no-repeat center center/cover;
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.hero h2 {
  font-size: 36px;
  margin-bottom: 30px;
  font-weight: 700;
}

.search-box {
  display: flex;
  background-color: var(--white);
  border-radius: 8px;
  padding: 5px;
  max-width: 1000px;
  margin: 0 auto 20px;
  box-shadow: var(--shadow);
  flex-wrap: wrap;
}

.search-field {
  flex: 1;
  min-width: 200px;
  position: relative;
  padding: 5px;
}

.search-field i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--light-text);
}

.search-field input,
.search-field select {
  width: 100%;
  padding: 12px 15px 12px 40px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 16px;
  transition: var(--transition);
}

.search-field input:focus,
.search-field select:focus {
  outline: none;
  border-color: var(--primary-color);
}

#search-btn {
  margin: 5px;
  padding: 12px 25px;
  white-space: nowrap;
}

.popular-searches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  color: var(--white);
}

.popular-searches span {
  opacity: 0.8;
}

.popular-searches a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.popular-searches a:hover {
  text-decoration: underline;
}

/* Job Results Section */
.job-results {
  padding: 40px 0;
}

.job-results .container {
  display: flex;
  gap: 30px;
}

.filters {
  width: 250px;
  background-color: var(--white);
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  height: fit-content;
}

.filter-group {
  margin-bottom: 25px;
}

.filter-group h4 {
  margin-bottom: 15px;
  font-size: 16px;
  color: var(--text-color);
}

.filter-group label {
  display: block;
  margin-bottom: 10px;
  cursor: pointer;
  color: var(--light-text);
  font-size: 14px;
}

.filter-group input {
  margin-right: 8px;
}

.results-container {
  flex: 1;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.results-header h3 {
  font-size: 18px;
  font-weight: 500;
}

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

.sort-by select {
  padding: 8px 12px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  background-color: var(--white);
  cursor: pointer;
}

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

.job-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-left: 4px solid transparent;
}

.job-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-left-color: var(--primary-color);
}

.job-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.job-company {
  font-size: 15px;
  color: var(--light-text);
  margin-bottom: 10px;
}

.job-description {
  margin-bottom: 15px;
  font-size: 14px;
  color: var(--text-color);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.job-detail {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: var(--light-text);
}

.job-detail i {
  font-size: 16px;
}

.job-salary {
  font-weight: 600;
  color: var(--text-color);
}

.job-rarity {
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: white;
}

.rarity-1 {
  background-color: var(--rarity-1);
}

.rarity-2 {
  background-color: var(--rarity-2);
}

.rarity-3 {
  background-color: var(--rarity-3);
}

.job-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

.job-posted {
  font-size: 12px;
  color: var(--light-text);
}

.apply-btn {
  padding: 8px 15px;
  font-size: 14px;
}

.no-jobs {
  text-align: center;
  padding: 50px 20px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.no-jobs img {
  width: 100px;
  margin-bottom: 20px;
  opacity: 0.7;
}

.no-jobs h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text-color);
}

.no-jobs p {
  color: var(--light-text);
  max-width: 500px;
  margin: 0 auto;
}

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

.pagination span {
  color: var(--light-text);
}

/* Testimonials Section */
.testimonials {
  background-color: var(--secondary-color);
  padding: 60px 0;
}

.testimonials h3 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  color: var(--text-color);
}

.testimonial-cards {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 25px;
  box-shadow: var(--shadow);
  width: calc(33.333% - 20px);
  min-width: 300px;
  transition: var(--transition);
}

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

.quote {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text-color);
  position: relative;
}

.quote::before {
  content: '"';
  font-size: 50px;
  position: absolute;
  top: -15px;
  left: -10px;
  opacity: 0.2;
  font-family: serif;
}

.author {
  display: flex;
  align-items: center;
  gap: 15px;
}

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

.author strong {
  display: block;
  margin-bottom: 3px;
}

.author span {
  font-size: 14px;
  color: var(--light-text);
}

/* Footer Styles */
.footer {
  background-color: #2d2d2d;
  color: white;
  padding: 60px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-column {
  width: calc(20% - 20px);
  min-width: 200px;
  margin-bottom: 30px;
}

.footer-column h5 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 500;
}

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

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

.footer-column ul li a {
  color: #b3b3b3;
  text-decoration: none;
  transition: var(--transition);
  font-size: 14px;
}

.footer-column ul li a:hover {
  color: white;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.social-icons a {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
}

.app-download p {
  margin-bottom: 10px;
  font-size: 14px;
}

.app-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-buttons img {
  height: 40px;
  border-radius: 5px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: #b3b3b3;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-selector select {
  background-color: transparent;
  color: white;
  border: none;
  padding: 5px;
}

.language-selector select option {
  background-color: #2d2d2d;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .job-results .container {
    flex-direction: column;
  }

  .filters {
    width: 100%;
  }

  .testimonial-card {
    width: calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .nav,
  .auth-buttons {
    display: none;
  }

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

  .search-box {
    flex-direction: column;
    gap: 10px;
  }

  .search-field {
    width: 100%;
  }

  #search-btn {
    width: 100%;
  }

  .testimonial-card {
    width: 100%;
  }

  .footer-column {
    width: calc(50% - 15px);
  }
}

@media (max-width: 576px) {
  .hero h2 {
    font-size: 28px;
  }

  .results-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .footer-column {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
.language-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.language-selector select {
  background-color: transparent;
  color: white;
  border: none;
  padding: 5px;
  cursor: pointer;
}

.language-selector select option {
  background-color: #2d2d2d;
  color: white;
}
