/* ==========================================================
   FOSTER ACADEMY - PLACEMENT SECTION SHARED STYLES
   Used by:
   placement.html
   placement-support.html
   career-guidance.html
   placement-preparation.html
   internship-programme.html
   career-opportunities.html
   ========================================================== */

/* Main Placement page styles (including placed-student cards) */
:root {
  --navy: #001b3d;
  --navy2: #082b55;
  --orange: #ff873f;
  --cream: #fff8f1;
  --ink: #14243a;
  --muted: #65758a;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}


.hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  position: relative;

  background-image:
    linear-gradient(90deg,
      rgba(5, 20, 42, 0.88),
      rgba(5, 20, 42, 0.40)),
    url("/assets/images/placement.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero .eyebrow {
  color: #ff9d1b;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 13px;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.2;
  margin: 22px 0;
}

.hero h1 em {
  color: #ff9d1b;
  font-style: normal;
}

.hero p {
  color: #e1e8f0;
  font-size: 17px;
  line-height: 1.8;
  max-width: 600px;
}

.hero .btn-orange {
  background: #ff9d1b;
  color: #071a35;
  border: none;
  padding: 14px 25px;
  border-radius: 6px;
  font-weight: 700;
}

.hero .btn-orange:hover {
  background: #ffffff;
  color: #071a35;
}

@media (max-width: 768px) {
  .hero {
    min-height: 550px;
    background-position: center;
  }

  .hero h1 {
    font-size: 38px;
  }
}


/* COMMON SECTIONS */
.section-pad {
  padding: 100px 0
}

.section-kicker {
  color: #ef762f;
  letter-spacing: .16em;
  font-size: .73rem;
  font-weight: 850;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -.045em;
  font-weight: 850;
  color: var(--navy);
  line-height: 1.12;
  margin: 14px 0;
}

.section-copy {
  color: var(--muted);
  line-height: 1.85;
  max-width: 660px;
}

/* PLACED STUDENTS SECTION */
.placed-section {
  padding: 100px 0;
  background: #f8faff;
  position: relative;
  overflow: hidden;
}

.placed-section:before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: #ffe9da;
  filter: blur(90px);
  top: 5%;
  right: -150px;
  opacity: .65;
}

.placed-heading {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.placed-heading h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 850;
  letter-spacing: -.045em;
  margin: 14px 0;
}

.placed-heading p {
  color: var(--muted);
  line-height: 1.8;
}

.student-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  position: relative;
  z-index: 1;
}

.student-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #e9edf3;
  box-shadow: 0 15px 45px rgba(0, 27, 61, .06);
  transition: .4s;
}

.student-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 55px rgba(0, 27, 61, .13);
}

.student-photo {
  height: 290px;
  overflow: hidden;
  background: #e9eef5;
}

.student-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform .6s;
}

.student-card:hover .student-photo img {
  transform: scale(1.07);
}

.student-info {
  padding: 25px
}

.placed-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e9f8ef;
  color: #16834a;
  padding: 7px 12px;
  border-radius: 30px;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .08em;
  margin-bottom: 14px;
}

.student-info h3 {
  font-size: 1.22rem;
  color: var(--navy);
  font-weight: 850;
  margin-bottom: 8px;
}

.student-info p {
  color: var(--muted);
  font-size: .91rem;
  line-height: 1.65;
  margin: 0;
}

.student-info p i {
  color: var(--orange);
  margin-right: 5px;
}

/* SEE MORE STUDENTS */
.more-students {
  display: none;
  max-width: 700px;
  margin: 30px auto 0;
  position: relative;
  z-index: 1;
}

.more-students.show {
  display: block
}

.name-only-card {
  background: #fff;
  border: 1px solid #e9edf3;
  border-radius: 16px;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
  box-shadow: 0 8px 25px rgba(0, 27, 61, .04);
  animation: fadeUp .45s ease both;
}

.name-only-card i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff1e8;
  color: var(--orange);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.name-only-card h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}

.see-more-wrap {
  text-align: center;
  margin-top: 35px;
  position: relative;
  z-index: 1;
}

.btn-see-more {
  border: 0;
  background: var(--navy);
  color: #fff;
  border-radius: 50px;
  padding: 14px 28px;
  font-size: .9rem;
  font-weight: 800;
  transition: .3s;
  box-shadow: 0 12px 25px rgba(0, 27, 61, .15);
}

.btn-see-more:hover {
  background: var(--orange);
  transform: translateY(-3px);
}

