/* Fee + scholarship teaser for the program page (ported from dbuglobal-new program.css) */
.pg-fee-sec { --pg-navy: #192f59; --pg-green: #3db166; --pg-ink: #1f2937; --pg-muted: #5b6577; --pg-line: #e4e8ef; --pg-alt: #f5f7fb; color: var(--pg-ink); }
.pg-fee-sec *, .pg-fee-sec *::before, .pg-fee-sec *::after { box-sizing: border-box; }
.pg-fee-sec h2 { color: var(--pg-navy); line-height: 1.25; margin: 0; }
.pg-fee-sec p { margin: 0 0 12px; line-height: 1.7; text-align: left; }
.pg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; font: 600 15px/1.2 var(--body-font, inherit); border-radius: 10px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; }
.pg-btn:hover { transform: translateY(-1px); }
.pg-btn-primary { background: var(--pg-green); color: #fff; box-shadow: 0 8px 20px rgba(61, 177, 102, .35); }
.pg-btn-primary:hover { background: #34a05c; color: #fff; }
.pg-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.pg-fee-sec .pg-btn:focus-visible { outline: 3px solid #f5b301; outline-offset: 2px; }
.pg-sec { padding: 56px 0; }
.pg-alt { background: var(--pg-alt); }
.pg-h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; margin-bottom: 14px; }
/* Fee + scholarship teaser */
.pg-fee-sec { padding: 40px 0; }
.pg-fee { position: relative; overflow: hidden; display: grid; gap: 26px; grid-template-columns: 1fr; align-items: center; padding: 28px; color: #fff; background: linear-gradient(105deg, rgba(25, 47, 89, .96) 0%, rgba(25, 47, 89, .88) 55%, rgba(31, 107, 74, .78) 100%), url('../img/slider_bg.webp') center / cover no-repeat; border-radius: 24px; box-shadow: 0 22px 50px rgba(25, 47, 89, .28); }
.pg-fee::before { content: ''; position: absolute; width: 320px; height: 320px; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(61, 177, 102, .45), transparent 70%); pointer-events: none; }
.pg-fee > * { position: relative; }
.pg-fee-eyebrow { display: inline-block; margin-bottom: 12px; padding: 5px 14px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; }
.pg-fee .pg-h2 { margin-bottom: 10px; color: #fff; }
.pg-fee-amt { font-size: 26px; font-weight: 700; color: #fff; }
.pg-fee p { color: #dbe4f3; }
.pg-fee-marquee { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; height: 340px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 82%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 82%, transparent 100%); }
.pg-fee-col { overflow: hidden; }
.pg-fee-col-down { margin-top: 22px; }
@media (min-width: 768px) {
   .pg-fee { grid-template-columns: 1.2fr 1fr; padding: 34px 40px; }
   .pg-fee-marquee { height: 440px; }
}
/* Fee card polish */
.pg-fee { gap: 32px; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 26px 56px rgba(25, 47, 89, .32), inset 0 1px 0 rgba(255, 255, 255, .14); }
.pg-fee::after { content: ""; position: absolute; left: -80px; bottom: -120px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(79, 140, 255, .28), transparent 70%); pointer-events: none; }
.pg-fee .pg-h2 { position: relative; padding-bottom: 14px; font-size: 30px; line-height: 1.2; }
.pg-fee .pg-h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #6fe39a, #3db166); }
.pg-fee-eyebrow { color: #9ff0bd; background: rgba(61, 177, 102, .18); border-color: rgba(159, 240, 189, .35); }
.pg-fee .pg-fee-lead { max-width: 46ch; margin: 0 0 22px; font-size: 17px; line-height: 1.75; color: #e6edf9; }
.pg-fee .pg-fee-lead strong { color: #fff; font-weight: 700; background: linear-gradient(180deg, transparent 62%, rgba(111, 227, 154, .35) 62%); }

/* "Up to X%" chip: no side border, number on a glowing badge */
.pg-fee-up { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 24px; padding: 12px 22px 12px 14px; font-size: 14px; line-height: 1.3; color: #fff; background: linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)); border: 1px solid rgba(255, 255, 255, .24); border-radius: 18px; box-shadow: 0 12px 28px rgba(0, 0, 0, .18); }
.pg-fee-up-pre { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #9ff0bd; }
.pg-fee-up strong { font-size: 46px; line-height: 1; font-weight: 800; letter-spacing: -.02em; background: linear-gradient(180deg, #fff 10%, #6fe39a 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #6fe39a; }
.pg-fee-up-txt { display: flex; flex-direction: column; font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.pg-fee-up-txt b { font-size: 16px; font-weight: 700; color: #fff; }

/* Fee button: site-style shine */
.pg-fee .pg-btn-primary { position: relative; overflow: hidden; isolation: isolate; padding: 14px 28px; border-radius: 50px; background: linear-gradient(135deg, #3db166, #2a9a55); box-shadow: 0 12px 26px rgba(61, 177, 102, .4); }
.pg-fee .pg-btn-primary::before { content: ""; position: absolute; top: 0; left: -130%; z-index: -1; width: 60%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .4), transparent); transform: skewX(-20deg); transition: left .7s ease; }
.pg-fee .pg-btn-primary:hover::before { left: 140%; }

/* Scrolling scholarship images: compositor-only motion, slower, no abrupt jumps */
.pg-fee-marquee { padding: 0 6px; contain: layout paint; }
.pg-fee-track { display: flex; flex-direction: column; gap: 14px; transform: translate3d(0, 0, 0); backface-visibility: hidden; will-change: transform; animation: pg-fee-up 64s linear infinite; }
.pg-fee-col-down .pg-fee-track { animation-name: pg-fee-down; animation-duration: 72s; }
.pg-fee-track img { display: block; width: 100%; height: auto; border-radius: 16px; border: 2px solid rgba(255, 255, 255, .85); box-shadow: 0 10px 22px rgba(0, 0, 0, .28); background: #fff; transform: translateZ(0); }
.pg-fee-marquee:hover .pg-fee-track { animation-play-state: paused; }
@keyframes pg-fee-up { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, calc(-50% - 7px), 0); } }
@keyframes pg-fee-down { from { transform: translate3d(0, calc(-50% - 7px), 0); } to { transform: translate3d(0, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .pg-fee-track { animation: none; } .pg-fee .pg-btn-primary::before { transition: none; } }
