/* =============================================
   PARKAR.IN - Open Positions Page Styles
   css/careers-open-positions.css
   Used by: pages/Careers/OpenPositions.html
   ============================================= */

/* ─── Base ─── */
body {
  font-family: var(--font-body);
  background-color: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
body::-webkit-scrollbar { display: none; }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.op-hero {
  position: relative;
  padding-top: 80px;
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(27,174,159,0.11) 0%, transparent 65%),
              radial-gradient(ellipse 50% 40% at 85% 90%, rgba(27,174,159,0.05) 0%, transparent 60%),
              var(--navy);
}
.op-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 88px 0 80px;
  max-width: 820px;
  margin: 0 auto;
}
.op-hero-inner .section-label {
  display: block;
  margin-bottom: 20px;
}
.op-hero-inner h1 {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: var(--white);
}
.op-hero-inner h1 span { color: var(--teal); }
.op-hero-sub {
  font-family: var(--font-head);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
  line-height: 1.5;
}
.op-hero-inner p {
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.85;
  color: rgba(255,255,255,0.62);
  max-width: 620px;
  margin: 0 auto 40px;
}
.op-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════
   STATS STRIP
══════════════════════════════════════ */
.op-stats {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}
.op-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.op-stat-item {
  text-align: center;
  padding: 20px 24px;
  border-right: 1px solid var(--border);
}
.op-stat-item:last-child { border-right: none; }
.op-stat-number {
  font-family: var(--font-head);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 8px;
}
.op-stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* ══════════════════════════════════════
   DEPARTMENTS
══════════════════════════════════════ */
.op-departments {
  padding: 100px 0;
  background: var(--navy);
}
.op-departments-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.op-departments-head .section-label { display: block; margin-bottom: 12px; }
.op-departments-head h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--white);
}
.op-departments-head h2 span { color: var(--teal); }
.op-departments-head p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.58);
}
.op-dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.op-dept-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}
.op-dept-card:hover {
  border-color: rgba(27,174,159,0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.3);
}
.op-dept-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(27,174,159,0.08);
  border: 1px solid rgba(27,174,159,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.op-dept-icon svg {
  width: 22px;
  height: 22px;
  color: var(--teal);
}
.op-dept-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.op-dept-card p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  flex: 1;
}
.op-dept-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
}
.op-dept-count svg {
  width: 14px;
  height: 14px;
}

/* ══════════════════════════════════════
   JOB LISTINGS SECTION
══════════════════════════════════════ */
.op-listings {
  padding: 32px 0 80px;
  background: var(--navy);
}
.op-listings-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px;
}
.op-listings-head .section-label { display: block; margin-bottom: 12px; }

/* Ceipal widget container */
#example-widget-container {
  min-height: 400px;
  border-radius: 12px;
  overflow: hidden;
}
.op-listings-head h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}
.op-listings-head h2 span { color: var(--teal); }

/* Filter bar */
.op-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.op-search-wrap {
  flex: 1;
  min-width: 240px;
  position: relative;
}
.op-search-wrap svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: rgba(255,255,255,0.35);
  pointer-events: none;
}
.op-search-input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s;
  box-sizing: border-box;
}
.op-search-input::placeholder { color: rgba(255,255,255,0.3); }
.op-search-input:focus { border-color: rgba(27,174,159,0.5); }

.op-filter-select {
  padding: 12px 36px 12px 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  min-width: 160px;
  transition: border-color 0.25s;
}
.op-filter-select:focus { border-color: rgba(27,174,159,0.5); }
.op-filter-select option { background: #0a1233; }

/* Job cards */
.op-jobs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.op-job-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: border-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}
.op-job-card:hover {
  border-color: rgba(27,174,159,0.35);
  transform: translateX(4px);
}
.op-job-left { flex: 1; }
.op-job-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
  transition: color 0.25s;
}
.op-job-card:hover .op-job-title { color: var(--teal); }
.op-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.op-job-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 4px 10px;
}
.op-job-tag svg { width: 12px; height: 12px; flex-shrink: 0; }
.op-job-tag.dept {
  color: var(--teal);
  background: rgba(27,174,159,0.08);
  border-color: rgba(27,174,159,0.2);
}
.op-job-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s, border-color 0.25s;
}
.op-job-card:hover .op-job-arrow {
  background: rgba(27,174,159,0.1);
  border-color: var(--teal);
}
.op-job-arrow svg {
  width: 16px;
  height: 16px;
  color: var(--white);
}

/* Empty state */
.op-empty-state {
  text-align: center;
  padding: 60px 0;
  display: none;
}
.op-empty-state.visible { display: block; }
.op-empty-state p {
  font-size: 16px;
  color: rgba(255,255,255,0.45);
}

