/* =========================================================
   EduOrk Academy — home page styles
   ========================================================= */

/* ===== Home page polish (page-scoped) ===== */

body {
    text-rendering: optimizeLegibility
}

main span.uppercase,
main p.uppercase {
    text-transform: none;
    letter-spacing: .01em
}

.career-track-num {
    display: none
}

/* student feedback: show the full text, equal-height cards */

#reviews .marquee-wrapper {
    padding: .75rem 0 1.5rem
}

/* Review card — ONE design used on the homepage and on every course page.
   A speech bubble (quote icon + 5 stars + the review) whose tail points to
   the reviewer's name, so each card reads clearly as student feedback. */

#reviews .feedback-card {
    width: 22rem;
    height: auto;
    min-height: 0;
    margin: 0 .8rem;
    padding: 0;
    gap: 0;
    align-items: stretch;
    justify-content: flex-start;
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* Long reviews get a wider card so the whole text fits without making every card taller */

#reviews .feedback-card.feedback-card--wide {
    width: 31rem;
}

@media (max-width: 640px) {
    #reviews .feedback-card.feedback-card--wide {
        width: 23rem;
    }
}

#reviews .feedback-card:hover {
    box-shadow: none;
    border-color: transparent;
    transform: translateY(-4px);
}

#reviews .feedback-card-bubble {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding: 1.5rem 1.6rem 1.7rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    box-shadow: 0 10px 26px -16px rgba(15, 23, 42, .25);
    transition: border-color .25s ease, box-shadow .25s ease;
}

#reviews .feedback-card:hover .feedback-card-bubble {
    border-color: #fca5a5;
    box-shadow: 0 18px 32px -16px rgba(220, 38, 38, .3);
}

/* colour accent along the top edge */

#reviews .feedback-card-bubble::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 1.6rem;
    width: 3.25rem;
    height: .22rem;
    border-radius: 0 0 .4rem .4rem;
    background: linear-gradient(90deg, #dc2626, #f59e0b);
}

/* speech-bubble tail pointing down to the name */

#reviews .feedback-card-bubble::after {
    content: "";
    position: absolute;
    left: 2.1rem;
    bottom: -.6rem;
    width: 1.1rem;
    height: 1.1rem;
    background: #fff;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 0 0 .3rem 0;
    transform: rotate(45deg);
    transition: border-color .25s ease;
}

#reviews .feedback-card:hover .feedback-card-bubble::after {
    border-color: #fca5a5;
}

#reviews .feedback-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

#reviews .feedback-card-mark {
    flex-shrink: 0;
    width: 2.6rem;
    height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
    color: #dc2626;
    background: #fee2e2;
}

#reviews .feedback-card-stars {
    display: flex;
    gap: .18rem;
    margin: 0;
    font-size: .95rem;
    letter-spacing: 0;
    color: #f59e0b;
}

#reviews .feedback-card-quote {
    display: block;
    flex: 1;
    margin: 0;
    overflow: visible;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    font-size: .93rem;
    line-height: 1.72;
    color: #475569;
}

#reviews .feedback-card-name {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 1.35rem 0 0;
    padding: 0 0 0 1.4rem;
    border: 0;
    font-size: 1.02rem;
    font-weight: 800;
    color: #fff7ed;
}

#reviews .feedback-card-name::before {
    content: "";
    flex-shrink: 0;
    width: .95rem;
    height: .2rem;
    border-radius: 999px;
    background: #dc2626;
}

@media (max-width: 640px) {
    #reviews .feedback-card {
        width: 19rem;
    }
}

@media(max-width:640px) {

    .feedback-card,
    #reviews .feedback-card {
        width: 19rem
    }

    .process-step {
        padding: 1.5rem 1.25rem
    }
}

@media(prefers-reduced-motion:reduce) {
    .animate-pulse {
        animation: none !important
    }
}

/* hero: exact brand background colour #670001 + light text so it stays readable */

.hero-section {
    background-color: #670001 !important;
    background-image: none !important
}

