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

body {
  font-family: Arial, sans-serif;
  background: #f0f4ff;
  color: #1e1e2e;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* NAVBAR */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #2c1f65;
  padding: 14px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  flex-wrap: wrap;
  gap: 8px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-inner {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.nav-logo-sub {
  font-size: 0.9rem;
  font-weight: 500;
  color: #bbaaf3;
  letter-spacing: 1.5px;
  text-transform: lowercase;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 8px;
}

.nav-links li a {
  color: #c5b8f5;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.nav-links li a:hover,
.nav-links li a.active {
  background: #4e85f2;
  color: #ffffff;
}

/* MOBILE NAVBAR - CSS only, no JS needed */
@media (max-width: 520px) {
  .navbar {
    padding: 12px 16px;
  }

  .nav-logo-name {
    font-size: 1.2rem;
  }

  .nav-logo-sub {
    font-size: 0.78rem;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links li a {
    padding: 6px 10px;
    font-size: 0.82rem;
    border-radius: 6px;
  }
}

/* PAGE SYSTEM */
.page {
  display: none;
}

.page.active-page {
  display: block;
  flex: 1;
}

/* HOME: HERO */
.hero {
  background:
    linear-gradient(rgba(25, 35, 90, 0.65), rgba(25, 35, 90, 0.75)),
    url('keys.jpg') center center / cover no-repeat;
  color: white;
  text-align: center;
  padding: 80px 20px 60px;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero p {
  font-size: 1.1rem;
  color: #ddd6fe;
  margin-bottom: 30px;
}

.hero-search {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-search input {
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 0.9rem;
  width: 280px;
  max-width: 90%;
}

.hero-search button {
  padding: 10px 20px;
  background: #4e85f2;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.hero-search button:hover {
  background: #21327c;
}

/* SECTION TITLES */
.section-title {
  text-align: center;
  margin: 50px 20px 20px;
}

.section-title h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2d1b69;
}

.section-title p {
  color: #6b7280;
  margin-top: 6px;
}

/* HOW IT WORKS STEPS */
.steps-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 10px 30px 40px;
  flex-wrap: wrap;
}

.step-card {
  background: white;
  border-radius: 16px;
  padding: 30px 24px;
  width: 240px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(108, 78, 242, 0.1);
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2d1b69;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.88rem;
  color: #6b7280;
}

/* CATEGORIES */
.categories-grid {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 30px 60px;
}


.category-tag {
  background: white;
  border: 2px solid #202752;
  color: #1c1639;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-block;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.category-tag:hover {
  background: #202752;
  color: white;
}

/* JOBS PAGE */
.jobs-header {
  text-align: center;
  padding: 50px 20px 10px;
}

.jobs-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2d1b69;
}

.jobs-header p {
  color: #6b7280;
  margin-top: 6px;
}

.filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  flex-wrap: wrap;
}

.filters input,
.filters select {
  padding: 11px 16px;
  border-radius: 10px;
  border: 2px solid #d1d5db;
  font-size: 0.95rem;
  outline: none;
  transition: border 0.2s;
}

.filters input:focus,
.filters select:focus {
  border-color: #4e67f2;
}

.filters button {
  padding: 11px 24px;
  background: #4260f6;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.filters button:hover {
  background: #5438c0;
}

.results-area {
  width: 82%;
  margin: 0 auto 60px;
}

.results-hint {
  text-align: center;
  color: #9ca3af;
  margin-top: 40px;
  font-size: 1.05rem;
}

.job-card {
  background: white;
  padding: 20px 24px;
  margin: 14px 0;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #664be0;
  transition: transform 0.15s;
}

.job-card:hover {
  transform: translateX(4px);
}

.job-card h3 {
  color: #2d1b69;
  margin-bottom: 6px;
}

.job-card p {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 4px;
}

.job-card a {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 18px;
  background: #2862dd;
  color: white;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.job-card a:hover {
  background: #5438c0;
}

/* ABOUT PAGE */
.about-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.about-wrapper h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: #2d1b69;
  margin-bottom: 14px;
}

.about-wrapper>p {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 40px;
}

.about-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.about-card {
  background: white;
  border-radius: 16px;
  padding: 30px 22px;
  width: 240px;
  box-shadow: 0 4px 14px rgba(108, 78, 242, 0.1);
}

.about-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #2d1b69;
  margin-bottom: 8px;
}

.about-card p {
  font-size: 0.88rem;
  color: #6b7280;
}

/* CONTACT PAGE */
.contact-wrapper {
  max-width: 540px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.contact-wrapper h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: #2d1b69;
  margin-bottom: 10px;
}

.contact-wrapper>p {
  color: #6b7280;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.contact-form label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #313e52;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border-radius: 10px;
  border: 2px solid #d1d5db;
  font-size: 0.95rem;
  outline: none;
  font-family: 'Inter', Arial, sans-serif;
  transition: border 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #6c4ef2;
}

.contact-form button {
  padding: 13px;
  background: #3659f3;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

.contact-form button:hover {
  opacity: 0.88;
}

.contact-confirm {
  margin-top: 20px;
  color: #059669;
  font-weight: 600;
  font-size: 1rem;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #2c1f65;
  color: #c5b8f5;
  font-size: 0.9rem;
}