/* ==========================================================================
   Recruitment Support - Custom Styles
   Aligned to /gca page colors, variables, and layout patterns
   ========================================================================== */

/* ── CSS VARIABLES (exact match with GCA) ── */
:root {
  --navy: #111827;
  --navy-light: #1f2937;
  --navy-dark: #0B0F19;
  --red: #FF4D5A;
  --red-light: #e03e4b;
  --white: #F8FAFC;
  --off-white: #f4f6fb;
  --gold: #F5A623;
  --text-muted: #94A3B8;
  --glass: rgba(17, 24, 39, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --nav-bg: rgba(11, 15, 25, 0.85);
  --nav-bg-scrolled: rgba(11, 15, 25, 0.97);
  --grid-line: rgba(255, 255, 255, 0.07);
}

.light-mode {
  --navy-dark: #F4F2F7;
  --navy: #FFFFFF;
  --navy-light: #EAE7EF;
  --white: #0F172A;
  --text-muted: #64748B;
  --off-white: #F9F8FA;
  --glass: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(15, 23, 42, 0.08);
  --nav-bg: rgba(244, 242, 247, 0.85);
  --nav-bg-scrolled: rgba(244, 242, 247, 0.97);
  --grid-line: rgba(15, 23, 42, 0.03);
}

/* ── RESET & BASE ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy-dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
}

/* ── GLOBAL ANIMATIONS ── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.5); opacity: 0.5; }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible, .reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.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; }

/* ── SECTIONS & CONTAINER ── */
section {
  padding: 6rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── SECTION HEADERS (GCA style) ── */
.section-eyebrow {
  display: block;
  text-align: center;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 auto 0.75rem;
  width: max-content;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 auto 1.25rem;
  text-align: center;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 3rem;
  text-align: center;
}

/* ── GLASS CARD (exact GCA pattern) ── */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s;
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 77, 90, 0.35);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 77, 90, 0.1);
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--red);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(255, 77, 90, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 77, 90, 0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: transparent;
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.25s;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

/* ── HERO SECTION ── */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 90px 2rem 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 77, 90, 0.35) 0%, transparent 70%),
    radial-gradient(ellipse at 80% 80%, rgba(245, 166, 35, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #0b0f19 0%, #070a12 100%);
}

.light-mode .hero-bg {
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 77, 90, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(245, 166, 35, 0.02) 0%, transparent 50%),
    linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 90%);
}

.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: float-particle linear infinite;
  opacity: 0;
}

@keyframes float-particle {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 77, 90, 0.15);
  border: 1px solid rgba(255, 77, 90, 0.3);
  color: #ffacb2;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fade-up 0.8s ease both;
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2s ease infinite;
}

.hero-h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--white);
  animation: fade-up 0.8s ease 0.1s both;
}

.animated-word-wrap {
  display: inline-block;
  vertical-align: top;
  color: var(--red);
  position: relative;
  height: 1.2em;
  overflow: hidden;
}

.word-rotator {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.word-rotator .word {
  height: 1.2em;
  line-height: 1.2;
  display: block;
  white-space: nowrap;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 90%;
  animation: fade-up 0.8s ease 0.2s both;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  animation: fade-up 0.8s ease 0.3s both;
}

.cta-trust-line {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  animation: fade-up 0.8s ease 0.35s both;
  flex-wrap: wrap;
}

.cta-trust-line i {
  color: #27c93f;
  margin-right: 5px;
}

/* Trust Strip */
.trust-strip {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  animation: fade-up 0.8s ease 0.4s both;
}

.trust-stat {
  display: flex;
  flex-direction: column;
}

.trust-stat strong {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.trust-stat span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-divider {
  width: 1px;
  height: 30px;
  background: var(--glass-border);
}

/* ATS Dashboard Visual */
.ats-dashboard {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.ats-header {
  background: rgba(0, 0, 0, 0.2);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--glass-border);
}

.light-mode .ats-header {
  background: rgba(15, 23, 42, 0.06);
}

.ats-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(39, 201, 63, 0.15);
  color: #27c93f;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.live-indicator .dot {
  width: 6px;
  height: 6px;
  background: #27c93f;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(39, 201, 63, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(39, 201, 63, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(39, 201, 63, 0); }
}

.ats-status {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.ats-progress-bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  width: 100%;
}

.ats-progress-fill {
  height: 100%;
  background: #27c93f;
  box-shadow: 0 0 10px rgba(39, 201, 63, 0.5);
  animation: load-progress 1.5s ease-out forwards;
}

@keyframes load-progress {
  from { width: 0; }
}

.ats-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ats-row {
  display: flex;
  align-items: center;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  transition: border-color 0.3s, transform 0.3s;
}

.ats-row:hover {
  transform: translateX(5px);
  border-color: rgba(255, 77, 90, 0.35);
}

.ats-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 77, 90, 0.15);
  border: 1px solid rgba(255, 77, 90, 0.25);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 1.1rem;
}