.hero-section h1 {
    color: #ffffff
}

.hero-section h1 .gradient-text-anim {
    background-image: linear-gradient(90deg, #fecaca, #fbbf24, #fecaca);
    background-size: 200% auto
}

.hero-section p.text-slate-600 {
    color: rgba(255, 255, 255, 0.86)
}

/* hero: tighter vertical rhythm so everything sits above the fold */

.hero-section {
    padding-top: 1.75rem;
    padding-bottom: 2.5rem
}

@media(min-width:640px) {
    .hero-section {
        padding-top: 2.25rem;
        padding-bottom: 3rem
    }
}

@media(min-width:1024px) {
    .hero-section {
        padding-top: 2.5rem;
        padding-bottom: 3.5rem
    }
}

@media(min-width:1025px) {
    .hero-section h1 {
        font-size: 2.6rem
    }
}

@media(min-width:1280px) {
    .hero-section h1 {
        font-size: 3.1rem
    }
}

@media(min-width:1536px) {
    .hero-section h1 {
        font-size: 3.5rem
    }
}

/* career tracks: even grid */

#category-overview-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem
}

/* Each card spans 2 columns of a 4-col (tablet) / 6-col (desktop) grid, so with 5 cards the
   last row is centred instead of sticking to the left. */
@media(min-width:640px) {
    #category-overview-container {
        grid-template-columns: repeat(4, 1fr)
    }

    #category-overview-container>.career-track-card {
        grid-column: span 2
    }

    #category-overview-container>.career-track-card:nth-child(5):last-child {
        grid-column: 2 / span 2
    }
}

@media(min-width:1024px) {
    #category-overview-container {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.75rem
    }

    #category-overview-container>.career-track-card:nth-child(4):nth-last-child(2) {
        grid-column: 2 / span 2
    }

    #category-overview-container>.career-track-card:nth-child(5):last-child {
        grid-column: 4 / span 2
    }
}

#category-overview-container .career-track-card {
    width: auto;
    min-height: 15rem;
    padding: 1.75rem
}

/* Career track cards with a photo on top (home page) */
#category-overview-container .career-track-card.career-track-photo {
    padding: 0;
    min-height: 0;
}

#category-overview-container .career-track-media {
    margin: .75rem .75rem 0;
    border-radius: 1.35rem;
    background: #ffffff;
    aspect-ratio: 4 / 3;
    padding: .65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 10px 22px -14px rgba(15, 23, 42, .45);
}

#category-overview-container .career-track-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}

#category-overview-container .career-track-card:hover .career-track-media img {
    transform: scale(1.07);
}

#category-overview-container .career-track-media .career-track-num {
    position: absolute;
    top: .35rem;
    right: .8rem;
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1;
    opacity: .16;
}

#category-overview-container .career-track-body {
    padding: 1.15rem 1.6rem 1.5rem;
    flex: 1 1 auto;
}

/* "Choose your module" popup */
.track-picker-panel {
    animation: trackPickerIn .28s cubic-bezier(.16, 1, .3, 1);
}

@keyframes trackPickerIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.97);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .track-picker-panel {
        animation: none;
    }

    #category-overview-container .career-track-media img {
        transition: none;
    }
}

#category-overview-container .career-track-card h3 {
    font-size: 1.25rem
}

#category-overview-container .career-track-tagline {
    font-size: .85rem
}

/* student feedback: right-to-left, a little faster */

#student-feedback-track {
    animation-duration: 110s !important
}

/* =========================================================
   EduOrk — Home page theme  (brand colour #670001)
   Only restyles the home page. Delete the <link> to this file
   in index.html to go back to the old look.
   ========================================================= */

:root {
    --maroon: #670001;
    --maroon-deep: #430001;
    --maroon-soft: #8a1a1c;
    --gold: #fbbf24;
    --cream: #fff8f1;
    --cream-2: #fceee0;
}