.btn-see-more i {
  margin-left: 8px
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(15px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* FIVE SERVICE CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.service-card {
  min-height: 300px;
  border: 1px solid #e8edf3;
  border-radius: 24px;
  padding: 30px;
  background: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: .35s;
  box-shadow: 0 12px 40px rgba(0, 27, 61, .035);
}

.service-card:before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  background: #fff0e7;
  border-radius: 50%;
  right: -90px;
  top: -90px;
  transition: .4s;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: #ffd1b4;
  box-shadow: 0 25px 60px rgba(0, 27, 61, .12);
  color: inherit;
}

.service-card:hover:before {
  transform: scale(1.6)
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--cream);
  color: var(--orange);
  display: grid;
  place-items: center;
  font-size: 1.55rem;
}

.card-no {
  font-size: .75rem;
  font-weight: 800;
  color: #a9b4c1;
  letter-spacing: .12em;
}

.service-card h3 {
  font-size: 1.35rem;
  color: var(--navy);
  font-weight: 800;
  margin: 30px 0 10px;
  position: relative;
}

.service-card p {
  font-size: .94rem;
  line-height: 1.75;
  color: var(--muted);
  position: relative;
  margin-bottom: 25px;
}

.card-link {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--navy);
  font-weight: 800;
  font-size: .88rem;
}

.card-link i {
  color: var(--orange);
  font-size: 1.2rem;
  transition: .3s;
}

.service-card:hover .card-link i {
  transform: translate(5px, -3px)
}

/* STRIP */
.strip {
  background: var(--cream);
  padding: 48px 0
}

.strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}

.strip h3 {
  font-weight: 850;
  color: var(--navy);
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.strip p {
  color: var(--muted);
  margin: 8px 0 0
}



/* ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.show {
  opacity: 1;
  transform: none
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--orange);
  z-index: 2000;
}

@keyframes rotate {
  to {
    transform: rotate(360deg)
  }
}

@keyframes counter {
  to {
    transform: rotate(-360deg)
  }
}

/* RESPONSIVE */
@media(max-width:991px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .student-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .hero {
    padding-top: 145px
  }

  .hero-side {
    min-height: 260px
  }

  .strip-inner {
    align-items: flex-start;
    flex-direction: column
  }
}

@media(max-width:575px) {

  .hero {
    padding: 130px 0 75px
  }

  .section-pad,
  .placed-section {
    padding: 72px 0
  }

  .card-grid,
  .student-grid {
    grid-template-columns: 1fr
  }

  .service-card {
    min-height: 260px
  }

  .student-photo {
    height: 310px
  }

  .strip-inner {
    gap: 20px
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none
  }
}

.name-only-card p {
  color: var(--muted);
  font-size: .88rem;
  margin: 6px 0 0;
}

.name-only-card p span {
  color: var(--orange);
  font-weight: 900;
  padding: 0 4px;
}

/* Shared detail-page styles (support, guidance, preparation,
   internship and career-opportunities pages) */
:root {
  --navy: #001b3d;
  --navy2: #082b55;
  --orange: #ff873f;
  --cream: #fff8f1;
  --ink: #14243a;
  --muted: #65758a
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden
}

.btn-orange {
  background: var(--orange);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 750;
  box-shadow: 0 10px 24px rgba(255, 135, 63, .22);
  transition: .3s
}

.btn-orange:hover {
  background: #ef7029;
  color: #fff;
  transform: translateY(-3px)
}

.hero:before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  right: -120px;
  top: 40px;
  z-index: -1;
  box-shadow: 0 0 0 55px rgba(255, 255, 255, .025), 0 0 0 110px rgba(255, 255, 255, .02)
}

.hero:after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: var(--orange);
  filter: blur(110px);
  opacity: .28;
  right: 15%;
  bottom: -100px;
  z-index: -1
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffc08f;
  font-size: .76rem;
  letter-spacing: .18em;
  font-weight: 800
}

.eyebrow:before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--orange)
}

.hero h1 {
  font-size: clamp(2.8rem, 6.2vw, 5.5rem);
  line-height: 1.03;
  letter-spacing: -.055em;
  font-weight: 850;
  margin: 24px 0
}

.hero h1 em {
  font-family: Georgia, serif;
  font-weight: 500;
  color: #ffb17c
}

.hero p {
  color: #d5e1ef;
  max-width: 650px;
  font-size: 1.08rem;
  line-height: 1.85
}

.hero-side {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative
}