.ats-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ats-info strong {
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.2;
}

.ats-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.ats-match {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(39, 201, 63, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
}

.match-score {
  font-size: 0.78rem;
  font-weight: 600;
  color: #27c93f;
}

.check-icon { color: #27c93f; }

.floating-dashboard {
  animation: float-dash 6s ease-in-out infinite;
}

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

.highlight-row {
  border-color: rgba(39, 201, 63, 0.3) !important;
  box-shadow: 0 0 20px rgba(39, 201, 63, 0.1);
  background: rgba(39, 201, 63, 0.05) !important;
}

@keyframes slideInCard {
  0% { opacity: 0; transform: translateX(30px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* ── PARTNERS SECTION ── */
.partners-section {
  padding: 3rem 2rem;
  background: var(--navy);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  text-align: center;
}

.partners-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.partners-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.partner-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-muted);
  opacity: 0.5;
  transition: all 0.3s ease;
  cursor: default;
  letter-spacing: 0.5px;
}

.partner-logo:hover {
  opacity: 1;
  color: var(--white);
  transform: scale(1.05);
}

/* ── COMPARISON TABLE ── */
.comparison-section {
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
}

.comparison-table {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  overflow: hidden;
}

.comp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--glass-border);
}

.comp-row:last-child {
  border-bottom: none;
}

.comp-col {
  padding: 18px 28px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.comp-header .comp-col {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.03);
}

.comp-col.traditional {
  color: var(--text-muted);
  border-right: 1px solid var(--glass-border);
}

.comp-col.traditional i {
  color: #ff5f56;
}

.comp-col.kshipra {
  color: var(--white);
  font-weight: 500;
  background: rgba(255, 77, 90, 0.04);
}

.comp-col.kshipra i {
  color: #27c93f;
}

/* ── CANDIDATE PROFILES ── */
.profiles-section {
  background: var(--navy-dark);
}

.profiles-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.profile-item {
  display: flex;
  align-items: center;
  padding: 20px 28px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: transform 0.3s, border-color 0.3s;
}

.profile-item:hover {
  transform: translateX(8px);
  border-color: rgba(255, 77, 90, 0.35);
}

.profile-badge {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--red);
  width: 80px;
  flex-shrink: 0;
}

.profile-line {
  flex-grow: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg,
    var(--glass-border) 0,
    var(--glass-border) 5px,
    transparent 5px,
    transparent 10px);
  margin: 0 24px;
}

.profile-desc {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  width: 220px;
  text-align: right;
  flex-shrink: 0;
}

/* ── PIPELINE / TIMELINE ── */
.pipeline-section {
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
  overflow: hidden;
}

.timeline-wrap {
  margin-top: 3.5rem;
  position: relative;
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
}

.timeline-line {
  position: absolute;
  top: 36px;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 3px;
  background: rgba(255, 77, 90, 0.15);
  z-index: 0;
  border-radius: 3px;
}

/* Keep the line always visible (not hidden by reveal) */
.timeline-line.reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* Animated fill bar */
.timeline-line.reveal::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  background: linear-gradient(90deg, var(--red) 0%, #ff4d5a 100%);
  transform-origin: left;
  transform: scaleX(0);
  box-shadow: 0 0 15px rgba(255, 77, 90, 0.5);
  border-radius: 3px;
  transition: transform 2s linear;
}