/* ---------- Hero: depth with warm glows ---------- */

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(620px circle at 88% 18%, rgba(251, 191, 36, .20), transparent 62%),
        radial-gradient(560px circle at 4% 92%, rgba(220, 38, 38, .35), transparent 62%);
}

/* ---------- Stats bar: cream band with gold edge ---------- */

#home+section {
    background: var(--cream) !important;
    border-top: 4px solid var(--gold) !important;
    border-bottom: 1px solid #f3dcc6 !important;
}

#home+section .text-brand-primary,
#home+section .text-slate-900 {
    color: var(--maroon) !important;
}

/* ---------- Light sections: alternating warm cream with soft dot texture ---------- */

#partners-section,
#faqs {
    background-color: #ffffff !important;
}

#process,
#university-section,
#reviews,
#faqs,
#why-us+#process {
    background-image: radial-gradient(rgba(103, 0, 1, .07) 1px, transparent 1px) !important;
    background-size: 22px 22px !important;
}

#process,
#university-section,
#reviews {
    background-color: var(--cream) !important;
}

#partners-section,
#university-section {
    border-bottom: 1px solid #f3dcc6 !important;
}

/* ---------- Dark sections become brand maroon ---------- */

#why-us {
    background: linear-gradient(160deg, var(--maroon) 0%, var(--maroon-deep) 100%) !important;
    border-color: var(--maroon-deep) !important;
}

#contact {
    background: linear-gradient(160deg, var(--maroon-deep) 0%, #2a0001 100%) !important;
}

#why-us .ambient-glow,
#contact .ambient-glow {
    background: rgba(251, 191, 36, .10) !important;
}

#why-us h2,
#contact h2 {
    color: #ffffff;
}

#why-us p,
#contact p {
    color: rgba(255, 255, 255, .82);
}

/* ---------- Headings: richer ink + brand gradient ---------- */

main section:not(#home):not(#why-us):not(#contact) h2 {
    color: #2a0001;
}

.text-gradient-brand {
    background-image: linear-gradient(90deg, #670001, #dc2626 55%, #d97706) !important;
}

#why-us .text-gradient-brand,
#contact .text-gradient-brand {
    background-image: linear-gradient(90deg, #fecaca, #fbbf24 60%, #fde68a) !important;
}

/* small gold bar under centred section headings */

main section:not(#home) .text-center>h2::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    margin: .85rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--maroon), var(--gold));
}

/* ---------- Cards: clearer edges, warm lift on hover ---------- */

.course-card,
.career-track-card,
.mentor-card,
.testimonial-card {
    border-color: #f0d9c4 !important;
    box-shadow: 0 10px 28px -14px rgba(103, 0, 1, .28);
}

.course-card:hover,
.career-track-card:hover,
.mentor-card:hover,
.testimonial-card:hover {
    border-color: var(--maroon-soft) !important;
    box-shadow: 0 22px 44px -18px rgba(103, 0, 1, .42);
}

/* ---------- Header / nav accent ---------- */

header {
    border-bottom: 3px solid var(--maroon);
}

.nav-link:hover {
    color: var(--maroon) !important;
}

/* ---------- Marquee strips: crisp white logo cards on cream ---------- */

.partner-logo-img-card {
    background: #ffffff;
    border: 1px solid #f0d9c4;
    box-shadow: 0 8px 20px -12px rgba(103, 0, 1, .3);
}

/* Alternating home-page section backgrounds: white / #670001 */

/* IDs used so these win over the older home-page theme block above */

#home,
#why-us,
#partners-section,
#reviews,
#contact {
    background: #670001 !important;
    border-color: #670001 !important;
}

#home+section,
#process,
#why-us+#process,
#university-section,
#faqs {
    background: #ffffff !important;
}

#why-us .ambient-glow,
#contact .ambient-glow {
    background: rgba(251, 191, 36, .10) !important;
}

#why-us h2,
#contact h2 {
    color: #ffffff !important;
}

#why-us p,
#contact p {
    color: rgba(255, 255, 255, .88) !important;
}

