/* ==========================================================================
   RUDRA THE PRACTICAL SCHOOL - CAREERS & TALENT POOL STYLESHEET
   Features:
   1. Creative "Portal Coming Soon" & Talent Pool Hero
   2. Pulsing Status Indicator & VIP Alert Subscription Box
   3. Upcoming Department Positions Interactive Teaser Grid
   4. Priority Talent Pool Early Expression Form
   5. Why Teach at Rudra Benefits & Culture Pillars
   6. Reference ID Success Confirmation Modal
   ========================================================================== */

.career-page {
  background-color: #fbfbf9;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ==================== 1. CAREER HERO ==================== */
.career-hero-section {
  background: linear-gradient(135deg, #092c24 0%, #124e3f 55%, #1b6352 100%);
  color: #ffffff;
  padding: clamp(48px, 6vw, 84px) 0 clamp(40px, 5vw, 68px);
  position: relative;
  overflow: hidden;
}

.career-hero-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.16) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.career-hero-inner {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Coming Soon Live Pulse Badge */
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.16);
  border: 1.5px solid rgba(52, 211, 153, 0.4);
  color: #6ee7b7;
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #10b981;
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #10b981;
  animation: pulseRadar 1.8s infinite ease-out;
}

@keyframes pulseRadar {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.career-hero-title {
  font-family: var(--font-primary, sans-serif);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: #ffffff;
}

.career-hero-title span.accent {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.career-hero-desc {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: #e2e8f0;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* Quick Notify Box */
.career-notify-box {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  padding: 22px 28px;
  max-width: 650px;
  margin: 0 auto;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.notify-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fef08a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.notify-form {
  display: flex;
  gap: 10px;
}

.notify-input {
  flex: 1;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 40px;
  padding: 12px 20px;
  font-size: 0.9rem;
  color: #0f172a;
  outline: none;
}

.notify-btn {
  background: #f59e0b;
  color: #092c24;
  font-weight: 700;
  border: 0;
  padding: 12px 26px;
  border-radius: 40px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
}

.notify-btn:hover {
  background: #ffffff;
  color: #092c24;
  transform: translateY(-2px);
}

/* ==================== 2. UPCOMING DEPARTMENTS TEASER ==================== */
.career-openings-section {
  padding: clamp(48px, 6vw, 76px) 0;
}

.openings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.opening-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 8px 24px rgba(18, 78, 63, 0.05);
  border: 1px solid #edf2f7;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.opening-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(18, 78, 63, 0.12);
  border-color: #124e3f;
}

.opening-icon-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.opening-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #f0fdf4;
  color: #124e3f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 1px solid #bbf7d0;
}

.opening-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #fef3c7;
  color: #b45309;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

.opening-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.3;
}

.opening-card p {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.opening-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.opening-meta-pill {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
}

.btn-express-role {
  background: transparent;
  color: #124e3f;
  border: 1.5px solid #124e3f;
  padding: 10px 18px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.btn-express-role:hover {
  background: #124e3f;
  color: #ffffff;
}

/* ==================== 3. PRIORITY TALENT POOL FORM ==================== */
.talent-form-section {
  padding: clamp(48px, 6vw, 84px) 0;
  background: #f1f5f3;
}

.talent-form-card {
  background: #ffffff;
  border-radius: 24px;
  padding: clamp(32px, 5vw, 56px);
  box-shadow: 0 16px 40px rgba(18, 78, 63, 0.08);
  border: 1px solid #e2e8f0;
  max-width: 860px;
  margin: 0 auto;
}

.talent-form-header {
  text-align: center;
  margin-bottom: 36px;
}

.talent-form-header h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.talent-form-header p {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-field label {
  font-weight: 700;
  font-size: 0.88rem;
  color: #1e293b;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.92rem;
  color: #0f172a;
  background: #ffffff;
  transition: all 0.2s ease;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #124e3f;
  box-shadow: 0 0 0 3px rgba(18, 78, 63, 0.12);
}

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

.btn-submit-talent {
  background: #124e3f;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  border: 0;
  padding: 16px 36px;
  border-radius: 40px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(18, 78, 63, 0.25);
}

.btn-submit-talent:hover {
  background: #092c24;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(18, 78, 63, 0.35);
}

/* ==================== 4. WHY TEACH AT RUDRA ==================== */
.career-why-section {
  padding: clamp(48px, 6vw, 76px) 0;
}

.why-rudra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-pillar-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px 24px;
  box-shadow: 0 8px 24px rgba(18, 78, 63, 0.05);
  border: 1px solid #edf2f7;
  text-align: center;
  transition: all 0.25s ease;
}

.why-pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(18, 78, 63, 0.1);
}

.why-pillar-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f0fdf4;
  color: #124e3f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
  border: 1px solid #bbf7d0;
}

.why-pillar-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.why-pillar-card p {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* ==================== 5. SUCCESS MODAL ==================== */
.talent-success-card {
  text-align: center;
  padding: 30px 20px;
}

.success-check-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 20px;
}

.ref-code-box {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  padding: 14px 20px;
  border-radius: 12px;
  display: inline-block;
  margin: 18px 0;
  font-family: monospace;
  font-size: 1.25rem;
  font-weight: 800;
  color: #124e3f;
  letter-spacing: 0.05em;
}

/* ==================== 6. RESPONSIVE ==================== */
@media (max-width: 992px) {
  .openings-grid,
  .why-rudra-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .openings-grid,
  .why-rudra-grid {
    grid-template-columns: 1fr;
  }

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

  .notify-btn {
    width: 100%;
    justify-content: center;
  }

  .career-notify-box {
    padding: 20px 16px;
  }

  .talent-form-card {
    padding: 28px 18px;
  }
}
