/* ------------------------------------------------------------------
   International Scholarship page template

   Self-contained stylesheet for the "International Scholarship" page
   template (template-parts/template-international-scholarships.php).
   It can be copied along with that template's markup to another site —
   the --color-* fallbacks below supply this theme's brand colors if the
   target site doesn't already define them.
   ------------------------------------------------------------------ */

body {
background:#000;
}
.scholarship-page {
  --scholarship-navy: var(--color-default, rgba(10, 43, 80, 0.7));
  --scholarship-navy-dark: var(--color-default, rgba(10, 43, 80, 0.7));
  --scholarship-orange: var(--color-primary, #CF2027);
  --scholarship-grey: #f4f6f9;
  overflow-x: hidden;
}
.accordion-header {
background:black;
}
.scholarship-page h1,
.scholarship-page h2,
.scholarship-page h3 {
  font-weight: 700;
}

/* Buttons */
.scholarship-btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.scholarship-btn--accent {
  background: var(--color-primary, #CF2027);
  color: var(--color-heading, #161116);
}

.scholarship-btn--accent:hover {
  background: var(--scholarship-navy);
  color: #fff;
}

.scholarship-hero__card .scholarship-btn {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Hero */
.scholarship-hero {
  position: relative;
  background-color: var(--scholarship-navy-dark);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 9px 0;
  text-align: center;
  overflow: hidden;
}

.scholarship-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 29, 56, 0.28) 0%, rgba(7, 29, 56, 0.55) 48%, rgba(7, 29, 56, 0.92) 82%, rgba(7, 29, 56, 0.99) 100%);
}

.scholarship-hero .container {
  position: relative;
  z-index: 1;
}

/* Image area — eyebrow / title / subtitle float over the photo */
.scholarship-hero__image-area {
  position: relative;
  z-index: 1;
  padding: 180px 0 80px;
  text-align: center;
}

/* White card that slides up from the bottom */
.scholarship-hero__card {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 50px 60px 60px;
  text-align: left;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
  border-top: 4px solid var(--scholarship-orange);
  box-shadow: 0 -20px 70px rgba(7, 29, 56, 0.25), 0 4px 30px rgba(7, 29, 56, 0.06);
  background-image:
    radial-gradient(ellipse at 80% 0%, rgba(207, 32, 39, 0.05) 0%, transparent 52%),
    radial-gradient(ellipse at 15% 100%, rgba(7, 29, 56, 0.04) 0%, transparent 50%);
}

.scholarship-hero__card-headline {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--scholarship-navy-dark);
  margin-bottom: 16px;
}

.scholarship-hero__card-headline p {
  margin: 0;
}

.scholarship-hero__card-intro {
  font-size: 16px;
  line-height: 1.75;
  color: #4a5a6c;
  text-align: center;
  margin-bottom: 32px;
  padding-top: 4px;
}

.scholarship-hero__card-intro::before {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--scholarship-orange) 0%, rgba(207, 32, 39, 0.25) 100%);
  border-radius: 2px;
  margin: 0 auto 22px;
}

.scholarship-hero__card-intro p {
  margin: 0;
color: black;
}

.scholarship-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.scholarship-hero__title {
  font-size: 72px;
  line-height: 1;
  margin-bottom: 20px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.scholarship-hero__subtitle {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0;
}

/* Points — 2-column card grid inside the white panel */
.scholarship-hero__points {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.scholarship-hero__points li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--scholarship-navy-dark);
  background: var(--scholarship-grey);
  border: 1px solid rgba(10, 43, 80, 0.08);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 2px 16px rgba(10, 43, 80, 0.07);
  border-top: 3px solid transparent;
}

/* UK scholarship — Union Jack blue accent */
.scholarship-hero__points li:first-child {
  border-top-color: #012169;
  background: linear-gradient(135deg, rgba(1, 33, 105, 0.07) 0%, var(--scholarship-grey) 55%);
}

