/* ==========================================================================
   PROGRESSIVE ACADEMIC SERVICES — CAREERS PORTAL
   Color Palette: Midnight Navy (#0B192C) & Amber Gold (#F59E0B)
   Typography: Montserrat & Poppins (Google Fonts)
   ========================================================================== */

:root {
  --navy-950: #070f1e;
  --navy-900: #0b192c;
  --navy-850: #0e223d;
  --navy-800: #132a4a;
  --navy-700: #1b3a6b;
  --navy-600: #254d8c;
  --gold-500: #f59e0b;
  --gold-600: #d97706;
  --gold-400: #fbbf24;
  --gold-300: #fde68a;
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  --gold-glow: 0 8px 25px rgba(245,158,11,0.4);
  --white: #ffffff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --success: #10b981;
  --danger: #ef4444;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background: var(--slate-50);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy-900);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.careers-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy-900);
  border-bottom: 2px solid rgba(245,158,11,0.3);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: var(--transition);
}

.careers-header.scrolled {
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 70px;
  max-width: 1240px;
  margin: 0 auto;
}

.careers-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.careers-brand img {
  height: 44px;
  border-radius: 8px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.65rem;
  color: var(--gold-400);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.careers-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-400);
  background: rgba(245,158,11,0.1);
}

.btn-apply-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-gradient);
  color: var(--navy-900) !important;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  box-shadow: var(--gold-glow);
  transition: var(--transition);
  font-family: var(--font-heading);
}

.btn-apply-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(245,158,11,0.5);
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.back-to-site {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.15);
}

.back-to-site:hover { color: var(--white); border-color: rgba(255,255,255,0.4); }

/* Mobile toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 6px;
}

.mobile-nav {
  display: none;
  background: var(--navy-850);
  border-top: 1px solid rgba(245,158,11,0.2);
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  padding: 14px 24px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: var(--transition);
}

.mobile-nav a:hover { color: var(--gold-400); background: rgba(245,158,11,0.08); }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.careers-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--navy-900);
  overflow: hidden;
  padding: 90px 0 80px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(245,158,11,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(27,58,107,0.5) 0%, transparent 50%),
    linear-gradient(135deg, #070f1e 0%, #0b192c 50%, #0e223d 100%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,158,11,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-grid-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.3);
  color: var(--gold-400);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-heading);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
  letter-spacing: 0.05em;
  animation: fadeInDown 0.6s ease forwards;
}

.hero-badge i { font-size: 0.85rem; }

.hero-title {
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.7s ease 0.1s both;
}

.hero-title span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
  max-width: 580px;
  line-height: 1.7;
  animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
  animation: fadeInUp 0.7s ease 0.3s both;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeInUp 0.7s ease 0.4s both;
}

.hero-stat {
  text-align: left;
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold-400);
  display: block;
  line-height: 1.1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-top: 4px;
  display: block;
}

/* Right Visual / Cards Stack */
.hero-right-visual {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease 0.25s both;
}

.hero-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 440px;
  margin-left: auto;
  background: rgba(14, 34, 61, 0.45);
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-400);
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--gold-500);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(245,158,11,0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(245,158,11,0.7); }
  70% { box-shadow: 0 0 0 8px rgba(245,158,11,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); }
}

.hero-cards-stack .float-card {
  position: static;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  animation: none;
}

.hero-cards-stack .float-card:hover {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateX(6px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.2);
}

.float-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.float-icon.gold { background: rgba(245,158,11,0.2); color: var(--gold-400); }
.float-icon.blue { background: rgba(14,165,233,0.2); color: #38bdf8; }
.float-icon.green { background: rgba(16,185,129,0.2); color: #34d399; }
.float-icon.purple { background: rgba(168,85,247,0.2); color: #c084fc; }

.float-info {
  flex: 1;
}

.float-info strong {
  display: block;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
  font-family: var(--font-heading);
}

.float-info span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  display: block;
  margin-top: 2px;
}

.card-arrow {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.hero-cards-stack .float-card:hover .card-arrow {
  color: var(--gold-400);
  transform: translateX(4px);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--navy-900);
  box-shadow: var(--gold-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(245,158,11,0.55);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--gold-400);
  color: var(--gold-400);
  background: rgba(245,158,11,0.08);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy-900);
  color: var(--white);
  border: 2px solid var(--navy-700);
}

.btn-navy:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
}

