/* =====================================================
   TRAINING & INTERNSHIP PROGRAMS PAGE
===================================================== */

.programs-page{
  background:
    radial-gradient(circle at top right, rgba(31,56,99,.28), transparent 35%),
    linear-gradient(180deg,#071A2E,#0A223A,#071A2E);
  color:var(--white);
}

/* =====================================================
   HERO
===================================================== */

.programs-hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  padding-top:140px;
}

.programs-hero-grid{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size:90px 90px;
  mask-image:linear-gradient(to bottom, black 20%, transparent 100%);
  pointer-events:none;
}

.programs-hero-glow{
  position:absolute;
  width:760px;
  height:760px;
  right:-220px;
  top:45%;
  transform:translateY(-50%);
  border-radius:50%;
  background:radial-gradient(circle, rgba(242,82,0,.15), rgba(31,56,99,.26), transparent 70%);
  filter:blur(85px);
}

.programs-hero-container{
  position:relative;
  z-index:3;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:80px;
  align-items:center;
}

.programs-hero-copy h1{
  font-size:clamp(3rem,6vw,6.5rem);
  line-height:1.05;
  margin-bottom:28px;
  max-width:980px;
}

.programs-hero-copy p{
  max-width:760px;
  font-size:1.18rem;
  line-height:1.85;
}

.programs-hero-actions{
  margin-top:42px;
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

.programs-hero-panel{
  padding:38px;
  border-radius:34px;
  background:
    radial-gradient(circle at top right, rgba(242,82,0,.16), transparent 35%),
    linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.1);
  box-shadow:0 40px 100px rgba(0,0,0,.32);
}

.programs-panel-top span{
  display:block;
  margin-bottom:18px;
  color:var(--accent);
  font-weight:700;
  letter-spacing:3px;
  font-size:.78rem;
}

.programs-panel-top strong{
  display:block;
  font-size:clamp(1.8rem,3vw,3rem);
  line-height:1.15;
}

.programs-panel-metrics{
  margin-top:44px;
  display:grid;
  gap:18px;
}

.programs-panel-metrics div{
  padding:22px;
  border-radius:22px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.08);
}

.programs-panel-metrics strong{
  display:block;
  margin-bottom:6px;
  color:var(--white);
  font-size:1.2rem;
}

.programs-panel-metrics span{
  color:var(--textLight);
  font-size:.95rem;
}

/* =====================================================
   COMMON HEADING
===================================================== */

.programs-section-heading{
  max-width:960px;
  margin:0 auto;
  text-align:center;
}

.programs-section-heading h2{
  text-align:center;
}

.programs-section-heading p{
  max-width:780px;
  margin:0 auto;
  text-align:center;
}

/* =====================================================
   PHILOSOPHY
===================================================== */

.programs-philosophy{
  position:relative;
  padding:120px 0;
  background:
    radial-gradient(circle at 25% 30%, rgba(31,56,99,.34), transparent 34%),
    linear-gradient(180deg,#071A2E,#081E34,#071A2E);
}

.programs-principle-grid{
  margin-top:70px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.programs-principle-card{
  min-height:290px;
  padding:38px;
  border-radius:34px;
  background:linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.1);
  box-shadow:0 30px 80px rgba(0,0,0,.24);
}

.programs-principle-card h3{
  margin-bottom:16px;
}

.programs-principle-card p{
  margin:0;
  max-width:none;
  font-size:1rem;
  line-height:1.75;
}

/* =====================================================
   PROGRAM CARDS
===================================================== */

.programs-list-section{
  position:relative;
  padding:120px 0;
  background:#071A2E;
}

.programs-grid{
  margin-top:75px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}

.program-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:560px;
  border-radius:34px;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.1);
  box-shadow:0 30px 80px rgba(0,0,0,.26);
  transition:.35s ease;
}

.program-card:hover{
  transform:translateY(-8px);
  border-color:rgba(242,82,0,.38);
  box-shadow:
    0 35px 90px rgba(0,0,0,.34),
    0 0 55px rgba(242,82,0,.08);
}

.featured-program{
  grid-column:span 2;
}

.program-card-image{
  height:240px;
  overflow:hidden;
}

.program-card-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform:scale(1.04);
  transition:.5s ease;
}

