/* HelloBotz Careers Page Stylesheet */
.careers-hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  background: radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.08) 0%, rgba(16, 185, 129, 0.04) 45%, transparent 70%), #FAFBFC;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  overflow: hidden;
  text-align: center;
}
.careers-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: #EEF2FF;
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #4338CA;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.careers-hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}
@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.careers-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: #0F172A;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.careers-hero h1 .grad-text {
  background: linear-gradient(135deg, #034737 0%, #10B981 50%, #4F46E5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.careers-hero .lead-text {
  max-width: 780px;
  margin: 0 auto 1.5rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: #475569;
}
.careers-hero .tagline {
  font-size: 1.05rem;
  font-weight: 600;
  color: #047857;
  margin-bottom: 2rem;
}
.careers-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.careers-hero-actions .btn-outline,
.careers-hero-actions .btn-careers-apply {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.85rem 1.85rem !important;
  border-radius: 9999px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
  background: #FFFFFF !important;
  color: #047857 !important;
  border: 2px solid #047857 !important;
  box-shadow: 0 2px 8px rgba(4, 120, 87, 0.15) !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}
.careers-hero-actions .btn-outline:hover,
.careers-hero-actions .btn-careers-apply:hover {
  background: #047857 !important;
  color: #FFFFFF !important;
  border-color: #047857 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(4, 120, 87, 0.28) !important;
}
.careers-hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  max-width: 840px;
  margin: 0 auto;
}
.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  background: #FFFFFF;
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

/* Sections General */
.careers-section {
  padding: 5rem 0;
}
.careers-section.bg-light {
  background: #F8FAFC;
}
.careers-section.bg-white {
  background: #FFFFFF;
}
.careers-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.careers-head .sub-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4F46E5;
  margin-bottom: 0.5rem;
}
.careers-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.careers-head p {
  font-size: 1.05rem;
  color: #64748B;
  line-height: 1.6;
}

/* Why Join Us Grid (6 Pillars) */
.why-join-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.08);
  border-color: rgba(99, 102, 241, 0.35);
}
.why-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(16, 185, 129, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}
.why-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.75rem;
}
.why-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748B;
  margin: 0;
  flex: 1;
}

/* What You Could Work On (6 Domain Cards) */
.work-domains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.domain-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.domain-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #034737, #10B981, #4F46E5);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.domain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.08);
  border-color: rgba(16, 185, 129, 0.35);
}
.domain-card:hover::before {
  opacity: 1;
}
.domain-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #F1F5F9;
  color: #0F172A;
  margin-bottom: 1.25rem;
}
.domain-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.6rem;
}
.domain-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 1.25rem;
  flex: 1;
}
.domain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.domain-tag {
  font-size: 0.75rem;
  font-weight: 600;
  background: #F1F5F9;
  color: #475569;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

/* Open Roles Directory */
.roles-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.role-filter-btn {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}
.role-filter-btn:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: #0F172A;
}
.role-filter-btn.active {
  background: #047857;
  color: #FFFFFF;
  border-color: #047857;
  box-shadow: 0 2px 8px rgba(4, 120, 87, 0.3);
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  transition: all 0.3s ease;
}
.roles-grid.is-single-card {
  grid-template-columns: 1fr;
  max-width: 780px;
  margin: 0 auto;
}
.role-category-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.2s ease;
}
.role-category-card:hover {
  border-color: #CBD5E1;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.06);
}
.role-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #F1F5F9;
}
.role-cat-head h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}
.role-count-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: #EEF2FF;
  color: #4F46E5;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}
.role-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.role-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  background: #F8FAFC;
  border: 1px solid #F1F5F9;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.role-item:hover {
  background: #F1F5F9;
  border-color: #E2E8F0;
}
.role-item-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1E293B;
}
.role-apply-mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #047857;
  background: rgba(4, 120, 87, 0.08);
  border: 1px solid rgba(4, 120, 87, 0.18);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.role-apply-mini-btn:hover {
  background: #047857;
  color: #FFFFFF;
  border-color: #047857;
}

/* Fresher & Student Banner */
.fresher-banner {
  background: linear-gradient(135deg, #034737 0%, #065F46 60%, #047857 100%);
  border-radius: 20px;
  padding: 3.5rem 3rem;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px -8px rgba(3, 71, 55, 0.35);
}
.fresher-banner::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.fresher-banner h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: #FFFFFF;
}
.fresher-banner p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  max-width: 780px;
  margin-bottom: 1.75rem;
}
.fresher-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.fresher-pillar-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}
.fresher-pillar-item .fp-icon {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}
.fresher-pillar-item .fp-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}
.fresher-pillar-item .fp-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