/* ==========================================================================
   SECTION COMMONS
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.25);
  color: var(--gold-600);
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  color: var(--navy-900);
  margin-bottom: 16px;
}

.section-title span { color: var(--gold-500); }

.section-desc {
  font-size: 1rem;
  color: var(--slate-600);
  max-width: 580px;
  margin: 0 auto;
}

/* ==========================================================================
   WHY JOIN US / VALUES SECTION
   ========================================================================== */
.values-section {
  padding: 100px 0;
  background: var(--white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.value-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.value-card:hover::before { transform: scaleX(1); }

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(11,25,44,0.12);
  border-color: var(--gold-400);
}

.value-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: rgba(245,158,11,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--gold-500);
  margin-bottom: 20px;
}

.value-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.value-desc {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.65;
}

/* ==========================================================================
   OPEN ROLES / JOB CARDS
   ========================================================================== */
.roles-section {
  padding: 100px 0;
  background: var(--slate-50);
}

.roles-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  color: var(--slate-600);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--gold-400);
}

.search-bar {
  max-width: 520px;
  margin: 0 auto 36px;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--white);
  color: var(--slate-800);
  transition: var(--transition);
  outline: none;
}

.search-bar input:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(245,158,11,0.12);
}

.search-bar i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-400);
  font-size: 0.95rem;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.job-card {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Hover sheen. This pseudo-element covers the whole card, so it must not
   intercept clicks meant for the Apply Now button underneath it.
   Without pointer-events: none the ::after layer swallowed every click
   and the application modal never opened. */
.job-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245,158,11,0.04), transparent);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.job-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-400);
  box-shadow: 0 16px 40px rgba(11,25,44,0.1);
}

.job-card:hover::after { opacity: 1; }

.job-dept-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-dev { background: rgba(14,165,233,0.12); color: #0284c7; }
.badge-content { background: rgba(16,185,129,0.12); color: #059669; }
.badge-marketing { background: rgba(245,158,11,0.12); color: var(--gold-600); }
.badge-hr { background: rgba(139,92,246,0.12); color: #7c3aed; }

.job-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--slate-600);
}

.job-meta-item i { color: var(--gold-500); font-size: 0.75rem; }

.job-desc {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.job-salary {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--success);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-card-footer {
  display: flex;
  justify-content: flex-end;
}

.btn-apply-job {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-900);
  color: var(--gold-400);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  border: 1.5px solid var(--navy-700);
}

.btn-apply-job:hover {
  background: var(--gold-gradient);
  color: var(--navy-900);
  border-color: var(--gold-400);
  transform: translateX(4px);
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--slate-400);
  display: none;
}

.no-results i { font-size: 3rem; margin-bottom: 16px; display: block; }
.no-results h3 { font-size: 1.2rem; color: var(--slate-600); margin-bottom: 8px; }

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.stats-bar {
  background: var(--navy-900);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(245,158,11,0.05), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  text-align: center;
  position: relative;
}

.stat-item .num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold-400);
  display: block;
  margin-bottom: 6px;
}

.stat-item .label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   APPLICATION FORM
   ========================================================================== */
.apply-section {
  padding: 100px 0;
  background: var(--white);
}

.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
}

.apply-sidebar h2 {
  font-size: 1.8rem;
  color: var(--navy-900);
  margin-bottom: 16px;
}

.apply-sidebar p {
  font-size: 0.9rem;
  color: var(--slate-600);
  margin-bottom: 32px;
  line-height: 1.7;
}

.apply-perks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.apply-perk {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--slate-700);
  font-weight: 500;
}

.apply-perk i {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(245,158,11,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-500);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.apply-form-box {
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 40px;
}

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

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

.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-900);
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.form-label span { color: var(--danger); }

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.875rem;
  background: var(--white);
  color: var(--slate-800);
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(245,158,11,0.12);
}

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

.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.file-upload-area {
  border: 2px dashed var(--slate-300);
  border-radius: var(--radius-md);
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
}