.program-card:hover .program-card-image img{
  transform:scale(1.12);
}

.program-card-content{
  flex:1;
  padding:32px;
  display:flex;
  flex-direction:column;
}

.program-domain{
  display:block;
  margin-bottom:14px;
  color:var(--accent);
  font-weight:700;
  letter-spacing:2px;
  text-transform:uppercase;
  font-size:.75rem;
}

.program-card-content h3{
  margin-bottom:14px;
}

.program-card-content p{
  margin:0 0 24px;
  max-width:none;
  font-size:1rem;
  line-height:1.72;
}

.program-meta{
  margin-top:auto;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.program-meta span{
  padding:9px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.08);
  color:var(--textLight);
  font-size:.85rem;
}

.program-link{
  margin-top:24px;
  color:var(--accent);
  font-weight:600;
}

/* =====================================================
   HOW IT WORKS
===================================================== */

.programs-process-section{
  position:relative;
  padding:120px 0;
  background:
    radial-gradient(circle at 75% 35%, rgba(242,82,0,.12), transparent 25%),
    linear-gradient(180deg,#071A2E,#081E34,#071A2E);
}

.programs-process-container{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:80px;
  align-items:center;
}

.programs-process-copy h2{
  max-width:760px;
}

.programs-process-copy p{
  max-width:680px;
}

.programs-process-flow{
  position:relative;
  display:grid;
  gap:18px;
}

.programs-process-flow article{
  padding:28px;
  border-radius:24px;
  background:linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.1);
  transition:.35s ease;
}

.programs-process-flow article:hover{
  transform:translateX(-8px);
  border-color:rgba(242,82,0,.35);
}

.programs-process-flow span{
  display:block;
  color:var(--accent);
  font-weight:700;
  margin-bottom:12px;
}

.programs-process-flow h3{
  margin-bottom:8px;
}

.programs-process-flow p{
  margin:0;
  max-width:none;
  font-size:.98rem;
  line-height:1.7;
}

/* =====================================================
   OUTCOMES
===================================================== */

.programs-outcomes-section{
  padding:120px 0;
  background:#071A2E;
}

.programs-outcome-grid{
  margin-top:70px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}

.programs-outcome-grid article{
  min-height:250px;
  padding:32px;
  border-radius:28px;
  background:linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.1);
}

.programs-outcome-grid h3{
  margin-bottom:14px;
  color:var(--white);
}

.programs-outcome-grid p{
  margin:0;
  max-width:none;
  font-size:.98rem;
  line-height:1.72;
}

/* =====================================================
   CTA
===================================================== */

