﻿
:root {
    --purple: #4B1D69;
    --gold: #FFAE00;
    --bg: #f5f7fa;
    --card: #fff;
    --muted: #666;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: Montserrat,Arial,sans-serif;
    background: var(--bg);
    color: #222;
}

/* ===== MASTER LAYOUT ===== */
.main-layout {
    display: grid;
    grid-template-columns: 35% 70%;
    min-height: 100vh;
}



.left-panel {
    background: var(--bg);
    padding: 40px 25px;
    box-shadow: 6px 0 30px rgba(0,0,0,.08);
    position: sticky;
    align-self: start;
    display: flex;
    flex-direction: column;
}


    .left-panel h3 {
        font-size: 22px;
        font-weight: 800;
        color: var(--purple);
        margin-bottom: 16px;
    }

/* Carousel */
.carousel {
    flex: 1;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,.15);
    position: relative;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform .6s ease;
}

/*   .carousel img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        flex-shrink: 0;
    }*/


.carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* ✅ keeps hair visible */
    flex-shrink: 0;
}

.carousel img {
    background: transparent !important;
    border-radius: 16px !important;
}


/* arrows */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.6);
    color: #fff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
}

    .carousel-btn.left {
        left: 10px
    }

    .carousel-btn.right {
        right: 10px
    }

/* ===== RIGHT PANEL ===== */
.right-panel {
    padding: 50px 40px;
}

/* HERO */
.heroQ {
    text-align: center;
    margin-bottom: 60px
}

    .heroQ h1 {
        font-size: 34px;
        font-weight: 800
    }

        .heroQ h1 span {
            color: var(--gold)
        }

    .heroQ p {
        margin-top: 12px;
        font-size: 16px;
        line-height: 1.7;
        color: #444
    }