.sec-maroon {
    background-color: #670001 !important;
    border-color: #670001 !important;
}

.sec-maroon span.bg-brand-primary\/10 {
    color: #fcd34d !important;
    border-color: rgba(252, 211, 77, .35) !important;
}

.sec-maroon .text-gradient-brand {
    background: none !important;
    -webkit-text-fill-color: #fcd34d !important;
    color: #fcd34d !important;
}

.on-maroon,
h1.on-maroon,
.on-maroon h2,
.on-maroon .text-slate-900,
.on-maroon .text-slate-700 {
    color: #fff !important;
}

.on-maroon .text-slate-600 {
    color: rgba(255, 255, 255, .88) !important;
}

.on-maroon .text-slate-500,
.on-maroon .text-slate-400 {
    color: rgba(255, 255, 255, .75) !important;
}

.on-maroon .text-slate-300 {
    color: rgba(255, 255, 255, .4) !important;
}

.on-maroon i.text-brand-primary,
.on-maroon a.text-brand-primary {
    color: #fcd34d !important;
}

h1.on-maroon .gradient-text-anim {
    background: linear-gradient(90deg, #fcd34d, #ffffff, #fcd34d);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
}

.on-maroon.border-t {
    border-color: rgba(255, 255, 255, .28) !important;
}

/* ===== Animated hero (#home) ===== */

:root {
    --hx-header: 6.25rem;
}

/* navbar height — hero fills the rest of the first screen */

.hx-hero {
    color: #fff;
    isolation: isolate;
    padding: 2.5rem 0 3rem;
    display: flex;
    align-items: center;
}

@media (min-width: 1024px) {
    .hx-hero {
        padding: 1.5rem 0;
        min-height: calc(100vh - var(--hx-header));
        min-height: calc(100svh - var(--hx-header));
    }
}

.hx-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background-image: radial-gradient(rgba(255, 255, 255, .07) 1.2px, transparent 1.2px);
    background-size: 26px 26px;
}

.hx-blob {
    position: absolute;
    border-radius: 50%;
    -webkit-mask-image: radial-gradient(closest-side, #000 15%, transparent 100%);
    mask-image: radial-gradient(closest-side, #000 15%, transparent 100%);
    animation: hxDrift 12s ease-in-out infinite;
}

.hx-b1 {
    width: 460px;
    height: 460px;
    top: -120px;
    right: -80px;
    background: rgba(251, 191, 36, .28);
}

.hx-b2 {
    width: 420px;
    height: 420px;
    bottom: -160px;
    left: -100px;
    background: rgba(220, 38, 38, .55);
    animation-delay: -4s;
}

.hx-b3 {
    width: 300px;
    height: 300px;
    top: 35%;
    left: 42%;
    background: rgba(139, 26, 28, .9);
    animation-delay: -8s;
}

.hx-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, .18);
    animation: hxSpin 40s linear infinite;
}

.hx-r1 {
    width: 520px;
    height: 520px;
    right: -140px;
    top: 8%;
}

.hx-r2 {
    width: 300px;
    height: 300px;
    left: -90px;
    bottom: 6%;
    animation-direction: reverse;
    animation-duration: 55s;
}

.hx-spark {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fbbf24;
    box-shadow: 0 0 16px 4px rgba(251, 191, 36, .55);
    animation: hxTwinkle 3s ease-in-out infinite;
}

.hx-s1 {
    top: 14%;
    left: 46%;
}

.hx-s2 {
    top: 70%;
    left: 52%;
    animation-delay: -1.2s;
    width: 7px;
    height: 7px;
}

.hx-s3 {
    top: 30%;
    right: 8%;
    animation-delay: -2s;
}