.file-upload-area:hover, .file-upload-area.drag-over {
  border-color: var(--gold-400);
  background: rgba(245,158,11,0.04);
}

.file-upload-area i {
  font-size: 2rem;
  color: var(--gold-400);
  margin-bottom: 12px;
  display: block;
}

.file-upload-area strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.file-upload-area span {
  font-size: 0.8rem;
  color: var(--slate-400);
}

.file-upload-area input[type="file"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.file-info {
  font-size: 0.8rem;
  color: var(--success);
  margin-top: 8px;
  display: none;
  align-items: center;
  gap: 6px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--gold-400);
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--gold-gradient);
  color: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: var(--gold-glow);
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success .success-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(16,185,129,0.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--success);
}

.form-success h3 {
  font-size: 1.4rem;
  color: var(--navy-900);
  margin-bottom: 10px;
}

.form-success p {
  color: var(--slate-600);
  font-size: 0.9rem;
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.about-hero {
  background: var(--navy-900);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.mission-vision {
  padding: 100px 0;
  background: var(--white);
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.mv-card {
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.mv-card.mission {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
}

.mv-card.vision {
  background: var(--gold-gradient);
  color: var(--navy-900);
}

.mv-card h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: inherit;
}

.mv-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.9;
}

.mv-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  opacity: 0.8;
}

.why-join-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.why-card {
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
}

.why-card:hover {
  border-color: var(--gold-400);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(11,25,44,0.1);
}

.why-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-400);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.why-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.why-desc {
  font-size: 0.82rem;
  color: var(--slate-600);
  line-height: 1.65;
}

/* ==========================================================================
   CULTURE SECTION
   ========================================================================== */
.culture-section {
  padding: 100px 0;
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.culture-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(245,158,11,0.07), transparent 60%),
    linear-gradient(180deg, transparent, rgba(7,15,30,0.4));
}

.culture-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.culture-content .section-title { color: var(--white); }
.culture-content .section-desc { color: rgba(255,255,255,0.65); }

.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.culture-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
}

.culture-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(245,158,11,0.4);
  transform: translateY(-4px);
}

.culture-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.culture-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-400);
  font-family: var(--font-heading);
  margin-bottom: 10px;
}

.culture-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
  padding: 100px 0;
  background: var(--white);
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  border-radius: var(--radius-xl);
  padding: 64px 40px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(245,158,11,0.1), transparent 60%);
}

.cta-box h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.cta-box h2 span { color: var(--gold-400); }

.cta-box p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  font-size: 1rem;
  position: relative;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  position: relative;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.careers-footer {
  background: var(--navy-950);
  padding: 56px 0 32px;
  border-top: 1px solid rgba(245,158,11,0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand img { height: 48px; border-radius: 8px; margin-bottom: 16px; }

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-400);
  font-family: var(--font-heading);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a:hover { color: var(--gold-400); transform: translateX(4px); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.footer-contact-item i { color: var(--gold-400); margin-top: 3px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links { display: flex; gap: 20px; }

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--gold-400); }

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.page-hero {
  background: var(--navy-900);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(245,158,11,0.07), transparent 60%),
    linear-gradient(135deg, #070f1e, #0b192c);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero .hero-badge { margin-bottom: 20px; }

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero h1 span { color: var(--gold-400); }

.page-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}

.breadcrumb a { color: var(--gold-400); }
.breadcrumb i { font-size: 0.65rem; }

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes spin { to { transform: rotate(360deg); } }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Safety net: if scripting is unavailable or an error stops the reveal
   observer, content must not stay permanently invisible. */
.no-js .reveal,
html:not(.js) .reveal {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-cards-stack { max-width: 100%; margin-left: 0; }
  .apply-grid { grid-template-columns: 1fr; gap: 40px; }
  .mv-grid { grid-template-columns: 1fr; }
  .culture-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .careers-nav { display: none; }
  .mobile-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .culture-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .jobs-grid { grid-template-columns: 1fr; }
  .apply-form-box { padding: 24px; }
  .cta-box { padding: 40px 20px; }
  .values-grid { grid-template-columns: 1fr; }
  .why-join-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .roles-filters { justify-content: center; }
}
