:root {
  --primary: #2563EB;
  --gold: #F59E0B;
  --dark: #111827;
  --light: #F3F4F6;
}

* {
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #FFFFFF;
  color: #1F2937;
  line-height: 1.6;
}

html, body {
  height: 100%;
}

.navbar {
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
}

.btn-secondary {
  background-color: var(--gold);
  border-color: var(--gold);
  color: white;
}

.btn-secondary:hover {
  background-color: #d97706;
  border-color: #d97706;
  color: white;
}

.badge-primary {
  background-color: var(--primary);
  color: white;
}

.text-primary {
  color: var(--primary) !important;
}

.text-gold {
  color: var(--gold);
}

.gradient-blue {
  background: linear-gradient(135deg, #2563EB 0%, #1e40af 100%);
  color: white;
}

.gradient-green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.gradient-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #d97706 100%);
  color: white;
}

.gradient-purple {
  background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
  color: white;
}

.gradient-teal {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  color: white;
}

.gradient-orange {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
}

.hero-section {
  background: linear-gradient(135deg, #2563EB 0%, #1e40af 100%);
  color: white;
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.hero-section p {
  font-size: 1.1rem;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 20px;
  border-radius: 8px;
  display: inline-block;
  margin-right: 12px;
  margin-bottom: 12px;
}

.stat-pill strong {
  color: #fff;
  font-size: 1.3rem;
  display: block;
  font-weight: 800;
}

.stat-pill span {
  font-size: 0.85rem;
  opacity: 0.85;
}

.blog-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.blog-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.blog-image {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.blog-image i {
  opacity: 0.7;
}

.blog-content {
  padding: 24px;
}

.blog-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: inline-block;
}

.blog-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
  color: #1F2937;
}

.blog-excerpt {
  font-size: 0.9rem;
  color: #6B7280;
  margin-bottom: 16px;
  line-height: 1.5;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: #9CA3AF;
  margin-bottom: 16px;
  border-top: 1px solid #E5E7EB;
  padding-top: 12px;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: white;
}

.featured-blog {
  border-radius: 12px;
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.featured-blog-content {
  padding: 40px;
}

.featured-blog-image {
  height: 360px;
  background: linear-gradient(135deg, #2563EB 0%, #1e40af 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.3);
}

.featured-blog-title {
  font-size: 2rem;
  font-weight: 800;
  margin: 20px 0;
  line-height: 1.3;
}

.featured-blog-excerpt {
  font-size: 1rem;
  color: #6B7280;
  margin-bottom: 20px;
  line-height: 1.6;
}

.category-filter {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 40px;
  scrollable: false;
}

.category-filter::-webkit-scrollbar {
  display: none;
}

.category-pill {
  padding: 8px 18px;
  border-radius: 24px;
  border: 2px solid #E5E7EB;
  background: white;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s ease;
  color: #6B7280;
}

.category-pill:hover, .category-pill.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.newsletter-banner {
  background: var(--primary);
  color: white;
  padding: 50px 30px;
  border-radius: 12px;
  margin: 60px 0 40px;
}

.newsletter-banner h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
}

.newsletter-form button {
  padding: 12px 28px;
  font-weight: 700;
}

.pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.pagination a, .pagination span {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #E5E7EB;
  cursor: pointer;
  text-decoration: none;
  color: #6B7280;
  font-weight: 600;
  font-size: 0.9rem;
}

.pagination a:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.pagination .active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.breadcrumb {
  background-color: transparent;
  padding: 0;
  margin-bottom: 24px;
}

.breadcrumb-item {
  font-size: 0.9rem;
}

.breadcrumb-item.active {
  color: #6B7280;
}

.breadcrumb-item a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.article-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 20px 0;
  color: #1F2937;
}

.author-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #E5E7EB;
  margin-bottom: 24px;
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1F2937;
  margin-bottom: 2px;
}

.author-meta {
  font-size: 0.8rem;
  color: #9CA3AF;
}

.share-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--primary);
}

.share-btn:hover {
  opacity: 0.85;
}

.share-btn.copy {
  background: #6B7280;
}

.article-body {
  font-size: 1rem;
  line-height: 1.8;
  color: #374151;
  margin: 32px 0;
}

.article-body h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-top: 32px;
  margin-bottom: 12px;
  color: #1F2937;
}

.article-body p {
  margin-bottom: 16px;
}

.article-body ul, .article-body ol {
  margin-left: 24px;
  margin-bottom: 16px;
}

.article-body li {
  margin-bottom: 8px;
}

.tags-section {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
  margin: 32px 0;
}

.tag {
  padding: 6px 14px;
  background: #F3F4F6;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.tag:hover {
  background: var(--primary);
  color: white;
}

.comment {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #E5E7EB;
}

.comment-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
  flex-shrink: 0;
}

.comment-content {
  flex: 1;
}

.comment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.comment-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1F2937;
}

.comment-date {
  font-size: 0.8rem;
  color: #9CA3AF;
}

.comment-text {
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.5;
  margin-bottom: 12px;
}

.comment-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: #9CA3AF;
  cursor: pointer;
  text-decoration: none;
}

.comment-action:hover {
  color: var(--primary);
}

.sidebar-card {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-card h5 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #1F2937;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 12px;
}

.toc-list a {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
}

.toc-list a:hover {
  text-decoration: underline;
}

.related-articles-grid {
  display: grid;
  gap: 16px;
}