.scholarship-hero__points li:first-child i {
  background: #012169;
  box-shadow: 0 4px 14px rgba(1, 33, 105, 0.35);
}

/* US scholarship — red accent */
.scholarship-hero__points li:last-child {
  border-top-color: var(--scholarship-orange);
  background: linear-gradient(135deg, rgba(207, 32, 39, 0.07) 0%, var(--scholarship-grey) 55%);
}

.scholarship-hero__points li:last-child i {
  box-shadow: 0 4px 14px rgba(207, 32, 39, 0.35);
}

.scholarship-hero__points li i {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-primary, #CF2027);
  color: #fff;
  font-size: 20px;
}

.scholarship-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  margin: 0 auto 28px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
  background: var(--scholarship-orange);
  padding: 11px 26px;
  border-radius: 100px;
  box-shadow: 0 4px 22px rgba(207, 32, 39, 0.4);
}

.scholarship-status::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  -webkit-animation: scholarshipStatusPulse 1.8s ease-in-out infinite;
  animation: scholarshipStatusPulse 1.8s ease-in-out infinite;
}

@media (max-width: 767px) {
  .scholarship-hero__image-area {
    padding: 120px 0 50px;
  }

  .scholarship-hero__card {
    padding: 36px 20px 48px;
    border-radius: 16px 16px 0 0;
  }

  .scholarship-hero__title {
    font-size: 40px;
  }

  .scholarship-hero__card-headline {
    font-size: 24px;
  }

  .scholarship-hero__points {
    grid-template-columns: 1fr;
  }

  .scholarship-status {
    font-size: 12px;
    padding: 10px 20px;
  }
}

/* Generic sections */
.scholarship-section {
  padding: 90px 0;
}

.scholarship-section--light {
  background: #ffffff;
}

.scholarship-section--grey {
  background: var(--scholarship-grey);
}

.scholarship-section--red {
  background: var(--color-primary, #CF2027);
}

.scholarship-section--navy {
  background: var(--scholarship-navy);
  color: #fff;
}

.scholarship-section__title {
  font-size: 34px;
  margin-bottom: 20px;
  color: black;
}

.scholarship-section__title--light {
  color: #fff;
}

.scholarship-section__intro,
.scholarship-section__intro--light {
  font-size: 17px;
  margin-bottom: 28px;
}

.scholarship-section__intro--light {
  color: #d9e2ee;
}

.scholarship-section__content {
  font-size: 16px;
  line-height: 1.85;
  color: #4a5a6c;
}

.scholarship-section__content p {
  margin-bottom: 16px;
color:black;
}

.scholarship-section__closing {
  font-size: 17px;
  font-weight: 600;
  color: var(--scholarship-navy-dark);
  margin-top: 20px;
}

.scholarship-section__closing-content {
  font-size: 26px;
  line-height: 1.8;
  color: #fff;
  margin-top: 12px;
}

.scholarship-section__closing-content strong {
  color: var(--color-primary, #CF2027);
}

/* Highlight list cards — used on navy sections (Included / Who Can Apply / Experience) */
.scholarship-included-list,
.scholarship-criteria-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px 24px;
}

.scholarship-included-list li,
.scholarship-criteria-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 161, 33, 0.25);
  border-radius: 14px;
  padding: 18px 22px;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.scholarship-included-list li:hover,
.scholarship-criteria-list li:hover {
  transform: translateY(-4px);
  background: rgba(207, 32, 39, 0.14);
  border-color: var(--scholarship-orange);
}

.scholarship-included-list li i,
.scholarship-criteria-list li i {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--scholarship-orange);
  color: #fff;
  font-size: 18px;
}

.scholarship-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--scholarship-orange);
}

/* Why Cape Town */
.scholarship-img-wrap img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.scholarship-taglines {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.scholarship-taglines li {
  position: relative;
  padding-left: 24px;
  font-weight: 600;
  color: var(--scholarship-navy-dark);
  margin-bottom: 8px;
}

.scholarship-taglines li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 2px;
  background: var(--scholarship-orange);
}

