:root {
  --navy-900: #0a2c3a;
  --navy-800: #0f3d4d;
  --teal-700: #15616f;
  --brand-green: #1f7a5b;
  --brand-green-dark: #125842;
  --mint-50: #eef8f4;
  --mint-100: #e2f2eb;
  --ink: #10221f;
}

html {
  overflow-x: hidden;
}
body {
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  overflow-x: hidden;
}
.font-display {
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
}

@keyframes shine {
  0% {
    transform: translateX(-120px) rotate(12deg);
  }

  100% {
    transform: translateX(300px) rotate(12deg);
  }
}

.animate-shine {
  animation: shine 2.5s linear infinite;
}

.nav-item {
  position: relative;
  overflow: hidden;
  padding: 16px;
  margin: 0 4px;
  color: #d1d5db;
  transition: all 0.3s ease;
  cursor: pointer;
}

.nav-item:hover {
  color: white;
}

.nav-item.active {
  color: cyan;
}

.nav-item.active::before,
.nav-item.active::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 2px;
  background: #67e8f9;
  box-shadow: 0 2px 20px 3px cyan;
  animation: glowSlide 0.4s ease;
}

.nav-item.active::before {
  top: 0;
}

.nav-item.active::after {
  bottom: 0;
}

/* ---- buttons ---- */
.btn-green {
  background: var(--brand-green);
  color: #fff;
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}
.btn-green:hover {
  background: var(--brand-green-dark);
}
.btn-green:active {
  transform: scale(0.98);
}

/* ---- soft cards ---- */
.card-soft {
  background: linear-gradient(180deg, #ffffff 0%, var(--mint-50) 100%);
  border: 1px solid #e9f1ee;
}

.badge-pill {
  background: var(--navy-800);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ---- hero ---- */
.hero-bg {
  background:
    radial-gradient(
      900px 420px at 85% -10%,
      rgba(21, 97, 111, 0.55),
      transparent 60%
    ),
    radial-gradient(
      700px 380px at 5% 110%,
      rgba(21, 97, 111, 0.45),
      transparent 60%
    ),
    linear-gradient(135deg, var(--navy-900) 0%, var(--teal-700) 100%);
}
.hero-dotted {
  background-image: radial-gradient(
    rgba(120, 210, 200, 0.35) 1px,
    transparent 1.4px
  );
  background-size: 20px 20px;
}

.world-dots {
  background-image: radial-gradient(
    rgba(31, 122, 91, 0.28) 1.4px,
    transparent 1.6px
  );
  background-size: 16px 16px;
}

/* ---- gallery captions ---- */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.gallery-card:hover img {
  transform: scale(1.06);
}
.gallery-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.15) 55%,
    transparent 80%
  );
}

/* ---- FAQ accordion (pure CSS via <details>) ---- */
details.faq summary {
  list-style: none;
  cursor: pointer;
}
details.faq summary::-webkit-details-marker {
  display: none;
}
details.faq .icon-plus {
  display: block;
}
details.faq .icon-minus {
  display: none;
}
details.faq[open] .icon-plus {
  display: none;
}
details.faq[open] .icon-minus {
  display: block;
}
details.faq[open] {
  background: #fff;
}

/* ---- department panel fade ---- */
.fade-bottom {
  -webkit-mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
}

/* ---- hiring process connector ---- */
.process-line {
  height: 1px;
  background: #bfe3d4;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-thumb {
  background: #cfe6dd;
  border-radius: 8px;
}

/* ---- click-to-reveal cards (Why Join / Hiring Process) ---- */
.reveal-card {
  cursor: pointer;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.reveal-card:active {
  transform: scale(0.98);
}
.reveal-card .reveal-desc {
  max-height: 0;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.4;
  color: #5b6b66;
  margin-top: 0;
  transition:
    max-height 0.3s ease,
    margin-top 0.3s ease;
}
.reveal-card.active .reveal-desc {
  max-height: 160px;
  margin-top: 8px;
}
.reveal-card.active {
  box-shadow: 0 8px 20px rgba(31, 122, 91, 0.15);
}

/* ---- resume application popup ---- */
#resumePopup {
  display: none;
}
#resumePopup.open {
  display: flex;
}
.career-form-input {
  width: 100%;
  border: 1px solid #d7ded9;
  border-radius: 0.5rem;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  outline: none;
  background: #fff;
}
.career-form-input:focus {
  border-color: var(--brand-green);
}