.related-article {
  background: #F3F4F6;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.related-article:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.related-article-img {
  width: 100%;
  height: 120px;
  background: linear-gradient(135deg, #2563EB 0%, #1e40af 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.3);
}

.related-article-title {
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px;
  color: #1F2937;
  line-height: 1.3;
}

.job-search-cta {
  background: var(--primary);
  color: white;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.job-search-cta h6 {
  font-weight: 800;
  margin-bottom: 8px;
}

.job-search-cta p {
  font-size: 0.95rem;
  margin-bottom: 16px;
  opacity: 0.95;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud-item {
  padding: 6px 12px;
  background: #F3F4F6;
  border-radius: 6px;
  font-size: 0.8rem;
  color: #6B7280;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tag-cloud-item:hover {
  background: var(--primary);
  color: white;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 32px;
  color: #1F2937;
  text-align: center;
}

.feature-card {
  text-align: center;
  padding: 40px 24px;
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.feature-card h5 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #1F2937;
}

.feature-card p {
  font-size: 0.95rem;
  color: #6B7280;
  line-height: 1.6;
}

.stats-section {
  background: var(--primary);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.stat-item {
  margin-bottom: 40px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

.team-card {
  text-align: center;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  transition: all 0.3s ease;
}

.team-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.4rem;
  color: white;
  margin: 0 auto 16px;
}

.team-name {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: #1F2937;
}

.team-role {
  font-size: 0.85rem;
  color: #9CA3AF;
  margin-bottom: 12px;
}

.team-social {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.team-social a {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F3F4F6;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.team-social a:hover {
  background: var(--primary);
  color: white;
}

.value-card {
  padding: 32px 24px;
  text-align: center;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  background: white;
  transition: all 0.3s ease;
}

.value-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.value-card h5 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #1F2937;
}

.value-card p {
  font-size: 0.95rem;
  color: #6B7280;
  line-height: 1.6;
}

.contact-form {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 32px;
}

.contact-form label {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: block;
  color: #1F2937;
}

.contact-form input, .contact-form select, .contact-form textarea {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 12px;
  width: 100%;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  margin-bottom: 20px;
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.form-check {
  margin-bottom: 20px;
}

.form-check-input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-check-label {
  font-size: 0.9rem;
  color: #6B7280;
  cursor: pointer;
  margin-left: 8px;
}

.success-message {
  display: none;
  background: #D1FAE5;
  border: 1px solid #6EE7B7;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  margin-bottom: 24px;
}

.success-message.show {
  display: block;
}

.success-message i {
  font-size: 2rem;
  color: #059669;
  margin-bottom: 12px;
}

.success-message h5 {
  color: #059669;
  font-weight: 800;
  margin: 0;
}

.contact-info-card {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  font-size: 1.5rem;
  color: var(--primary);
  min-width: 24px;
}

.contact-info-content {
  flex: 1;
}

.contact-info-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #9CA3AF;
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 1rem;
  font-weight: 600;
  color: #1F2937;
}

.contact-info-value a {
  color: var(--primary);
  text-decoration: none;
}

.contact-info-value a:hover {
  text-decoration: underline;
}

.map-placeholder {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, #2563EB 0%, #1e40af 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
  font-size: 2.5rem;
}

.map-placeholder p {
  margin-top: 12px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F3F4F6;
  color: var(--primary);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary);
  color: white;
}

.faq-quick {
  background: #F3F4F6;
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
}

.faq-quick h6 {
  font-weight: 800;
  margin-bottom: 16px;
  color: #1F2937;
}

.faq-quick-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-quick-list li {
  margin-bottom: 12px;
}

.faq-quick-list a {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
}

.faq-quick-list a:hover {
  text-decoration: underline;
}

.office-card {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.office-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
}

.office-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.office-card h5 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #1F2937;
}

.office-card p {
  font-size: 0.95rem;
  color: #6B7280;
  margin-bottom: 0;
}

.error-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 200px);
  text-align: center;
  padding: 40px 20px;
}

.error-content {
  max-width: 600px;
}

.error-number {
  font-size: 8rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(37, 99, 235, 0.1);
}

.error-icon {
  font-size: 4rem;
  color: var(--gold);
  margin-bottom: 24px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.error-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1F2937;
  margin-bottom: 12px;
}

.error-subtitle {
  font-size: 1.1rem;
  color: #6B7280;
  margin-bottom: 32px;
  line-height: 1.6;
}

.error-search {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.error-search input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
}

.error-search button {
  padding: 12px 24px;
  font-weight: 700;
}

.error-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.error-buttons a {
  padding: 12px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.error-buttons a.btn-primary {
  background: var(--primary);
  color: white;
  border: 2px solid var(--primary);
}

.error-buttons a.btn-primary:hover {
  background: transparent;
  color: var(--primary);
}

.error-buttons a.btn-light {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.error-buttons a.btn-light:hover {
  background: var(--primary);
  color: white;
}

.popular-jobs {
  background: #F3F4F6;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  margin-top: 40px;
}

.popular-jobs h6 {
  font-weight: 800;
  margin-bottom: 16px;
  color: #1F2937;
}

.popular-jobs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.popular-jobs-list a {
  padding: 8px 16px;
  background: white;
  border-radius: 6px;
  text-decoration: none;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.popular-jobs-list a:hover {
  background: var(--primary);
  color: white;
}

footer {
  margin-top: auto;
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .featured-blog-title {
    font-size: 1.5rem;
  }

  .article-title {
    font-size: 1.6rem;
  }

  .error-number {
    font-size: 5rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .stat-number {
    font-size: 2rem;
  }
}