/* Load more */
.op-load-more {
  text-align: center;
  margin-top: 40px;
}
.op-load-more-btn {
  padding: 12px 32px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.op-load-more-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(27,174,159,0.06);
}

/* ══════════════════════════════════════
   WHY PARKAR — 2-col split
══════════════════════════════════════ */
.op-why {
  padding: 100px 0;
  background: var(--navy);
  border-top: 1px solid var(--border);
}
.op-why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.op-why-left .section-label { display: block; margin-bottom: 16px; }
.op-why-left h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--white);
}
.op-why-left h2 span { color: var(--teal); }
.op-why-left p {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.op-why-left p:last-of-type { margin-bottom: 36px; }
.op-why-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.op-why-feat {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.3s;
}
.op-why-feat:hover { border-color: rgba(27,174,159,0.3); }
.op-why-feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(27,174,159,0.08);
  border: 1px solid rgba(27,174,159,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.op-why-feat-icon svg { width: 18px; height: 18px; color: var(--teal); }
.op-why-feat h4 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}
.op-why-feat p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* ══════════════════════════════════════
   FINAL CTA
══════════════════════════════════════ */
.op-final-cta {
  padding: 80px 0;
  text-align: center;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(27,174,159,0.12) 0%, transparent 70%),
              linear-gradient(180deg, var(--navy-mid) 0%, var(--navy) 100%);
  border-top: 1px solid var(--border);
}
.op-final-cta .section-label { display: block; margin-bottom: 20px; }
.op-final-cta h2 {
  font-family: var(--font-head);
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 700;
  line-height: 1.2;
  max-width: 680px;
  margin: 0 auto 16px;
  color: var(--white);
}
.op-final-cta h2 span { color: var(--teal); }
.op-final-cta p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.58);
  max-width: 540px;
  margin: 0 auto 40px;
}
.op-final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1100px) {
  .op-dept-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .op-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .op-stat-item:nth-child(2) { border-right: none; }
  .op-stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .op-why-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .op-listings { padding: 48px 0 56px; }
  .op-listings-head { margin-bottom: 32px; }
  .op-dept-grid { grid-template-columns: 1fr; }
  .op-filter-bar { flex-direction: column; align-items: stretch; }
  .op-search-wrap { min-width: unset; }
  .op-filter-select { min-width: unset; }
  .op-job-card { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 20px; }
  .op-job-title { font-size: 16px; }
  .op-why-right { grid-template-columns: 1fr; }
  .op-hero-inner { padding: 72px 0 64px; }
  .op-final-cta { padding: 56px 0; }
  .op-final-cta h2 { font-size: 26px; }
  .op-final-cta p { font-size: 14px; margin-bottom: 28px; }
  .op-final-cta-actions { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .op-listings { padding: 36px 0 40px; }
  .op-stats-grid { grid-template-columns: 1fr 1fr; }
  .op-final-cta { padding: 40px 0; }
}

/* ══════════════════════════════════════
   SECURITY NOTICE TICKER
══════════════════════════════════════ */
.op-security-ticker {
  position: relative;
  margin-top: 72px; /* sits just below the fixed navbar */
  background: linear-gradient(90deg,
    rgba(27,174,159,0.08) 0%,
    rgba(27,174,159,0.14) 50%,
    rgba(27,174,159,0.08) 100%
  );
  border-top: 1px solid rgba(27,174,159,0.25);
  border-bottom: 1px solid rgba(27,174,159,0.25);
  overflow: hidden;
  z-index: 5;
}
.op-security-ticker::before,
.op-security-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 2;
}
.op-security-ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--navy, #050b1f) 0%, transparent 100%);
}
.op-security-ticker::after {
  right: 0;
  background: linear-gradient(270deg, var(--navy, #050b1f) 0%, transparent 100%);
}
.op-ticker-inner {
  width: 100%;
  overflow: hidden;
}
.op-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  padding: 14px 0;
  white-space: nowrap;
  animation: opTickerScroll 38s linear infinite;
  will-change: transform;
}
.op-security-ticker:hover .op-ticker-track {
  animation-play-state: paused;
}
.op-ticker-item {
  display: inline-block;
  font-family: var(--font-body, 'Open Sans', sans-serif);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.op-ticker-item strong {
  color: var(--teal, #1bae9f);
  font-weight: 700;
}
.op-ticker-icon {
  color: var(--teal, #1bae9f);
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  margin-top: -3px;
}
.op-ticker-divider {
  color: rgba(27,174,159,0.5);
  font-size: 18px;
  font-weight: 700;
}
@keyframes opTickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .op-ticker-track { gap: 32px; padding: 12px 0; }
  .op-ticker-item { font-size: 12.5px; }
  .op-security-ticker::before,
  .op-security-ticker::after { width: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .op-ticker-track { animation: none; padding-left: 24px; }
}