.hx-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 640px) {
    .hx-wrap {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hx-wrap {
        padding: 0 2rem;
        grid-template-columns: 1.08fr .92fr;
        gap: 2rem;
    }
}

.hx-eyebrow {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin: 0 0 1.1rem;
    max-width: 40rem;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    line-height: 1.8;
    animation: hxUp .7s cubic-bezier(.16, 1, .3, 1) both;
}

@media (min-width: 640px) {
    .hx-eyebrow {
        font-size: .86rem;
    }
}

.hx-sun {
    color: #fbbf24;
    font-size: 1rem;
    margin-top: .3rem;
    animation: hxSpin 8s linear infinite;
}

.hx-title {
    margin: 0 0 1.4rem;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.12;
    color: #fff;
    font-size: clamp(2.3rem, min(5.6vw, 8.2vh), 4.2rem);
}

.hx-line {
    display: block;
    overflow: hidden;
    padding-bottom: .08em;
}

.hx-line>span {
    display: block;
    transform: translateY(110%);
    animation: hxLine .9s cubic-bezier(.16, 1, .3, 1) forwards;
}

.hx-line:nth-child(1)>span {
    animation-delay: .15s;
}

.hx-line:nth-child(2)>span {
    animation-delay: .32s;
}

.hx-line:nth-child(3)>span {
    animation-delay: .49s;
}

.hx-accent {
    font-style: normal;
    background: linear-gradient(90deg, #fde68a, #fbbf24, #fff, #fbbf24, #fde68a);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: hxShine 4s linear infinite;
}

.hx-lead {
    position: relative;
    margin: 0;
    max-width: 38rem;
    padding-left: 1.3rem;
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 500;
    color: rgba(255, 255, 255, .93);
    animation: hxUp .9s cubic-bezier(.16, 1, .3, 1) .8s both;
}

@media (min-width: 640px) {
    .hx-lead {
        font-size: 1.08rem;
    }
}

.hx-lead::before {
    content: "";
    position: absolute;
    left: 0;
    top: .35rem;
    bottom: .35rem;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(#fff, #fbbf24);
    transform-origin: top;
    animation: hxBar 1s ease .9s both;
}

/* ---- 4-image collage ---- */

.hx-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hx-collage {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: min(100%, 32rem);
    height: 26rem;
    margin: 0 .6rem;
}

@media (min-width: 640px) {
    .hx-collage {
        height: 30rem;
    }
}

@media (min-width: 1024px) {
    .hx-collage {
        height: clamp(22rem, calc(100vh - var(--hx-header) - 5rem), 34rem);
        height: clamp(22rem, calc(100svh - var(--hx-header) - 5rem), 34rem);
    }
}

.hx-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
}

.hx-col-b {
    padding-top: 2.2rem;
}

.hx-col-a {
    padding-bottom: 2.2rem;
}

/* dotted pattern patch behind the pictures */

.hx-dots {
    position: absolute;
    z-index: -1;
    right: -1.4rem;
    bottom: -1.2rem;
    width: 9rem;
    height: 9rem;
    background-image: radial-gradient(#fbbf24 2.2px, transparent 2.2px);
    background-size: 16px 16px;
    opacity: .55;
    animation: hxBob 6s ease-in-out infinite;
}

/* picture frame: animated gold gradient border + offset outline + glow */

.hx-pic {
    position: relative;
    margin: 0;
    padding: 4px;
    min-height: 0;
    background: linear-gradient(135deg, #fde68a, #f59e0b, #fff, #fbbf24, #fde68a);
    background-size: 300% 300%;
    box-shadow: 0 26px 46px -18px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .12), 0 0 34px -6px rgba(251, 191, 36, .35);
    animation: hxPop .9s cubic-bezier(.16, 1, .3, 1) both, hxFloat 6s ease-in-out infinite, hxGrad 7s ease-in-out infinite;
}

.hx-pic::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    border: 2px solid rgba(255, 255, 255, .4);
    transform: translate(10px, 10px);
    transition: transform .4s ease;
}

.hx-pic:hover::before {
    transform: translate(14px, 14px);
}

.hx-in {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
    background: #f1f5f9;
}

.hx-in img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.16, 1, .3, 1);
}

.hx-pic:hover .hx-in img {
    transform: scale(1.1);
}

