﻿/* =============================================
   NEOPROED — DESIGN ENHANCEMENTS
   Drop this AFTER your existing styles.css
   <link rel="stylesheet" href="css/enhancements.css">
   ============================================= */

/* ── ENHANCED CSS VARIABLES ── */
:root {
    --glow-primary: rgba(24, 96, 170, 0.45);
    --glow-accent: rgba(77, 168, 255, 0.35);
    --shimmer-duration: 1.1s;
    --lift-duration: 0.25s;
    --pulse-duration: 2.5s;
}

/* =============================================
   1. BUTTONS — Primary (dark sections)
   Affects: .dual-cta-p, .hb-p, .cta-panel-btn-p,
            .prog-cta-p, .pc-enrol-btn, .ipp-enrol-btn
   ============================================= */
.dual-cta-p,
.hb-p,
.cta-panel-btn-p,
.prog-cta-p,
.pc-enrol-btn,
.ipp-enrol-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1860AA 0%, #1A6DC0 50%, #2179D4 100%);
    border: none;
    box-shadow: 0 4px 18px var(--glow-primary);
    letter-spacing: 0.01em;
    transition:
        transform var(--lift-duration) ease,
        box-shadow var(--lift-duration) ease,
        background var(--lift-duration) ease;
}

/* Shimmer sweep overlay */
.dual-cta-p::before,
.hb-p::before,
.cta-panel-btn-p::before,
.prog-cta-p::before,
.pc-enrol-btn::before,
.ipp-enrol-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.18) 50%,
            transparent 100%);
    transition: left var(--shimmer-duration) ease;
    pointer-events: none;
}

.dual-cta-p:hover::before,
.hb-p:hover::before,
.cta-panel-btn-p:hover::before,
.prog-cta-p:hover::before,
.pc-enrol-btn:hover::before,
.ipp-enrol-btn:hover::before {
    left: 100%;
}

.dual-cta-p:hover,
.hb-p:hover,
.cta-panel-btn-p:hover,
.prog-cta-p:hover,
.pc-enrol-btn:hover,
.ipp-enrol-btn:hover {
    background: linear-gradient(135deg, #1A6DC0 0%, #2179D4 50%, #2A87E8 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px var(--glow-primary), 0 2px 8px rgba(0, 0, 0, 0.2);
}

.dual-cta-p:active,
.hb-p:active,
.cta-panel-btn-p:active,
.prog-cta-p:active,
.pc-enrol-btn:active,
.ipp-enrol-btn:active {
    transform: translateY(0px);
    box-shadow: 0 3px 10px var(--glow-primary);
}

/* =============================================
   2. BUTTONS — Secondary / Ghost (dark sections)
   Affects: .dual-cta-s, .hb-s, .cta-panel-btn-s
   ============================================= */
.dual-cta-s,
.hb-s {
    position: relative;
    overflow: hidden;
    border: 1.5px solid rgba(168, 192, 212, 0.45);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition:
        border-color var(--lift-duration) ease,
        background var(--lift-duration) ease,
        transform var(--lift-duration) ease,
        box-shadow var(--lift-duration) ease;
}

.dual-cta-s:hover,
.hb-s:hover {
    border-color: rgba(77, 168, 255, 0.7);
    background: rgba(77, 168, 255, 0.08);
    color: #F5F9FF;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(77, 168, 255, 0.15);
}

.dual-cta-s:active,
.hb-s:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Nav ghost button */
.btn-ghost {
    position: relative;
    overflow: hidden;
    transition:
        background var(--lift-duration) ease,
        color var(--lift-duration) ease,
        box-shadow var(--lift-duration) ease,
        transform var(--lift-duration) ease;
}

.btn-ghost:hover {
    background: var(--clr-accent);
    color: var(--clr-dark-900);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px var(--glow-accent);
}

/* Nav primary button */
.btn-primary {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1860AA, #1A6DC0);
    box-shadow: 0 3px 12px var(--glow-primary);
    transition:
        background var(--lift-duration) ease,
        transform var(--lift-duration) ease,
        box-shadow var(--lift-duration) ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1A6DC0, #2179D4);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--glow-primary);
}

/* =============================================
   3. BUTTONS — Light section variants
   Affects: .ipp-brochure-btn, .prog-cta-s,
            .pc-brochure-btn, .cta-b2b buttons
   ============================================= */
.ipp-brochure-btn,
.prog-cta-s,
.pc-brochure-btn {
    position: relative;
    overflow: hidden;
    border: 2px solid var(--clr-primary);
    transition:
        background var(--lift-duration) ease,
        color var(--lift-duration) ease,
        transform var(--lift-duration) ease,
        box-shadow var(--lift-duration) ease;
}

.pc-brochure-btn { border: 1px solid #1860AA; }


.prog-cta-s{
    border: solid 1px rgb(24, 96, 170);
  }

.ipp-brochure-btn:hover,
.prog-cta-s:hover,
.pc-brochure-btn:hover {
    background: var(--clr-primary);
    color: rgb(24, 96, 170);;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--glow-primary);
    border: solid 1px rgb(24, 96, 170);
}

/* Student Login button specific */
.mob-cta {
    position: relative;
    overflow: hidden;
    transition:
        background var(--lift-duration) ease,
        transform var(--lift-duration) ease,
        box-shadow var(--lift-duration) ease;
}

.mob-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px var(--glow-primary);
}

