/**
 * RAILWAY ACADEMY (railwayacademy.in)
 * Theme: Railway Academy - Modern Academic Transit & Vocational Rail Theme
 * Colors: Deep Midnight Rail (#061325), Sapphire (#0c2340), Speed Crimson (#dc2626), Electric Amber (#f59e0b)
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&family=Mukta:wght@400;500;600;700;800&display=swap');

:root {
  --rail-navy-midnight: #061325;
  --rail-navy-deep: #0c2340;
  --rail-navy-card: #102a4d;
  --rail-amber: #f59e0b;
  --rail-amber-light: #fbbf24;
  --rail-crimson: #dc2626;
  --rail-crimson-hover: #b91c1c;
  --rail-emerald: #10b981;
  --rail-slate-bg: #f8fafc;
  --rail-slate-card: #ffffff;
  --rail-slate-border: #e2e8f0;
  --rail-text-main: #0f172a;
  --rail-text-muted: #64748b;
  --rail-text-light: #94a3b8;

  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-hindi: 'Mukta', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow-amber: 0 0 25px rgba(245, 158, 11, 0.25);
  --shadow-glow-crimson: 0 0 25px rgba(220, 38, 38, 0.25);
}

body.lang-hi {
  font-family: var(--font-hindi), var(--font-body);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--rail-slate-bg);
  color: var(--rail-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container-academy {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   1. TOP ADMISSIONS TICKER STRIP
   ========================================================================== */
.academy-top-strip {
  background: #040c18;
  color: #e2e8f0;
  font-size: 0.8rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(245, 158, 11, 0.18);
  min-height: 38px;
  box-sizing: border-box;
}
.academy-top-strip .strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.strip-ticker-wrap {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}
.strip-pulse-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(245, 158, 11, 0.2);
  color: var(--rail-amber-light);
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  white-space: nowrap !important;
  flex-shrink: 0;
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.pulse-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-glow 1.5s infinite;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.7);
  flex-shrink: 0;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.strip-ticker-text {
  margin: 0 0 0 0.85rem;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 500;
  min-width: 0;
}
.strip-quick-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-weight: 600;
  white-space: nowrap !important;
  flex-shrink: 0;
}
.strip-quick-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap !important;
  color: #cbd5e1;
  font-size: 0.78rem;
  line-height: 1;
  text-decoration: none;
  transition: all 0.2s ease;
}
.strip-quick-links a:hover {
  color: var(--rail-amber-light);
  transform: translateY(-1px);
}

/* ==========================================================================
   2. MAIN HEADER (Unique Dark Academic Transit Style)
   ========================================================================== */
.academy-main-header {
  background: #08172c;
  border-bottom: 2px solid rgba(245, 158, 11, 0.25);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  height: 70px;
  gap: 0.5rem;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-logo-img {
  height: 38px;
  max-height: 40px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #ffffff;
  padding: 3px 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}
.brand-logo-img:hover {
  transform: scale(1.02);
}

.academy-nav-list {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}
.academy-nav-item {
  display: inline-block;
  flex-shrink: 0;
}
.academy-nav-item a {
  font-weight: 600;
  font-size: 0.82rem;
  color: #e2e8f0;
  padding: 0.35rem 0.45rem;
  border-radius: var(--radius-sm);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  white-space: nowrap !important;
  transition: all 0.2s ease;
}
.academy-nav-item a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.academy-nav-item a.active {
  color: var(--rail-amber-light);
  background: rgba(245, 158, 11, 0.15);
}

.header-action-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.quiz-trigger-btn {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--rail-amber);
  color: var(--rail-amber-light);
  padding: 0.38rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  white-space: nowrap !important;
  line-height: 1;
  transition: all 0.2s ease;
}
.quiz-trigger-btn:hover {
  background: var(--rail-amber);
  color: #061325;
  transform: translateY(-1px);
}
.lang-switcher-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.38rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  white-space: nowrap !important;
  line-height: 1;
  transition: all 0.2s ease;
}
.lang-switcher-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}
.nav-cta-btn {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  line-height: 1;
}
.nav-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.45);
}
.mobile-nav-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #ffffff;
  cursor: pointer;
  padding: 0.25rem;
}

/* ==========================================================================
   3. HERO SECTION (Split Dynamic Layout - Hat Kar Design)
   ========================================================================== */
.academy-hero {
  background: radial-gradient(circle at 80% 20%, #102a4d 0%, #061325 80%);
  color: #ffffff;
  padding: 4rem 0 4.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--rail-amber);
}
.academy-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 30 L60 30 M30 30 L30 60' stroke='rgba(255,255,255,0.03)' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-grid-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Hero Left Content */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--rail-amber-light);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.18;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero-title .highlight-gold {
  color: var(--rail-amber-light);
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 1.08rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 620px;
}
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}
.hero-stat-item {
  text-align: center;
}
.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--rail-amber-light);
  line-height: 1.2;
}
.hero-stat-label {
  font-size: 0.76rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 0.2rem;
}
.hero-btn-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #061325 !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.4);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.55);
}
.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.45rem;
  border-radius: var(--radius-pill);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