/* Hiring Philosophy */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.phil-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.25s ease;
}
.phil-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.06);
  border-color: #047857;
}
.phil-number {
  font-size: 2.25rem;
  font-weight: 900;
  color: #047857;
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 0.75rem;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.phil-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.5rem;
}
.phil-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #64748B;
  margin: 0;
  flex: 1;
}

/* Application Form Container */
.apply-section {
  background: linear-gradient(180deg, #F8FAFC 0%, #EEF2F6 100%);
  padding: 5rem 0;
}
.apply-card {
  max-width: 860px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.08);
}
.apply-card-head {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #F1F5F9;
}
.apply-card-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.5rem;
}
.apply-card-head p {
  font-size: 1rem;
  color: #64748B;
  margin: 0;
}

.careers-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.form-group-full {
  grid-column: 1 / -1;
}
.careers-form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 0.45rem;
}
.careers-form-label span.req {
  color: #EF4444;
}
.careers-form-label span.opt {
  font-size: 0.75rem;
  color: #94A3B8;
  font-weight: 500;
}
.careers-input,
.careers-select,
.careers-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  background: #FAFAFA;
  color: #0F172A;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.careers-input,
.careers-select {
  height: 48px;
  min-height: 48px;
  line-height: 1.5;
}
.careers-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  cursor: pointer;
}
.careers-input:focus,
.careers-select:focus,
.careers-textarea:focus {
  outline: none;
  border-color: #047857;
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(4, 120, 87, 0.12);
}
.careers-textarea {
  min-height: 100px;
  resize: vertical;
}

/* Clickable Skill Pills */
.skill-pills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.skill-pill {
  cursor: pointer;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  user-select: none;
  transition: all 0.15s ease;
}
.skill-pill:hover {
  background: #E2E8F0;
  color: #0F172A;
  border-color: #CBD5E1;
}
.skill-pill.selected {
  background: #047857;
  color: #FFFFFF;
  border-color: #047857;
  box-shadow: 0 2px 6px rgba(4, 120, 87, 0.25);
}

/* Submit Actions */
.apply-submit-wrap {
  margin-top: 2rem;
  text-align: center;
}
.btn-submit-apply {
  background: linear-gradient(135deg, #034737 0%, #047857 100%);
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.9rem 2.5rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(3, 71, 55, 0.35);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-submit-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(3, 71, 55, 0.45);
}
.btn-submit-apply:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Status message */
.careers-form-status {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: left;
}
.careers-form-status.success {
  display: block;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}
.careers-form-status.error {
  display: block;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

/* Direct Email Box */
.direct-email-card {
  margin-top: 2.5rem;
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.direct-email-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 0.25rem;
}
.direct-email-info p {
  font-size: 0.9rem;
  color: #64748B;
  margin: 0;
}
.direct-email-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.email-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1.5px solid #047857;
  color: #047857;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
  cursor: pointer;
}
.email-copy-btn:hover {
  background: #047857;
  color: #FFFFFF;
}
.email-copy-btn.secondary {
  background: #F1F5F9;
  border: 1.5px solid #CBD5E1;
  color: #334155;
}
.email-copy-btn.secondary:hover {
  background: #E2E8F0;
  border-color: #94A3B8;
  color: #0F172A;
}

/* Final Banner */
.careers-bottom-cta {
  background: #0B132B;
  color: #FFFFFF;
  padding: 5rem 0;
  text-align: center;
}
.careers-bottom-cta h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1rem;
}
.careers-bottom-cta p {
  font-size: 1.15rem;
  color: #94A3B8;
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
  .why-join-grid,
  .work-domains-grid,
  .philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fresher-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .careers-hero {
    padding: 3rem 0 2.25rem;
  }
  .careers-hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin: 0 auto 2rem;
  }
  .careers-hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .careers-hero-stats {
    gap: 0.6rem;
  }
  .stat-pill {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
  }
  .why-join-grid,
  .work-domains-grid,
  .roles-grid,
  .philosophy-grid,
  .careers-form-grid {
    grid-template-columns: 1fr;
  }
  .fresher-pillars {
    grid-template-columns: 1fr;
  }
  .fresher-banner {
    padding: 2.25rem 1.25rem;
    text-align: center;
  }
  .apply-card {
    padding: 2rem 1.25rem;
    border-radius: 16px;
  }
  .direct-email-card {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
  }
  .direct-email-actions {
    justify-content: center;
    width: 100%;
  }
  .direct-email-actions .email-copy-btn {
    width: 100%;
    justify-content: center;
  }
  .btn-submit-apply {
    width: 100%;
    justify-content: center;
  }
}