/* =============================================
   4. HERO CARD — Glassmorphism upgrade
   ============================================= */
.hero-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(200, 220, 240, 0.6);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* =============================================
   5. HERO BADGE — Animated pulse dot
   ============================================= */
.hero-ey::before,
.hero-seg::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--clr-accent);
    animation: badge-pulse var(--pulse-duration) ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes badge-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 var(--glow-accent);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.4);
        box-shadow: 0 0 0 4px transparent;
    }
}

/* =============================================
   6. HUB CARDS — Glassmorphism dark card + lift
   ============================================= */
.hc-org {
    background: #D7EBFF;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(77, 168, 255, 0.2);
}

.hc-org:hover {
    border-color: rgba(77, 168, 255, 0.55) !important;
    box-shadow: 0 12px 32px rgba(77, 168, 255, 0.12);
}

.hub-card {
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.hub-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* Card CTA arrow nudge */
/*.hub-cta::after {
    content: ' →';
    display: inline-block;
    transition: transform 0.2s ease;
}

.hub-card:hover .hub-cta::after {
    transform: translateX(4px);
}*/

/* =============================================
   7. HOW IT WORKS — Icon ring glow on hover
   ============================================= */
.hs-icon-wrap {
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.how-step:hover .hs-icon-wrap {
    border-color: var(--clr-primary) !important;
    box-shadow: 0 0 0 4px rgba(24, 96, 170, 0.18), 0 4px 16px rgba(24, 96, 170, 0.2);
    transform: scale(1.06);
}

/* =============================================
   8. FACULTY CARDS — Border glow
   ============================================= */
.fc,
.fac-full-card {
    transition:
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.fc:hover {
    border-color: var(--clr-primary) !important;
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(24, 96, 170, 0.2);
}

.fac-full-card:hover {
    border-color: var(--clr-primary) !important;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(24, 96, 170, 0.15);
}

/* =============================================
   9. PROGRAMME CARDS — Hover elevation
   ============================================= */
.prog-card {
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.prog-card:hover {
    border-color: var(--clr-primary) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
    transform: translateY(-3px);
}

/* =============================================
   10. DARK BREAK SECTIONS — Subtle gradient glow
   ============================================= */
.dark-break {
    position: relative;
    overflow: hidden;
}

.dark-break::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(24, 96, 170, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* =============================================
   11. IMG QUOTE SECTION — Enhanced overlay glow
   ============================================= */
.img-quote-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 500px;
    height: 160px;
    background: radial-gradient(ellipse, rgba(77, 168, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 3;
}

/* =============================================
   12. HERO PILLS — Glass style
   ============================================= */
.h-pill {
    background: rgba(12, 32, 64, 0.7);
    border: 1px solid rgba(77, 168, 255, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.h-pill:hover {
    border-color: rgba(77, 168, 255, 0.5);
    background: rgba(12, 32, 64, 0.9);
}

/* =============================================
   13. HERO ACCENT TEXT — Gradient
   ============================================= */
.hero-h1 em {
    background: linear-gradient(90deg, #4DA8FF 0%, #7EC8FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: normal;
}

/* =============================================
   14. STAT STRIP — Number count-up shimmer
   ============================================= */
.stat-num {
    background: linear-gradient(90deg, #4DA8FF 0%, #93CBFF 50%, #4DA8FF 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: stat-shimmer 3s linear infinite;
}

@keyframes stat-shimmer {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* =============================================
   15. SCROLL REVEAL — Staggered entrance
   ============================================= */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children inside reveal containers */
.hub-grid .hub-card:nth-child(1) {
    transition-delay: 0.05s;
}

.hub-grid .hub-card:nth-child(2) {
    transition-delay: 0.12s;
}

.hub-grid .hub-card:nth-child(3) {
    transition-delay: 0.19s;
}

.hub-grid .hub-card:nth-child(4) {
    transition-delay: 0.26s;
}

.whom-grid .wc:nth-child(1) {
    transition-delay: 0.05s;
}

.whom-grid .wc:nth-child(2) {
    transition-delay: 0.12s;
}

.whom-grid .wc:nth-child(3) {
    transition-delay: 0.19s;
}

.whom-grid .wc:nth-child(4) {
    transition-delay: 0.26s;
}

.how-steps .how-step:nth-child(1) {
    transition-delay: 0.05s;
}

.how-steps .how-step:nth-child(2) {
    transition-delay: 0.12s;
}

.how-steps .how-step:nth-child(3) {
    transition-delay: 0.19s;
}

.how-steps .how-step:nth-child(4) {
    transition-delay: 0.26s;
}

.how-steps .how-step:nth-child(5) {
    transition-delay: 0.33s;
}

.fac-grid .fc:nth-child(1) {
    transition-delay: 0.05s;
}

.fac-grid .fc:nth-child(2) {
    transition-delay: 0.12s;
}

.fac-grid .fc:nth-child(3) {
    transition-delay: 0.19s;
}

.fac-grid .fc:nth-child(4) {
    transition-delay: 0.26s;
}

/* =============================================
   16. SOLUTION / CORPORATE CARDS
   ============================================= */
.sol-card {
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.sol-card:hover {
    border-color: var(--clr-primary) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
    transform: translateY(-4px);
}

/* =============================================
   17. SECTION BACKGROUND — Light sections
       Add a very subtle top gradient edge
   ============================================= */
#segment-hub,
#pathways,
#cta {
    position: relative;
}

#segment-hub::before,
#pathways::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(24, 96, 170, 0.15), transparent);
    pointer-events: none;
}

/* =============================================
   18. FORM INPUTS — Focus glow
   ============================================= */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(24, 96, 170, 0.18);
    color: var(--clr-primary);
}

input[type="text"]:focus::placeholder,
input[type="email"]:focus::placeholder,
input[type="tel"]:focus::placeholder,
input[type="number"]:focus::placeholder,
textarea:focus::placeholder {
    color: rgba(24, 96, 170, 0.6);
    opacity: 1;
}

/* =============================================
   19. FAQ ACCORDION — Smooth expand
   ============================================= */
.faq-a {
    display: block;
    max-height: 0;
    overflow: hidden;
    padding: 0 18px;
    transition: max-height 0.35s ease, padding 0.2s ease;
}

.faq-item.open .faq-a {
    max-height: 300px;
    padding: 0 18px 16px;
}

.faq-icon {
    transition: transform 0.3s ease;
}

/* =============================================
   20. NAVIGATION LINKS — Underline slide
   ============================================= */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 8px;
    right: 8px;
    height: 1.5px;
    background: var(--clr-accent);
    transform: scaleX(0);
    transition: transform 0.2s ease;
    border-radius: 1px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

/* =============================================
   21. DARK BREAK BADGE — Glow ring
   ============================================= */
.dark-break-badge {
    box-shadow: 0 0 0 1px rgba(77, 168, 255, 0.25), 0 2px 12px rgba(77, 168, 255, 0.1);
}

/* =============================================
   22. ENROL / IPP SIDEBAR — Sticky polish
   ============================================= */
.ipp-sidebar {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.ipp-enrol-btn,
.ipp-brochure-btn {
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

/* =============================================
   23. SOCIAL CARDS — Border hover glow
   ============================================= */
.soc-post,
.pod-ep {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.soc-post:hover {
    border-color: rgba(24, 96, 170, 0.5) !important;
    box-shadow: 0 4px 16px rgba(24, 96, 170, 0.1);
}

.pod-ep:hover {
    border-color: rgba(24, 96, 170, 0.5) !important;
    box-shadow: 0 4px 14px rgba(24, 96, 170, 0.1);
}

/* Podcast play button pulse */
.pod-play {
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.pod-play:hover {
    transform: scale(1.12);
    box-shadow: 0 4px 14px var(--glow-primary);
}

/* =============================================
   24. TALK-TO-US / CTA POPUP — Polish
   ============================================= */
.ttu-btn {
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.ttu-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--glow-primary);
}

/* =============================================
   25. FOOTER LINKS — Hover lift
   ============================================= */
.foot-link {
    display: inline-block;
    transition: color 0.18s ease, transform 0.18s ease;
}

.foot-link:hover {
    transform: translateX(3px);
}

/* =============================================
   REDUCED MOTION — Respect user preference
   ============================================= */
@media (prefers-reduced-motion: reduce) {

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

/* =============================================
   26. FACULTY AUTO-CAROUSEL
   ============================================= */
.fac-scroll-wrap {
    /*overflow: hidden !important;*/
    position: relative;
}

.fac-grid-inner {
    display: flex !important;
    gap: 14px !important;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform;
}

.fac-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.fac-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(77, 168, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    padding: 0;
}

.fac-dot.active {
    background: #4DA8FF;
    transform: scale(1.3);
}

.fac-prev,
.fac-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(6, 16, 26, 0.85);
    border: 1px solid rgba(77, 168, 255, 0.3);
    color: #4DA8FF;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
    backdrop-filter: blur(6px);
    line-height: 1;
}

.fac-prev {
    left: 8px;
}

.fac-next {
    right: 8px;
}

.fac-prev:hover,
.fac-next:hover {
    background: rgba(24, 96, 170, 0.7);
    border-color: rgba(77, 168, 255, 0.7);
}

/* =============================================
   27. HUB CARDS — Big scale + glow on hover
   ============================================= */
.hub-card {
    transition:
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease !important;
}

/* Light cards (professionals) */
.hc-pro:hover {
    transform: translateY(-8px) scale(1.03) !important;
    border-color: var(--clr-primary) !important;
    box-shadow:
        0 16px 40px rgba(24, 96, 170, 0.18),
        0 0 0 1px rgba(24, 96, 170, 0.15),
        0 0 32px rgba(24, 96, 170, 0.08) !important;
}

/* Dark card (organisations) */
.hc-org:hover {
    transform: translateY(-8px) scale(1.03) !important;
    border-color: var(--clr-primary) !important;
    box-shadow:
        0 16px 40px rgba(24, 96, 170, 0.18),
        0 0 0 1px rgba(24, 96, 170, 0.15),
        0 0 32px rgba(24, 96, 170, 0.08) !important;
}

/* Green card (universities) */
.hc-uni:hover {
    transform: translateY(-8px) scale(1.03) !important;
    border-color: var(--clr-primary) !important;
    box-shadow:
        0 16px 40px rgba(24, 96, 170, 0.18),
        0 0 0 1px rgba(24, 96, 170, 0.15),
        0 0 32px rgba(24, 96, 170, 0.08) !important;
}

/* Amber card (students) */
.hc-stu:hover {
    transform: translateY(-8px) scale(1.03) !important;
    border-color: var(--clr-primary) !important;
    box-shadow:
        0 16px 40px rgba(24, 96, 170, 0.18),
        0 0 0 1px rgba(24, 96, 170, 0.15),
        0 0 32px rgba(24, 96, 170, 0.08) !important;
}

/* Glowing bottom line on all hub cards */
.hub-card {
    position: relative;
}

.hub-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.35s ease, left 0.35s ease, right 0.35s ease;
}

.hc-pro::after {
    background: linear-gradient(90deg, transparent, #1860AA, transparent);
}

.hc-org::after {
    background: linear-gradient(90deg, transparent, #1860AA, transparent);
}

.hc-uni::after {
    background: linear-gradient(90deg, transparent, #1860AA, transparent);
}

.hc-stu::after {
    background: linear-gradient(90deg, transparent, #1860AA, transparent);
}

.hub-card:hover::after {
    opacity: 1;
    left: 8%;
    right: 8%;
}

/* =============================================
   28. BROCHURE DOWNLOAD POPUP
   ============================================= */
#brochure-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

#brochure-popup.open {
    display: flex;
}

.brochure-success-emoji {
    font-size: 44px;
    margin-bottom: 14px;
}

/* =============================================
   29. FACULTY PAGE — Full-card carousel sizing
   ============================================= */
.fac-grid-inner .fac-full-card {
    width: 360px;
    min-width: 290px;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .fac-grid-inner .fac-full-card {
        width: 290px;
        min-width: 260px;
    }
}
/* =============================================
   PROGRAMME CARD BUTTONS — csb-p / csb-s
   ============================================= */
.csb-p {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1860AA 0%, #1A6DC0 50%, #2179D4 100%) !important;
    box-shadow: 0 4px 18px rgba(24, 96, 170, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.csb-p::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
    transition: left 1.1s ease;
    pointer-events: none;
}
.csb-p:hover::before { left: 100%; }
.csb-p:hover {
    background: linear-gradient(135deg, #1A6DC0 0%, #2179D4 100%) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(24, 96, 170, 0.55);
}
.csb-p:active { transform: translateY(0); }

.csb-s {
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.csb-s:hover {
    border-color: rgba(77, 168, 255, 0.7) !important;
    background: rgba(77, 168, 255, 0.08) !important;
    color: #F5F9FF !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(77, 168, 255, 0.18);
}
.csb-s:active { transform: translateY(0); }

/* =============================================
   20. UNIVERSAL HOVER — Cards & Buttons
   ============================================= */

/* --- Primary Buttons --- */
.cta-btn-p, .hb-p, .btn-primary, .pcs-enrol, .dual-cta-p, .prog-enrol {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-btn-p:hover, .hb-p:hover, .btn-primary:hover, .pcs-enrol:hover,
.dual-cta-p:hover, .prog-enrol:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 96, 170, 0.38);
}

/* --- Secondary/Ghost Buttons --- */
.cta-btn-s, .hb-s, .pcs-info, .dual-cta-s {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.cta-btn-s:hover, .hb-s:hover, .pcs-info:hover, .dual-cta-s:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 96, 170, 0.15);
    background: rgba(24, 96, 170, 0.05);
}

/* --- About: Founder Cards & Pillar Cards --- */
.founder-card, .pillar-c {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.founder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(24, 96, 170, 0.13);
    border-color: #1860AA;
}
.pillar-c:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(24, 96, 170, 0.28);
    border-color: #1860AA;
}

/* --- Professionals: Outcomes, Whom, Testimonial, Role cards --- */
.oc, .wc, .testi, .rt, .wc.highlight {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.oc:hover, .wc:hover, .testi:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(24, 96, 170, 0.14);
    border-color: #1860AA;
    background: #FFFFFF;
}
.rt:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(24, 96, 170, 0.13);
    border-color: #1860AA;
}

/* --- Programme cards on home/Programs pages --- */
.prog-card, .prog-feat, .pcs-card, .prog-card-soon {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.prog-card:hover, .pcs-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(24, 96, 170, 0.13);
}

/* --- Enquire / action links within cards --- */
.prog-card-action a, .pcs-enrol, .pcs-info {
    transition: letter-spacing 0.2s ease, opacity 0.2s ease;
}
.prog-card-action a:hover {
    letter-spacing: 0.03em;
    opacity: 0.85;
}