/*--------------------------------------------------
  Variables & Reset
--------------------------------------------------*/
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #f97316;
  --accent: #10b981;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #64748b;
  --light-gray: #e2e8f0;
  --radius: 8px;
  --shadow: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
}

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

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
}

/*--------------------------------------------------
  Utility Containers
--------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-secondary {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--light);
}

/*--------------------------------------------------
  Header & Navigation
--------------------------------------------------*/
header {
  background: #fff;
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}
.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  position: relative;
  transition: color .2s;
}
.nav-links a:hover {
  color: var(--primary);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width .3s;
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}
.mobile-menu-btn {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

..lang-switcher {
  margin-right: 15px;
  display: inline-block;
}

.lang-switcher select {
  padding: 6px 10px;
  font-size: 14px;
  border-radius: 4px;
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
}



/*--------------------------------------------------
  Hero Section
--------------------------------------------------*/
.hero {
  background: linear-gradient(120deg,#1e40af,#2563eb);
  color: #fff;
  padding: 160px 0 100px;
  position: relative;
}
.hero-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: .9;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
}
.stat-label {
  opacity: .8;
}

/*--------------------------------------------------
  Search Section
--------------------------------------------------*/
.search-section {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: -40px auto 60px;
  position: relative;
  z-index: 10;
}
.search-form {
  display: flex;
  gap: 10px;
}
.search-input {
  flex: 1;
  padding: 15px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  font-size: 1rem;
}
.search-input:focus {
  border-color: var(--primary);
}
.search-btn {
  padding: 0 30px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  transition: background .2s;
}
.search-btn:hover {
  background: var(--primary-dark);
}

/*--------------------------------------------------
  Section Base Styles
--------------------------------------------------*/
.section {
  padding: 80px 0;
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--dark);
}
.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray);
}

/*--------------------------------------------------
  Categories Grid
--------------------------------------------------*/
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
  gap: 25px;
}
.category-card {
  background: #fff;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.category-icon {
  width: 70px; height: 70px;
  margin: 0 auto 20px;
  background: rgba(37,99,235,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--primary);
}
.category-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.category-jobs {
  color: var(--gray);
  font-size: .9rem;
}

/*--------------------------------------------------
  Featured Jobs Grid
--------------------------------------------------*/
.jobs-section {
  background: #f1f5f9;
}
.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.view-all {
  font-weight: 600;
  text-decoration: none;
  color: var(--primary);
}
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(350px,1fr));
  gap: 25px;
}

/*--------------------------------------------------
  How It Works
--------------------------------------------------*/
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
  gap: 40px;
  justify-items: center;
  margin-top: 40px;
}
.step-item h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}
.step-item p {
  color: var(--gray);
}

/*--------------------------------------------------
  Testimonials
--------------------------------------------------*/
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(350px,1fr));
  gap: 25px;
}
.testimonial-item {
  background: rgba(0,0,0,0.05);
  padding: 30px;
  border-radius: var(--radius);
}
.testimonial-item blockquote {
  font-style: italic;
  margin-bottom: 15px;
}

/*--------------------------------------------------
  CTA & Footer
--------------------------------------------------*/
.section.cta {
  text-align: center;
  background: linear-gradient(120deg,#f8fafc,#e2e8f0);
  padding: 80px 0;
}
.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
footer {
  background: var(--dark);
  color: #fff;
  padding: 60px 0 30px;
}
footer .site-info {
  text-align: center;
  font-size: .9rem;
  opacity: .7;
}

/*--------------------------------------------------
  Responsive Breakpoints
--------------------------------------------------*/
@media (max-width: 992px) {
  .hero-content h1 { font-size: 2.5rem; }
  .steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .search-form { flex-direction: column; }
  .cta-buttons { flex-direction: column; gap: 15px; }
}
@media (max-width: 480px) {
  .hero { padding: 120px 0 80px; }
  .hero-content h1 { font-size: 2rem; }
}