.timeline-line.reveal.visible::after,
.timeline-line.reveal.active::after {
  transform: scaleX(1);
}

.timeline-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 0.5rem;
}

/* Staggered reveal delays for each step */
.timeline-step:nth-child(1) { transition-delay: 0s !important; }
.timeline-step:nth-child(2) { transition-delay: 0.35s !important; }
.timeline-step:nth-child(3) { transition-delay: 0.7s !important; }
.timeline-step:nth-child(4) { transition-delay: 1.05s !important; }
.timeline-step:nth-child(5) { transition-delay: 1.4s !important; }
.timeline-step:nth-child(6) { transition-delay: 1.75s !important; }

.t-dot {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 1.25rem;
  background: var(--navy);
  border: 3px solid rgba(255, 77, 90, 0.3);
  box-shadow: none;
  transform: scale(0.8);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: var(--text-muted);
}

.timeline-step.reveal.visible .t-dot,
.timeline-step.reveal.active .t-dot {
  background: linear-gradient(135deg, var(--red), #b52631);
  border-color: rgba(255, 77, 90, 0.6);
  box-shadow: 0 0 20px rgba(255, 77, 90, 0.4);
  transform: scale(1);
  color: #fff;
}

/* Staggered dot animations */
.timeline-step:nth-child(1).reveal.visible .t-dot,
.timeline-step:nth-child(1).reveal.active .t-dot { transition-delay: 0s; }
.timeline-step:nth-child(2).reveal.visible .t-dot,
.timeline-step:nth-child(2).reveal.active .t-dot { transition-delay: 0.35s; }
.timeline-step:nth-child(3).reveal.visible .t-dot,
.timeline-step:nth-child(3).reveal.active .t-dot { transition-delay: 0.7s; }
.timeline-step:nth-child(4).reveal.visible .t-dot,
.timeline-step:nth-child(4).reveal.active .t-dot { transition-delay: 1.05s; }
.timeline-step:nth-child(5).reveal.visible .t-dot,
.timeline-step:nth-child(5).reveal.active .t-dot { transition-delay: 1.4s; }
.timeline-step:nth-child(6).reveal.visible .t-dot,
.timeline-step:nth-child(6).reveal.active .t-dot { transition-delay: 1.75s; }

.timeline-step:hover .t-dot {
  transform: scale(1.15);
  box-shadow: 0 0 32px rgba(255, 77, 90, 0.65);
  transition-delay: 0s !important;
}

.t-step-label {
  font-size: 0.68rem;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.t-step-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.t-step-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── METRICS / STATS ── */
.metrics-section {
  background: linear-gradient(135deg, var(--red) 0%, #b52631 100%);
  padding: 4rem 2rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.metric-num {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.metric-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.4;
}

/* ── TALENT SOURCES (Convergence Funnel) ── */
.sources-section {
  background: var(--navy-dark);
  text-align: center;
}

.convergence-diagram {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.source-nodes {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.source-node {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  transition: border-color 0.3s;
}

.source-node:hover {
  border-color: rgba(255, 77, 90, 0.35);
}

.arrows-down {
  display: flex;
  gap: 50px;
  color: var(--red);
  font-size: 1.5rem;
  opacity: 0.6;
}

.arrow-flow {
  animation: flowDown 2s infinite ease-in-out;
}

.hub-node {
  padding: 18px 40px;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hub-node.pool {
  background: rgba(255, 77, 90, 0.1);
  border: 1px solid rgba(255, 77, 90, 0.35);
  color: var(--red);
}

.arrow-down-single {
  color: var(--red);
  font-size: 2rem;
}

.hub-node.client {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 77, 90, 0.4);
}

@keyframes flowDown {
  0%   { transform: translateY(-5px); opacity: 0.2; }
  50%  { transform: translateY(5px); opacity: 1; }
  100% { transform: translateY(-5px); opacity: 0.2; }
}

/* ── INDUSTRIES (Chips) ── */
.industries-section {
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%);
  text-align: center;
}

.industry-chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2rem;
  max-width: 900px;
  margin-inline: auto;
}

.industry-chip {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
  transition: all 0.3s;
  cursor: default;
}

.industry-chip:hover {
  border-color: rgba(255, 77, 90, 0.4);
  color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* ── TESTIMONIALS ── */
.testimonials-section {
  background: var(--navy-dark);
  text-align: center;
}

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

.test-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.test-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.test-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 77, 90, 0.35);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 77, 90, 0.1);
}

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

.stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.quote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.test-author {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--glass-border);
  padding-top: 16px;
}

.test-author strong {
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 700;
}

.test-author span {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── FAQ ── */
.faq-section {
  background: var(--navy);
  text-align: center;
}

.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.faq-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.open,
.faq-item.active {
  border-color: rgba(255, 77, 90, 0.35);
}

.faq-q {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

.faq-q:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 77, 90, 0.15);
  border: 1px solid rgba(255, 77, 90, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
  font-size: 0.9rem;
  transition: transform 0.3s;
}

.faq-item.open .faq-icon,
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}

.faq-item.open .faq-a,
.faq-item.active .faq-a {
  max-height: 300px;
}

.faq-a p,
.faq-a-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ── FINAL CTA ── */
.final-cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255, 77, 90, 0.12) 0%, transparent 70%);
}