/* SECTION HEADERS */
.section-title {
    text-align: center;
    margin-bottom: 30px
}

    .section-title h4 {
        font-size: 14px;
        letter-spacing: 1px;
        color: var(--purple);
        text-transform: uppercase;
    }

    .section-title h2 {
        font-size: 30px;
        font-weight: 800;
    }

        .section-title h2 span {
            background: linear-gradient(90deg,var(--gold),#ffd36b);
            -webkit-background-clip: text;
            color: transparent;
        }

/* CHART */
.chart-wrap {
    display: flex;
    justify-content: center;
    margin: 30px 0 45px;
}

.chart {
    width: 620px;
    height: 520px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 30px 70px rgba(0,0,0,.18);
    padding: 20px;
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 26px;
}

/*  .card {
        background: var(--card);
        padding: 28px;
        border-radius: 18px;
        box-shadow: 0 22px 55px rgba(0,0,0,.15);
    }*/

/* ===== PREMIUM INFO CARDS ===== */
.card {
    background: linear-gradient( 180deg, #ffffff 0%, #faf7ff 100% );
    padding: 34px 32px;
    border-radius: 22px;
    border: 1px solid rgba(75,29,105,0.08);
    box-shadow: 0 12px 30px rgba(75,29,105,0.12), 0 2px 6px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
    transition: all .35s ease;
}

    .card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 6px;
        height: 100%;
        background: linear-gradient( 180deg, var(--gold), #ffd36b );
    }


    .card h3 {
        color: var(--purple)
    }

    .card p {
        font-size: 14px;
        line-height: 1.65;
        color: var(--muted)
    }

/*  .fact {
        font-size: 42px;
        font-weight: 800;
        color: var(--gold)
    }*/

.fact {
    font-size: 52px;
    font-weight: 900;
    letter-spacing: -1px;
    background: linear-gradient( 90deg, var(--gold), #ffcc4d );
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 6px;
}


    .fact small {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: var(--muted)
    }

ul.points {
    margin-top: 10px;
    padding-left: 18px
}

    ul.points li {
        margin-bottom: 10px;
        font-size: 14px;
        line-height: 1.6
    }

/* TRANSITION */
.transition {
    margin: 90px 0;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--purple);
}

    .transition span {
        color: var(--gold)
    }

/* RESPONSIVE */
@media(max-width:992px) {
    .main-layout {
        grid-template-columns: 100%
    }

    .left-panel {
        position: relative;
        height: auto;
    }

    .carousel {
        height: 260px
    }
}



.pg-breadcrumb {
    max-width: 1300px;
    margin: 22px auto 14px;
    padding: 12px 20px;
    background: #f6f2fb;
    border-radius: 10px;
    font-size: 14px;
    font-family: Montserrat, sans-serif;
    color: #333;
    box-shadow: 0 6px 16px rgba(0,0,0,.05);
}

.pg-breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pg-breadcrumb a {
    color: var(--purple);
    font-weight: 600;
    text-decoration: none;
}

    .pg-breadcrumb a:hover {
        text-decoration: underline;
    }

.pg-breadcrumb span {
    color: #999;
}

.pg-breadcrumb strong {
    color: #000;
    font-weight: 700;
}



/* Mobile */
@media (max-width:768px) {
    .page-offset {
        padding-top: 2px; /* match header height */
    }

    .pg-breadcrumb {
        font-size: 13px;
        padding: 10px 14px;
    }
}

/* =========================
   PLACEMENTS PAGE FIX ONLY
   ========================= */

/* Remove master page left padding only for placements */
.placements-page {
    margin-left: -15px;
    margin-right: -15px;
}

    /* Ensure left panel touches screen edge */
    .placements-page .left-panel {
        padding-left: 25px; /* keeps internal spacing */
    }

.carousel {
    flex: 1; /* fills left panel height */
    height: 100%;
    background: transparent; /*  removes white */
    border-radius: 18px;
    box-shadow: none; /*  removes card look */
    overflow: hidden;
    position: relative;
}

@media(max-width:992px) {
    .left-panel {
        position: relative;
        height: auto;
        top: auto;
    }
}

/* ===============================
   PREMIUM PLACEMENTS INFO CARDS
   =============================== */

/* Card base */
.card {
    background: linear-gradient( 180deg, #ffffff 0%, #faf7ff 100% );
    padding: 34px 32px;
    border-radius: 22px;
    border: 1px solid rgba(75,29,105,0.08);
    box-shadow: 0 12px 30px rgba(75,29,105,0.12), 0 2px 6px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
    transition: all .35s ease;
}

    /* Gold accent strip */
    .card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 6px;
        height: 100%;
        background: linear-gradient( 180deg, var(--gold), #ffd36b );
    }

    /* Hover elevation */
    .card:hover {
        transform: translateY(-8px);
        box-shadow: 0 28px 60px rgba(75,29,105,0.22), 0 6px 16px rgba(0,0,0,0.08);
    }

/* KPI Number (72%) */
.fact {
    font-size: 52px;
    font-weight: 900;
    letter-spacing: -1px;
    background: linear-gradient( 90deg, var(--gold), #ffcc4d );
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 6px;
}

/* KPI label */
.card small {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--purple);
    margin-bottom: 10px;
}

/* Paragraph text */
.card p {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

/* Right card heading */
.card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--purple);
}

/* Bullet points */
ul.points {
    margin-top: 10px;
    padding-left: 0;
}

    ul.points li {
        list-style: none;
        position: relative;
        padding-left: 20px;
        margin-bottom: 10px;
        font-size: 14px;
        line-height: 1.6;
    }

        ul.points li::before {
            content: "▸";
            position: absolute;
            left: 0;
            color: var(--gold);
            font-weight: 900;
        }

/* Optional highlight card (use class if needed) */
.highlight-card {
    background: linear-gradient( 135deg, #ffffff, #f3ecff );
}


@media(min-width:1024px) {

    /* ================================
   FINAL FIX – REMOVE GAP
   ================================ */

    /* Use REAL header height */
    :root {
        --header-height: 180px;
    }

    /* Keep layout natural (no forced offset) */
    .main-layout {
        min-height: 100vh;
    }

    /* Sticky left panel ONLY */
    .left-panel {
        position: sticky;
        top: var(--header-height);
        height: calc(100vh - var(--header-height));
    }

    .right-panel {
        padding-top: 100px;
    }
}

/* ================================
   HIDE CAROUSEL ARROWS ON MOBILE
   ================================ */

@media (max-width: 992px) {
    .carousel-btn {
        display: none !important;
    }
}





/* ================================
   UNIVERSAL SCROLL ANIMATIONS
   ================================ */
/* Base hidden state */
.reveal,
.heroQ,
.section-title,
.chart-wrap,
.cards,
.card,
.left-panel,
.right-panel {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s ease, transform .8s ease;
    will-change: opacity, transform;
}

/* Visible state */
.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slight stagger inside groups */
.cards .card:nth-child(1) {
    transition-delay: .05s;
}

.cards .card:nth-child(2) {
    transition-delay: .15s;
}

.cards .card:nth-child(3) {
    transition-delay: .25s;
}

.cards .card:nth-child(4) {
    transition-delay: .35s;
}

/* Hover polish (desktop only) */
@media (hover:hover) {
    .card:hover {
        transform: translateY(-10px) scale(1.01);
        box-shadow: 0 30px 70px rgba(75,29,105,.25), 0 10px 25px rgba(0,0,0,.08);
    }
}

/* =====================================================
   🔥 PLACEMENTS PAGE – MOBILE VISIBILITY FIX
   ===================================================== */

@media (max-width: 992px) {

    /* Disable scroll-reveal hiding on mobile */
    .reveal,
    .heroQ,
    .section-title,
    .chart-wrap,
    .cards,
    .card,
    .left-panel,
    .right-panel {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}





/* ===============================
   PROGRAMME → PLACEMENT MAP
   =============================== */
.programme-placement-map {
    margin-top: 90px;
}

/* Grid */
.pp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

/* Card */
.pp-card {
    background: linear-gradient( 180deg, #ffffff 0%, #faf7ff 100% );
    border-radius: 22px;
    padding: 34px 30px;
    border: 1px solid rgba(75,29,105,0.08);
    box-shadow: 0 14px 34px rgba(75,29,105,0.14), 0 4px 10px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    transition: all .35s ease;
}

    /* Gold vertical accent */
    .pp-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 6px;
        height: 100%;
        background: linear-gradient( 180deg, var(--gold), #ffd36b );
    }

    /* Hover */
    .pp-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 30px 70px rgba(75,29,105,.25), 0 10px 25px rgba(0,0,0,.08);
    }

    /* Title */
    .pp-card h3 {
        font-size: 20px;
        font-weight: 800;
        color: var(--purple);
        margin-bottom: 12px;
    }

    /* Text */
    .pp-card p {
        font-size: 14px;
        line-height: 1.7;
        color: #555;
        margin-bottom: 16px;
    }

    /* Link */
    .pp-card a {
        font-size: 14px;
        font-weight: 700;
        color: var(--purple);
        text-decoration: none;
    }

        .pp-card a:hover {
            text-decoration: underline;
        }

/* Mobile spacing */
@media (max-width: 768px) {
    .programme-placement-map {
        margin-top: 60px;
    }
}



/* ===============================
   RECRUITERS SECTION
   =============================== */
.recruiters-section {
    margin-top: 100px;
    text-align: center;
}

.recruiter-intro {
    max-width: 760px;
    margin: 0 auto 40px;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

/* Grid */
.recruiter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 26px;
    align-items: center;
}

/* Card */
.recruiter-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px;
    border: 1px solid rgba(75,29,105,0.08);
    box-shadow: 0 12px 28px rgba(75,29,105,0.12), 0 3px 8px rgba(0,0,0,0.05);
    transition: all .3s ease;
}

    .recruiter-card img {
        max-width: 100%;
        max-height: 48px;
        object-fit: contain;
        filter: grayscale(100%);
        opacity: .85;
        transition: all .3s ease;
    }

    /* Hover effect */
    .recruiter-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 24px 50px rgba(75,29,105,.25), 0 6px 18px rgba(0,0,0,0.08);
    }

        .recruiter-card:hover img {
            filter: grayscale(0%);
            opacity: 1;
        }

/* Mobile */
@media (max-width:768px) {
    .recruiters-section {
        margin-top: 70px;
    }
}




/* ===============================
   RECRUITER MARQUEE
   =============================== */
.recruiter-marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.recruiter-track {
    display: flex;
    gap: 26px;
    width: max-content;
    animation: recruiterScroll 35s linear infinite;
}

/* Pause on hover */
.recruiter-marquee:hover .recruiter-track {
    animation-play-state: paused;
}

/* Animation */
@keyframes recruiterScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Card stays same */
.recruiter-card {
    min-width: 180px;
    flex-shrink: 0;
}

/* Mobile speed adjustment */
@media (max-width:768px) {
    .recruiter-track {
        animation-duration: 45s;
    }
}

/* DEFAULT – FULL COLOR */
.recruiter-card img {
    max-width: 100%;
    max-height: 48px;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 1;
    transition: all .35s ease;
}

/* ON HOVER – BLACK & WHITE */
.recruiter-card:hover img {
    filter: grayscale(100%);
    opacity: .85;
}


/* ===============================
   FINAL CTA – PREMIUM CARD
   =============================== */

.placements-final-cta {
    margin: 46px auto 10px;
}

    /* Match your page width */
    .placements-final-cta .cta-shell {
        width: 100%;
        max-width: 980px; /* keeps it aligned with main content */
        margin: 0 auto;
        border-radius: 22px;
        padding: 28px;
        background: linear-gradient(135deg, rgba(75,29,105,.12), rgba(253,188,1,.10));
        border: 1px solid rgba(75,29,105,.10);
        box-shadow: 0 24px 70px rgba(0,0,0,.10);
        display: grid;
        grid-template-columns: 1.35fr .65fr;
        gap: 22px;
        overflow: hidden;
        position: relative;
    }

        /* Inner white glass layer */
        .placements-final-cta .cta-shell::before {
            content: "";
            position: absolute;
            inset: 12px;
            border-radius: 18px;
            background: rgba(255,255,255,.88);
            border: 1px solid rgba(255,255,255,.65);
            z-index: 0;
        }

    /* Left / Right content above glass */
    .placements-final-cta .cta-left,
    .placements-final-cta .cta-right {
        position: relative;
        z-index: 1;
    }

    .placements-final-cta .cta-pill {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: #4B1D69;
        color: #fff;
        padding: 8px 14px;
        border-radius: 999px;
        font-weight: 800;
        font-size: 12px;
        letter-spacing: .3px;
        margin-bottom: 12px;
    }

    .placements-final-cta .cta-title {
        margin: 0 0 8px;
        font-size: 30px;
        font-weight: 1000;
        color: #121212;
        letter-spacing: -0.6px;
        line-height: 1.2;
    }

        .placements-final-cta .cta-title span {
            background: linear-gradient(90deg,#4B1D69,#7a35a8);
            -webkit-background-clip: text;
            color: transparent;
        }

    .placements-final-cta .cta-text {
        margin: 0 0 16px;
        color: #444;
        line-height: 1.65;
        font-size: 15px;
        max-width: 640px;
    }

    .placements-final-cta .cta-actions {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        margin-bottom: 14px;
    }

    .placements-final-cta .cta-btn-main {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: #4B1D69;
        color: #fff;
        text-decoration: none;
        font-weight: 900;
        padding: 12px 18px;
        border-radius: 999px;
        box-shadow: 0 18px 40px rgba(75,29,105,.28);
    }

        .placements-final-cta .cta-btn-main:hover {
            transform: translateY(-1px);
        }

    .placements-final-cta .cta-btn-ghost {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(253,188,1,.18);
        border: 1px solid rgba(253,188,1,.38);
        color: #2d005d;
        text-decoration: none;
        font-weight: 900;
        padding: 12px 18px;
        border-radius: 999px;
    }

    .placements-final-cta .cta-links {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        align-items: center;
        color: #666;
        font-size: 13px;
        font-weight: 600;
    }

        .placements-final-cta .cta-links a {
            color: #4B1D69;
            text-decoration: none;
            font-weight: 800;
        }

            .placements-final-cta .cta-links a:hover {
                text-decoration: underline;
            }

    /* Right mini stats */
    .placements-final-cta .cta-right {
        display: grid;
        gap: 10px;
        align-content: start;
    }

    .placements-final-cta .cta-stat {
        background: #fff;
        border: 1px solid rgba(75,29,105,.10);
        border-radius: 16px;
        padding: 14px 14px;
        box-shadow: 0 10px 22px rgba(0,0,0,.06);
    }

        .placements-final-cta .cta-stat strong {
            display: block;
            font-size: 20px;
            font-weight: 1000;
            color: #4B1D69;
            margin-bottom: 4px;
        }

        .placements-final-cta .cta-stat span {
            display: block;
            font-size: 13px;
            color: #555;
            line-height: 1.45;
        }

/* Responsive */
@media (max-width: 900px) {
    .placements-final-cta .cta-shell {
        grid-template-columns: 1fr;
        padding: 22px;
    }
}

@media (max-width: 520px) {
    .placements-final-cta .cta-title {
        font-size: 24px;
    }

    .placements-final-cta .cta-btn-main,
    .placements-final-cta .cta-btn-ghost {
        width: 100%;
        justify-content: center;
    }
}