.orbit {
  width: min(330px, 75vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  animation: rotate 28s linear infinite
}

.orbit:before,
.orbit:after {
  content: "";
  position: absolute;
  border: 1px dashed rgba(255, 255, 255, .2);
  border-radius: 50%;
  inset: 28px
}

.orbit:after {
  inset: 65px;
  border-style: solid
}

.orbit-core {
  width: 125px;
  height: 125px;
  border-radius: 36px;
  background: linear-gradient(145deg, #ffad78, #ff873f);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 3rem;
  box-shadow: 0 20px 55px rgba(255, 135, 63, .3);
  animation: counter 28s linear infinite
}

.orbit-icon {
  position: absolute;
  width: 55px;
  height: 55px;
  border-radius: 18px;
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  box-shadow: 0 12px 30px #0003
}

.orbit-icon:nth-child(2) {
  top: 5%;
  left: 42%
}

.orbit-icon:nth-child(3) {
  right: 0;
  top: 44%
}

.orbit-icon:nth-child(4) {
  bottom: 8%;
  left: 22%
}

.orbit-icon:nth-child(5) {
  left: 0;
  top: 35%
}

.section-pad {
  padding: 100px 0
}

.section-kicker {
  color: #ef762f;
  letter-spacing: .16em;
  font-size: .73rem;
  font-weight: 850
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -.045em;
  font-weight: 850;
  color: var(--navy);
  line-height: 1.12;
  margin: 14px 0
}

.section-copy {
  color: var(--muted);
  line-height: 1.85;
  max-width: 660px
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px
}

.service-card {
  min-height: 300px;
  border: 1px solid #e8edf3;
  border-radius: 24px;
  padding: 30px;
  background: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: .35s;
  box-shadow: 0 12px 40px rgba(0, 27, 61, .035)
}

.service-card:before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  background: #fff0e7;
  border-radius: 50%;
  right: -90px;
  top: -90px;
  transition: .4s
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: #ffd1b4;
  box-shadow: 0 25px 60px rgba(0, 27, 61, .12);
  color: inherit
}

.service-card:hover:before {
  transform: scale(1.6)
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative
}

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--cream);
  color: var(--orange);
  display: grid;
  place-items: center;
  font-size: 1.55rem
}

.card-no {
  font-size: .75rem;
  font-weight: 800;
  color: #a9b4c1;
  letter-spacing: .12em
}

.service-card h3 {
  font-size: 1.35rem;
  color: var(--navy);
  font-weight: 800;
  margin: 30px 0 10px;
  position: relative
}

.service-card p {
  font-size: .94rem;
  line-height: 1.75;
  color: var(--muted);
  position: relative;
  margin-bottom: 25px
}

.card-link {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--navy);
  font-weight: 800;
  font-size: .88rem
}

.card-link i {
  color: var(--orange);
  font-size: 1.2rem;
  transition: .3s
}

.service-card:hover .card-link i {
  transform: translate(5px, -3px)
}

.strip {
  background: var(--cream);
  padding: 48px 0
}

.strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px
}

.strip h3 {
  font-weight: 850;
  color: var(--navy);
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem)
}

.strip p {
  color: var(--muted);
  margin: 8px 0 0
}

.detail-hero {
  padding: 160px 0 90px
}

.detail-hero .hero-copy {
  max-width: 760px
}

.detail-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5rem)
}

.detail-hero p {
  max-width: 720px
}

.breadcrumb-line {
  font-size: .85rem;
  color: #b8c9dc;
  margin-bottom: 22px
}

.breadcrumb-line a {
  color: #ffb17c;
  text-decoration: none
}

.detail-intro {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 55px;
  align-items: center
}

.intro-panel {
  background: var(--cream);
  border-radius: 28px;
  padding: 40px;
  position: relative;
  overflow: hidden
}

.intro-panel:after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid #ffd9c2;
  border-radius: 50%;
  right: -70px;
  bottom: -80px
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 25px
}

.feature-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 17px 0;
  border-bottom: 1px solid #edf0f4
}

.feature-row i {
  color: var(--orange);
  font-size: 1.25rem
}

.feature-row strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px
}

.feature-row span {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.65
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 40px
}

.step {
  padding: 27px;
  border: 1px solid #e8edf3;
  border-radius: 20px;
  background: #fff;
  transition: .3s
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px #001b3d12
}

.step-num {
  font-size: .75rem;
  color: var(--orange);
  font-weight: 900;
  letter-spacing: .15em
}

.step h3 {
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 800;
  margin: 12px 0
}

.step p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0
}

.note {
  border-left: 3px solid var(--orange);
  padding: 18px 22px;
  background: #fff8f3;
  color: #59697b;
  border-radius: 0 14px 14px 0;
  line-height: 1.7;
  font-size: .9rem
}

.cta-band {
  background: linear-gradient(120deg, #001b3d, #0b3767);
  border-radius: 30px;
  padding: 48px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 850;
  letter-spacing: -.04em;
  margin: 0 0 10px
}

.cta-band p {
  color: #d1deec;
  margin: 0;
  line-height: 1.7
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease
}

.reveal.show {
  opacity: 1;
  transform: none
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--orange);
  z-index: 2000
}

@keyframes rotate {
  to {
    transform: rotate(360deg)
  }
}

@keyframes counter {
  to {
    transform: rotate(-360deg)
  }
}