.cta-box {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.cta-box h2 {
  font-family: 'Poppins', sans-serif;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-h1,
  .hero-sub,
  .hero-eyebrow {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns,
  .trust-strip {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .comp-row {
    grid-template-columns: 1fr;
  }

  .comp-header {
    display: none;
  }

  .comp-col.traditional::before {
    content: 'Traditional: ';
    font-weight: bold;
    margin-right: 8px;
  }

  .comp-col.kshipra::before {
    content: 'Kshipra: ';
    font-weight: bold;
    margin-right: 8px;
  }

  .profiles-list .profile-item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .profile-line { display: none; }

  .profile-desc {
    text-align: center;
    width: auto;
  }

  .timeline-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 0;
  }

  .timeline-line {
    display: none;
  }

  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 1.25rem;
  }

  .metrics-section {
    padding: 2.5rem 1.25rem;
  }

  .metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .trust-strip {
    flex-direction: column;
    gap: 15px;
  }

  .trust-divider {
    width: 50px;
    height: 1px;
  }

  .source-nodes {
    gap: 10px;
  }

  .arrows-down {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .timeline-steps {
    grid-template-columns: 1fr;
    gap: 2.5rem 0;
  }
}

/* ── RESPONSIVE HERO ── */
@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 3rem;
  }
  .hero-content {
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  .hero-sub {
    text-align: center;
  }
  .hero-btns {
    justify-content: center;
  }
  .cta-trust-line {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ── ADDITIONAL MOBILE FIXES ── */
@media (max-width: 900px) {
  /* Prevent nowrap text from blowing out screen */
  .hero-h1 {
    font-size: clamp(1.5rem, 6vw, 2.2rem) !important;
  }
  
  /* Ensure grids wrap */
  .trust-strip {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  /* Fix dashboards */
  .grc-dashboard, .floating-dashboard {
    max-width: 100%;
    overflow: hidden;
  }
  
  .dash-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── GLOBAL MOBILE FIXES (V2) ── */
@media (max-width: 900px) {
  /* Fix FAQ split layout forced by inline styles (GCA & Customised Training) */
  #faq .container, 
  .faq-section .container {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

@media (max-width: 768px) {
  /* 1. Red Strip (Stats Grid) - Force Vertical */
  .stats-grid,
  #stats .container > div,
  #stats .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  /* 2. Fix Dark Cards / Impact Boxes Touching Screen Borders */
  .details-grid,
  .impact-grid,
  .capability-grid {
    padding: 0 10px !important; /* Ensure they don't touch screen edges */
    grid-template-columns: 1fr !important;
  }
  .detail-card,
  .impact-card,
  .glass-card {
    margin-bottom: 1rem !important;
  }

  /* Ensure containers have padding */
  .container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
}
\n/* --- INJECTED FORM CSS --- */\n#final-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255, 77, 90, 0.12) 0%, transparent 70%);
}

#final-cta .container {
  position: relative;
  z-index: 2;
}

#final-cta .section-title {
  margin: 0 auto 1rem;
  max-width: 680px;
}

#final-cta .section-sub {
  margin: 0 auto 2.5rem;
  text-align: center;
}

#final-cta .hero-btns {
  justify-content: center;
}

/* ── FOOTER ── */
.footer {
  background-color: #060608 !important;
  /* Absolute darkest anchor */
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 2rem 20px;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.lp-nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 1.5rem;
}

.lp-nav-logo img {
  height: 44px;
  width: auto;
}

.lp-nav-logo-text {
  display: flex;
  flex-direction: column;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}

.lp-nav-logo-text span {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--red);
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-col h5 {
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.25s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--white);
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-icons a {
  color: var(--white);
  font-size: 1rem;
  background: var(--navy);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  transition: all 0.3s;
  text-decoration: none;
}

.social-icons a:hover {
  color: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
  background: rgba(255, 77, 90, 0.1);
}

.copyright {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.copyright a {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s;
}

.copyright a:hover {
  color: var(--red-light);
  text-decoration: underline;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* Footer Responsive */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ── COLORFUL ICONS ── */
/* Why GCA */
.why-card:nth-child(4n+1) .why-icon {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.why-card:nth-child(4n+2) .why-icon {
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
}

.why-card:nth-child(4n+3) .why-icon {
  color: #8b5cf6;
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
}

.why-card:nth-child(4n+4) .why-icon {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.3);
}

/* Details */
.detail-card:nth-child(4n+1) .detail-icon {
  color: #3b82f6;
}

.detail-card:nth-child(4n+2) .detail-icon {
  color: #10b981;
}

.detail-card:nth-child(4n+3) .detail-icon {
  color: #8b5cf6;
}

.detail-card:nth-child(4n+4) .detail-icon {
  color: #f59e0b;
}

/* Skills */
.skill-chip:nth-child(6n+1) .si {
  color: #3b82f6;
}

.skill-chip:nth-child(6n+2) .si {
  color: #10b981;
}

.skill-chip:nth-child(6n+3) .si {
  color: #8b5cf6;
}

.skill-chip:nth-child(6n+4) .si {
  color: #f59e0b;
}

.skill-chip:nth-child(6n+5) .si {
  color: #ec4899;
}

.skill-chip:nth-child(6n+6) .si {
  color: #14b8a6;
}

/* Benefits */
.benefit-card:nth-child(4n+1) .b-icon {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.benefit-card:nth-child(4n+2) .b-icon {
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
}

.benefit-card:nth-child(4n+3) .b-icon {
  color: #8b5cf6;
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
}

.benefit-card:nth-child(4n+4) .b-icon {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.3);
}

/* Careers */
.career-card:nth-child(6n+1) .c-icon {
  color: #3b82f6;
}

.career-card:nth-child(6n+2) .c-icon {
  color: #10b981;
}

.career-card:nth-child(6n+3) .c-icon {
  color: #8b5cf6;
}

.career-card:nth-child(6n+4) .c-icon {
  color: #f59e0b;
}

.career-card:nth-child(6n+5) .c-icon {
  color: #ec4899;
}

.career-card:nth-child(6n+6) .c-icon {
  color: #14b8a6;
}

/* Roadmap Trophy */
.road-outcome .trophy {
  color: var(--gold);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
  }


  .timeline-steps {
    grid-template-columns: 1fr;
  }

  .timeline-line {
    display: none;
  }

  .roadmap-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  nav {
    padding: 0 1.25rem;
  }

  .nav-links {
    display: none;
  }

  section {
    padding: 4rem 1.25rem;
  }

  #stats {
    padding: 2.5rem 1.25rem;
  }

  .why-icon,
  .detail-icon,
  .b-icon {
    display: none !important;
  }

  .timeline-steps {
    gap: 2rem;
  }
}

/* Hamburger for mobile */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

@media (max-width: 600px) {
  .hamburger {
    display: flex;
  }
}


.apply-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background-color: var(--navy);
  border: 1px solid var(--glass-border);
  color: var(--white);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 77, 90, 0.15);
}