.programs-cta-section{
  padding:120px 0;
  background:
    radial-gradient(circle at center, rgba(242,82,0,.13), transparent 25%),
    linear-gradient(180deg,#081E34,#071A2E);
}

.programs-cta-box{
  max-width:960px;
  text-align:center;
  padding:70px;
  border-radius:38px;
  background:
    radial-gradient(circle at top right, rgba(242,82,0,.16), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.1);
  box-shadow:0 40px 100px rgba(0,0,0,.32);
}

.programs-cta-box h2,
.programs-cta-box p{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}

.programs-cta-box p{
  max-width:720px;
}

.programs-cta-actions{
  margin-top:38px;
  display:flex;
  justify-content:center;
  gap:18px;
  flex-wrap:wrap;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media(max-width:1150px){

  .programs-hero-container,
  .programs-process-container{
    grid-template-columns:1fr;
    gap:60px;
  }

  .programs-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .featured-program{
    grid-column:span 2;
  }

  .programs-outcome-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:850px){

  .programs-hero{
    min-height:auto;
    padding:140px 0 90px;
  }

  .programs-principle-grid,
  .programs-grid,
  .programs-outcome-grid{
    grid-template-columns:1fr;
  }

  .featured-program{
    grid-column:auto;
  }

  .program-card{
    min-height:auto;
  }

  .programs-cta-box{
    padding:46px 28px;
  }
}

@media(max-width:600px){

  .programs-hero-copy h1{
    font-size:clamp(2.7rem,13vw,4rem);
  }

  .programs-hero-panel{
    padding:28px;
  }

  .program-card-image{
    height:220px;
  }

  .programs-process-flow article:hover{
    transform:translateY(-6px);
  }
}
/* =====================================================
   TRAINING PAGE HERO POLISH — V1 PATCH
===================================================== */

.programs-hero{
  padding-top:150px;
}

.programs-hero-container{
  grid-template-columns:1.08fr .92fr;
  gap:60px;
}

.programs-hero-copy{
  max-width:760px;
}

.programs-hero-copy h1{
  max-width:780px;
  font-size:clamp(2.8rem,5vw,5.8rem);
  line-height:1.03;
  letter-spacing:-1.6px;
  margin-bottom:26px;
}

.programs-hero-copy p{
  max-width:680px;
  font-size:1.08rem;
  line-height:1.78;
  color:var(--textLight);
}

.programs-hero-actions{
  margin-top:34px;
}

.programs-hero-panel{
  max-width:520px;
  margin-left:auto;
  padding:38px;
  border-radius:36px;
  background:
    radial-gradient(circle at top right, rgba(242,82,0,.15), transparent 35%),
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.11);
  box-shadow:0 40px 100px rgba(0,0,0,.3);
}

.programs-panel-top span{
  display:block;
  margin-bottom:20px;
  color:var(--accent);
  font-size:.76rem;
  font-weight:700;
  letter-spacing:3px;
  text-transform:uppercase;
}

.programs-panel-top strong{
  display:block;
  font-size:clamp(2rem,3vw,3.3rem);
  line-height:1.08;
  letter-spacing:-1px;
}

.programs-panel-metrics{
  margin-top:30px;
  display:grid;
  gap:13px;
}

.programs-panel-metrics div{
  padding:18px 20px;
  border-radius:20px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.08);
}

.programs-panel-metrics strong{
  display:block;
  margin-bottom:6px;
  color:var(--white);
  font-size:1rem;
}

.programs-panel-metrics span{
  color:var(--textLight);
  font-size:.9rem;
  line-height:1.5;
}

@media(max-width:1150px){

  .programs-hero-container{
    grid-template-columns:1fr;
    gap:60px;
  }

  .programs-hero-panel{
    max-width:680px;
    margin-left:0;
  }
}

@media(max-width:700px){

  .programs-hero-copy h1{
    font-size:clamp(2.6rem,12vw,4.1rem);
    letter-spacing:-1px;
  }

  .programs-hero-panel{
    padding:30px 24px;
  }
}
/* =====================================================
   TRAINING HERO BALANCE FIX
===================================================== */

.programs-hero-copy h1{
  max-width:720px;
  font-size:clamp(2.7rem,4.55vw,5.05rem);
  line-height:1.04;
  letter-spacing:-1.3px;
}

.programs-hero-copy p{
  max-width:620px;
  font-size:1.04rem;
  line-height:1.72;
}

.programs-hero-panel{
  max-width:500px;
}

.programs-panel-top strong{
  font-size:clamp(1.9rem,2.7vw,3rem);
}

.programs-panel-metrics div{
  padding:17px 20px;
}

@media(max-width:700px){

  .programs-hero-copy h1{
    font-size:clamp(2.45rem,11vw,3.8rem);
  }
}
/* =====================================================
   TRAINING HERO DE-CROWD FIX
===================================================== */

.programs-hero{
  padding:145px 0 95px;
}

.programs-hero-container{
  grid-template-columns:1fr .92fr;
  gap:70px;
}

.programs-hero-copy{
  max-width:650px;
}

.programs-hero-copy h1{
  max-width:650px;
  font-size:clamp(2.8rem,4.25vw,4.9rem);
  line-height:1.05;
  letter-spacing:-1.2px;
  margin-bottom:24px;
}

.programs-hero-copy p{
  max-width:560px;
  font-size:1.02rem;
  line-height:1.72;
}

.programs-hero-actions{
  margin-top:32px;
}

.programs-hero-panel{
  max-width:500px;
}

@media(max-width:1150px){

  .programs-hero-copy{
    max-width:760px;
  }

  .programs-hero-copy h1{
    max-width:760px;
  }
}

