/* Base Styles */
:root {
  --primary-color: #4e7bff;
  --primary-hover: #3d6ae8;
  --secondary-color: #64748b;
  --text-color: #1e293b;
  --text-light: #64748b;
  --background-color: #f8fafc;
  --card-background: #ffffff;
  --border-color: #000000;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --border-radius: 4px;
  --shadow-offset: 3px;
  --shadow-color: #000000;
  --container-width: 1200px;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #4e7bff;
  --blue-600: #3d6ae8;
  --blue-700: #2563eb;
  --blue-800: #1d4ed8;
  --blue-900: #1e40af;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.w-100 {
  width: 100%;
}

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

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-optical-sizing: auto;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.2s ease;
  font-weight: 600;
}

a:hover {
  color: var(--primary-hover);
  transform: translateY(-2px);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  height: 2.5rem;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--shadow-color);
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: calc(var(--shadow-offset) + 2px) calc(var(--shadow-offset) + 2px) 0 var(--shadow-color);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 0px 0px 0 var(--shadow-color);
}

.btn-primary {
  background-color: var(--blue-500);
  color: white;
  border: 2px solid var(--border-color);
}

.btn-primary:hover {
  background-color: var(--blue-600);
  color: white;
}

.btn-secondary {
  background-color: var(--blue-100);
  color: var(--text-color);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--blue-200);
}

.btn-outline {
  background-color: white;
  color: var(--text-color);
  border: 2px solid var(--border-color);
}

.btn-outline:hover {
  background-color: var(--blue-50);
}

/* Header Styles */
header {
  background-color: var(--card-background);
  border-bottom: 2px solid var(--border-color);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-color);
  background-color: var(--blue-300);
  padding: 0.25rem 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: 3px 3px 0 var(--shadow-color);
}

nav ul {
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: var(--text-color);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius);
}

nav a.active {
  color: var(--text-color);
  background-color: var(--blue-200);
  border: 2px solid var(--border-color);
  box-shadow: 2px 2px 0 var(--shadow-color);
}

nav a:hover {
  background-color: var(--blue-100);
}

.auth-buttons {
  display: flex;
  gap: 0.75rem;
}

/* Hero Section */
.hero {
  background-color: var(--blue-300);
  color: var(--text-color);
  padding: 4rem 0;
  border-bottom: 2px solid var(--border-color);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.2;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.hero p {
  font-size: 1.125rem;
  font-weight: 500;
}

.search-box {
  display: flex;
  gap: 0.5rem;
  background-color: white;
  padding: 0.75rem;
  border-radius: var(--border-radius);
  border: 2px solid var(--border-color);
  box-shadow: 5px 5px 0 var(--shadow-color);
  flex-wrap: wrap;
}

.search-box input {
  flex: 1;
  min-width: 200px;
  padding: 0.625rem 0.875rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  font-weight: 500;
}

.search-box input:focus {
  outline: none;
  background-color: var(--blue-50);
}

.search-box button {
  padding: 0.625rem 1.25rem;
}

/* Featured Jobs Section */
.featured-jobs {
  padding: 4rem 0;
  background-color: var(--background-color);
}

.jobs-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

section h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 2rem;
  text-align: center;
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--blue-200);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: 3px 3px 0 var(--shadow-color);
  margin-left: auto;
  margin-right: auto;
  display: table;
}

.card {
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--border-color);
  box-shadow: 5px 5px 0 var(--shadow-color);
  transition: all 0.2s ease;
  position: relative;
  top: 0;
  left: 0;
}

.card:hover {
  top: -5px;
  left: -5px;
  box-shadow: 10px 10px 0 var(--shadow-color);
}

.card-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.company-logo {
  width: 40px;
  height: 40px;
  background-color: var(--blue-500);
  color: white;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  border: 2px solid var(--border-color);
}

.company-logo.large {
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
}

.card-title h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.company-name {
  color: var(--text-color);
  font-size: 0.875rem;
  font-weight: 600;
}

.card-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.job-tag {
  background-color: var(--blue-100);
  color: var(--text-color);
  padding: 0.25rem 0.625rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
}

.job-description {
  color: var(--text-color);
  font-size: 0.875rem;
  flex-grow: 1;
}

.card-additional-info {
  align-items: center;
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  margin-top: auto;
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
}