/* Hero Right: Interactive Program Card */
.program-spotlight-card {
  background: linear-gradient(145deg, #0e2748 0%, #071930 100%);
  border: 2px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), var(--shadow-glow-amber);
  position: relative;
}
.spotlight-top-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.badge-program-type {
  background: var(--rail-crimson);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
}
.badge-batch-status {
  color: var(--rail-amber-light);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.spotlight-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
}
.spotlight-sub {
  font-size: 0.86rem;
  color: #cbd5e1;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.spotlight-features-list {
  list-style: none;
  margin: 0 0 1.25rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.spotlight-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: #e2e8f0;
}
.spotlight-features-list li span.tick {
  color: #22c55e;
  font-weight: 800;
}
.spotlight-salary-bar {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.salary-bar-lbl {
  font-size: 0.76rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
}
.salary-bar-val {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #34d399;
}
.spotlight-investment-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.invest-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.85rem;
  text-align: center;
}
.invest-box.featured {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
}
.invest-duration {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
}
.invest-fee {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 0.1rem;
}
.invest-box.featured .invest-fee {
  color: var(--rail-amber-light);
}
.spotlight-card-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.85rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4);
  transition: all 0.2s ease;
}
.spotlight-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.55);
}

/* ==========================================================================
   4. SECTION: GOVT VS PRIVATE RAILWAY CAREER COMPARISON
   ========================================================================== */
.section-compare {
  padding: 4.5rem 0;
  background: #ffffff;
}
.section-heading-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem;
}
.sub-badge {
  display: inline-block;
  background: rgba(220, 38, 38, 0.1);
  color: var(--rail-crimson);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--rail-text-main);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--rail-text-muted);
  line-height: 1.6;
}

.table-responsive-wrap {
  overflow-x: auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--rail-slate-border);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}
.comparison-table th, .comparison-table td {
  padding: 1.15rem 1.4rem;
  border-bottom: 1px solid #f1f5f9;
}
.comparison-table th {
  background: #091a32;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.comparison-table th.col-highlight {
  background: var(--rail-crimson);
  color: #ffffff;
}
.comparison-table tr:hover td {
  background: #f8fafc;
}
.param-title {
  font-weight: 700;
  color: var(--rail-navy-deep);
}
.badge-negative {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #dc2626;
  font-weight: 600;
}
.badge-positive {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #16a34a;
  font-weight: 700;
}

/* ==========================================================================
   5. SECTION: FEE ECOSYSTEM & DIPLOMA TIERS (Transparent Pricing)
   ========================================================================== */
.section-pricing {
  padding: 4.5rem 0;
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.pricing-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1020px;
  margin: 0 auto;
}
.pricing-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 2px solid #e2e8f0;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.pricing-card.featured-card {
  border-color: var(--rail-amber);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.2);
}
.pricing-card-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #061325;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}
.pricing-tier-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--rail-navy-deep);
  margin-bottom: 0.5rem;
}
.pricing-tier-sub {
  font-size: 0.88rem;
  color: var(--rail-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}
.price-currency {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--rail-crimson);
}
.price-amount {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--rail-navy-midnight);
  line-height: 1;
}
.price-period {
  font-size: 0.85rem;
  color: var(--rail-text-muted);
  font-weight: 600;
}
.pricing-features-list {
  list-style: none;
  margin: 0 0 2rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.pricing-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--rail-text-main);
  line-height: 1.45;
}
.pricing-features-list li span.tick {
  color: #16a34a;
  font-weight: 800;
  font-size: 1rem;
}
.pricing-cta-btn {
  display: block;
  text-align: center;
  background: var(--rail-navy-deep);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.95rem;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}
.pricing-cta-btn:hover {
  background: var(--rail-crimson);
  transform: translateY(-2px);
}
.pricing-card.featured-card .pricing-cta-btn {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.35);
}

/* ==========================================================================
   6. SECTION: 6 HIGH-DEMAND PRIVATE CAREERS (Interactive Grid)
   ========================================================================== */
