/* ============================================================
   JAYGANESH MANOHAR — CAREERS PAGE STYLES
   careers.css  |  Used only on careers.html
   ============================================================ */

/* ─── HERO (orange gradient) ─── */
#careers-hero {
  padding: 100px 4% 0;
  background: linear-gradient(180deg, #fb923c 0%, #f97316 100%);
  text-align: center;
  overflow: hidden;
}
.careers-hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.4rem;
}
.careers-hero-title .org  { color: var(--orange-dark); }
.careers-hero-title .wht  { color: #ffffff; }
.careers-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}
.careers-hero-img {
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  box-shadow: 0 -8px 50px rgba(0,0,0,0.15);
}
.careers-hero-img img {
  width: 100%;
  height: auto;
  display: block;
}
.careers-hero-img-placeholder {
  width: 100%;
  aspect-ratio: 16/6;
  background: rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* ─── STATS BAR (orange) ─── */
#careers-stats {
  background: linear-gradient(180deg, #f97316 0%, #fb923c 100%);
  padding: 50px 4%;
}
.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  gap: 0;
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 1rem 2rem;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.4);
  flex-shrink: 0;
}
.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  display: block;
  line-height: 1.1;
}
.stat-lbl {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

/* ─── MEET OUR TEAM ─── */
#meet-team {
  padding: 90px 4%;
  background: #fff;
  text-align: center;
}
.team-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.team-title .org { color: var(--orange); }
.team-title .drk { color: var(--text); }
.team-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 3.5rem;
  line-height: 1.7;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.team-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  text-align: center;
  background: #fff;
  box-shadow: var(--shadow);
}
.team-photo {
  width: 100%;
  aspect-ratio: 1;
  background: #d4d4d4;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.team-photo-name {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.3);
  padding: 4px 10px;
  border-radius: 4px;
  position: relative;
  z-index: 1;
}
.team-dept {
  padding: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  border-top: 1px solid var(--border);
}

/* ─── OPEN POSITIONS ─── */
#open-positions {
  padding: 90px 4%;
  background: #fff;
}
.positions-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 0.6rem;
}
.positions-title .org { color: var(--orange); }
.positions-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 700px;
}

/* Filter tabs */
.filter-tabs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.55rem 1.8rem;
  border-radius: 100px;
  border: 1.5px solid var(--orange);
  background: transparent;
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--orange);
  color: #fff;
}

/* Job list */
.job-list { max-width: 1280px; }
.job-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1.5px solid #f0c080;
}
.job-item:last-child { border-bottom: 1.5px solid #f0c080; }
.job-info { flex: 1; }
.job-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.7rem;
}
.job-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  max-width: 900px;
}
.job-tags {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.job-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1.5px solid var(--orange);
  border-radius: 100px;
  padding: 0.3rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  background: transparent;
}
.job-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.job-apply {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s;
  flex-shrink: 0;
}
.job-apply:hover { color: var(--orange); }
.job-apply span { font-size: 1.4rem; }

/* ─── APPLICATION FORM ─── */
#apply-form-section {
  padding: 90px 4%;
  background: #fff;
}
.apply-form-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text);
  max-width: 600px;
  line-height: 1.3;
  margin-bottom: 2.5rem;
}
.apply-form-card {
  max-width: 1100px;
  background: #fff;
  border: 6px solid var(--orange);
  border-radius: 20px;
  padding: 3rem;
}
.apply-fg {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1.2rem;
}
.apply-fg label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.apply-fg input,
.apply-fg textarea {
  background: #fff;
  border: 1.5px solid var(--orange);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  outline: none;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.apply-fg input:focus,
.apply-fg textarea:focus {
  border-color: var(--orange-dark);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.1);
}
.apply-fg textarea { min-height: 140px; resize: vertical; }
.apply-fg input::placeholder,
.apply-fg textarea::placeholder { color: #bbb; }

/* Resume upload box */
.resume-upload-box {
  border: 1.5px solid var(--orange);
  border-radius: 8px;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: #fff;
}
.resume-upload-box input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.resume-btn {
  background: var(--orange);
  color: #fff;
  padding: 0.7rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  pointer-events: none;
}
.resume-file-name {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
  text-align: center;
}

.btn-apply-submit {
  width: 100%;
  background: var(--orange);
  color: #fff;
  padding: 1rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  margin-top: 1rem;
  transition: background 0.2s;
}
.btn-apply-submit:hover { background: var(--orange-dark); }
.apply-success {
  display: none;
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
  border-radius: 8px;
  padding: 0.8rem;
  text-align: center;
  font-size: 0.88rem;
  margin-top: 1rem;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .team-grid  { grid-template-columns: repeat(2,1fr); }
  .stats-row  { flex-wrap: wrap; gap: 1.5rem; }
  .stat-divider { display: none; }
  .job-item   { flex-direction: column; gap: 1rem; }
  .job-apply  { flex-direction: row; gap: 8px; }
}
@media (max-width: 600px) {
  .team-grid     { grid-template-columns: repeat(2,1fr); }
  .apply-form-card { padding: 1.5rem; border-width: 4px; }
  .filter-tabs   { gap: 0.6rem; }
  .filter-btn    { padding: 0.45rem 1.2rem; font-size: 0.82rem; }
}
