/* <<<<<<< enhanceFAQ */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



.hero-class {
  background-image: url('https://images.unsplash.com/photo-1521791136064-7986c2920216?q=80&w=1769&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 100dvh;
  width: 100dvw;
  display: flex;
  align-items: end;
  justify-content: center;
}

.hero-class-inner {
  height: 10dvh;
  width: 100dvw;
  color: var(--primary-color);
  padding: 70px 20px;
  margin-top: 60px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 1px;
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
  /* border-radius: 10px; */
  backdrop-filter: blur(10px); /* Creates the glass effect */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Optional: shadow for depth */
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.search-bar {
  margin: 20px auto;
  text-align: center;
  position: relative;
}
.search-bar input {
  padding: 10px;
  width: 300px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.search-bar i {
  position: absolute;
  left: 10px;
  top: 10px;
  color: #888;
}
.job-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px;
}
.job-item {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 15px;
  margin: 10px;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  background-color: var(--primary-color);
}
.job-item:hover {
  transform: scale(1.05);
}
.job-item h2 {
  margin-top: 0;
}
.apply-btn {
  display: inline-block;
  background-color: #4caf50;
  color: var(--secondary-color);
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s;
}
/* .apply-btn:hover {
    background-color: #45a049;
} */
.footer-container {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 20px;
  text-align: center;
  margin-top: 20px;
}
.footer-list {
  margin: 20px 0;
}
.footer-list h3 {
  margin-bottom: 10px;
}
.social-icons li {
  display: inline;
  margin: 0 10px;
}
.copyright {
  margin-top: 10px;
}
@media (max-width: 600px) {
  .search-bar input {
    width: 80%;
  }
  .job-item {
    width: 100%;
  }
}
/*-----------job listings-----------*/
* {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
}

.job-listings {
  width: 70vw;
  margin: auto;
}

.search-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  padding: 12px;
  width: 60em;
  max-width: 90%;
  background-color: #ffffff;
  border-radius: 40px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s ease;
}

.search-bar:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.search-bar input[type='text'] {
  flex: 1;
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  outline: none;
  border-radius: 30px 0 0 30px;
  background-color: #f2f2f2;
  color: #333;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.search-bar input[type='text']:focus {
  background-color: #ffffff;
  box-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
}

.search-bar button {
  padding: 12px 25px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  background-color: #4caf50;
  color: #ffffff;
  cursor: pointer;
  border-radius: 0 30px 30px 0;
  transition: background-color 0.3s ease, transform 0.2s ease,
    box-shadow 0.3s ease;
}

.search-bar button:hover {
  background-color: #3e8e41;
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.search-bar button:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .search-bar {
    flex-direction: column;
    width: 100%;
    padding: 15px;
    border-radius: 20px;
  }

  .search-bar input[type='text'] {
    border-radius: 20px;
    margin-bottom: 10px;
    width: 100%;
  }

  .search-bar button {
    border-radius: 20px;
    width: 100%;
  }
}

.job-listings h2 {
  color: #ff6868;
  font-size: 20px;
  letter-spacing: 6px;
  word-spacing: 10px;
  font-weight: 700;
  padding: 20px 0;
  text-align: center;
}

.job-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
}

.card {
  width: 100%;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s ease;
}

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

.card-body {
  padding: 20px;
  text-align: left;
}

.card-body h5 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 0 0 10px;
}

.card-body h6 {
  font-size: 18px;
  font-weight: 500;
  color: #555; /* Green color for the company name */
  margin: 0 0 15px;
  font-weight: 700;
}

.card-body p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.apply-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #f9f9f9;
  border-top: 1px solid #eee;
}

.location {
  font-size: 14px;
  color: #777;
  transition: color 0.3s ease;
}

.card:hover .location {
  color: #777; /* Maintain original color on hover */
}

.apply-btn button {
  padding: 8px 20px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background-color: #ff6347; /* Red color for the button */
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.apply-btn button:hover {
  background-color: #4caf50; /* Green color on hover */
}

@media (max-width: 600px) {
  .card-body h5 {
    font-size: 20px;
  }

  .card-body h6 {
    font-size: 16px;
  }

  .card-body p {
    font-size: 14px;
  }

  .apply-btn button {
    padding: 6px 16px;
    font-size: 14px;
  }
}

.darkmode .job-item{
  background-color: #333;
  border: 2px solid #fff;
}

.darkmode .job-item .card{
  background-color: #333;
}
.darkmode .job-item .apply-btn{
  background-color: #333;
  border: 2px solid #fff;
}

.darkmode .job-item .card-body h5{
  color: #fff;
}
.darkmode .job-item .card-body h6{
  color: #fff;
}
.darkmode .job-item .card-body p{
  color: #fff;
}
.scroll-top{
  position: fixed;
  bottom: 12px;
  right: 80px;
  background-color: #00ff40;
  color: #fff;
  border: none;
  padding: 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10000;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}
.scroll-top, .fa-arrow-up{
  font-size: 20px;
}
.scroll-top .fa-arrow-up{
  transition: 0.2s ease-out;
	color: #fff;
	transition: 0.2s ease-out;
}

.scroll-top:hover {
	background-color: #34947c;
}
.scroll-top:hover .fa-arrow-up {
	transform: translateY(-4px);
}
/* Job Item Styling */
.job-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card {
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.card-header {
  text-align: center;
  margin-bottom: 10px;
}

.company-logo {
  width: 100%;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
}

.card-body {
  padding: 10px 0;
}

.location {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: #666;
}

.apply-btn {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.apply-btn button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 4px;
}

.apply-btn button:hover {
  background-color: #45a049;
}

/* Salary and Tools Styling */
.card-body p {
  margin: 5px 0;
  font-size: 14px;
}

.card-body p strong {
  font-weight: bold;
}