.section-careers {
  padding: 4.5rem 0;
  background: #ffffff;
}
.careers-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.career-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--rail-slate-border);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.career-card:hover {
  transform: translateY(-4px);
  border-color: var(--rail-amber);
  box-shadow: var(--shadow-lg);
}
.career-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(245, 158, 11, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}
.career-card-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--rail-navy-deep);
  margin-bottom: 0.5rem;
}
.career-card-desc {
  font-size: 0.88rem;
  color: var(--rail-text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.career-salary-tag {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.salary-tag-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
}
.salary-tag-val {
  font-weight: 800;
  font-size: 0.95rem;
  color: #15803d;
}
.career-link-btn {
  color: var(--rail-crimson);
  font-weight: 700;
  font-size: 0.86rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s ease;
}
.career-link-btn:hover {
  gap: 0.6rem;
}

/* ==========================================================================
   7. SECTION: LATEST ADVISORY & ARTICLES (Blog Feed)
   ========================================================================== */
.section-articles {
  padding: 4.5rem 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}
.articles-feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.academy-post-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--rail-slate-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.academy-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}
.post-card-thumb-wrap {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: #0c2340;
}
.post-card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.academy-post-card:hover .post-card-thumb-wrap img {
  transform: scale(1.05);
}
.post-card-cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--rail-crimson);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}
.post-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.post-card-date {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 0.45rem;
}
.post-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--rail-navy-deep);
  line-height: 1.35;
  margin-bottom: 0.65rem;
}
.post-card-excerpt {
  font-size: 0.86rem;
  color: var(--rail-text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-read-btn {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--rail-crimson);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   8. INTERACTIVE ELIGIBILITY MODAL
   ========================================================================== */
.eligibility-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(6, 19, 37, 0.8);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.eligibility-modal-backdrop.open {
  display: flex;
}
.eligibility-modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 540px;
  width: 100%;
  padding: 2.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  position: relative;
  animation: modal-pop 0.25s ease-out;
}
@keyframes modal-pop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #f1f5f9;
  border: none;
  font-size: 1.25rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--rail-navy-deep);
  margin-bottom: 0.35rem;
}
.modal-sub {
  font-size: 0.88rem;
  color: var(--rail-text-muted);
  margin-bottom: 1.5rem;
}
.form-group-modal {
  margin-bottom: 1.25rem;
}
.form-group-modal label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--rail-navy-deep);
  margin-bottom: 0.45rem;
}
.form-group-modal select, .form-group-modal input {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  font-family: inherit;
  font-size: 0.9rem;
}
.modal-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #061325;
  border: none;
  padding: 0.85rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}
.modal-result-box {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  display: none;
}
.modal-result-box.active {
  display: block;
}

/* ==========================================================================
   9. ARTICLE & SINGLE VIEW STYLING
   ========================================================================== */
.article-header-meta {
  margin-bottom: 2rem;
}
.article-single-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--rail-navy-midnight);
  line-height: 1.25;
  margin: 0.75rem 0 1rem;
}
.article-info-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.84rem;
  color: #64748b;
  flex-wrap: wrap;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}
.article-featured-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-md);
}
.article-featured-banner img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}
.railway-article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}
.railway-article-content h2 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--rail-navy-deep);
  margin: 2.25rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid rgba(245, 158, 11, 0.3);
}
.railway-article-content h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--rail-navy-midnight);
  margin: 1.75rem 0 0.75rem;
}
.railway-article-content p {
  margin-bottom: 1.35rem;
}
.railway-article-content ul, .railway-article-content ol {
  margin: 0 0 1.5rem 1.5rem;
}
.railway-article-content li {
  margin-bottom: 0.5rem;
}
.railway-article-content blockquote {
  background: #f8fafc;
  border-left: 4px solid var(--rail-crimson);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: #475569;
}
.railway-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.92rem;
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
}
.railway-article-content th, .railway-article-content td {
  padding: 0.95rem 1.2rem;
  border: 1px solid #e2e8f0;
}
.railway-article-content th {
  background: #091a32;
  color: #ffffff;
  font-weight: 700;
}

/* Callout Box */
.callout-box-gold {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}
.callout-box-gold h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #b45309;
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.academy-footer {
  background: #040c18;
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  border-top: 3px solid var(--rail-amber);
}
.footer-grid-4 {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}
.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.85rem;
}
.footer-text {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #94a3b8;
  margin-bottom: 1.25rem;
}
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-links-list a {
  font-size: 0.86rem;
  color: #cbd5e1;
  transition: all 0.2s ease;
}
.footer-links-list a:hover {
  color: var(--rail-amber-light);
  transform: translateX(3px);
}
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   11. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
  .academy-top-strip {
    display: none;
  }
  .academy-nav-list {
    display: none;
  }
  .mobile-nav-toggle-btn {
    display: block;
  }
  .hero-grid-split {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .pricing-grid-2 {
    grid-template-columns: 1fr;
  }
  .careers-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .articles-feed-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .careers-grid-3 {
    grid-template-columns: 1fr;
  }
  .footer-grid-4 {
    grid-template-columns: 1fr;
  }
}