@media(max-width:700px){

  .programs-hero-copy h1{
    font-size:clamp(2.4rem,11vw,3.8rem);
  }
}
/* =====================================================
   TRAINING HERO RIGHT CARD — ORANGE TINT + IMPORTANCE
===================================================== */

.programs-hero-panel{
  position:relative;
  overflow:hidden;
  border-color:rgba(242,82,0,.28);
  background:
    radial-gradient(circle at top right, rgba(242,82,0,.22), transparent 34%),
    radial-gradient(circle at bottom left, rgba(31,56,99,.32), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,.035));
  transition:
    transform .35s ease,
    border-color .35s ease,
    box-shadow .35s ease,
    background .35s ease;
}

.programs-hero-panel::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:4px;
  background:linear-gradient(
    90deg,
    transparent,
    rgba(242,82,0,.95),
    transparent
  );
  opacity:.9;
}

.programs-hero-panel::after{
  content:"";
  position:absolute;
  right:-110px;
  bottom:-130px;
  width:320px;
  height:320px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(242,82,0,.18), transparent 68%);
  pointer-events:none;
}

.programs-hero-panel:hover{
  transform:translateY(-8px);
  border-color:rgba(242,82,0,.48);
  box-shadow:
    0 45px 110px rgba(0,0,0,.36),
    0 0 70px rgba(242,82,0,.12);
}

.programs-panel-top,
.programs-panel-metrics{
  position:relative;
  z-index:2;
}

.programs-panel-top span{
  color:var(--accent);
}

.programs-panel-top strong{
  max-width:420px;
  margin-bottom:18px;
}

.programs-panel-intro{
  margin:18px 0 0;
  max-width:420px;
  color:var(--textLight);
  font-size:.96rem;
  line-height:1.68;
}

.programs-panel-metrics{
  margin-top:32px;
}

.programs-panel-metrics div{
  position:relative;
  overflow:hidden;
  transition:
    transform .32s ease,
    border-color .32s ease,
    background .32s ease,
    box-shadow .32s ease;
}

.programs-panel-metrics div::before{
  content:"";
  position:absolute;
  left:0;
  top:18px;
  bottom:18px;
  width:3px;
  border-radius:999px;
  background:var(--accent);
  opacity:.7;
}

.programs-panel-metrics div:hover{
  transform:translateX(8px);
  border-color:rgba(242,82,0,.38);
  background:
    radial-gradient(circle at top right, rgba(242,82,0,.13), transparent 38%),
    rgba(255,255,255,.07);
  box-shadow:0 18px 48px rgba(0,0,0,.22);
}

.programs-panel-metrics div strong,
.programs-panel-metrics div span{
  padding-left:12px;
}

.programs-panel-metrics div strong{
  color:var(--white);
}

.programs-panel-metrics div span{
  display:block;
  max-width:390px;
}

/* Mobile hover reset */
@media(max-width:700px){

  .programs-hero-panel:hover{
    transform:none;
  }

  .programs-panel-metrics div:hover{
    transform:none;
  }

  .programs-panel-intro{
    max-width:none;
  }
}

/* =====================================================
   TRAINING HERO RATIO + ALIGNMENT FIX
===================================================== */

.programs-hero{
  min-height:auto;
  padding:130px 0 90px;
  align-items:flex-start;
}

.programs-hero-container{
  grid-template-columns:1fr 0.82fr;
  gap:72px;
  align-items:flex-start;
}

/* Left side cleaner alignment */
.programs-hero-copy{
  max-width:620px;
  padding-top:82px;
}

.programs-hero-copy h1{
  max-width:620px;
  font-size:clamp(2.7rem,4.15vw,4.8rem);
  line-height:1.05;
  letter-spacing:-1.2px;
  margin-bottom:24px;
}

.programs-hero-copy p{
  max-width:560px;
  font-size:1rem;
  line-height:1.72;
}

.programs-hero-actions{
  margin-top:30px;
}

/* Right card slightly smaller and less tall */
.programs-hero-panel{
  max-width:470px;
  margin-left:auto;
  padding:32px;
  border-radius:32px;
}

.programs-panel-top strong{
  max-width:390px;
  font-size:clamp(1.8rem,2.45vw,2.7rem);
  line-height:1.1;
}

.programs-panel-intro{
  max-width:390px;
  margin-top:16px;
  font-size:.92rem;
  line-height:1.62;
}