.hx-in::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(160deg, rgba(255, 255, 255, .22), transparent 38%, rgba(103, 0, 1, .28) 100%);
}

.hx-in::before {
    content: "";
    position: absolute;
    top: 0;
    left: -70%;
    width: 40%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
    transform: skewX(-18deg);
    animation: hxSweep 6s ease-in-out infinite;
}

.hx-pic-1 {
    flex: 1.35;
    border-radius: 999px 999px 1.4rem 1.4rem;
    animation-delay: .35s, 0s, 0s;
}

.hx-pic-2 {
    flex: 1;
    border-radius: 1.4rem;
    animation-delay: .55s, -2s, -2s;
}

.hx-pic-3 {
    flex: 1;
    border-radius: 1.4rem;
    animation-delay: .75s, -4s, -4s;
}

.hx-pic-4 {
    flex: 1.35;
    border-radius: 1.4rem 1.4rem 999px 999px;
    animation-delay: .95s, -1s, -1s;
}

.hx-pic-2 .hx-in::before {
    animation-delay: 1.5s;
}

.hx-pic-3 .hx-in::before {
    animation-delay: 3s;
}

.hx-pic-4 .hx-in::before {
    animation-delay: 4.5s;
}

.hx-pic-1 img {
    object-position: 22% 40%;
}

.hx-pic-2 img {
    object-position: 85% 50%;
}

.hx-pic-3 img {
    object-position: 50% 15%;
}

.hx-pic-4 img {
    object-position: 60% 70%;
}

.hx-pic-1 img,
.hx-pic-2 img,
.hx-pic-3 img,
.hx-pic-4 img {
    object-position: center;
}

/* floating icon chips + centre badge */

.hx-chip {
    position: absolute;
    z-index: 6;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #670001;
    font-size: 1.15rem;
    box-shadow: 0 14px 28px -10px rgba(0, 0, 0, .55);
    animation: hxChip 5s ease-in-out infinite;
}

.hx-chip i {
    animation: hxTilt 5s ease-in-out infinite;
}

.hx-c1 {
    top: -1rem;
    left: -1.3rem;
}

.hx-c2 {
    top: 28%;
    right: -1.5rem;
    color: #f59e0b;
    animation-delay: -1.5s;
    border-radius: 50%;
}

.hx-c3 {
    bottom: 4%;
    left: -1.5rem;
    color: #d97706;
    animation-delay: -3s;
    border-radius: 50%;
}

.hx-c4 {
    bottom: -1rem;
    right: 18%;
    animation-delay: -2.2s;
    background: #670001;
    color: #fde68a;
    border: 2px solid #fbbf24;
}

.hx-core {
    position: absolute;
    z-index: 6;
    left: calc(50% - 1.6rem);
    top: calc(50% - 1.6rem);
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #670001;
    background: linear-gradient(135deg, #fde68a, #fbbf24);
    border: 3px solid #fff;
    animation: hxPulse 2.4s ease-out infinite;
}

@media (max-width: 480px) {
    .hx-chip {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }

    .hx-c1 {
        left: -.6rem;
    }

    .hx-c2 {
        right: -.7rem;
    }

    .hx-c3 {
        left: -.7rem;
    }
}

@keyframes hxUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes hxLine {
    to {
        transform: translateY(0);
    }
}

@keyframes hxBar {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

@keyframes hxShine {
    to {
        background-position: 220% center;
    }
}

@keyframes hxPop {
    from {
        opacity: 0;
        transform: translateY(40px) scale(.9);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes hxFloat {

    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -10px;
    }
}

@keyframes hxBob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes hxGrad {

    0%,
    100% {
        background-position: 50% 50%;
    }
}

@keyframes hxSweep {

    0%,
    55% {
        transform: translateX(0) skewX(-18deg);
    }

    100% {
        transform: translateX(600%) skewX(-18deg);
    }
}

@keyframes hxChip {

    0%,
    100% {
        transform: translateY(0) rotate(-4deg);
    }

    50% {
        transform: translateY(-12px) rotate(4deg);
    }
}

@keyframes hxTilt {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.18);
    }
}

@keyframes hxPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, .7);
    }

    80%,
    100% {
        box-shadow: 0 0 0 18px rgba(251, 191, 36, 0);
    }
}

