body {
  font-family: 'Inter', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #eef2f7;
  color: #333;
}

header {
  position: relative;
  text-align: center;
  padding: 40px 0px 40px 0px;
  background: url('../img/background_remote_2.png') center/cover no-repeat;
  color: #fff;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

header > * {position: relative; z-index: 1;}

/* Custom header styling for the home page */
.home-header {
  padding: 40px 0 0;
  background: url('../img/background_remote_1.png') center/cover no-repeat;
}
.home-header::before {
  background: rgba(0,0,0,0.5);
}

h1 {margin:0; font-size:2.8rem;}
h2.subtitle {color:#e0e0e0; margin-top:10px;}
.stars {text-align:center; margin:0 auto 10px;}
.stars span {color:#999; font-size:1.4rem; margin:0 3px;}
.testimonials {
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:10px;
  gap:0px;
  background:rgba(255,255,255,0.3);
  backdrop-filter:blur(6px);
  border-radius:0px;
  color:#252525;
}
.testimonial-list {
  display:flex;
  overflow-x:auto;
  gap:16px;
  width:100%;
  padding:0 10px 4px;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.testimonial-list::-webkit-scrollbar {display:none;}
.testimonial {
  min-width:240px;
  background:rgba(255,255,255,0.3);
  padding:10px;
  border-radius:10px;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
  font-size:0.9rem;
}
.job-search {
  margin:0px auto;
  max-width:800px;
  text-align:center;
  display:flex;
  gap:10px;
  padding:0 20px;
}
.job-search input {
  flex:1;
  width:100%;
  padding:12px 20px;
  font-size:1rem;
  border:1px solid #ccc;
  border-radius:30px;
  box-shadow:0 2px 6px rgba(0,0,0,0.1);
  box-sizing:border-box;
  background:rgba(255,255,255,0.8);
}
.job-search button {
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(4px);
  color: #fff;
}

.job-search button:hover {
  background: rgba(255,255,255,0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.post-job {
  margin-top: 10px;
  text-align: center;
}
.post-job .or-text {
  display: block;
  color: #ddd;
  font-size: 0.9rem;
  font-weight: 500;
}
.post-job-btn {
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 12px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  margin: 10px 0;
}
.post-job-btn:hover {
  background: rgba(255,255,255,0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.job-filter {margin:20px auto; max-width:800px; text-align:center;}
.job-filter label {display:block; margin-bottom:8px; font-weight:600;}
.job-filter select {
  padding:8px 12px;
  font-size:1rem;
  border:1px solid #ccc;
  border-radius:4px;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
  background-size:12px;
  appearance:none;
  cursor:pointer;
}
.selected-keywords {margin-top:10px;}
.selected-keywords span {background:#007bff; color:#fff; padding:5px 10px; border-radius:3px; margin-right:5px; cursor:pointer;}
.jobs {max-width:800px; margin:20px auto;}
.job {background:#fff; margin-bottom:10px; padding:20px; border-radius:6px; box-shadow:0 2px 8px rgba(0,0,0,0.05); transition:transform 0.2s;}
.job:hover {transform:translateY(-2px); box-shadow:0 4px 12px rgba(0,0,0,0.1);}
.job.restricted {
  background:#e6ffed;
  color:#1e4620;
  border:1px dashed #1e4620;
  cursor:pointer;
  text-align:center;
}
.premium-offer {
  max-width: 420px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  text-align: left;
}
.premium-offer ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}
.premium-offer li {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.premium-offer li::before {
  content: "\2713";
  color: #2a5ae0;
  font-weight: bold;
  margin-right: 10px;
}
.price-box {
  display: block;
  padding: 15px 25px;
  margin: 0 auto 20px;
  background: #e0e0e0;
  color: #000;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  width: fit-content;
}

.price-box .price-amount {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #000;
}

.price-box .price-term {
  display: block;
  font-size: 0.9rem;
  color: #666;
}
.premium-offer form {
  text-align: center;
  margin-top: 10px;
}

.already-premium {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 15px 20px;
  text-align: center;
  font-weight: 600;
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
}
footer {text-align:center; padding:20px; background:#fff; margin-top:40px;}
.navbar {
  background:#1f2937;
  color:#fff;
  padding:10px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  position:sticky;
  top:0;
  z-index:1000;
  box-shadow:0 2px 4px rgba(0,0,0,0.1);
}
.navbar a {
  color:#fff;
  text-decoration:none;
  margin-left:20px;
}
.navbar .greeting {
  margin-left:10px;
  color:#9ca3af;
}
.navbar .logo {
  display:flex;
  align-items:center;
  font-weight:700;
  font-size:1.2rem;
}
.navbar .logo a {align-items:center;}
.navbar .logo a:first-child {margin-left:0;}
.logo-icon {
  height:20px;
  margin-right:6px;
}
.navbar .logo-full {display:flex; align-items:center;}
.navbar .logo-short {display:none; align-items:center;}
.nav-toggle {
  display:none;
  flex-direction:column;
  cursor:pointer;
  width:34px;
  margin-right:10px;
  z-index:1100;
  align-items:center;
}
.nav-toggle span {height:3px; width:34px; background:#fff; margin:4px 0;}
.nav-toggle.active span:nth-child(1) {transform:translateY(11px) rotate(45deg);}
.nav-toggle.active span:nth-child(2) {opacity:0;}
.nav-toggle.active span:nth-child(3) {transform:translateY(-11px) rotate(-45deg);}
.nav-links {display:flex; align-items:center;}
.comment-section {margin-top:40px; background:#fff; padding:20px; border-radius:8px; box-shadow:0 2px 8px rgba(0,0,0,0.05);}
.comment {background:#f9f9f9; padding:15px; border-radius:6px; margin-bottom:10px; box-shadow:0 2px 4px rgba(0,0,0,0.05);}

.job-detail {max-width:900px; margin:20px auto; background:#fff; padding:40px; border-radius:10px; box-shadow:0 8px 20px rgba(0,0,0,0.08);}
.job-detail h1 {margin-top:0;}
.job-info {display:flex; gap:20px; margin-bottom:20px;}
.job-info div {background:#f0f9ff; padding:15px 20px; border-radius:6px; box-shadow:0 2px 4px rgba(0,0,0,0.05);}
.job-description {margin-bottom:20px; line-height:1.6;}
.apply-link {margin-top:20px;}

.comment-form textarea {
  width:100%;
  padding:15px;
  margin-bottom:10px;
  border:1px solid #ccc;
  border-radius:6px;
  font-size:1rem;
  box-sizing:border-box;
  resize:vertical;
}
.comment-form button {display:block; margin-top:10px;}

button,
.apply-link a {
  background: linear-gradient(135deg, #2a5ae0, #00aaff);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.job-search button {
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(4px);
  color: #fff;
}

button:hover,
.apply-link a:hover {
  background: linear-gradient(135deg, #1d4ec4, #0091dd);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.contact-form-container {
  max-width: 500px;
  margin: 20px auto;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-form label {
  display: block;
  margin-top: 10px;
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box;
}

.contact-form textarea {height: 150px; resize: vertical;}

.success-message {
  background: #d4edda;
  color: #155724;
  padding: 10px 15px;
  border-radius: 4px;
  margin-bottom: 15px;
}

.green-box {
  background: #d4edda;
  color: #155724;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #c3e6cb;
}

.premium-benefits ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.back-container {
  text-align:left;
  margin-bottom:20px;
}
.back-btn {
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin:0;
  padding:12px 20px;
  border-radius:30px;
  background:linear-gradient(135deg,#2a5ae0,#00aaff);
  color:#fff;
  text-decoration:none;
  font-weight:600;
  border:none;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
  transition:background .2s, transform .2s, box-shadow .2s;
}
.back-btn:hover {
  background:linear-gradient(135deg,#1d4ec4,#0091dd);
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(0,0,0,0.15);
}

.premium-container {
  max-width: 600px;
  margin: 40px auto;
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.policy-container {
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  line-height: 1.6;
}
.policy-section {margin-top: 30px;}
.policy-section h3 {margin-top: 20px;}
.text-muted {color: #6c757d;}

@media (max-width: 600px) {
  .navbar { padding:10px 10px; }
  .navbar .logo-full {display:none;}
  .navbar .logo-short {display:flex;}
  .nav-toggle {display:flex;}
  .nav-toggle span {transition:background 0.3s, transform 0.3s;}
  .nav-links {
    display:none;
    flex-direction:column;
    position:absolute;
    top:55px;
    right:10px;
    background:#1f2937;
    padding:15px;
    border-radius:10px;
    box-shadow:0 2px 8px rgba(0,0,0,0.3);
    gap:12px;
  }
  .nav-links a {margin:5px 0;}
  .nav-links.show {display:flex;}
  .jobs {padding:0 10px;}
  .job-search {padding:0 10px;}
}
