/* Reset và base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #2563eb;
}

.nav {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav a:hover {
  color: #2563eb;
  background-color: #f1f5f9;
}

.nav a.active {
  color: #2563eb;
  background-color: #f1f5f9;
}

/* Dropdown styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  background: none;
  border: none;
  color: inherit;
  font-size: inherit;
  cursor: pointer;
  padding: 8px 16px;
  text-decoration: none;
  display: inline-block;
}

.dropdown-toggle:hover {
  color: #2563eb;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border-radius: 8px;
  z-index: 1000;
  padding: 8px 0;
  border: 1px solid #e2e8f0;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.2s;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
}

.zalo-icon, .facebook-icon {
  font-weight: bold;
  margin-right: 8px;
  width: 20px;
  text-align: center;
}

.zalo-icon {
  color: #0068ff;
}

.facebook-icon {
  color: #1877f2;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

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

.search-form {
  display: flex;
  gap: 10px;
  max-width: 800px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.search-form input,
.search-form select {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 16px;
}

.search-form input:focus,
.search-form select:focus {
  outline: none;
  border-color: #2563eb;
}

.search-form button {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 120px;
}

.search-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.quick-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  font-weight: 500;
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* FEATURED JOBS */
.featured-jobs {
  padding: 60px 0;
  background: #f8f9fa;
}

.featured-jobs h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: #333;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.job-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #e2e8f0;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  border-color: #2563eb;
}

.job-card h3 {
  color: #2563eb;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.job-card .company {
  color: #475569;
  font-weight: 600;
  margin-bottom: 5px;
}

.job-card .location {
  color: #64748b;
  font-size: 14px;
  margin-bottom: 5px;
}

.job-card .type {
  color: #059669;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 5px;
}

.job-card .salary {
  color: #dc2626;
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 10px;
}

.view-all-container {
  text-align: center;
}

.view-all-btn {
  display: inline-block;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* STATISTICS */
.statistics {
  padding: 60px 0;
  background: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  color: #2563eb;
  margin-bottom: 10px;
  font-weight: 700;
}

.stat-item p {
  color: #666;
  font-size: 1.1rem;
  font-weight: 500;
}

/* FOOTER */
.footer {
  background: #1e293b;
  color: white;
  padding: 40px 0;
  text-align: center;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.socials {
  display: flex;
  gap: 20px;
}

.socials a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.socials a:hover {
  color: #60a5fa;
}

/* RESPONSIVE STYLES */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .search-form {
    flex-direction: column;
  }
  
  .search-form input,
  .search-form select,
  .search-form button {
    min-width: auto;
    width: 100%;
  }
  
  .quick-filters {
    justify-content: flex-start;
  }
  
  .jobs-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .footer .container {
    flex-direction: column;
    text-align: center;
  }
  
  .nav {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .dropdown-menu {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    min-width: 90vw;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 50px 0;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .featured-jobs h2 {
    font-size: 2rem;
  }
  
  .stat-item h3 {
    font-size: 2.5rem;
  }
  
  .job-card {
    padding: 20px;
  }
}