/* Looking For list — sits on a light section background */
.scholarship-traits-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 40px;
}

.scholarship-traits-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: var(--scholarship-navy-dark);
  font-weight: 500;
}

.scholarship-traits-list li i {
  color: var(--scholarship-orange);
  margin-top: 3px;
}

/* Selection process — staggered alternating timeline */
.scholarship-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 8px 0;
}

.scholarship-steps::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(180deg, var(--scholarship-orange) 0%, rgba(207, 32, 39, 0.15) 100%);
}

.scholarship-step {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
}

/* Odd steps — card on the left half */
.scholarship-step:nth-child(odd) {
  padding-right: calc(50% + 40px);
  justify-content: flex-end;
}

/* Even steps — card on the right half */
.scholarship-step:nth-child(even) {
  padding-left: calc(50% + 40px);
  justify-content: flex-start;
}

.scholarship-step__number {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--scholarship-orange);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px var(--scholarship-orange), 0 4px 16px rgba(207, 32, 39, 0.3);
}

.scholarship-step__content {
  width: 100%;
  background: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 4px 20px rgba(10, 43, 80, 0.08);
  border: 1px solid rgba(10, 43, 80, 0.06);
  position: relative;
}

/* Arrow tip pointing toward center */
.scholarship-step:nth-child(odd) .scholarship-step__content::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border: 9px solid transparent;
  border-left-color: #fff;
  border-right-width: 0;
}

.scholarship-step:nth-child(even) .scholarship-step__content::after {
  content: "";
  position: absolute;
  left: -9px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border: 9px solid transparent;
  border-right-color: #fff;
  border-left-width: 0;
}

.scholarship-step__label {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--scholarship-navy-dark);
}

.scholarship-step__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #4a5a6c;
}

/* Experience */
.scholarship-experience-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  height: 100%;
  padding: 28px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(207, 32, 39, 0.25);
  border-radius: 14px;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.scholarship-experience-card:hover {
  transform: translateY(-4px);
  background: rgba(207, 32, 39, 0.14);
  border-color: var(--scholarship-orange);
}

.scholarship-experience-card i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--scholarship-orange);
  color: #fff;
  font-size: 22px;
  flex-shrink: 0;
}

.scholarship-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.scholarship-gallery__item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* FAQs — sits on a navy section background */
.scholarship-faqs .accordion-item {
  border: 1px solid rgba(207, 32, 39, 0.2);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.scholarship-faqs .accordion-button {
  font-weight: 600;
  color: #fff;
  background: transparent;
}

.scholarship-faqs .accordion-button::after {
  filter: brightness(0) invert(1);
}

.scholarship-faqs .accordion-button:not(.collapsed) {
  color: var(--scholarship-orange);
  background: rgba(207, 32, 39, 0.12);
  box-shadow: none;
}

.scholarship-faqs .accordion-button:focus {
  box-shadow: none;
}

.scholarship-faqs .accordion-body {
  color: #d9e2ee;
background:#000;
}

/* Final CTA */
.scholarship-cta {
  position: relative;
  padding: 100px 0;
  background-color: var(--scholarship-navy);
  background-size: cover;
  background-position: center;
  text-align: center;
  color: #fff;
}

.scholarship-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 29, 56, 0.85) 0%, rgba(7, 29, 56, 0.95) 100%);
}

.scholarship-cta .container {
  z-index: 1;
}

.scholarship-cta__title {
  font-size: 32px;
  color: #fff;
  margin-bottom: 20px;
}

.scholarship-cta__content {
  font-size: 16px;
  line-height: 1.8;
  color: #d9e2ee;
  margin-bottom: 28px;
}