@keyframes hxDrift {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(24px, -28px) scale(1.1);
    }
}

@keyframes hxSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes hxTwinkle {

    0%,
    100% {
        opacity: .25;
        transform: scale(.7);
    }

    50% {
        opacity: 1;
        transform: scale(1.25);
    }
}

/* left: single image slot */

/* right: content */

/* about copy */

/* ===== About: fit one screen + smaller founder image ===== */

/* short laptop screens: tighten a little more so everything still fits */

/* ===== About v3: bigger founder photo + roomier, readable text (Mission/Vision removed) ===== */

/* =========================================================
   Placement Network heading — "Amazing Places Where Our Learners Work"
   ========================================================= */

#partners-section {
    position: relative;
    overflow: hidden;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

#partners-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(620px circle at 50% -10%, rgba(251, 191, 36, .22), transparent 65%),
        radial-gradient(520px circle at 8% 110%, rgba(220, 38, 38, .30), transparent 65%),
        radial-gradient(520px circle at 92% 110%, rgba(220, 38, 38, .22), transparent 65%);
}

#partners-section>* {
    position: relative;
}

.pn-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2.75rem;
}

.pn-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .45rem 1.1rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #fcd34d;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(252, 211, 77, .4);
    box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .5);
}

.pn-eyebrow i {
    color: #fcd34d;
}

#partners-section .pn-title {
    margin-top: 1.1rem;
    max-width: 52rem;
    font-size: clamp(1.9rem, 4.6vw, 3.1rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: #ffffff !important;
    text-wrap: balance;
}

.pn-title-accent {
    display: inline-block;
    background: linear-gradient(90deg, #fde68a, #fbbf24 45%, #fecaca 80%, #fde68a);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: gradientTextShift 5s linear infinite;
}

.pn-divider {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-top: 1.4rem;
    color: #fcd34d;
    font-size: 1rem;
}

.pn-divider span {
    display: block;
    width: clamp(3rem, 12vw, 6rem);
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #fbbf24);
}

.pn-divider span:last-child {
    background: linear-gradient(270deg, transparent, #fbbf24);
}

/* soft fade at both ends of the logo strips */

#partners-section .marquee-wrapper {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

@media (max-width: 640px) {
    #partners-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .pn-head {
        margin-bottom: 2rem;
    }

    .pn-eyebrow {
        font-size: .66rem;
        letter-spacing: .14em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pn-title-accent {
        animation: none;
    }
}

/* ---- Performance: decorative motion is switched off for visitors who ask for reduced motion ---- */

@media (prefers-reduced-motion: reduce) {

    .hx-hero *,
    .hx-hero *::before,
    .hx-hero *::after {
        animation: none !important;
    }
}

/* ---------- Career tracks: warm peach/cream band with soft glows + dotted texture ---------- */
main .sec-tracks {
    position: relative;
    overflow: hidden;
    border-block: 1px solid #f3dcc6;
    background:
        radial-gradient(700px circle at 6% 0%, rgba(251, 191, 36, .26), transparent 60%),
        radial-gradient(640px circle at 96% 100%, rgba(103, 0, 1, .13), transparent 62%),
        linear-gradient(180deg, #fff7ed 0%, #ffe9d2 100%) !important;
}

main .sec-tracks::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(103, 0, 1, .09) 1px, transparent 1px);
    background-size: 22px 22px;
}

main .sec-tracks>.max-w-7xl {
    position: relative;
    z-index: 1;
}

main .sec-tracks h2 {
    color: #2a0001;
}

main .sec-tracks .career-track-card {
    box-shadow: 0 22px 40px -22px rgba(103, 0, 1, .55);
}