.job-date {
  color: var(--text-color);
  font-size: 0.75rem;
  font-weight: 600;
}

.view-more {
  text-align: center;
  margin-top: 2rem;
}

/* Categories Section */
.categories {
  padding: 4rem 0;
  background-color: var(--blue-100);
  border-top: 2px solid var(--border-color);
  border-bottom: 2px solid var(--border-color);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}

.category-card {
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  padding: 1.25rem;
  text-align: center;
  color: var(--text-color);
  border: 2px solid var(--border-color);
  box-shadow: 4px 4px 0 var(--shadow-color);
  transition: all 0.2s ease;
  position: relative;
  top: 0;
  left: 0;
}

.category-card:hover {
  top: -3px;
  left: -3px;
  box-shadow: 7px 7px 0 var(--shadow-color);
}

.category-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  background-color: var(--blue-200);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  border-radius: var(--border-radius);
  border: 2px solid var(--border-color);
}

.category-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.375rem;
  font-weight: 700;
}

.category-card p {
  color: var(--text-color);
  font-size: 0.875rem;
  font-weight: 600;
}

/* Companies Section */
.companies {
  padding: 4rem 0;
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.company-card {
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-align: center;
  border: 2px solid var(--border-color);
  box-shadow: 4px 4px 0 var(--shadow-color);
  transition: all 0.2s ease;
  position: relative;
  top: 0;
  left: 0;
}

.company-card:hover {
  top: -3px;
  left: -3px;
  box-shadow: 7px 7px 0 var(--shadow-color);
}

.company-card .company-logo {
  margin: 0 auto 1.25rem;
}

.company-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.375rem;
  font-weight: 700;
}

.company-card p {
  color: var(--text-color);
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
  font-weight: 500;
}

/* CTA Section */
.cta {
  background-color: var(--blue-400);
  color: var(--text-color);
  padding: 4rem 0;
  text-align: center;
  border-top: 2px solid var(--border-color);
  border-bottom: 2px solid var(--border-color);
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  background-color: white;
  padding: 2rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: 8px 8px 0 var(--shadow-color);
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 800;
  background-color: var(--blue-200);
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: 3px 3px 0 var(--shadow-color);
}

.cta p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta .btn-outline {
  background-color: white;
  color: var(--text-color);
}

.cta .btn-outline:hover {
  background-color: var(--blue-50);
}

/* Footer */
footer {
  background-color: #1e293b;
  color: white;
  padding: 4rem 0 1.5rem;
  border-top: 2px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-column h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  color: white;
  font-weight: 700;
  background-color: var(--blue-700);
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border: 2px solid white;
  border-radius: var(--border-radius);
}

.footer-column h4 {
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
  color: white;
  font-weight: 700;
  border-bottom: 2px solid var(--blue-500);
  padding-bottom: 0.5rem;
}

.footer-column p {
  color: #cbd5e1;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}

.footer-column ul li {
  margin-bottom: 0.625rem;
}

.footer-column ul li a {
  color: #cbd5e1;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.125rem 0.25rem;
  border-radius: 2px;
}

.footer-column ul li a:hover {
  color: white;
  background-color: var(--blue-900);
  transform: translateX(3px);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: #cbd5e1;
  transition: all 0.2s ease;
  background-color: var(--blue-900);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  border: 1px solid white;
}

.social-links a:hover {
  color: white;
  background-color: var(--blue-700);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #334155;
}

.footer-bottom p {
  color: #94a3b8;
  font-size: 0.75rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 1rem;
  }
  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .auth-buttons {
    margin-top: 1rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .search-box {
    flex-direction: column;
  }
  .search-box input,
.search-box button {
    width: 100%;
  }
  .job-grid,
.category-grid,
.companies-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }
  .hero p {
    font-size: 1rem;
  }
  section h2 {
    font-size: 1.5rem;
  }
  .cta h2 {
    font-size: 1.5rem;
  }
  .cta p {
    font-size: 1rem;
  }
}
/* Job Detail */
.job-detail__wrapper {
  display: flex;
  gap: 2rem;
  margin: 4rem 0;
}
.job-detail__wrapper .job-detail__content {
  width: calc(65% - 1rem);
}
.job-detail__wrapper .job-detail__sidebar {
  align-self: flex-start;
  width: calc(35% - 1rem);
}

.tab {
  display: flex;
  gap: 0.5rem;
}