/* Responsive */
@media (max-width: 767px) {

  .scholarship-included-list,
  .scholarship-criteria-list,
  .scholarship-traits-list,
  .scholarship-gallery {
    grid-template-columns: 1fr;
  }

  .scholarship-steps::before {
    left: 20px;
    transform: none;
  }

  .scholarship-step,
  .scholarship-step:nth-child(odd),
  .scholarship-step:nth-child(even) {
    padding: 0 0 0 60px;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .scholarship-step__number {
    left: 0;
    top: 18px;
    transform: none;
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  .scholarship-step:nth-child(odd) .scholarship-step__content::after,
  .scholarship-step:nth-child(even) .scholarship-step__content::after {
    display: none;
  }

  .scholarship-step__content {
    padding: 14px 16px;
  }
}

/* More Than Football — taller image crop for the split layout */
.scholarship-img-wrap--tall img {
  height: 480px;
  object-fit: cover;
}

@media (max-width: 991px) {
  .scholarship-img-wrap--tall img {
    height: 300px;
  }
}

/* Combined eligibility section — Who Can Apply + What We're Looking For */
.scholarship-eligibility {
  align-items: flex-start;
}

.scholarship-eligibility__col--right {
  padding-left: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 991px) {
  .scholarship-eligibility__col--right {
    /* padding-left: 0; */
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 40px;
  }
}

/* Single-column variant of the criteria list (used inside the two-column layout) */
.scholarship-criteria-list--single {
  grid-template-columns: 1fr;
}

/* Traits list on navy background */
.scholarship-traits-list--navy {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.scholarship-traits-list--navy li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 161, 33, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.scholarship-traits-list--navy li:hover {
  background: rgba(207, 32, 39, 0.14);
  border-color: var(--scholarship-orange);
}

.scholarship-traits-list--navy li i {
  flex-shrink: 0;
  color: var(--scholarship-orange);
  font-size: 18px;
  margin-top: 2px;
}

/* Closing text on navy backgrounds */
.scholarship-section__closing--light {
  color: #d9e2ee;
  font-size: 15px;
  font-weight: 500;
  margin-top: 20px;
  font-style: italic;
}

/* ============================================================
   Scholarship — Animations & Hover Effects
   ============================================================ */

/* Keyframes */
@-webkit-keyframes scholarshipFadeUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes scholarshipFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@-webkit-keyframes scholarshipScaleIn {
  from {
    opacity: 0;
    -webkit-transform: scale(0.95) translateY(14px);
    transform: scale(0.95) translateY(14px);
  }

  to {
    opacity: 1;
    -webkit-transform: scale(1) translateY(0);
    transform: scale(1) translateY(0);
  }
}

@keyframes scholarshipScaleIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(14px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@-webkit-keyframes scholarshipSlideUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes scholarshipSlideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@-webkit-keyframes scholarshipPulse {

  0%,
  100% {
    box-shadow: 0 0 0 2px var(--scholarship-orange), 0 4px 16px rgba(207, 32, 39, 0.3);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(207, 32, 39, 0.1), 0 6px 24px rgba(207, 32, 39, 0.45);
  }
}

@keyframes scholarshipPulse {

  0%,
  100% {
    box-shadow: 0 0 0 2px var(--scholarship-orange), 0 4px 16px rgba(207, 32, 39, 0.3);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(207, 32, 39, 0.1), 0 6px 24px rgba(207, 32, 39, 0.45);
  }
}

@-webkit-keyframes scholarshipStatusPulse {

  0%,
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  50% {
    opacity: 0.45;
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
  }
}

@keyframes scholarshipStatusPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.45;
    transform: scale(1.5);
  }
}

/* Hero — entry animations (CSS only, no JS needed) */
.scholarship-eyebrow {
  -webkit-animation: scholarshipFadeUp 0.5s ease both 0.15s;
  animation: scholarshipFadeUp 0.5s ease both 0.15s;
}

.scholarship-hero__title {
  -webkit-animation: scholarshipScaleIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both 0.3s;
  animation: scholarshipScaleIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both 0.3s;
}

.scholarship-hero__subtitle {
  -webkit-animation: scholarshipFadeUp 0.5s ease both 0.5s;
  animation: scholarshipFadeUp 0.5s ease both 0.5s;
}

.scholarship-hero__card {
  -webkit-animation: scholarshipSlideUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both 0.4s;
  animation: scholarshipSlideUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both 0.4s;
}

/* Step number circles — breathing glow */
.scholarship-step__number {
  -webkit-animation: scholarshipPulse 3s ease-in-out infinite;
  animation: scholarshipPulse 3s ease-in-out infinite;
}

/* Scroll-reveal base states (classes added by JS IntersectionObserver) */
.js-reveal {
  opacity: 0;
  -webkit-transform: translateY(28px);
  transform: translateY(28px);
  -webkit-transition: opacity 0.6s ease, -webkit-transform 0.6s ease;
  transition: opacity 0.6s ease, transform 0.6s ease;
  -webkit-transition-delay: var(--reveal-delay, 0s);
  transition-delay: var(--reveal-delay, 0s);
}

.js-reveal-left {
  opacity: 0;
  -webkit-transform: translateX(-44px);
  transform: translateX(-44px);
  -webkit-transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    -webkit-transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-transition-delay: var(--reveal-delay, 0s);
  transition-delay: var(--reveal-delay, 0s);
}

.js-reveal-right {
  opacity: 0;
  -webkit-transform: translateX(44px);
  transform: translateX(44px);
  -webkit-transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    -webkit-transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-transition-delay: var(--reveal-delay, 0s);
  transition-delay: var(--reveal-delay, 0s);
}

.js-reveal.is-visible,
.js-reveal-left.is-visible,
.js-reveal-right.is-visible {
  opacity: 1;
  -webkit-transform: none;
  transform: none;
}

/* Hover effects — pointer / mouse devices only */
@media (hover: hover) {

  /* Hero highlight pills */
  .scholarship-hero__points li {
    -webkit-transition: -webkit-transform 0.25s ease, box-shadow 0.25s ease,
      background-color 0.25s ease, border-color 0.25s ease;
    transition: transform 0.25s ease, box-shadow 0.25s ease,
      background-color 0.25s ease, border-color 0.25s ease;
  }

  .scholarship-hero__points li:hover {
    -webkit-transform: translateY(-4px);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(10, 43, 80, 0.13);
    border-color: var(--scholarship-orange);
  }

  /* Step cards lift on hover */
  .scholarship-step__content {
    -webkit-transition: -webkit-transform 0.25s ease, box-shadow 0.25s ease;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .scholarship-step__content:hover {
    -webkit-transform: translateY(-4px);
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(10, 43, 80, 0.15);
  }

  /* Split-section image subtle zoom */
  .scholarship-img-wrap {
    overflow: hidden;
    border-radius: 12px;
  }

  .scholarship-img-wrap img {
    border-radius: 0;
    -webkit-transition: -webkit-transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .scholarship-img-wrap:hover img {
    -webkit-transform: scale(1.04);
    transform: scale(1.04);
  }

  /* Gallery image zoom */
  .scholarship-gallery__item {
    overflow: hidden;
    border-radius: 10px;
  }

  .scholarship-gallery__item img {
    border-radius: 0;
    -webkit-transition: -webkit-transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .scholarship-gallery__item:hover img {
    -webkit-transform: scale(1.08);
    transform: scale(1.08);
  }

  /* CTA button shimmer sweep */
  .scholarship-btn--accent {
    position: relative;
    overflow: hidden;
  }

  .scholarship-btn--accent::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.28) 50%,
        transparent 60%);
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: -webkit-transform 0.55s ease;
    transition: transform 0.55s ease;
  }

  .scholarship-btn--accent:hover::before {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
}

/* Prefers-reduced-motion — strip all animations */
@media (prefers-reduced-motion: reduce) {

  .scholarship-page *,
  .scholarship-page *::before,
  .scholarship-page *::after {
    -webkit-animation-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
    animation-iteration-count: 1 !important;
    -webkit-transition-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .js-reveal,
  .js-reveal-left,
  .js-reveal-right {
    opacity: 1 !important;
    -webkit-transform: none !important;
    transform: none !important;
  }
}