/* Style custom selects with drop arrow background */
.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: '\f0d7';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--text-muted);
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  pointer-events: none;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.form-control option {
  background-color: var(--navy);
  color: var(--white);
}

.light-mode .form-control option {
  background-color: var(--white);
  color: var(--navy);
}

.w-100 {
  width: 100%;
}

.form-footer {
  margin-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-footer i {
  margin-right: 6px;
}

.success-msg {
  display: none;
  background-color: rgba(16, 185, 129, 0.15);
  border: 1px solid #10B981;
  color: #10B981;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.05);
}

.success-msg i {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
}

.success-msg h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.success-msg p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
}

@media (max-width: 600px) {
  .apply-container {
    padding: 24px;
    border-radius: 16px;
  }
}
/* ── RESPONSIVE HERO ── */
@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 3rem;
  }
  .hero-content {
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  .hero-sub {
    text-align: center;
  }
  .hero-btns {
    justify-content: center;
  }
  .cta-trust-line {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ── ADDITIONAL MOBILE FIXES ── */
@media (max-width: 900px) {
  /* Prevent nowrap text from blowing out screen */
  .hero-h1 {
    font-size: clamp(1.5rem, 6vw, 2.2rem) !important;
  }
  
  /* Ensure grids wrap */
  .trust-strip {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  /* Fix dashboards */
  .grc-dashboard, .floating-dashboard {
    max-width: 100%;
    overflow: hidden;
  }
  
  .dash-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── GLOBAL MOBILE FIXES (V2) ── */
@media (max-width: 900px) {
  /* Fix FAQ split layout forced by inline styles (GCA & Customised Training) */
  #faq .container, 
  .faq-section .container {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

@media (max-width: 768px) {
  /* 1. Red Strip (Stats Grid) - Force Vertical */
  .stats-grid,
  #stats .container > div,
  #stats .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  /* 2. Fix Dark Cards / Impact Boxes Touching Screen Borders */
  .details-grid,
  .impact-grid,
  .capability-grid {
    padding: 0 10px !important; /* Ensure they don't touch screen edges */
    grid-template-columns: 1fr !important;
  }
  .detail-card,
  .impact-card,
  .glass-card {
    margin-bottom: 1rem !important;
  }

  /* Ensure containers have padding */
  .container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
}
\n
/* ==========================================================================
   Kshipra Arc Pattern – Shared Brand Motif
   Premium concentric arc background for all Kshipra course hero sections.
   Origin varies per page; animation, layering, and palette are shared.
   ==========================================================================

   Usage:
   Place <div class="kshipra-arcs" data-origin="bottom-left|top-right|center-right|center"> </div>
   inside the hero <section> as the first child (before z-index content).
   ========================================================================== */

/* ── Keyframes ── */

/* Layer 2: gentle horizontal drift */
@keyframes arc-drift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(3px, -2px) scale(1.002); }
  66%  { transform: translate(-2px, 3px) scale(0.999); }
  100% { transform: translate(0, 0) scale(1); }
}

/* Layer 2 variant: alternate phase */
@keyframes arc-drift-alt {
  0%   { transform: translate(0, 0) scale(1); }
  40%  { transform: translate(-3px, 2px) scale(0.998); }
  70%  { transform: translate(2px, -3px) scale(1.002); }
  100% { transform: translate(0, 0) scale(1); }
}

/* Layer 3: breath – scale between 98% and 100% */
@keyframes arc-breathe {
  0%, 100% { transform: scale(0.98); opacity: 0.6; }
  50%       { transform: scale(1.00); opacity: 1; }
}

/* Opacity pulse for accent arc */
@keyframes arc-glow-pulse {
  0%, 100% { opacity: 0.25; }
  50%       { opacity: 0.55; }
}

/* Travelling pulse along an arc path */
@keyframes arc-travel {
  0%   { stroke-dashoffset: 1200; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { stroke-dashoffset: 0;    opacity: 0; }
}

/* Dot float */
@keyframes arc-dot-float {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50%       { transform: translateY(-4px); opacity: 1; }
}

/* ── Container ── */
.kshipra-arcs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.kshipra-arcs svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ── Edge fade mask – applied via a sibling overlay div ── */
.kshipra-arcs::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Fade edges so arcs bleed off naturally */
  background: radial-gradient(
    ellipse 80% 70% at var(--arc-fade-cx, 50%) var(--arc-fade-cy, 50%),
    transparent 55%,
    var(--arc-bg-color, #0B0F19) 100%
  );
  pointer-events: none;
}

/* ── Layer 1: Background arcs (static, very low opacity) ── */
.arc-layer-bg {
  opacity: 1;
}

.arc-layer-bg path {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

/* ── Layer 2: Mid arcs (slow drift) ── */
.arc-layer-mid {
  animation: arc-drift 22s ease-in-out infinite;
  transform-origin: var(--arc-origin-x, 0%) var(--arc-origin-y, 100%);
}

.arc-layer-mid-b {
  animation: arc-drift-alt 28s ease-in-out infinite;
  transform-origin: var(--arc-origin-x, 0%) var(--arc-origin-y, 100%);
}

.arc-layer-mid path {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.arc-layer-mid-b path {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

/* ── Layer 3: Accent arc (breathe + glow) ── */
.arc-layer-accent {
  transform-origin: var(--arc-origin-x, 0%) var(--arc-origin-y, 100%);
  animation: arc-breathe 8s ease-in-out infinite;
}

.arc-layer-accent path {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

/* Travelling pulse element */
.arc-travel-path {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 40 1160;
  animation: arc-travel 9s linear infinite;
}

/* ── Micro dots ── */
.arc-dot {
  animation: arc-dot-float var(--dot-dur, 4s) ease-in-out infinite;
  animation-delay: var(--dot-delay, 0s);
}

/* ── Blueprint grid overlay (separate layer above arcs) ── */
.kshipra-arc-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  /* Fade toward all edges */
  mask-image: radial-gradient(ellipse 70% 60% at var(--arc-fade-cx, 50%) var(--arc-fade-cy, 50%),
    black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at var(--arc-fade-cx, 50%) var(--arc-fade-cy, 50%),
    black 30%, transparent 90%);
}

/* Light mode: reduce arc contrast since background is light */
.light-mode .kshipra-arcs::after {
  background: radial-gradient(
    ellipse 80% 70% at var(--arc-fade-cx, 50%) var(--arc-fade-cy, 50%),
    transparent 55%,
    var(--arc-bg-color-light, #F8FAFC) 100%
  );
}

.light-mode .kshipra-arc-grid {
  background-image:
    linear-gradient(rgba(15,23,42,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.04) 1px, transparent 1px);
}

/* ── Per-page origin variables ── */

/* CareerPlus: bottom-left */
[data-origin="bottom-left"] {
  --arc-origin-x: 0%;
  --arc-origin-y: 100%;
  --arc-fade-cx: 20%;
  --arc-fade-cy: 80%;
}

/* GCA: top-right */
[data-origin="top-right"] {
  --arc-origin-x: 100%;
  --arc-origin-y: 0%;
  --arc-fade-cx: 80%;
  --arc-fade-cy: 20%;
}

/* Customised Training: center-right */
[data-origin="center-right"] {
  --arc-origin-x: 100%;
  --arc-origin-y: 50%;
  --arc-fade-cx: 75%;
  --arc-fade-cy: 50%;
}

/* Recruitment Support: center */
[data-origin="center"] {
  --arc-origin-x: 50%;
  --arc-origin-y: 50%;
  --arc-fade-cx: 50%;
  --arc-fade-cy: 50%;
}

/* UNIFIED NAVBAR OVERRIDE (MATCHING GCA & CAREERPLUS) */
.navbar .nav-inner { padding: 0.8rem 0 !important; }
.navbar.scrolled .nav-inner { padding: 0.5rem 0 !important; }
@media (max-width: 991px) { .navbar .nav-inner, .navbar.scrolled .nav-inner, .nav-inner { padding: 0.4rem 0 !important; } .navbar .nav-logo img, .navbar.scrolled .nav-logo img { height: 38px !important; } .navbar .nav-logo-text { margin-top: 6px !important; font-size: 1rem !important; } }

