:root {
  --primary-color: #6c32ac;
  --primary-light: #8b5dcf;
  --primary-dark: #4a2276;
  --bg-dark: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #2a2a2a;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #888888;
  --border-color: #333333;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
}

/* ===== Global Styles ===== */
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-dark);
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 120px 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-dark));
  overflow: hidden;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  animation: float 6s ease-in-out infinite alternate;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  left: -100px;
  background: var(--primary-light);
}

.shape-2 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  right: -150px;
  background: var(--primary-dark);
}

@keyframes float {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(-20px) translateX(20px); }
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  background: var(--primary-color);
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  color: var(--text-primary);
}

.cta-button i {
  margin-left: 10px;
}

.cta-button:hover {
  background: var(--primary-light);
}

/* ===== Sections ===== */
.section-title {
  font-size: 2.2rem;
  margin-bottom: 40px;
  text-align: center;
  color: var(--text-primary);
}

/* ===== Benefits Grid ===== */
.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 80px;
}

.benefit-card {
  background: var(--bg-secondary);
  padding: 30px;
  border-radius: 15px;
  width: 280px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
  background: var(--bg-tertiary);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

/* ===== Jobs Grid ===== */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto; /* centers the grid horizontally */
}

.job-card {
  display: flex;
  flex-direction: column; /* stack content vertically */
  justify-content: flex-start;
  background: var(--bg-secondary);
  padding: 25px 20px;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Push the apply button to the bottom */
.apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center; /* center horizontally */
  background: var(--primary-light);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  color: var(--text-primary);
  margin-top: auto; /* pushes button to the bottom */
}

.apply-btn i {
  margin-left: 8px;
}

.apply-btn:hover {
  background: var(--primary-color);
}


.job-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.job-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.job-description {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.requirements {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.requirements li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
}

.apply-btn:hover {
  background: var(--primary-color);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero-content h1 { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1rem; }
  .benefits-grid { gap: 20px; }
  .jobs-grid { gap: 20px; }
}
.jobs-section {
  margin-bottom: 100px;
}

.why-join {
  margin-top: 60px;
}