
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 50px 20px;
  z-index: 1;
  background: #0f0f23; /* fallback color if image fails */
}

/*go to current page*/

.hero .container { max-width:1000px; margin:0 auto; }
.hero h1 {
  font-size:4.5rem;
  font-weight:800;
  letter-spacing:-0.5px;
  margin-bottom:1.5rem;
  background: linear-gradient(125deg,#fff,#8b5cf6,#3b82f6);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  animation: titleGlow 3s ease-in-out infinite alternate;
  text-shadow:0 4px 20px rgba(59,130,246,0.2);
}
.hero p {
  font-size:1.5rem;
  max-width:700px;
  margin:0 auto;
  font-weight:300;
  line-height:1.6;
  color:rgba(255,255,255,0.95);
  transition: transform 0.5s ease, opacity 0.5s ease;
}
.hero p:hover { transform:translateZ(5px); opacity:1; }

/* ===== JOBS LIST SECTION ===== */
.jobs-list {
  padding:100px 20px;
  background: rgba(15,15,35,0.5);
  position:relative;
  overflow:hidden;
}

.jobs-grid {
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(360px,1fr));
  gap:3rem;
}

.job-card {
  background: rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:28px;
  padding:2.5rem;
  transition: all 0.5s cubic-bezier(0.175,0.885,0.32,1.275);
  transform: translateZ(0) rotateX(0deg);
  box-shadow:0 8px 32px rgba(0,0,0,0.2),0 4px 12px rgba(139,92,246,0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position:relative;
  display:flex;
  flex-direction:column;
  height:100%;
}
.job-card::before {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(139,92,246,0.05), transparent);
  border-radius:28px;
  z-index:0;
  opacity:0;
  transition:opacity 0.5s ease;
}
.job-card:hover {
  transform:translateY(-12px) scale(1.03) rotateX(3deg) translateZ(20px);
  background:rgba(255,255,255,0.1);
  border-color:rgba(139,92,246,0.4);
  box-shadow:0 20px 50px rgba(139,92,246,0.35),0 10px 30px rgba(59,130,246,0.2);
}
.job-card:hover::before { opacity:1; }

.job-header {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:1.5rem;
  flex-wrap:wrap;
  gap:1rem;
}
.job-header h3 {
  font-size:1.6rem;
  font-weight:700;
  margin:0;
  color:white;
  background:linear-gradient(to right,#fff,#8b5cf6);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  transition:transform 0.3s ease;
}
.job-card:hover .job-header h3 { transform:translateX(4px) translateZ(3px); }

.date {
  font-size:0.85rem;
  opacity:0.7;
  background: rgba(255,255,255,0.1);
  padding:0.35rem 0.8rem;
  border-radius:50px;
  align-self:flex-start;
  transition:opacity 0.3s ease, background 0.3s ease;
}
.job-card:hover .date { opacity:1; background: rgba(139,92,246,0.2); }

.job-description { flex:1; margin-bottom:2rem; }
.job-description p { font-size:1rem; line-height:1.7; opacity:0.85; transition:opacity 0.3s ease, transform 0.3s ease; }
.job-card:hover .job-description p { opacity:1; transform:translateZ(2px); }

.job-actions { text-align:center; }
.job-actions .btn {
  background: linear-gradient(135deg,#53186e,#8c0cc8);
  color:white;
  border:none;
  font-size:1rem;
  padding:0.9rem 2rem;
  border-radius:50px;
  text-decoration:none;
  letter-spacing:0.5px;
  box-shadow:0 6px 20px rgba(104,37,211,0.778),0 4px 12px rgba(138,18,224,0.481);
  transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
  position:relative; overflow:hidden;
}
.job-actions .btn::before {
  content:'';
  position:absolute;
  top:0; left:-100%;
  width:100%; height:100%;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition:left 0.7s ease;
  z-index:0;
}
.job-actions .btn:hover::before { left:100%; }
.job-actions .btn:hover { transform:translateY(-3px) translateZ(8px); box-shadow:0 10px 30px rgba(82,33,217,0.5); }

.no-data { text-align:center; font-size:1.5rem; opacity:0.7; padding:5rem 2rem; color: rgba(255,255,255,0.7); grid-column:1/-1; }

/* GLOW ANIMATION */
@keyframes titleGlow {
  0% { text-shadow:0 0 10px rgba(139,92,246,0.3),0 0 20px rgba(59,130,246,0.2); }
  100% { text-shadow:0 0 30px rgba(59,130,246,0.5),0 0 50px rgba(139,92,246,0.4),0 0 70px rgba(6,182,212,0.3); }
}

/* RESPONSIVE */
@media(max-width:768px){
  .jobs-grid { grid-template-columns:1fr; gap:2rem; }
  .job-card { padding:2rem 1.5rem; }
  .job-header { flex-direction:column; align-items:flex-start; gap:0.5rem; }
  .job-header h3 { font-size:1.4rem; }
  .job-actions .btn { padding:0.8rem 1.8rem; font-size:0.95rem; }
}