@media(max-width:991px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .hero {
    padding-top: 145px
  }

  .detail-intro {
    grid-template-columns: 1fr
  }

  .hero-side {
    min-height: 260px
  }

  .strip-inner,
  .cta-band {
    align-items: flex-start;
    flex-direction: column
  }
}

@media(max-width:575px) {
  .navbar-brand img {
    width: 145px;
    height: 48px
  }

  .hero {
    padding: 130px 0 75px
  }

  .section-pad {
    padding: 72px 0
  }

  .card-grid,
  .steps {
    grid-template-columns: 1fr
  }

  .service-card {
    min-height: 260px
  }

  .intro-panel {
    padding: 27px
  }

  .cta-band {
    padding: 30px 25px
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important
  }

  .reveal {
    opacity: 1;
    transform: none
  }
}

/* FIX: keep all page sections visible even if placement.js is not loaded.
   Reveal animation activates only after JavaScript adds .js-reveal to body. */
.reveal {
  opacity: 1;
  transform: none
}

body.js-reveal .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease
}

body.js-reveal .reveal.show {
  opacity: 1;
  transform: none
}

@media(prefers-reduced-motion:reduce) {
  body.js-reveal .reveal {
    opacity: 1;
    transform: none
  }
}

/* STUDENT VIDEO STORIES */
.student-stories-section {
  padding: 100px 0;
  background: #f7f9fc;
  overflow: hidden;
}

.stories-heading {
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
}

.stories-heading .section-kicker {
  color: #f58220;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.stories-heading h2 {
  color: #102344;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  margin: 15px 0;
}

.stories-heading h2 span {
  color: #f58220;
}

.stories-heading p {
  color: #69778c;
  line-height: 1.8;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 1000px;
  margin: auto;
}

.story-video-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e8edf4;
  box-shadow: 0 12px 35px rgba(16, 35, 68, .07);
  transition: transform .35s ease, box-shadow .35s ease;
}

.story-video-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 45px rgba(16, 35, 68, .12);
}

.story-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #101b2d;
  overflow: hidden;
}

.story-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-video-info {
  padding: 25px;
}

.story-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #f58220;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.story-video-info h3 {
  color: #102344;
  font-size: 21px;
  font-weight: 800;
  margin: 13px 0 8px;
}

.story-video-info p {
  color: #718096;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 767px) {
  .student-stories-section {
    padding: 65px 0;
  }

  .stories-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .story-video-info {
    padding: 20px;
  }
}

/* =========================================
   SEE MORE STUDENTS - FINAL FIX
   ========================================= */

/* Default hidden state */
#moreStudents {
  display: none;
  width: 100%;
  max-width: 700px;
  margin: 30px auto 0;
  position: relative;
  z-index: 5;
}

/* Visible state after button click */
#moreStudents.show {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 14px;
  animation: studentsFadeIn .4s ease;
}

/* Individual student card */
#moreStudents .name-only-card {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  margin: 0;
  padding: 20px 25px;
  background: #ffffff;
  border: 1px solid #e9edf3;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 27, 61, .05);
}

/* Student icon */
#moreStudents .name-only-card>i {
  width: 45px;
  height: 45px;
  min-width: 45px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff1e8;
  color: #ff873f;
  font-size: 21px;
}

/* Student name */
#moreStudents .name-only-card h4 {
  color: #001b3d;
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 6px;
}

/* Student details */
#moreStudents .name-only-card p {
  color: #65758a;
  font-size: 13px;
  margin: 0;
  line-height: 1.6;
}

#moreStudents .name-only-card p span {
  color: #ff873f;
  font-weight: 900;
  padding: 0 4px;
}

/* See More button */
.see-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 35px;
  position: relative;
  z-index: 10;
}

.btn-see-more {
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 10;
}

/* Animation */
@keyframes studentsFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile responsive */
@media (max-width: 575px) {
  #moreStudents .name-only-card {
    padding: 17px;
  }
}

/* SEE MORE BUTTON FINAL WORKING FIX */

#moreStudents {
  display: none !important;
  width: 100%;
  max-width: 700px;
  margin: 30px auto 0;
  position: relative;
  z-index: 5;
}

#moreStudents.show {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 14px;
}

#moreStudents .name-only-card {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
}

#seeMoreBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  z-index: 20;
  pointer-events: auto;
}

#moreStudents {
  display: none !important;
}

#moreStudents.show {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 14px;
}

#seeMoreBtn {
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative;
  z-index: 999;
}

/* PLACEMENT PAGE - FOOTER SPACING FIX */

.foster-footer ul.footer-links {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

.foster-footer ul.footer-links li {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.5 !important;
}

.foster-footer ul.footer-links li a {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.5 !important;
}