.programs-panel-metrics{
  margin-top:26px;
  gap:12px;
}

.programs-panel-metrics div{
  padding:16px 18px;
  border-radius:18px;
}

.programs-panel-metrics div strong{
  font-size:.95rem;
}

.programs-panel-metrics div span{
  max-width:360px;
  font-size:.86rem;
  line-height:1.55;
}

/* Tablet */
@media(max-width:1150px){

  .programs-hero{
    padding:140px 0 90px;
  }

  .programs-hero-container{
    grid-template-columns:1fr;
    gap:54px;
  }

  .programs-hero-copy{
    max-width:760px;
    padding-top:0;
  }

  .programs-hero-copy h1{
    max-width:760px;
  }

  .programs-hero-panel{
    max-width:680px;
    margin-left:0;
  }
}

/* Mobile */
@media(max-width:700px){

  .programs-hero{
    padding:130px 0 80px;
  }

  .programs-hero-copy h1{
    font-size:clamp(2.35rem,10.5vw,3.7rem);
  }

  .programs-hero-panel{
    padding:28px 22px;
  }
}
/* =====================================================
   TRAINING HERO LEFT STATS
===================================================== */

.programs-hero-stats{
  margin-top:46px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  max-width:760px;
}

.programs-hero-stats div{
  min-height:112px;
  padding:20px 18px;
  border-radius:22px;
  background:
    radial-gradient(circle at top right, rgba(242,82,0,.10), transparent 36%),
    rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.08);
  transition:
    transform .32s ease,
    border-color .32s ease,
    background .32s ease,
    box-shadow .32s ease;
}

.programs-hero-stats div:hover{
  transform:translateY(-6px);
  border-color:rgba(242,82,0,.34);
  background:
    radial-gradient(circle at top right, rgba(242,82,0,.16), transparent 38%),
    rgba(255,255,255,.065);
  box-shadow:0 22px 60px rgba(0,0,0,.24);
}

.programs-hero-stats strong{
  display:block;
  margin-bottom:8px;
  color:var(--white);
  font-size:1rem;
  line-height:1.25;
}

.programs-hero-stats span{
  display:block;
  color:var(--textLight);
  font-size:.82rem;
  line-height:1.45;
}

/* Responsive */

@media(max-width:1150px){

  .programs-hero-stats{
    max-width:760px;
  }
}

@media(max-width:800px){

  .programs-hero-stats{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:520px){

  .programs-hero-stats{
    grid-template-columns:1fr;
    margin-top:34px;
  }

  .programs-hero-stats div{
    min-height:auto;
  }
}
/* Reduce extra hero bottom space after adding stats */
.programs-hero{
  padding-bottom:70px;
}

/* =====================================================
   TRAINING HERO LEFT STATS
===================================================== */

.programs-hero-stats{
  margin-top:46px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  max-width:760px;
}

.programs-hero-stats div{
  min-height:112px;
  padding:20px 18px;
  border-radius:22px;
  background:
    radial-gradient(circle at top right, rgba(242,82,0,.10), transparent 36%),
    rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.08);
  transition:
    transform .32s ease,
    border-color .32s ease,
    background .32s ease,
    box-shadow .32s ease;
}

.programs-hero-stats div:hover{
  transform:translateY(-6px);
  border-color:rgba(242,82,0,.34);
  background:
    radial-gradient(circle at top right, rgba(242,82,0,.16), transparent 38%),
    rgba(255,255,255,.065);
  box-shadow:0 22px 60px rgba(0,0,0,.24);
}

.programs-hero-stats strong{
  display:block;
  margin-bottom:8px;
  color:var(--white);
  font-size:1rem;
  line-height:1.25;
}

.programs-hero-stats span{
  display:block;
  color:var(--textLight);
  font-size:.82rem;
  line-height:1.45;
}

/* Responsive */

@media(max-width:1150px){

  .programs-hero-stats{
    max-width:760px;
  }
}

@media(max-width:800px){

  .programs-hero-stats{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:520px){

  .programs-hero-stats{
    grid-template-columns:1fr;
    margin-top:34px;
  }

  .programs-hero-stats div{
    min-height:auto;
  }
}