@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #2ac3a2; /* Custom teal color from the image */
  --primary-hover: #22a78a;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --bg-light: #f8fafc;
  --border-color: #e5e7eb;
  --footer-bg: #111827;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: #111827;
}

a {
  text-decoration: none;
}

/* Typography Utilities */
.text-teal { color: var(--primary) !important; }
.bg-teal { background-color: var(--primary) !important; }
.bg-light-gray { background-color: var(--bg-light) !important; }

/* Buttons */
.btn {
  border-radius: 50px;
  font-weight: 500;
  padding: 8px 24px;
  transition: all 0.2s;
}

.btn-teal {
  background-color: var(--primary);
  color: white;
  border: 1px solid var(--primary);
}

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

.btn-outline-teal {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline-teal:hover {
  background-color: rgba(29, 191, 158, 0.05);
  color: var(--primary);
}

.btn-outline-gray {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-outline-gray:hover {
  background-color: var(--bg-light);
  color: var(--text-main);
}

.btn-light-gray {
  background-color: #f1f5f9;
  color: var(--text-main);
  border: none;
}

.btn-light-gray:hover {
  background-color: #e2e8f0;
}

/* Navbar */
.navbar {
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
  background-color: white;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-icon {
  width: 32px;
  height: 32px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.brand-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-main) !important;
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--primary) !important;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 120px 0;
  background-image: url('/images/hero_background.png?v=2');
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 40px;
  color: white;
}

.hero-title span, .text-gradient-cyan {
  background: linear-gradient(to right, #B5E4DC 0%, #7AD8C2 30%, #159FAD 60%, #5DCDC8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block; /* Ensure gradient works properly */
}

/* Search Bar */
.search-container {
  background: white;
  border-radius: 50px;
  padding: 8px;
  display: flex;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.search-input-group {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 0 15px;
  border-right: 1px solid var(--border-color);
}

.search-input-group:last-of-type {
  border-right: none;
}

.search-input-group i {
  color: var(--text-muted);
  margin-right: 10px;
}

.search-input-group input, .search-input-group select {
  border: none;
  outline: none;
  width: 100%;
  font-size: 0.95rem;
  color: var(--text-main);
  background: transparent;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.search-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.search-tag {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: white;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-decoration: none;
}

.search-tag:hover {
  background: rgba(255, 255, 255, 0.3);
  color: white;
}

/* Section Shared */
.section-padding {
  padding: 80px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.section-title {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.link-teal {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

.link-teal:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Badges */
.badge-tag {
  background-color: var(--bg-light);
  color: var(--text-muted);
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  border: 1px solid var(--border-color);
}

/* Job Card (List View) */
.job-card-list {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  transition: box-shadow 0.2s;
  margin-bottom: 16px;
}

.job-card-list:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border-color: #cbd5e1;
}

.company-logo {
  width: 64px;
  height: 64px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.company-logo img {
  max-width: 40px;
  max-height: 40px;
}

.job-details {
  flex: 1;
}

.job-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.job-company {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.job-meta {
  display: flex;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.job-meta i {
  margin-right: 6px;
}

.job-salary {
  color: var(--text-main);
  font-weight: 600;
}

.job-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 140px;
}

/* Location Filters */
.filter-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  align-items: center;
}

.filter-tab {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  background: white;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

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

.filter-tab:hover:not(.active) {
  background-color: var(--bg-light);
}

/* Job Card (Grid View) */
.job-card-grid {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.job-card-grid:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border-color: #cbd5e1;
}

.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.job-card-grid .job-title {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.job-card-grid .job-meta {
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
}

.job-card-grid .job-salary {
  color: var(--primary);
}

.job-card-footer {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  justify-content: flex-end;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.job-card-footer i {
  margin-right: 4px;
}

.save-btn {
  color: #cbd5e1;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.2s;
}

.save-btn:hover {
  color: #f43f5e;
}

/* Pagination */
.pagination-custom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 40px;
}

.page-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  color: var(--primary);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.page-btn:hover {
  background: var(--bg-light);
  color: var(--primary);
}

.page-text {
  font-weight: 500;
}

/* Company Card */
.company-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}

.company-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.company-card img {
  max-width: 80px;
  max-height: 50px;
  margin-bottom: 20px;
}

.company-jobs {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-light);
  padding: 6px 12px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Blog Card */
.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}

.blog-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Footer */
.footer {
  background-color: var(--footer-bg);
  color: #9ca3af;
  padding: 80px 0 40px;
}

.footer-brand {
  margin-bottom: 20px;
}

.footer-title {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s;
}

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

.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* --- NEW PAGES CSS --- */
/* Breadcrumb */
.breadcrumb-custom {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.breadcrumb-custom a {
  color: var(--primary);
  text-decoration: none;
}
.breadcrumb-custom a:hover {
  text-decoration: underline;
}

/* Page Headers */
.page-header-simple {
  text-align: center;
  padding: 40px 0;
}
.page-header-simple h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.page-header-simple p {
  color: var(--text-muted);
}

/* Job Detail Page */
.job-detail-header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 30px;
}
.job-detail-logo {
  width: 100px;
  height: 100px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
}
.job-detail-logo img {
  max-width: 70px;
  max-height: 70px;
}
.tag-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 8px;
  margin-bottom: 12px;
}
.tag-green { background: #d1fae5; color: #059669; }
.tag-blue { background: #dbeafe; color: #2563eb; }
.tag-red { background: #fee2e2; color: #dc2626; }
.tag-gray { background: var(--bg-light); color: var(--text-muted); border: 1px solid var(--border-color); }

.job-detail-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.job-detail-company {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.job-stats-bar {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}
.stat-val {
  font-weight: 700;
  font-size: 1.05rem;
}

.content-section {
  margin-bottom: 40px;
}
.content-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.job-description-text {
  line-height: 1.7;
  color: var(--text-main);
}
.job-req-list {
  list-style: none;
  padding: 0;
}
.job-req-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  line-height: 1.6;
}
.job-req-list li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary);
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 1.1rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.benefit-card {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
}
.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0fdf4;
  color: var(--primary);
  font-size: 1.2rem;
}
.benefit-card.yellow .benefit-icon { background: #fef9c3; color: #ca8a04; }
.benefit-card.purple .benefit-icon { background: #f3e8ff; color: #9333ea; }
.benefit-card.blue .benefit-icon { background: #dbeafe; color: #2563eb; }

/* Right Sidebar Cards */
.sidebar-card {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  background: white;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.sidebar-timer {
  color: #dc2626;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.sidebar-stat-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.sidebar-stat-label {
  color: var(--text-muted);
}
.sidebar-stat-val {
  font-weight: 600;
}
.sidebar-stat-val.highlight {
  color: var(--primary);
}

.quick-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.quick-info-item {
  display: flex;
  flex-direction: column;
}
.quick-info-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.quick-info-val {
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.quick-info-val i {
  color: var(--primary);
}

.share-buttons {
  display: flex;
  gap: 10px;
}
.share-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-light);
  color: var(--text-main);
  text-decoration: none;
  transition: 0.2s;
}
.share-btn:hover {
  background: #e2e8f0;
}

/* Large Job Card (List View Full Width) */
.job-card-large {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  transition: all 0.2s;
}
.job-card-large:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border-color: #cbd5e1;
}
.job-card-large .job-logo {
  width: 72px;
  height: 72px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 24px;
}
.job-card-large .job-logo i { font-size: 2rem; }
.job-card-large .job-main { flex: 1; }
.job-card-large .job-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.job-card-large .job-company { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 12px; }
.job-card-large .job-meta { display: flex; gap: 16px; font-size: 0.9rem; color: var(--text-muted); }
.job-card-large .job-salary { font-weight: 600; color: var(--text-main); }
.job-card-large .job-actions { display: flex; flex-direction: column; gap: 10px; min-width: 150px; text-align: right; }

/* Grid Job Card (Opportunities) */
.job-card-box {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.job-card-box:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  border-color: #cbd5e1;
}
.box-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.box-icon { width: 48px; height: 48px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: white; }
.box-icon.bg-teal-light { background: var(--primary); }
.box-icon.bg-blue { background: #3b82f6; }
.box-icon.bg-purple { background: #8b5cf6; }
.box-icon.bg-red { background: #ef4444; }
.box-icon.bg-yellow { background: #eab308; }

.job-card-box .job-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.job-card-box .job-company { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }
.job-card-box .job-meta { display: flex; justify-content: space-between; margin-bottom: 20px; font-size: 0.85rem; }
.job-card-box .job-salary { font-weight: 700; color: var(--primary); font-size: 1rem; }
.box-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }

/* Top Search Bar & Filters */
.top-search-row {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
}
.top-search-input {
  flex: 1;
  position: relative;
}
.top-search-input i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.top-search-input input, .top-search-input select {
  width: 100%;
  padding: 12px 16px 12px 45px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  outline: none;
  background: white;
}
.top-filter-dropdowns {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.filter-dropdown {
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  background: white;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.filter-dropdown i { font-size: 0.75rem; color: var(--text-muted); }

/* Left Sidebar Filter */
.advanced-filter-sidebar {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
}
.filter-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.filter-header h3 { font-size: 1.1rem; margin: 0; }
.filter-group { margin-bottom: 24px; }
.filter-group-title { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; margin-bottom: 12px; }
.filter-checkbox { display: flex; align-items: center; margin-bottom: 10px; cursor: pointer; }
.filter-checkbox input { margin-right: 10px; width: 16px; height: 16px; accent-color: var(--primary); }
.filter-checkbox span { font-size: 0.95rem; }

/* Company Pages */
.company-hero {
  background: linear-gradient(135deg, #ccfbf1 0%, #2ac3a2 100%);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.company-hero-content {
  position: relative;
  z-index: 2;
}
.company-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 20px;
}
.company-hero-tags {
  display: flex;
  gap: 12px;
}
.company-hero-tag {
  background: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.company-hero-tag i { color: var(--primary); }

.company-tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 40px;
  overflow-x: auto;
}
.company-tab {
  padding: 12px 0;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
}
.company-tab.active {
  color: var(--primary);
}
.company-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

.company-card-detailed {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.company-card-detailed:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border-color: #cbd5e1;
}
.company-header-row { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.company-logo-box { width: 60px; height: 60px; border: 1px solid var(--border-color); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.company-logo-box img { max-width: 40px; max-height: 40px; }
.company-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.company-rating { color: #fbbf24; font-size: 0.85rem; display: flex; align-items: center; gap: 4px; }
.company-rating span { color: var(--text-muted); margin-left: 4px; }
.company-info-list { list-style: none; padding: 0; margin-bottom: 24px; flex: 1; }
.company-info-list li { margin-bottom: 8px; font-size: 0.9rem; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.company-info-list li.highlight { color: var(--primary); font-weight: 500; }