/* NC Education Custom Styles */

:root {
    --primary-color: #ff8a1f;
    --secondary-color: #1f5cff;
    --base-font-size: 16px;
    --dark-bg: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.98);
    --text-light: #000000;
    --text-muted: #374151;
    --surface-shadow: 0 18px 40px rgba(2, 6, 23, 0.06);
    --soft-shadow: 0 10px 30px rgba(2, 6, 23, 0.04);
    --heading-tracking: 0.02em;
}



/* Light-theme utility helpers */
.text-muted {
    color: var(--text-muted) !important;
}

.text-dark {
    color: var(--text-light) !important;
}

.text-black {
    color: var(--text-light) !important;
}

/* Force body text color for light theme */
body,
main,
section {
    color: var(--text-light);
}

/* Base typography for premium feel */
body {
    font-family: 'Poppins', 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-light);
    background-color: #ffffff;
    font-size: 1rem;
    /* Ensure Poppins isn't visually stretched and keep letter spacing subtle */
    font-stretch: normal;
    letter-spacing: 0.01em;
}

html {
    font-size: var(--base-font-size);
}

/* Prevent mobile font autosizing and ensure consistent rendering */
html,
body {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Disable transform-based scaling on hero slides for small screens to avoid blurred/stretched text */
@media (max-width: 640px) {
    .hero-slide {
        transform: none !important;
    }
}

/* Replace gradient-text with solid primary color for headings */
.gradient-text {
    background: none !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    color: var(--primary-color) !important;
}

/* Override common Tailwind dark utilities to light-theme equivalents */
.bg-slate-900\/60,
.bg-slate-900\/70,
.bg-slate-900,
.bg-slate-950\/70,
.bg-slate-950\/30,
.bg-slate-800\/80,
.bg-slate-800 {
    background-color: var(--card-bg) !important;
    color: var(--text-light) !important;
}

.bg-slate-900\/60 *,
.bg-slate-900\/70 *,
.bg-slate-900 *,
.bg-slate-950\/70 *,
.bg-slate-950\/30 *,
.bg-slate-800\/80 *,
.bg-slate-800 * {
    color: inherit !important;
}

.border-slate-700\/60,
.border-slate-700\/40,
.border-slate-700\/80,
.border-slate-700\/70,
.border-slate-600 {
    border-color: rgba(0, 0, 0, 0.08) !important;
}

.text-slate-100 {
    color: var(--text-light) !important;
}

.text-slate-200,
.text-slate-300,
.text-slate-400,
.text-slate-500 {
    color: var(--text-muted) !important;
}

/* Inputs and form controls using slate backgrounds */
.rounded-lg.bg-slate-900\/70,
input.bg-slate-900\/70,
textarea.bg-slate-900\/70,
select.bg-slate-900\/70,
.w-full.bg-slate-900\/70 {
    background-color: #ffffff !important;
    color: var(--text-light) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}


/* ============================================
   HERO + LAYOUT TWEAKS TO MATCH REFERENCE
   ============================================ */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 560px;
}

.hero-section::before {
    content: none;
}

/* Corporate-style dark hero (image on right, copy on left) */
.course-hero-section {
    background: linear-gradient(90deg, #072048 0%, #04243f 100%);
    color: #ffffff;
    padding-top: 48px;
    padding-bottom: 48px;
}

.course-hero-grid {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 32px;
    align-items: center;
}

.course-hero-copy {
    padding-right: 12px;
}

.course-hero-copy {
    position: relative;
    z-index: 3;
}

.course-title {
    font-size: 3rem;
    line-height: 1.03;
    color: #ffffff;
    margin-bottom: 12px;
}

.course-description {
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin-bottom: 18px;
}

.course-cta-row a {
    margin-right: 12px;
}

.bg-amber {
    background: #ff8a1f !important;
    color: #041329 !important;
}

.course-secondary-btn {
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    background: transparent;
}

.course-hero-panel {
    position: relative;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
}

.course-hero-panel::before {
    display: none !important;
}

.course-hero-panel .course-hero-image-wrap {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    height: 100%;
}

/* Trust / stats strip overlapping hero */
.hero-trust-strip {
    position: relative;
    margin-top: 18px;
    width: 100%;
    max-width: 1100px;
    margin-right: auto;
    background: linear-gradient(180deg, rgba(2, 28, 56, 0.95), rgba(4, 36, 63, 0.95));
    border-radius: 12px;
    padding: 14px;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.12);
}

.hero-trust-strip .trust-item {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #e6f4ff;
    font-weight: 700;
    flex: 1;
    justify-content: center;
}

.trust-number {
    color: #ff8a1f;
    font-size: 1.35rem;
    font-weight: 900;
    margin-right: 6px;
}

.trust-label {
    color: rgba(230, 244, 255, 0.9);
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .course-hero-grid {
        grid-template-columns: 1fr;
    }

    .course-hero-panel {
        height: 300px;
    }

    .course-title {
        font-size: 2rem;
    }

    .hero-trust-strip {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
    }

    .hero-trust-strip .trust-item {
        justify-content: flex-start;
    }
}

/* Program-desktop specific overrides to better match reference design */
.course-hero-grid {
    grid-template-columns: 1fr 360px;
    gap: 36px;
}

.program-title,
.course-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.program-subtitle {
    color: #ff8a1f;
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.course-hero-copy {
    padding-right: 12px;
}

.course-hero-copy .program-lead,
.course-description {
    color: rgba(230, 244, 255, 0.85);
    font-size: 1.05rem;
}

.course-cta-row a,
.mt-6 a {
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 800;
}

.course-cta-row a.bg-amber {
    box-shadow: 0 10px 30px rgba(255, 138, 31, 0.12);
}

.course-cta-row a:hover {
    transform: translateY(-2px);
}

.program-tiles .rounded-xl {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 18px;
}

.program-tiles .text-xs {
    color: rgba(230, 244, 255, 0.7);
}

.program-tiles .text-white {
    color: #ffffff;
}

.course-hero-panel {
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-price-card {
    width: 340px;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.18);
}

.program-price-card .text-xs {
    color: rgba(4, 34, 59, 0.6);
}

.program-price-card .text-3xl {
    color: #04223b;
}

.program-price-card .rounded-md {
    background: #ff8a1f;
}

.program-price-card ul {
    margin-top: 12px;
}

.program-price-card ul li {
    color: #04223b;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 8px 0;
}

.program-price-card ul li .material-symbols-outlined {
    color: #ff8a1f;
    font-size: 20px;
    margin-top: 2px;
}

/* Curriculum overrides moved here for consistency */
.curriculum-section {
    margin-top: 28px;
}

.curriculum-left {
    background: linear-gradient(180deg, #071a2b 0%, #07283b 100%);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.curriculum-left h3 {
    color: #ffffff;
}

.curriculum-left .material-symbols-outlined {
    color: #ff8a1f;
    background: rgba(255, 138, 31, 0.06);
    border-radius: 999px;
    padding: 6px;
    min-width: 28px;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.curriculum-left .text-slate-200 {
    color: rgba(230, 244, 255, 0.9);
}

.curriculum-right .glass {
    background: #ffffff !important;
    color: #04223b !important;
    box-shadow: 0 8px 30px rgba(2, 6, 23, 0.12);
}

.curriculum-right .curriculum-module {
    background: #f6fbff;
    border-color: rgba(2, 6, 23, 0.06);
}

.curriculum-right .curriculum-module summary strong {
    color: #04223b;
}

.curriculum-right .curriculum-module summary .text-slate-600 {
    color: rgba(2, 6, 23, 0.5);
}

@media (max-width: 1024px) {
    .program-title {
        font-size: 34px;
    }

    .program-subtitle {
        font-size: 18px;
    }

    .course-hero-grid {
        grid-template-columns: 1fr;
    }

    .program-price-card {
        width: 100%;
        max-width: 420px;
    }
}

/* ============================================================
   HERO SLIDER + ALIGNMENT FIXES
   Lightweight, dependency-free hero slider and consistent section alignment
   ============================================================ */

/* ==================================================
   Global Poppins override (site-wide for both desktop and mobile)
   Exclude material icon font so icons are unaffected.
   ================================================== */
html,
body,
body *:not(.material-symbols-outlined):not(.material-symbols-outlined *) {
    font-family: 'Poppins', 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    font-stretch: normal !important;
    letter-spacing: 0.01em !important;
}

/* Feature/box headings (e.g. Hands-on Learning, Expert Mentorship) */
.home-why-card h4,
.home-why-card .title,
.program-title,
.course-feature-card h3,
.home-course-card-body h3,
.home-course-card-band-copy strong {
    font-family: 'Poppins', 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    line-height: 1.15 !important;
}

@media (max-width: 640px) {

    /* Slightly reduce heading sizes on very small screens */
    .home-why-card h4,
    .program-title,
    .course-feature-card h3 {
        font-size: 1rem !important;
    }
}

.hero-slider {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    height: auto;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 600ms ease, transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
    display: grid;
    place-items: end center;
}

.hero-slide img {
    width: 100%;
    height: auto;
    max-width: 520px;
    object-fit: contain;
    object-position: bottom center;
    display: block;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    position: relative;
    z-index: 2;
}

.hero-prev,
.hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.94);
    border: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: inline-grid;
    place-items: center;
    box-shadow: 0 6px 20px rgba(8, 20, 40, 0.12);
    cursor: pointer;
}

.hero-prev {
    left: -12px;
}

.hero-next {
    right: -12px;
}

.hero-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.06);
    cursor: pointer;
}

.hero-dot.active {
    background: var(--primary-color);
    box-shadow: 0 6px 20px rgba(31, 92, 255, 0.08);
}

/* hide hero dots as requested */
.hero-dots {
    display: none !important;
}

/* Ensure overlay cards sit above slides */
.home-visual-card {
    position: relative;
    z-index: 4;
}

/* Alignment normalization: align section headings left to match hero heading start */
.section-heading,
.section-heading-left,
.section-heading.section-heading-left,
.section-heading .section-eyebrow {
    text-align: left !important;
}

/* Ensure heading text and description paragraphs are left-aligned and constrained */
.section-heading h2,
.section-heading p,
.section-heading .section-sub,
.section-heading .section-eyebrow {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Constrain description width for readability */
.section-heading p,
.section-heading .section-sub {
    max-width: 700px;
}

/* Make large containers consistent padding */
.max-w-7xl.mx-auto {
    max-width: 1500px;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 1400px) {
    .max-w-7xl.mx-auto {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (min-width: 1024px) {
    .hero-slider {
        max-width: 560px;
    }

    .hero-prev {
        left: 6px;
    }

    .hero-next {
        right: 6px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        max-width: 360px;
    }

    .hero-prev,
    .hero-next {
        display: none;
    }

    .home-visual-card.home-visual-card-top,
    .home-visual-card.home-visual-card-bottom {
        display: none;
    }
}

/* Hide arrow controls entirely (user requested) */
.hero-prev,
.hero-next {
    display: none !important;
}

/* Testimonial carousel: full-width section with centered inner content */
.testimonial-carousel {
    position: relative;
    width: 100%;
    padding: 44px 0;
    background: transparent;
}

.testimonial-carousel .testimonial-slides {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.testimonial-carousel .testimonial-badge-row {
    max-width: 1200px;
    margin: 0 auto 16px;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .testimonial-carousel {
        padding: 28px 0;
    }
}

.hero-inner {
    position: relative;
    z-index: 1;
    padding-top: 60px;
    padding-bottom: 48px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(31, 92, 255, 0.10);
    color: #1f5cff;
    border: 1px solid rgba(31, 92, 255, 0.20);
    letter-spacing: .02em;
}

.hero-right {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 420px;
    gap: 20px;
}

.hero-figure {
    position: absolute;
    right: 240px;
    top: 62%;
    transform: translateY(-50%);
    width: 44%;
    max-width: 420px;
    z-index: 3;
    display: grid;
    place-items: center;
}

.hero-figure img {
    width: 100%;
    max-width: 420px;
    max-height: 480px;
    display: block;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 48px 72px rgba(0, 0, 0, 0.6)) drop-shadow(0 18px 36px rgba(0, 0, 0, 0.42));
}

.hero-figure::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -54px;
    width: 96%;
    height: 110px;
    background: radial-gradient(ellipse 60% 34% at center, rgba(3, 8, 16, 0.95) 0%, rgba(3, 8, 16, 0.72) 42%, rgba(2, 6, 12, 0.28) 62%, transparent 78%);
    filter: blur(40px);
    z-index: 1;
    opacity: 0.98;
    pointer-events: none;
}

.hero-form {
    background: var(--card-bg);
    border: 1px solid rgba(9, 30, 63, 0.06);
    border-radius: 20px;
    padding: 22px;
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 380px;
}

.why-choose .why-image {
    position: relative;
}

.hero-form h3 {
    font-size: 1.1rem;
    margin: 0 0 4px 0;
    color: var(--text-light);
}

.hero-form p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 4px 0 8px 0;
}

.field-glow {
    margin-top: 8px;
}

.field-glow input {
    width: 100%;
    border-radius: 10px;
    background: rgba(14, 22, 34, 0.45);
    border: 1px solid rgba(96, 110, 130, 0.25);
    padding: 10px 12px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.field-glow input::placeholder {
    color: #93a6bd;
}

.hero-form .w-full {
    width: 100%;
}

.hero-form .btn-primary {
    background: var(--primary-color);
    color: #041329;
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 800;
}

.hero-form-footer {
    margin-top: 12px;
    display: grid;
    gap: 8px;
}

.hero-mini {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-avatars img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(15, 23, 42, 0.9);
    margin-left: -10px;
}

/* Program cards (stronger visuals) */
.program-card {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(250, 250, 250, 0.98));
    border: 1px solid rgba(15, 23, 42, 0.04);
    border-radius: 20px;
    padding: 22px;
    box-shadow: var(--surface-shadow);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 56px rgba(2, 6, 23, 0.12);
}

.program-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.program-title {
    font-size: 18px;
    font-weight: 800;
}

.program-subtitle {
    font-size: 12px;
    text-transform: uppercase;
    color: #7aa1c7;
}

.program-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #1f5cff;
    background: rgba(31, 92, 255, 0.10);
    border: 1px solid rgba(31, 92, 255, 0.22);
}

.program-badge {
    display: inline-flex;
    margin-top: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    text-transform: uppercase;
    background: rgba(31, 92, 255, 0.10);
    color: #1f5cff;
    border: 1px solid rgba(31, 92, 255, 0.22);
}

/* Stats strip */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 250, 0.98));
    border: 1px solid rgba(15, 23, 42, 0.04);
}

.stat-card {
    background: transparent;
    border: 1px solid rgba(120, 140, 175, 0.12);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

.stat-card span {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--secondary-color);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 250, 0.98));
    border: 1px solid rgba(31, 92, 255, 0.10);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cta-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cta-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 24px rgba(31, 92, 255, 0.12);
}

.cta-actions {
    display: grid;
    gap: 10px;
}

.cta-button {
    padding: 10px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffb15f 0%, #ff8a1f 100%);
    color: #041329;
    font-weight: 800;
}

.cta-button-outline {
    background: transparent;
    border: 1px solid rgba(255, 138, 31, 0.28);
    color: var(--text-light);
}

/* Homepage trusted strip + counter block */
.trusted-strip {
    background: linear-gradient(180deg, #0a2d6e 0%, #08285c 100%);
    color: #ffffff;
}

.trusted-strip-title {
    color: rgba(255, 255, 255, 0.85);
}

.trusted-strip-logos {
    color: #ffffff;
}

.trusted-brand {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    line-height: 1;
    opacity: 0.92;
}

.counter-strip {
    background: #f7f9fd;
}

.counter-card {
    border: 1px solid rgba(31, 92, 255, 0.10);
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.05);
}

.trainer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
    justify-content: center;
}

.trainer-grid article {
    width: 100%;
}

@media (max-width: 640px) {
    .trusted-strip-logos {
        gap: 1.25rem;
    }

    .trusted-brand {
        font-size: 1rem;
    }
}

/* Programs section: smaller, casual cards */
.programs-section {
    background: #ffffff;
}

.programs-section .grid {
    gap: 12px;
}

.programs-section article {
    padding: 12px !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 18px rgba(2, 6, 23, 0.06) !important;
    border: 1px solid rgba(15, 23, 42, 0.04) !important;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.programs-section article:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.08);
}

.programs-section .mb-4 {
    margin-bottom: 8px !important;
}

.programs-section .material-symbols-outlined {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    font-size: 20px;
    border-radius: 10px;
    background: rgba(244, 124, 32, 0.06);
    color: #f47c20;
}

.programs-section h3 {
    font-size: 1.02rem;
    margin-top: 6px;
    color: #0a2d6e;
}

.programs-section p {
    font-size: 0.95rem;
    color: #6b7280;
    margin-top: 6px;
}

.programs-section a {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #f47c20;
    font-weight: 600;
}

@media (min-width: 768px) {
    .programs-section .grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* Slider-specific styles */
.programs-slider {
    position: relative;
    overflow: hidden;
    padding: 8px 0;
}

.programs-track {
    display: flex;
    gap: 16px;
    align-items: stretch;
}

.program-slide {
    flex: 0 0 220px;
}

/* Marquee animation (infinite loop) */
.programs-track.animate {
    animation: marquee linear infinite;
    animation-duration: 20s;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.testimonials-section {
    background: #fbfdff;
    padding: 16px 12px;
}

.testimonials-section .testimonial-card {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    box-shadow: 0 8px 18px rgba(2, 6, 23, 0.06) !important;
    padding: 18px !important;
    border-radius: 12px !important;
}

.testimonials-section .testimonial-card blockquote {
    color: #334155 !important;
    opacity: 1 !important;
    padding-left: 0 !important;
}

.testimonials-section .testimonial-stars {
    color: #f59e0b !important;
}

.testimonials-section .testimonial-quote {
    color: #f59e0b !important;
    opacity: 0.95 !important;
}

.testimonials-section .testimonial-author {
    margin-top: 12px !important;
}

.testimonials-section .testimonial-avatar {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe) !important;
    color: #0b3a86 !important;
    border: 1px solid rgba(15, 23, 42, 0.04) !important;
}

.testimonials-grid {
    gap: 14px;
}

.programs-slider:hover .programs-track.animate {
    animation-play-state: paused;
}

@media (max-width: 1200px) {
    .hero-figure {
        right: 140px;
    }
}

@media (max-width: 1024px) {
    .hero-right {
        flex-direction: column;
        min-height: auto;
    }

    .hero-figure {
        position: relative;
        right: auto;
        top: auto;
        transform: translateY(10px);
        width: 100%;
        max-width: 360px;
        margin: 0 auto 20px;
    }

    .hero-form {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .cta-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-actions {
        width: 100%;
    }

    .cta-button {
        width: 100%;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    scroll-behavior: smooth;
}

/* Material Symbols Fix */
.material-symbols-outlined {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-family: 'Material Symbols Outlined' !important;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24 !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    font-weight: normal !important;
    font-size: 1.25em !important;
}

/* Header Navigation Fixes */
header nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 1rem;
}

.placed-section {
    padding: 36px 0 48px;
    background: linear-gradient(180deg, #071233 0%, #071b33 100%);
    overflow-x: hidden;
}

.placed-top {
    display: flex;
    gap: 32px;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.placed-left {
    flex: 1 1 360px;
    max-width: 420px;
    color: #ffffff;
}

.placed-kicker {
    display: inline-block;
    font-weight: 800;
    letter-spacing: .18em;
    color: #ffffff;
    font-size: .72rem;
    margin-bottom: 12px;
    padding: 6px 8px;
    background: #0b3a86;
    border-radius: 6px;
    text-transform: uppercase;
}

.placed-title {
    margin: 6px 0 12px;
    font-size: 2.05rem;
    color: #ffffff;
    font-weight: 900;
    line-height: 1.03;
}

.placed-copy {
    color: rgba(230, 240, 255, 0.95);
    margin-bottom: 16px;
    max-width: 380px;
}

.placed-cta {
    background: linear-gradient(135deg, #ff8a1f 0%, #ff6b00 100%);
    color: #041329;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 800;
    display: inline-block;
}

.placed-right {
    flex: 1 1 520px;
    min-width: 0;
}

.placed-logos-shell {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 22px 48px rgba(2, 6, 23, 0.18);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.placed-logos-wrap {
    overflow: hidden;
    width: 100%;
    min-width: 0;
}

.placed-logos {
    display: flex;
    align-items: center;
    gap: 36px;
    padding: 12px 56px;
    justify-content: flex-start;
    min-width: max-content;
}

.placed-logo-item {
    min-width: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.placed-logo-item img {
    max-height: 44px;
    max-width: 160px;
    object-fit: contain;
    display: block;
    filter: none;
}

.placed-logo-item span {
    color: #0a2d6e;
    font-weight: 700;
}

.placed-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 0;
    background: linear-gradient(180deg, #0b3a86, #0f50b8);
    display: grid;
    place-items: center;
    box-shadow: 0 8px 22px rgba(11, 58, 134, 0.24);
    cursor: pointer;
}

.placed-arrow-left {
    left: 12px;
}

.placed-arrow-right {
    right: 12px;
}

.placed-arrow .material-symbols-outlined {
    font-size: 20px;
    color: #ffffff;
}

.placed-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    position: absolute;
    right: 18px;
    bottom: -14px;
}

.placed-dots .dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(10, 45, 110, 0.14);
    display: inline-block;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.04);
}

.placed-dots .dot.is-active {
    background: rgba(10, 45, 110, 0.86);
    box-shadow: none;
}

.testimonials-section {
    margin: 18px 0 28px;
    background: #f8fafc;
    padding: 24px 16px 28px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.04);
}

.testimonials-section .section-heading h3 {
    text-align: center;
    color: #17386f;
    font-size: 0.98rem;
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.testimonial-card {
    position: relative;
    background: #ffffff;
    border-radius: 10px;
    padding: 18px 18px 16px;
    box-shadow: 0 8px 18px rgba(2, 6, 23, 0.05);
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.05);
    min-height: 184px;
}

.testimonial-quote {
    position: absolute;
    top: 10px;
    left: 14px;
    font-size: 3rem;
    line-height: 1;
    color: #f2b25e;
    opacity: 0.95;
    font-family: Georgia, serif;
}

.testimonial-stars {
    color: #f4a62a;
    font-weight: 800;
    margin: 2px 0 10px 22px;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
}

.testimonial-card blockquote {
    color: #334155;
    margin: 0 0 14px;
    line-height: 1.45;
    font-size: 0.82rem;
    padding-left: 22px;
    min-height: 78px;
}

.testimonial-author {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: auto;
    padding-left: 4px;
}

.testimonial-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f1f5f9, #dbeafe);
    color: #17386f;
    font-size: 0.86rem;
    font-weight: 800;
    border: 1px solid rgba(15, 23, 42, 0.06);
    flex: 0 0 auto;
}

.author-meta strong {
    display: block;
    font-weight: 800;
    font-size: 0.82rem;
    color: #0f172a;
}

.author-role {
    color: #6b7280;
    font-size: 0.7rem;
}

.cta-hero-dark {
    margin-top: 18px;
    background:
        linear-gradient(90deg, rgba(7, 13, 33, 0.92) 0%, rgba(7, 13, 33, 0.72) 48%, rgba(7, 13, 33, 0.18) 100%),
        url('../../uploads/images/footer-banner.png') right -24px bottom -18px / cover no-repeat;
    color: #fff;
    border-radius: 12px;
    padding: 18px 20px;
    position: relative;
    overflow: hidden;
    min-height: 136px;
    border: 1px solid rgba(255, 138, 31, 0.18);
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.16);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 136px;
    position: relative;
    z-index: 1;
}

.cta-copy {
    position: relative;
    z-index: 1;
    max-width: 56%;
}

.cta-copy h3 {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 800;
}

.cta-copy p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.86rem;
}

.cta-actions {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
}

.cta-primary {
    background: linear-gradient(135deg, #ff8a1f 0%, #ff6b00 100%);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.82rem;
}

.cta-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.82rem;
}

@media (max-width: 992px) {
    .placed-top {
        flex-direction: column;
        align-items: stretch;
    }

    .placed-left {
        flex: unset;
        width: 100%;
    }

    .placed-right {
        flex: unset;
        width: 100%;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
        min-height: 0;
    }

    .cta-copy {
        max-width: 100%;
    }

    .cta-hero-dark {
        background:
            linear-gradient(180deg, rgba(7, 13, 33, 0.92) 0%, rgba(7, 13, 33, 0.62) 100%),
            url('../../uploads/images/footer-banner.png') right -24px bottom -18px / cover no-repeat;
    }
}

@media (max-width: 640px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .placed-logo-item {
        min-width: 84px;
    }

    .placed-title {
        font-size: 1.35rem;
    }

    .placed-logos {
        padding: 12px 42px;
        gap: 24px;
    }

    .placed-arrow {
        width: 38px;
        height: 38px;
    }

    .placed-arrow-left {
        left: 8px;
    }

    .placed-arrow-right {
        right: 8px;
    }

    .testimonials-section {
        padding: 20px 10px 22px;
    }

    .testimonial-card {
        min-height: 0;
    }

    .cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .cta-primary,
    .cta-outline {
        width: 100%;
        text-align: center;
    }

    .cta-hero-dark {
        padding: 16px;
    }
}

/* Prevent header items from wrapping on large screens so CTA stays on the same line */
@media (min-width: 992px) {
    header nav {
        flex-wrap: nowrap !important;
    }

    header .logo-img-header {
        max-height: 44px !important;
        width: auto !important;
    }

    header .max-w-7xl {
        align-items: center;
    }

    /* Reduce header CTA sizes so they fit comfortably on one line */
    #mega-menu-toggle {
        padding: 6px 10px !important;
        font-size: 14px !important;
        border-radius: 10px !important;
    }

    header .max-w-7xl .bg-amber {
        padding: 6px 10px !important;
        font-size: 14px !important;
        border-radius: 10px !important;
    }

    #mega-menu-toggle .material-symbols-outlined,
    header .max-w-7xl .bg-amber .material-symbols-outlined {
        font-size: 16px !important;
    }
}

header nav button,
header nav a {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ==== Custom Premium Hero Styles (Bootstrap-friendly) ==== */
.premium-hero {
    background: #04132b url('../../uploads/images/NC_Banner.png') center center / cover no-repeat;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    min-height: 860px;
}

.premium-hero-bg {
    display: none;
}

.premium-hero .hero-inner {
    padding: 180px 0 112px;
    position: relative;
    z-index: 1;
}

.premium-hero .eyebrow {
    display: inline-block;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 12px;
    border-radius: 999px;
    letter-spacing: .04em;
    font-size: .85rem;
}

.premium-hero h1 {
    font-family: 'Poppins', 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 3.6vw, 2.55rem);
    line-height: 0.98;
    color: #ffffff;
    margin-top: 18px;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.premium-hero h1 .highlight {
    color: #ff8a1f;
}

.premium-hero p.lead {
    color: rgba(230, 244, 255, 0.94);
    max-width: 640px;
    margin-top: 14px;
    font-size: 1.05rem;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.premium-hero .btn-primary-hero {
    background: linear-gradient(90deg, #ff9a3a, #ff8a1f);
    color: #041329;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(255, 138, 31, 0.12);
    border: 0;
}

.premium-hero .btn-secondary-hero {
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 18px;
    border-radius: 12px;
}

.premium-hero .btn-primary-hero:hover,
.premium-hero .btn-secondary-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(31, 92, 255, 0.08);
    transition: all 220ms ease;
}

.premium-hero .hero-image-wrap {
    position: relative;
    border-radius: 16px;
    overflow: visible;
}

.premium-hero .hero-image {
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 40px 80px rgba(2, 6, 23, 0.6);
    display: block;
}

.premium-hero .image-glow {
    position: absolute;
    inset: auto -10% -10% auto;
    width: 70%;
    height: 120%;
    right: -6%;
    top: -8%;
    background: radial-gradient(closest-side, rgba(31, 92, 255, 0.18), transparent 40%);
    filter: blur(36px);
    transform: rotate(-4deg);
    pointer-events: none;
}

.premium-hero .particles {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 120px 120px;
    opacity: 0.03;
    pointer-events: none;
}

.premium-features {
    background: transparent;
    padding: 14px;
    border-radius: 12px;
    margin-top: 28px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    box-shadow: none;
}

.premium-features .feature {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    border-radius: 10px;
    transition: transform 180ms ease, background 180ms ease;
    background: transparent;
}

.premium-features .feature:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.02);
}

.premium-features .feature .icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: transparent;
    margin: 0 auto 8px;
}

.premium-features .feature small {
    display: block;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
}

.hero-partner-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    z-index: 2;
}

.partner-strip-shell {
    border: 1px solid rgba(78, 162, 255, 0.14);
    background: rgba(4, 14, 30, 0.86);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.18);
    border-radius: 16px;
    padding: 16px 18px;
    overflow: hidden;
}

.partner-strip-label {
    text-align: center;
    color: rgba(233, 242, 255, 0.78);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    font-weight: 700;
    margin-bottom: 14px;
}

.partner-strip-marquee {
    display: flex;
    align-items: center;
    gap: 28px;
    width: max-content;
    animation: partner-marquee 26s linear infinite;
}

.partner-strip-shell:hover .partner-strip-marquee {
    animation-play-state: paused;
}

.partner-logo {
    min-width: 130px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex: 0 0 auto;
}

.partner-logo img {
    max-width: 100%;
    max-height: 30px;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.88);
}

.partner-logo span {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

/* Home page certification cards below the hero */
.home-courses-section {
    padding: 72px 0 84px;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.home-courses-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 28px;
}

.home-courses-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: #b56f18;
    margin-bottom: 10px;
}

.home-courses-heading h2 {
    margin: 0;
    font-family: 'Poppins', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    line-height: 1.05;
    color: #0a2d6e;
    font-weight: 800;
}

.home-courses-heading p {
    margin: 12px auto 0;
    max-width: 620px;
    color: var(--text-muted);
    font-size: 1rem;
}

.home-courses-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.home-course-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(2, 6, 23, 0.08);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.home-course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(2, 6, 23, 0.12);
}

.home-course-card-band {
    min-height: 88px;
    padding: 18px 16px;
    background: linear-gradient(135deg, var(--course-band) 0%, rgba(255, 255, 255, 0.16) 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.home-course-card-band::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at top right, rgba(255, 255, 255, 0.22) 0, transparent 35%), radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.10) 0, transparent 30%);
    pointer-events: none;
}

.home-course-card-band-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
}

.home-course-card-band-icon .material-symbols-outlined {
    font-size: 22px;
    color: #ffffff;
}

.home-course-card-band-copy {
    display: grid;
    gap: 4px;
    position: relative;
    z-index: 1;
}

.home-course-card-band-copy span {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.9;
}

.home-course-card-band-copy strong {
    font-size: 0.98rem;
    line-height: 1.2;
}

.home-course-card-body {
    padding: 18px 16px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.home-course-card-body h3 {
    margin: 0;
    color: var(--course-band);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.15;
}

.home-course-card-body p {
    margin: 8px 0 14px;
    color: var(--text-muted);
    font-size: 0.95rem;
    min-height: 42px;
}

.home-course-points {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: grid;
    gap: 9px;
}

.home-course-points li {
    position: relative;
    padding-left: 16px;
    color: #334155;
    font-size: 0.9rem;
    line-height: 1.45;
}

.home-course-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--course-band);
}

.home-course-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f47c20;
    font-weight: 700;
    transition: transform 180ms ease, color 180ms ease;
}

.home-course-link .material-symbols-outlined {
    font-size: 18px;
}

.home-course-link:hover {
    transform: translateX(4px);
    color: #0a2d6e;
}

@keyframes partner-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .premium-hero h1 {
        font-size: 1.8rem;
        text-align: left;
    }

    .premium-hero {
        min-height: auto;
        background-position: center top !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
    }

    .premium-hero .hero-inner {
        padding: 40px 0 140px;
        text-align: left;
        align-items: flex-start;
    }

    /* Buttons: stack and full width on small screens */
    .premium-hero .d-flex {
        display: flex !important;
        flex-direction: column;
        gap: 12px;
    }

    .premium-hero .d-flex .btn {
        width: 100% !important;
        justify-content: center;
    }

    /* Stack features into two columns */
    .premium-features {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .premium-features .feature {
        flex: none;
        text-align: center;
        padding: 10px 6px;
    }

    /* Make partner overlay flow as a compact, scrollable row on mobile */
    .hero-partner-overlay {
        position: static;
        bottom: auto;
        padding: 12px 0 6px;
    }

    .partner-strip-shell {
        padding: 10px;
        overflow: hidden;
    }

    .partner-strip-marquee {
        gap: 14px;
        animation: partner-marquee 18s linear infinite;
        display: flex;
        flex-wrap: nowrap;
        overflow: hidden;
        padding-bottom: 6px;
        justify-content: flex-start;
        min-width: max-content;
        width: max-content;
    }

    .partner-strip-marquee::-webkit-scrollbar {
        height: 6px;
    }

    .partner-strip-marquee::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.08);
        border-radius: 999px;
    }

    .partner-logo {
        min-width: 92px;
        height: 40px;
        padding: 6px 10px;
    }

    .partner-logo img {
        max-height: 24px;
    }

    .home-courses-section {
        padding: 54px 0 64px;
    }

    .home-courses-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .home-courses-heading {
        text-align: left;
        margin-bottom: 20px;
    }

    .home-course-card-body p {
        min-height: 0;
    }
}

/* Strong override: prefer Poppins for display headings (fix stretched Syne look) */
h1,
h2,
h3,
.section-title,
.course-title,
.home-ref-main-title,
.hero-title,
.section-heading h2,
.placed-title {
    font-family: 'Poppins', 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700 !important;
    font-stretch: normal !important;
    letter-spacing: 0.01em !important;
}

/* Tweak sizes on small screens to avoid wrapping or compact stretch */
@media (max-width: 768px) {

    h1,
    .home-ref-main-title,
    .course-title,
    .section-title,
    .hero-title {
        font-size: clamp(1.4rem, 4.5vw, 2.2rem) !important;
        line-height: 1.12 !important;
    }

    h2,
    h3,
    .section-heading h2 {
        font-size: clamp(1.05rem, 3.8vw, 1.4rem) !important;
        line-height: 1.18 !important;
    }
}

/* Mobile typography normalization to avoid stretched or oddly-tracked text */
@media (max-width: 768px) {

    html,
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        -webkit-text-size-adjust: 100%;
        font-size: 15px;
        letter-spacing: 0;
        /* neutral letter spacing on small screens */
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-family: 'Poppins', 'Plus Jakarta Sans', sans-serif;
        font-stretch: normal;
        letter-spacing: 0.01em;
        line-height: 1.15;
    }

    /* Buttons and CTAs should keep tighter tracking on mobile */
    .btn,
    a,
    button,
    .cta-button,
    .cta-primary,
    .cta-outline,
    .bg-amber {
        letter-spacing: 0.01em;
    }

    /* Reduce hero / large title tracking slightly to avoid stretched look */
    .course-title,
    .placed-title,
    .premium-hero h1,
    .home-courses-heading h2 {
        letter-spacing: 0.01em;
    }
}

/* Corporate badge heading styling (used in corporate-training cards) */
.course-badge-title {
    font-family: 'Poppins', 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.05;
    letter-spacing: 0.02em;
    text-align: center;
    display: inline-block;
    padding: 0 2px;
    -webkit-font-smoothing: antialiased;
}

@media (max-width: 640px) {
    .course-badge-title {
        font-size: 0.95rem;
        letter-spacing: 0.01em;
    }
}

/* Fade-in animation */
.fade-in-up {
    transform: translateY(12px);
    opacity: 0;
    transition: all 600ms cubic-bezier(.2, 1, .3, 1);
}

.fade-in-up.show {
    transform: translateY(0);
    opacity: 1;
}


/* Quick overrides for home hero (ensure left copy sits above banner on desktop) */
.home-ref-hero {
    position: relative;
    background-color: transparent;
    background-image: url('../../uploads/images/NC_Banner.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
    padding: 40px 0;
}

.home-ref-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.home-ref-hero-grid {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 28px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.home-ref-copy {
    color: #ffffff;
    position: relative;
    z-index: 6;
    max-width: 640px;
}

.home-ref-kicker {
    color: #9fc7ff;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.home-ref-main-title {
    font-family: 'Syne', system-ui, sans-serif;
    font-size: clamp(3rem, 6.5vw, 4.5rem);
    line-height: 0.98;
    margin: 0 0 14px 0;
    color: #ffffff;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.home-ref-lead {
    color: rgba(255, 255, 255, 0.88);
    max-width: 540px;
    margin-bottom: 18px;
}

.home-ref-hero-visual {
    position: relative;
    z-index: 1;
}

.home-ref-banner-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Banner overlay copy shown on desktop to ensure text sits above the image */
.home-ref-banner-overlay {
    display: none;
}

@media (min-width: 641px) {
    .home-ref-banner-overlay {
        display: block;
        position: absolute;
        left: 40px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 6;
        max-width: 520px;
        color: #ffffff;
    }

    .home-ref-copy {
        display: none;
    }
}

@media (max-width: 640px) {
    .home-ref-hero-grid {
        grid-template-columns: 1fr;
    }

    .home-ref-main-title {
        font-size: 28px;
    }

    .home-ref-shell {
        padding: 0 12px;
    }
}

@media (min-width: 641px) {

    /* Use grid centering for desktop so hero content stays visible below header */
    .home-ref-copy {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        align-self: center;
    }

    .home-ref-hero {
        padding: 80px 0;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Push the hero background forward on large desktops: show more blue area and add subtle overlay */
@media (min-width: 1200px) {
    .premium-hero {
        background-position: right center !important;
        background-size: 120% !important;
    }

    .premium-hero::after {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 1;
        background: linear-gradient(90deg, rgba(4, 20, 40, 0) 35%, rgba(3, 45, 90, 0.32) 100%);
    }

    .premium-hero .hero-inner {
        z-index: 2;
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(76, 215, 246, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(76, 215, 246, 0.5);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Utility classes */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Reveal utility for staggered animations */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes softFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmerShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.home-hero-copy {
    animation: revealLift 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Tidy hero visuals: reduce heavy image shadows for cleaner look */
.hero-figure img {
    filter: drop-shadow(0 28px 36px rgba(0, 0, 0, 0.28));
}

.hero-figure::after {
    opacity: 0.55;
    filter: blur(28px);
}

/* Centered dark trust strip overlapping hero (matches provided screenshot) */
.hero-trust-strip {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -34px;
    z-index: 7;
    width: calc(100% - 128px);
    max-width: 1100px;
    background: linear-gradient(180deg, #072048 0%, #04243f 100%);
    border-radius: 12px;
    padding: 12px 18px;
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.12);
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
}

.hero-trust-strip .trust-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #e6f4ff;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 12px;
    flex: 1;
    justify-content: center;
}

.hero-trust-strip .trust-item .material-symbols-outlined {
    background: rgba(255, 255, 255, 0.06);
    padding: 8px;
    border-radius: 8px;
    font-size: 18px;
    color: #cfe9ff;
}

.hero-trust-strip .trust-item span:last-child {
    color: #e6f4ff;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .hero-trust-strip {
        width: calc(100% - 48px);
        bottom: -28px;
        gap: 6px;
        padding: 10px;
    }

    .hero-trust-strip .trust-item {
        font-size: 12px;
        padding: 6px 8px;
    }
}

@media (max-width: 640px) {
    .hero-trust-strip {
        position: static;
        transform: none;
        margin-top: 18px;
        width: 100%;
        border-radius: 10px;
    }

    .hero-trust-strip .trust-item {
        display: inline-flex;
        gap: 8px;
        font-size: 12px;
    }
}

@keyframes revealLift {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Force large section headings to dark (black) color on corporate page only */
.corporate-scope .section-title,
.corporate-scope .section-heading h2,
.corporate-scope .course-title,
.corporate-scope .journey-copy-compact h2,
.corporate-scope .home-labs .lab-copy h2,
.corporate-scope .pricing-head h2,
.corporate-scope .home-cta-banner h2,
.corporate-scope .signature-copy h2 {
    color: #041329 !important;
}

/* But keep corporate hero text bright/visible like homepage */
.corporate-scope .course-hero-section .course-title {
    color: #ffffff !important;
    font-size: clamp(2rem, 4.5vw, 3.5rem) !important;
}

.corporate-scope .course-hero-section .course-description {
    color: rgba(255, 255, 255, 0.88) !important;
}

.corporate-scope .course-hero-copy {
    position: relative;
    z-index: 3;
}

.corporate-scope .course-hero-panel::before {
    filter: brightness(0.6) contrast(0.95) !important;
}

/* Hero entrance tweaks */
.hero-figure img {
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.9s ease;
    transform: translateY(12px);
}

.hero-figure.show img {
    transform: translateY(0);
}

.hero-content.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.9s cubic-bezier(0.2, 1, 0.22, 1), transform 0.9s cubic-bezier(0.2, 1, 0.22, 1);
}

.hero-content.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.glow-effect {
    animation: glow 3s ease-in-out infinite;
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Responsive adjustments */
/* Form elements */
input,
textarea,
select {
    transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(76, 215, 246, 0.1);
}

/* Buttons */
button {
    cursor: pointer;
    transition: all 0.3s ease;
}

button:active {
    transform: scale(0.98);
}

/* Extra phone-specific tweaks to match reference (only <=420px) */
@media (max-width: 420px) {
    .home-page-header {
        border-bottom: 0 !important;
        box-shadow: none !important;
    }

    .home-page-header>.border-b {
        border-bottom: 0 !important;
    }

    .premium-hero {
        min-height: 100svh !important;
        background-image: url('../../uploads/images/NC_Banner.png') !important;
        background-position: center top !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
    }

    .premium-hero .hero-inner {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        padding: 22px 14px 16px !important;
        min-height: 100svh !important;
        text-align: left !important;
    }

    .premium-hero #hero-left {
        width: 100% !important;
        text-align: left !important;
    }

    .premium-hero h1 {
        font-size: 1.75rem !important;
        line-height: 0.98 !important;
        text-align: left !important;
        letter-spacing: -0.03em;
        max-width: 12ch;
    }

    .premium-hero .eyebrow {
        background: rgba(10, 20, 36, 0.58) !important;
        color: #bfe8ff !important;
        padding: 7px 12px !important;
        display: inline-block;
        box-shadow: 0 8px 28px rgba(12, 40, 80, 0.18);
    }

    .premium-hero p.lead {
        font-size: 0.92rem !important;
        line-height: 1.45 !important;
        text-align: left !important;
        color: rgba(230, 244, 255, 0.92) !important;
        margin-top: 10px;
        max-width: 28ch;
    }

    /* Keep CTAs side-by-side on small phones (match screenshot) */
    .premium-hero .d-flex {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .premium-hero .d-flex .btn {
        width: 50% !important;
        justify-content: center;
        padding: 10px 10px !important;
        font-size: 13px !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
    }

    /* Make primary CTA more prominent and rounded like reference */
    .premium-hero .btn-primary-hero {
        border-radius: 14px !important;
        padding: 14px 12px !important;
        font-weight: 800 !important;
        box-shadow: 0 14px 36px rgba(255, 138, 31, 0.14) !important;
    }

    .premium-hero .btn-secondary-hero {
        border-radius: 14px !important;
        padding: 12px 10px !important;
    }

    /* Stats/trust cards: two-column rounded dark cards */
    .hero-trust-strip {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        width: 100% !important;
        padding: 10px !important;
        background: linear-gradient(180deg, #051827, #031226) !important;
        border-radius: 14px !important;
        box-shadow: 0 12px 30px rgba(2, 6, 23, 0.28) !important;
    }

    .hero-trust-strip .trust-item {
        justify-content: flex-start !important;
        gap: 8px !important;
        padding: 10px !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border-radius: 10px !important;
        display: flex !important;
        align-items: center !important;
    }

    .hero-trust-strip .trust-item .material-symbols-outlined {
        background: rgba(255, 255, 255, 0.03) !important;
        padding: 8px !important;
        border-radius: 8px !important;
    }

    .trust-number {
        color: #ff8a1f !important;
        font-size: 1.15rem !important;
    }

    /* Partner strip: centered inside rounded shell with visible dots and swipe */
    .partner-strip-shell {
        padding: 12px !important;
        border-radius: 14px !important;
    }

    .partner-strip-label {
        text-align: left !important;
        font-size: 0.72rem !important;
    }

    .partner-strip-marquee {
        animation: partner-marquee 18s linear infinite !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow: hidden !important;
        gap: 18px !important;
        justify-content: flex-start !important;
        padding: 6px 0;
        min-width: max-content !important;
        width: max-content !important;
    }

    .partner-strip-marquee::-webkit-scrollbar {
        height: 6px;
    }

    .partner-logo {
        min-width: 100px !important;
        flex: 0 0 auto !important;
        height: 44px !important;
        padding: 8px 12px !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border-radius: 10px !important;
        scroll-snap-align: start;
    }

    .partner-logo img {
        max-height: 28px !important;
        filter: brightness(0) invert(1) saturate(0.3) opacity(0.95) !important;
    }

    /* Hide the separate background layer on mobile because the hero itself carries the banner */
    .premium-hero-bg {
        display: none !important;
    }

    /* Hide the floating hero figure on very small screens to avoid clipping */
    .hero-figure {
        display: none !important;
    }

    /* Ensure left copy has breathing room from the right edge */
    .premium-hero .hero-inner {
        padding-right: 14px !important;
    }

    /* Reduce visual noise: move features below fold slightly */
    .premium-features {
        margin-top: 18px !important;
    }
}

/* Button hover polish */
.btn-primary,
.cta-button,
.hero-primary-btn {
    transition: transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 220ms ease, opacity 160ms ease;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(31, 92, 255, 0.06);
}

.btn-primary:hover,
.cta-button:hover,
.hero-primary-btn:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 30px 60px rgba(31, 92, 255, 0.12);
    opacity: 0.98;
}

.btn-gradient {
    background: linear-gradient(135deg, #ffb15f 0%, #ff8a1f 100%);
    color: #041329;
    font-weight: 800;
}

/* Links */
a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 24, 48, 0.8);
}

::-webkit-scrollbar-thumb {
    background: rgba(76, 215, 246, 0.6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(76, 215, 246, 0.8);
}

/* Print styles */
@media print {

    header,
    footer,
    .cta-banner {
        display: none;
    }
}

/* ============================================
   TRAINER SECTION STYLES
   ============================================ */

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 200% center;
    }

    50% {
        background-position: -200% center;
    }
}

.gradient-text {
    background: linear-gradient(135deg, #ff8a1f, #4cd7f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trainers-section {
    position: relative;
    background: linear-gradient(180deg, rgba(76, 215, 246, 0.03) 0%, rgba(255, 138, 31, 0.02) 100%);
    overflow: hidden;
}

.trainers-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(76, 215, 246, 0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.trainer-card {
    animation: slideUp 0.6s ease-out;
    perspective: 1000px;
}

.trainer-card-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(250, 250, 250, 0.98));
    border: 1px solid rgba(9, 30, 63, 0.04);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(9, 30, 63, 0.06);
}

.trainer-card:hover .trainer-card-inner {
    border-color: rgba(76, 215, 246, 0.6);
    box-shadow: 0 20px 60px rgba(76, 215, 246, 0.15), 0 0 40px rgba(76, 215, 246, 0.1);
    transform: translateY(-8px);
}

/* Image Wrapper */
.trainer-image-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(76, 215, 246, 0.1), rgba(255, 138, 31, 0.05));
}

.trainer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.trainer-card:hover .trainer-image {
    transform: scale(1.08);
}

/* Force hero panels visible on desktop and keep background behind content */
@media (min-width: 641px) {
    .home-ref-hero {
        background-color: transparent;
        background-image: url('../../uploads/images/NC_Banner.png');
        background-repeat: no-repeat;
        background-position: right 80px center;
        background-size: 48% auto;
    }

    .home-ref-hero-grid {
        grid-template-columns: 1fr 520px;
        gap: 28px;
    }

    .home-ref-copy-desktop,
    .home-ref-hero-visual {
        display: block !important;
    }

    .home-ref-copy-desktop {
        position: relative;
        z-index: 10;
        padding-right: 20px;
    }

    .home-ref-hero-visual {
        position: relative;
        z-index: 2;
    }

    .home-ref-banner-frame {
        position: relative;
    }

    .home-ref-banner-overlay {
        left: 40px;
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (max-width: 640px) {

    /* keep background image visible on mobile as well */
    .home-ref-copy-desktop {
        display: block;
    }
}

.trainer-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(76, 215, 246, 0), rgba(255, 255, 255, 0.6));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.trainer-card:hover .trainer-overlay {
    opacity: 1;
}

/* Badge */
.trainer-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ff8a1f, #ff6b1f);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 138, 31, 0.4);
    animation: float 3s ease-in-out infinite;
}

.trainer-badge span {
    display: flex;
    font-size: 1rem;
}

/* Content */
.trainer-content {
    flex: 1;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trainer-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
    transition: color 0.3s ease;
}

.trainer-card:hover .trainer-name {
    color: #4cd7f6;
}

/* ======= Authoritative hero overrides (final) ======= */
.home-ref-hero {
    background-image: url('../../uploads/images/NC_Banner.png') !important;
    background-repeat: no-repeat !important;
    background-position: right center !important;
    background-size: cover !important;
    background-color: transparent !important;
    padding-top: 110px !important;
    padding-bottom: 88px !important;
    min-height: 620px !important;
    position: relative !important;
    overflow: visible !important;
}

.home-ref-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.home-ref-hero-grid {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 28px;
    align-items: center;
}

.home-ref-copy {
    color: #ffffff;
    z-index: 6;
}

.home-ref-kicker {
    color: #9fc7ff;
    font-weight: 700;
    margin-bottom: 10px;
}

.home-ref-main-title {
    font-family: 'Syne', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 900 !important;
    line-height: 0.98 !important;
    letter-spacing: -0.02em !important;
    color: #ffffff !important;
    margin: 0 0 18px 0 !important;
    font-size: clamp(2.25rem, 5.5vw, 4.5rem) !important;
    /* up to 72px on large screens */
}

.home-ref-accent {
    color: #ff7a1a !important;
}

.home-ref-lead {
    color: rgba(255, 255, 255, 0.92);
    max-width: 560px;
    margin-bottom: 20px;
    font-size: 1.0625rem;
}

.home-ref-actions {
    margin-top: 26px;
    display: flex;
    gap: 14px;
    align-items: center;
}

.home-ref-btn {
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 800;
}

.home-ref-btn-primary {
    background: linear-gradient(135deg, #ffb15f 0%, #ff8a1f 100%);
    color: #041329;
}

.home-ref-btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

/* Trust strip anchored under CTA, centered */
.hero-trust-strip {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: -36px !important;
    z-index: 8 !important;
    width: calc(100% - 160px) !important;
    max-width: 1180px !important;
    height: 72px !important;
    padding: 0 24px !important;
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: linear-gradient(180deg, #072048 0%, #04243f 100%) !important;
    border-radius: 12px !important;
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.12) !important;
}

.hero-trust-strip .trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e6f4ff;
    font-weight: 700;
    flex: 1;
    justify-content: center;
}

.hero-stat-icon {
    background: rgba(255, 255, 255, 0.04);
    padding: 8px;
    border-radius: 8px;
    color: #cfe9ff;
}

.trust-number {
    color: #ff8a1f;
    font-size: 1.25rem;
    font-weight: 900;
}

.trust-label {
    color: rgba(230, 244, 255, 0.95);
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .home-ref-hero {
        padding-top: 56px;
        padding-bottom: 48px;
        background-position: center center !important;
    }

    .home-ref-hero-grid {
        grid-template-columns: 1fr !important;
    }

    .home-ref-main-title {
        font-size: clamp(1.75rem, 6.5vw, 3rem) !important;
    }

    .hero-trust-strip {
        position: static !important;
        transform: none !important;
        margin-top: 18px !important;
        width: 100% !important;
        height: auto !important;
        padding: 12px !important;
    }
}

@media (max-width: 640px) {
    .home-ref-shell {
        padding: 0 12px;
    }

    .home-ref-main-title {
        font-size: 1.875rem !important;
    }

    .home-ref-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-ref-btn {
        width: 100%;
    }
}

/* end authoritative hero overrides */

/* Force desktop H1 to exact target for large screens */
@media (min-width: 1200px) {
    .home-ref-main-title {
        font-size: 4.5rem !important;
        /* 72px */
    }

    .home-ref-lead {
        font-size: 1.125rem !important;
    }

    .home-ref-actions {
        margin-top: 32px !important;
    }
}

.trainer-designation {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 4px 0;
    transition: all 0.3s ease;
}

.trainer-card:hover .trainer-designation {
    color: #4cd7f6;
}

.trainer-credentials {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px;
    background: rgba(76, 215, 246, 0.08);
    border-radius: 8px;
    border-left: 3px solid #4cd7f6;
}

.trainer-credentials span:last-child {
    color: #cbd5e1;
    line-height: 1.4;
}

/* New FAQ styles for details/summary */
.contact-faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none;
    /* Hide default marker */
    padding: 16px;
    font-weight: 700;
    color: #0f172a;
}

.contact-faq-item summary::-webkit-details-marker {
    display: none;
    /* Hide default marker for Chrome/Safari */
}

.contact-faq-item .toggle-icon {
    font-size: 1.5rem;
    font-weight: 400;
    color: #94a3b8;
    transition: transform 0.2s;
}

.contact-faq-item[open] .toggle-icon {
    transform: rotate(45deg);
    color: #0f172a;
}

.contact-faq-body {
    padding: 0 16px 16px;
    color: #475569;
    line-height: 1.6;
}

.contact-faq-item[open] {
    background: #ffffff;
    border-color: rgba(31, 92, 255, 0.2);
    box-shadow: 0 8px 20px rgba(2, 6, 23, 0.05);
}

/* Social Links */
.trainer-social-links {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(76, 215, 246, 0.2);
}

/* Contact additions */
.office-hours {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.9rem;
}

.contact-partner-bar {
    overflow: hidden;
}

.contact-partner-strip {
    display: flex;
    gap: 12px;
    width: max-content;
}

.marquee-animation {
    animation: marqueeFlow 30s linear infinite;
}

.social-link .material-symbols-outlined {
    font-size: 1.05rem;
    opacity: 0.95;
}

/* Toast notifications */
.toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    background: rgba(6, 16, 28, 0.95);
    color: var(--text-light);
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(2, 6, 12, 0.6);
    opacity: 0;
    transform: translateY(12px);
    transition: all 280ms ease;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-success {
    border-left: 4px solid #22c55e;
}

.toast-error {
    border-left: 4px solid #ef4444;
}

/* Small contact tweaks */
.contact-info p {
    margin: 6px 0;
}

.hero-form {
    max-width: 520px;
}

@media (max-width: 768px) {
    .hero-form {
        padding: 18px;
    }
}

/* Contact page specifics */
.contact-info p {
    margin: 8px 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-map {
    margin-top: 12px;
}

.contact-map iframe {
    width: 100%;
    height: 220px;
    border: 0;
    border-radius: 12px;
    display: block;
}

/* Ensure hero-form inputs inherit good spacing on contact page */
.hero-form input,
.hero-form textarea,
.hero-form select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(96, 110, 130, 0.18);
    background: rgba(14, 22, 34, 0.5);
    color: var(--text-light);
}

.hero-form label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-light);
}

.hero-form .btn-primary {
    display: inline-block;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-inner {
        padding-top: 36px;
        padding-bottom: 36px;
    }

    .contact-map iframe {
        height: 180px;
    }
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(76, 215, 246, 0.1);
    border: 1px solid rgba(76, 215, 246, 0.3);
    border-radius: 10px;
    color: #4cd7f6;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #4cd7f6, #ff8a1f);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-link:hover {
    border-color: #4cd7f6;
    box-shadow: 0 4px 15px rgba(76, 215, 246, 0.3);
    transform: translateY(-3px);
    color: #fff;
}

.social-link:hover::before {
    opacity: 1;
}

/* Final overrides: ensure banner background is behind content and overlay sits on top */
@media (min-width: 641px) {
    .home-ref-hero {
        background-image: url('/test-21-05-2026/uploads/images/NC_Banner.png') !important;
        /* shift image more to the right and reduce its visual size */
        background-position: calc(100% - 120px) center !important;
        background-size: 55% auto !important;
        background-repeat: no-repeat !important;
        padding-top: 120px !important;
        /* keep content below fixed header */
        padding-bottom: 80px !important;
    }

    /* show the left column copy (on top of background) and hide duplicate overlay */
    .home-ref-banner-overlay {
        display: none !important;
    }

    .home-ref-copy-desktop {
        display: block !important;
        position: relative;
        z-index: 40 !important;
        max-width: 520px;
    }

    .home-ref-hero-visual img {
        display: none !important;
    }
}

/* Hero CTA buttons to match reference */
.home-ref-actions {
    margin-top: 28px;
    display: flex;
    gap: 14px;
    align-items: center;
}

.home-ref-actions .home-ref-btn-primary {
    background: linear-gradient(135deg, #ff7a1a 0%, #ffb15f 100%);
    color: #041329;
    padding: 14px 22px;
    border-radius: 12px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 18px 40px rgba(255, 122, 26, 0.12);
}

.home-ref-actions .home-ref-btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

/* Dark trust/partners strip appearance under hero */
.hero-trust-strip {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -44px;
    z-index: 30;
    width: calc(100% - 160px);
    max-width: 1180px;
    background: linear-gradient(90deg, rgba(2, 24, 46, 0.96), rgba(3, 32, 54, 0.96));
    border-radius: 12px;
    padding: 16px 22px;
    box-shadow: 0 24px 48px rgba(2, 6, 23, 0.36);
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.hero-trust-strip .trust-item {
    display: flex;
    gap: 12px;
    align-items: center;
    color: #cfe9ff;
    flex: 1;
    min-width: 0;
}

.hero-stat-icon {
    color: #73b7ff !important;
    font-size: 24px !important;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
}

.hero-trust-strip .trust-item>div {
    min-width: 0;
}

.trust-number {
    color: #8fc8ff;
    font-size: 1.2rem;
    font-weight: 900;
    margin-right: 0;
    line-height: 1;
}

.trust-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.88rem;
    line-height: 1.2;
    margin-top: 4px;
}

@media (max-width: 1024px) {
    .home-ref-shell {
        min-height: 540px !important;
    }

    .hero-trust-strip {
        width: 100% !important;
        margin-top: 18px !important;
        padding: 12px 14px !important;
        gap: 10px;
    }

    .hero-trust-strip .trust-item {
        justify-content: center;
        flex: 1;
    }

    .hero-stat-icon {
        color: #73b7ff !important;
        font-size: 22px !important;
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }

    .trust-number {
        font-size: 1.05rem;
    }

    .trust-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 640px) {
    .home-ref-shell {
        min-height: auto !important;
    }

    .hero-trust-strip {
        width: 100% !important;
        margin-top: 16px !important;
        padding: 10px 12px !important;
        gap: 8px;
    }

    .hero-trust-strip .trust-item {
        gap: 8px;
    }

    .hero-stat-icon {
        color: #73b7ff !important;
        font-size: 18px !important;
        width: 20px;
        height: 20px;
        flex-basis: 20px;
    }

    .trust-number {
        font-size: 0.95rem;
    }

    .trust-label {
        font-size: 0.72rem;
    }
}

/* Desktop headline exact sizes */
@media (min-width: 1200px) {
    .home-ref-main-title {
        font-size: 72px !important;
    }

    .home-ref-actions {
        margin-top: 28px !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .home-ref-main-title {
        font-size: 56px !important;
    }
}

/* Floating pill visible on desktop over banner */
.home-ref-floating-pill {
    position: absolute;
    right: 32px;
    bottom: 28px;
    background: rgba(4, 20, 38, 0.56);
    color: #cfe9ff;
    padding: 10px 12px;
    border-radius: 999px;
    display: flex;
    gap: 10px;
    align-items: center;
    z-index: 45;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.home-ref-floating-pill .material-symbols-outlined {
    background: linear-gradient(135deg, #4cd7f6, #1f5cff);
    color: #041329;
    padding: 6px;
    border-radius: 8px;
}

@media (max-width: 640px) {
    .home-ref-floating-pill {
        display: none;
    }
}

/* Style partner logos block */
.home-ref-brands .home-ref-shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.home-ref-brands .home-ref-brand-slider {
    width: calc(100% - 160px);
    max-width: 1180px;
    background: linear-gradient(90deg, rgba(3, 32, 54, 0.92), rgba(2, 24, 46, 0.92));
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.32);
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-ref-brands p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-weight: 700;
}

.home-ref-brand-track {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 12px;
}

.home-ref-brand-track span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    flex: 1;
}

.home-ref-brand-track img {
    height: 36px;
    opacity: 0.95;
    filter: grayscale(100%) brightness(1.2) contrast(1.05);
}

@media (max-width: 640px) {
    .home-ref-brands .home-ref-brand-slider {
        width: calc(100% - 24px);
    }

    .home-ref-brand-track img {
        height: 28px;
    }
}

/* Final force-applies for hero to ensure exact visuals */

/* Exact hero visual tuning */
.home-ref-hero {
    background-color: transparent !important;
    background-image: url('../../uploads/images/NC_Banner.png') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    padding-top: 110px !important;
    padding-bottom: 24px !important;
}

.home-ref-shell {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 620px !important;
}

.home-ref-hero-grid {
    flex: 1 1 auto !important;
    align-items: center !important;
}

.hero-trust-strip {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    justify-content: flex-start !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    /* margin: 24px auto 0 !important; */
    height: 72px !important;
    padding: 0 28px !important;
}

.home-ref-hero .home-ref-main-title {
    font-size: 72px !important;
    line-height: 0.96 !important;
    font-weight: 900 !important;
}

.home-ref-hero .home-ref-actions {
    margin-top: 28px !important;
}

.home-ref-hero .home-ref-floating-pill {
    display: flex !important;
    right: 36px !important;
    bottom: 36px !important;
    z-index: 50 !important;
}

.partners-header {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

/* Responsive headline sizes */
@media (max-width: 1199px) and (min-width: 992px) {
    .home-ref-hero .home-ref-main-title {
        font-size: 48px !important;
    }
}

@media (max-width: 991px) and (min-width: 641px) {
    .home-ref-hero .home-ref-main-title {
        font-size: 44px !important;
    }
}

@media (max-width: 640px) {
    .home-ref-hero .home-ref-main-title {
        font-size: 32px !important;
        line-height: 1.06 !important;
    }
}

/* Global forced sizes to ensure consistency */
@media (min-width: 1200px) {
    .home-ref-main-title {
        font-size: 72px !important;
        font-weight: 900 !important;
    }
}

/* Left copy constraints and typography */
.home-ref-lead {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.88) !important;
}

/* CTA exact sizing */
.home-ref-actions {
    gap: 14px !important;
}

.home-ref-actions .home-ref-btn-primary {
    padding: 14px 26px !important;
    border-radius: 10px !important;
    font-size: 16px !important;
}

.home-ref-actions .home-ref-btn-outline {
    padding: 12px 20px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
}

/* Trust strip fixed height and centered items */
.hero-trust-strip {
    height: 72px !important;
    padding: 0 28px !important;
    align-items: center !important;
}

.hero-trust-strip .trust-item {
    justify-content: center !important;
    gap: 12px !important;
}

.trust-number {
    font-size: 1.2rem !important;
}

/* ===== Final override (placed at EOF) =====
    Ensure these visual rules are last in cascade so they take effect.
*/
.home-ref-main-title {
    font-size: 72px !important;
    line-height: 0.96 !important;
    font-weight: 900 !important;
}

.home-ref-hero {
    background-color: transparent !important;
    background-image: url('../../uploads/images/NC_Banner.png') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
}


/* Partner logos uniform size */
.home-ref-brand-track img {
    height: 40px !important;
    width: auto !important;
}




.linkedin-link:hover {
    background: linear-gradient(135deg, rgba(76, 215, 246, 0.3), rgba(76, 215, 246, 0.1));
}

.facebook-link:hover {
    background: linear-gradient(135deg, rgba(255, 138, 31, 0.3), rgba(255, 138, 31, 0.1));
}

/* Responsive Design */
@media (max-width: 768px) {
    .trainers-section::before {
        width: 250px;
        height: 250px;
        top: -30%;
        right: -20%;
    }

    .trainer-image-wrapper {
        height: 220px;
    }

    .trainer-content {
        padding: 20px 16px;
    }

    .trainer-name {
        font-size: 1.1rem;
    }

    .hero-trust-strip {
        width: 100% !important;
        margin-top: 0 !important;
        padding: 10px 12px !important;
        gap: 8px;
    }
}

@media (max-width: 640px) {
    .trainer-card {
        margin: 0 auto;
        max-width: 100%;
    }

    .trainer-image-wrapper {
        height: 200px;
    }

    .trainer-content {
        padding: 16px 12px;
    }

    .trainer-name {
        font-size: 1rem;
    }

    .trainer-social-links {
        flex-wrap: wrap;
    }
}

/* ============================================
   COMPANIES SECTION STYLES
   ============================================ */

.companies-section {
    position: relative;
    background: linear-gradient(180deg, rgba(76, 215, 246, 0.04) 0%, rgba(255, 138, 31, 0.03) 100%);
    overflow: hidden;
}

.companies-section::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 138, 31, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.companies-section::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(76, 215, 246, 0.06), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

@keyframes sliderScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.companies-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    margin: 0 auto;
}

.companies-slider {
    display: flex;
    gap: 24px;
    animation: sliderScroll 40s linear infinite;
    will-change: transform;
}

.companies-slider .company-logo {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.companies-slider .company-logo.show {
    opacity: 1;
    transform: translateY(0);
}

.companies-slider:hover {
    animation-play-state: paused;
}

.company-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px 24px;
    background: linear-gradient(135deg, rgba(10, 24, 48, 0.6), rgba(10, 24, 48, 0.8));
    border: 1px solid rgba(76, 215, 246, 0.15);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    flex-shrink: 0;
    width: 160px;
}

.company-logo:hover {
    border-color: rgba(255, 138, 31, 0.6);
    background: linear-gradient(135deg, rgba(10, 24, 48, 0.8), rgba(10, 24, 48, 0.95));
    box-shadow: 0 15px 50px rgba(255, 138, 31, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
}

.company-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: brightness(0.9);
}

.company-logo:hover img {
    width: 70px;
    height: 70px;
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(255, 138, 31, 0.5));
}

.company-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #cbd5e1;
    text-align: center;
    transition: color 0.3s ease;
}

.company-logo:hover .company-name {
    color: #ff8a1f;
}

/* Responsive Design for Companies Slider */
@media (max-width: 1024px) {
    .companies-slider {
        gap: 18px;
    }

    .company-logo {
        padding: 24px 18px;
        width: 150px;
    }

    .company-logo img {
        width: 50px;
        height: 50px;
    }

    .company-logo:hover img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .companies-slider {
        gap: 14px;
    }

    .company-logo {
        padding: 20px 14px;
        width: 130px;
    }

    .company-logo img {
        width: 45px;
        height: 45px;
    }

    .company-logo:hover img {
        width: 54px;
        height: 54px;
    }

    .company-name {
        font-size: 0.8rem;
    }
}

@media (max-width: 640px) {
    .companies-slider {
        gap: 12px;
    }

    .company-logo {
        padding: 16px 12px;
        width: 110px;
    }

    .company-logo img {
        width: 40px;
        height: 40px;
    }

    .company-logo:hover img {
        width: 48px;
        height: 48px;
    }
}

/* ============================================================
   EXTRACTED FROM header.php
   ============================================================ */
* {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
}

html,
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #ffffff;
    color: #0f172a;
}

.glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.gradient-border {
    border: 1px solid transparent;
    background: linear-gradient(#ffffff, #ffffff) padding-box, linear-gradient(120deg, rgba(255, 138, 31, .5), rgba(76, 215, 246, .55), rgba(195, 192, 255, .55)) border-box;
}

.active-nav {
    color: #ff8a1f;
}

.mega-menu-panel {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 24px 45px rgba(15, 23, 42, .12);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.mega-menu-panel::-webkit-scrollbar {
    width: 6px;
}

.mega-menu-panel::-webkit-scrollbar-track {
    background: transparent;
}

.mega-menu-panel::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

.mega-menu-panel::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.mega-menu-open {
    display: block !important;
    animation: slideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mega-menu-tab {
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mega-menu-tab:hover {
    padding-left: 1.25rem !important;
}

#mega-menu-toggle {
    transition: color 0.2s ease-in-out;
}

#mega-menu-toggle.active {
    color: #1f5cff !important;
}

#mega-menu-toggle.active #mega-menu-arrow {
    transform: rotate(180deg);
}

#mega-menu-toggle.active #mega-menu-underline {
    transform: scaleX(1) !important;
}

.mobile-category-toggle span,
.mobile-category-toggle {
    transition: all 0.2s ease-in-out;
}

.theme-switch {
    width: 46px;
    height: 24px;
    border-radius: 999px;
    background: #e2e8f0;
    border: 1px solid #cbd5e1;
    position: relative;
    transition: .2s;
}

.theme-switch::after {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: .2s;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.16);
}

#theme-toggle:checked+.theme-switch {
    background: #f59e0b;
    border-color: #f59e0b;
}

#theme-toggle:checked+.theme-switch::after {
    transform: translateX(22px);
    background: #ffffff;
}

/* Light theme removed - dark mode only */
.floating-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    padding: 10px 14px;
    min-width: 140px;
    height: auto;
    border-radius: 12px;
    background: #128c7e;
    /* whatsapp teal */
    color: #ffffff;
    font-weight: 800;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(18, 140, 126, 0.25);
    z-index: 60;
    text-decoration: none;
}

.floating-whatsapp .wh-icon {
    font-size: 18px;
    color: #ffffff;
}

.floating-whatsapp .wh-text {
    font-size: 14px;
    color: #ffffff;
    font-weight: 700;
}

/* Logo sizing (replaces inline style) */
.logo-img-header {
    max-height: 50px;
}

.logo-img-footer {
    max-height: 60px;
}

/* Homepage reference layout */
.home-reference {
    background: #f7f9fe;
    color: #111827;
}

.home-ref-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.home-ref-hero {
    background: url('../../uploads/images/NC_Banner.png') center center / cover no-repeat !important;
    padding: 0;
    min-height: 620px;
    position: relative;
}

.home-ref-hero .home-ref-shell {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.home-ref-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
    min-height: 620px;
}

.home-ref-copy-desktop,
.home-ref-hero-visual {
    display: none;
}

.home-ref-kicker {
    font-size: 13px;
    color: #8fb2e5;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.home-ref-copy h1 {
    font-size: clamp(2.6rem, 5vw, 5rem);
    line-height: 1.05;
    margin: 0;
    color: #ffffff;
    max-width: 12ch;
}

.home-ref-main-title {
    /* Raise the minimum to ensure desktop renders at 72px */
    font-size: clamp(4.5rem, 5.4vw, 5.2rem) !important;
    letter-spacing: -0.02em;
    min-height: 1.25em;
}

.home-ref-typing {
    display: inline-block;
}

.home-ref-typing::after {
    content: '|';
    margin-left: 4px;
    color: #ff8a1f;
    animation: homeTypingCaret 0.85s step-end infinite;
}

@keyframes homeTypingCaret {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.home-ref-lead {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    max-width: 560px;
    line-height: 1.65;
}

.home-ref-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px;
}

/* Add extra top spacing for small nav buttons near headings */
.home-ref-nav-arrows,
.home-ref-course-arrows,
.home-ref-testimonial-arrows {
    margin-top: 12px;
}

/* Give CTA/button groups a little more breathing room on narrow layouts */
@media (max-width: 768px) {
    .home-ref-actions {
        margin-top: 18px;
    }

    .home-ref-nav-arrows,
    .home-ref-testimonial-arrows {
        margin-top: 10px;
    }
}

.home-ref-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid transparent;
}

.home-ref-btn-primary {
    background: linear-gradient(135deg, #ff8a1f 0%, #ffb15f 100%);
    color: #041329;
}

.home-ref-btn-primary:hover {
    opacity: 0.95;
}

.home-ref-btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.home-ref-btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
}

.home-ref-hero-visual {
    position: relative;
    padding-left: 0;
    display: none;
}

.home-ref-image-card {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(89, 139, 214, 0.18);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    background: #020817;
}

.home-ref-image-card img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

.home-ref-banner-card {
    max-width: 100%;
    width: 100%;
}

.home-ref-floating-pill {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(3, 8, 23, 0.74);
    border-radius: 10px;
    border: 1px solid rgba(143, 178, 229, 0.22);
    padding: 10px 12px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.home-ref-banner-pill strong,
.home-ref-banner-pill small {
    color: #ffffff;
}

.home-ref-floating-pill .material-symbols-outlined {
    color: #1545b9;
    font-size: 18px;
}

.home-ref-floating-pill strong {
    display: block;
    font-size: 12px;
    color: #1f2d48;
}

.home-ref-floating-pill small {
    display: block;
    font-size: 11px;
    color: #64748b;
}

.home-ref-stats {
    background: #dbe4f3;
    border-top: 1px solid #cbd7eb;
    border-bottom: 1px solid #cbd7eb;
}

.home-ref-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    padding: 16px 0;
}

.home-ref-stat-item {
    text-align: center;
}

.home-ref-stat-item strong {
    display: block;
    font-size: 13px;
    color: #1b2f57;
}

.home-ref-stat-item span {
    display: block;
    font-size: 11px;
    color: #526382;
}

.home-ref-brands {
    background: #ffffff;
    padding: 34px 0;
    text-align: center;
}

/* ====== FINAL EOF OVERRIDES: Hero authoritative rules (do not move) ====== */
/* These are intentionally placed at EOF to win the cascade */
.home-ref-hero {
    background-image: url('../../uploads/images/NC_Banner.png') !important;
    background-repeat: no-repeat !important;
    background-position: right center !important;
    background-size: cover !important;
    background-color: transparent !important;
    padding-top: 110px !important;
    padding-bottom: 88px !important;
    min-height: 620px !important;
    position: relative !important;
}

.home-ref-main-title {
    font-family: 'Syne', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: -0.02em !important;
    line-height: 0.96 !important;
    color: #ffffff !important;
    margin: 0 0 18px 0 !important;
    font-size: 4.5rem !important;
    /* 72px */
}

.home-ref-accent {
    color: #ff7a1a !important;
}

.home-ref-lead {
    font-size: 1.125rem !important;
    color: rgba(255, 255, 255, 0.92) !important;
}

.home-ref-actions {
    margin-top: 32px !important;
    gap: 14px !important;
}

.home-ref-btn-primary {
    padding: 14px 26px !important;
}

.home-ref-btn-outline {
    padding: 12px 20px !important;
}

.hero-trust-strip {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: -36px !important;
    z-index: 999 !important;
    width: calc(100% - 160px) !important;
    max-width: 1180px !important;
    height: 72px !important;
    padding: 0 24px !important;
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: linear-gradient(180deg, #072048 0%, #04243f 100%) !important;
    border-radius: 12px !important;
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.12) !important;
}

.hero-trust-strip .trust-item {
    justify-content: center !important;
    gap: 12px !important;
}

.hero-stat-icon {
    background: rgba(255, 255, 255, 0.04) !important;
    padding: 8px !important;
    border-radius: 8px !important;
}

.trust-number {
    font-size: 1.25rem !important;
    color: #ff8a1f !important;
    font-weight: 900 !important;
}

.trust-label {
    font-size: 0.95rem !important;
    color: rgba(230, 244, 255, 0.95) !important;
}

@media (max-width: 1024px) {
    .home-ref-main-title {
        font-size: clamp(1.75rem, 6.5vw, 3rem) !important;
    }

    .hero-trust-strip {
        position: static !important;
        transform: none !important;
        margin-top: 18px !important;
        width: 100% !important;
        height: auto !important;
        padding: 12px !important;
    }

    .home-ref-hero {
        background-position: center center !important;
        padding-top: 56px !important;
        padding-bottom: 48px !important;
    }
}

@media (max-width: 640px) {
    .home-ref-main-title {
        font-size: 1.875rem !important;
    }

    .home-ref-actions {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .home-ref-btn {
        width: 100% !important;
    }
}

/* End of EOF overrides */

.home-ref-brands p {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: #5b6d8f;
}

.home-ref-brand-row {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.home-ref-brand-slider {
    margin-top: 22px;
    overflow: hidden;
    border-radius: 8px;
}

.home-ref-brand-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: homeBrandMarquee 22s linear infinite;
}

.home-ref-brand-track span {
    min-width: 180px;
    text-align: center;
    border-top: 1px solid #e7edf8;
    padding-top: 14px;
    color: #4f6287;
    font-size: 13px;
    font-weight: 600;
}

/* Normalize trusted brand logos: consistent size and centering */
.home-ref-brand-track span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    padding: 10px 12px;
}

.home-ref-brand-track span img {
    max-height: 56px;
    height: 56px;
    width: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 768px) {
    .home-ref-brand-track span {
        min-width: 100px;
        padding: 8px;
    }

    .home-ref-brand-track span img {
        max-height: 44px;
        height: 44px;
    }
}

/* Trusted By: increase label size, add spacing and tighten logo widths */
.home-ref-brands p {
    font-size: 1.18rem;
    font-weight: 700;
    color: #213659;
    margin: 0 0 14px 0;
}

.home-ref-brand-slider {
    padding-top: 14px;
    padding-bottom: 18px;
}

.home-ref-brand-track {
    gap: 18px;
    align-items: center;
}

.home-ref-brand-track span {
    min-width: 110px;
    padding: 12px 8px;
}

.home-ref-brand-track span img {
    max-height: 48px;
    height: 48px;
}

@media (max-width: 768px) {
    .home-ref-brand-track span {
        min-width: 90px;
        padding: 8px 6px;
    }

    .home-ref-brand-track span img {
        max-height: 40px;
        height: 40px;
    }
}

@keyframes homeBrandMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.home-ref-brand-row span {
    border-top: 1px solid #e7edf8;
    padding-top: 14px;
    color: #4f6287;
    font-size: 13px;
    font-weight: 600;
}

.home-ref-section {
    padding: 56px 0;
}

.home-ref-section-alt {
    background: #f2f5fb;
}

.home-ref-head-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: end;
    margin-bottom: 22px;
}

.home-ref-head-row h2,
.home-ref-center-head h2,
.home-ref-testimonial-copy h2,
.home-ref-cta h2 {
    margin: 0;
    color: #132846;
    font-size: clamp(1.8rem, 2.6vw, 2.8rem);
    line-height: 1.2;
}

.home-ref-head-row p,
.home-ref-center-head p,
.home-ref-testimonial-copy p,
.home-ref-cta p {
    margin-top: 8px;
    color: #5b6b86;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 700px;
}

.home-ref-nav-arrows {
    display: flex;
    gap: 8px;
}

.home-ref-nav-arrows button {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid #c5d1e6;
    display: grid;
    place-items: center;
    background: #ffffff;
    color: #3c5075;
}

.home-ref-nav-arrows button .material-symbols-outlined {
    font-size: 18px;
}

.home-ref-course-scroll {
    display: flex;
    align-items: stretch;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 4px 8px;
    padding-bottom: 6px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.home-ref-course-scroll::-webkit-scrollbar {
    display: none;
}

.home-ref-course-card {
    flex: 0 0 clamp(250px, 24vw, 300px);
    background: #ffffff;
    border: 1px solid #d3ddef;
    border-radius: 10px;
    overflow: hidden;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}

.home-ref-course-band {
    background: var(--course-band, #1948b8);
    color: #ffffff;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 54px;
}

.home-ref-course-band .material-symbols-outlined {
    font-size: 18px;
}

.home-ref-course-band small {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.home-ref-course-body {
    padding: 14px;
}

.home-ref-chip {
    display: inline-block;
    border: 1px solid #c8d6f0;
    color: #2c508a;
    background: #edf3ff;
    font-size: 10px;
    border-radius: 999px;
    padding: 3px 8px;
}

.home-ref-course-card h3 {
    margin-top: 10px;
    font-size: clamp(1.7rem, 2.3vw, 2.2rem);
    color: #162c50;
    line-height: 1.1;
}

.home-ref-course-card p {
    margin-top: 8px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.6;
}

.home-ref-course-sub {
    margin-top: 4px;
    font-size: 13px;
    color: #415273;
}

.home-ref-course-points {
    margin-top: 10px;
    display: grid;
    gap: 7px;
    color: #4f607f;
    font-size: 12px;
    line-height: 1.55;
}

.home-ref-course-points li {
    list-style: none;
    padding-left: 14px;
    position: relative;
}

.home-ref-course-points li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #f47c20;
    position: absolute;
    left: 0;
    top: 0.5em;
}

.home-ref-card-foot {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e1e8f4;
    padding: 12px 14px 14px;
}

.home-ref-card-foot strong {
    font-size: 12px;
    color: #475569;
}

.home-ref-card-foot a {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #1d4cb9;
    font-size: 12px;
    font-weight: 700;
}

.home-ref-card-foot a .material-symbols-outlined {
    font-size: 16px;
}

.home-ref-lab-section {
    background: #f6f8fd;
}

.home-ref-lab-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 26px;
    align-items: center;
}

.home-ref-lab-image-wrap {
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid #cfd8eb;
    box-shadow: 0 18px 34px rgba(20, 35, 63, 0.14);
}

.home-ref-lab-image-wrap img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.home-ref-lab-copy h2,
.home-ref-transform-copy h2 {
    margin: 0;
    color: #14305f;
    font-size: clamp(1.6rem, 2.8vw, 2.9rem);
    line-height: 1.08;
}

.home-ref-lab-points,
.home-ref-transform-points {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.home-ref-lab-points li,
.home-ref-transform-points li {
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #44597a;
    font-size: 15px;
}

/* Increase description/paragraph sizes for better readability */
.course-description,
.section-heading p,
.section-heading .section-sub,
.home-ref-lead,
.programs-section p,
.hero-form p,
.contact-info p,
.home-ref-course-card p {
    font-size: 1.05rem;
    line-height: 1.6;
}

@media (min-width: 1024px) {

    .course-description,
    .section-heading p,
    .home-ref-lead {
        font-size: 1.1rem;
    }
}

/* Stats strip and kicker adjustments */
.home-ref-kicker {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
    color: #213659;
}

.home-ref-stat-item strong {
    font-size: 1.6rem;
    display: block;
    color: #10213d;
}

.home-ref-stat-item span {
    font-size: 1rem;
    color: #4b5563;
}

/* Hero trust strip — slightly larger numbers and labels */
.hero-trust-strip .trust-item {
    font-size: 15px;
}

.trust-number {
    font-size: 1.6rem;
    font-weight: 900;
}

.trust-label {
    font-size: 1rem;
}

/* Quick responsive helpers: make media and containers fluid on small screens */
img,
picture,
video,
iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

.container,
.max-w-7xl.mx-auto,
.home-ref-shell {
    width: 100%;
    box-sizing: border-box;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .course-hero-grid {
        grid-template-columns: 1fr;
    }

    .course-title {
        font-size: 1.6rem !important;
    }

    .hero-trust-strip {
        position: static;
        transform: none;
        width: 100%;
    }

    header nav {
        gap: 0.5rem;
    }
}

/* Headings: use Syne for stronger display and increase sizes slightly */
h1,
h2,
h3,
h4,
h5,
h6,
.section-heading h2,
.course-title {
    font-family: 'Syne', 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial !important;
    line-height: 1.05;
    font-weight: 800;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
}

h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
}

h3 {
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}

/* Ensure course title uses stronger weight/size */
.course-title {
    font-weight: 900;
    font-size: clamp(1.9rem, 3.8vw, 3.2rem) !important;
}



.home-ref-lab-points .material-symbols-outlined,
.home-ref-transform-points .material-symbols-outlined {
    color: #1d5cff;
    font-size: 18px;
    margin-top: 2px;
}

.home-ref-lab-copy .home-ref-btn {
    margin-top: 20px;
    gap: 4px;
}

.home-ref-transform-section {
    background: #ffffff;
}

.home-ref-transform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
}

.home-ref-transform-copy>p {
    margin-top: 12px;
    color: #5a6d8e;
    font-size: 14px;
    line-height: 1.7;
}

.home-ref-transform-copy .home-ref-btn {
    margin-top: 18px;
}

.home-ref-transform-banner {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #cfdaee;
    min-height: 250px;
}

.home-ref-transform-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-ref-transform-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 37, 68, 0.35) 0%, rgba(12, 28, 58, 0.8) 100%);
    color: #ffffff;
    display: grid;
    place-content: center;
    text-align: center;
    padding: 20px;
}

.home-ref-transform-overlay h3 {
    margin: 0;
    font-size: 32px;
    font-weight: 800;
}

.home-ref-transform-overlay p {
    margin-top: 8px;
    font-size: 13px;
    color: #d5e4ff;
}

.home-ref-workflow-grid {
    margin-top: 12px;
    border-radius: 12px;
    background: #123c9b;
    color: #ffffff;
    padding: 14px 10px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.home-ref-workflow-grid article {
    text-align: center;
    padding: 6px;
}

.home-ref-workflow-grid .material-symbols-outlined {
    font-size: 18px;
    color: #ff8a1f;
}

.home-ref-workflow-grid h4 {
    margin-top: 6px;
    font-size: 13px;
    color: #ffffff;
}

.home-ref-workflow-grid p {
    margin-top: 3px;
    font-size: 11px;
    color: #d0e0ff;
    line-height: 1.4;
}

.home-ref-card-foot a .material-symbols-outlined {
    font-size: 15px;
}

.home-ref-center-head {
    text-align: center;
    margin-bottom: 26px;
}

.home-ref-center-head p {
    margin-left: auto;
    margin-right: auto;
    max-width: 680px;
}

.home-ref-why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.home-ref-why-card {
    background: #ffffff;
    border: 1px solid #d4deef;
    border-radius: 10px;
    padding: 16px;
}

.home-ref-why-card .material-symbols-outlined {
    font-size: 18px;
    color: #1948b8;
}

.home-ref-why-card h3 {
    margin-top: 8px;
    font-size: 14px;
    color: #172c4e;
}

.home-ref-why-card p {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.65;
    color: #607089;
}

.home-ref-mentors {
    background: #ffffff;
}

.home-ref-mentor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.home-ref-mentor-card {
    text-align: center;
}

.home-ref-mentor-photo {
    width: 142px;
    height: 142px;
    margin: 0 auto;
    border-radius: 50%;
    padding: 6px;
    border: 2px dashed #1948b8;
}

.home-ref-mentor-card:nth-child(3n) .home-ref-mentor-photo {
    border-color: #d94f2b;
}

.home-ref-mentor-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
}

.home-ref-mentor-card h3 {
    margin-top: 12px;
    color: #162d51;
    font-size: 14px;
}

.home-ref-mentor-card p {
    margin-top: 4px;
    color: #6a7891;
    font-size: 12px;
}

.home-ref-testimonials {
    background: #dfe7f5;
}

.home-ref-testimonial-shell {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 20px;
    align-items: center;
}

.home-ref-mini-kicker {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #4f648a;
    font-size: 10px;
    margin-bottom: 8px;
}

.home-ref-testimonial-slider {
    overflow: hidden;
    width: 100%;
}

.home-ref-testimonial-track {
    display: flex;
    gap: 12px;
    width: max-content;
}

.home-ref-testimonial-card {
    background: #ffffff;
    border: 1px solid #cfdbee;
    border-radius: 10px;
    padding: 14px;
    width: min(410px, calc(100vw - 64px));
}

.home-ref-stars {
    color: #f3b01e;
    font-size: 12px;
    letter-spacing: 0.18em;
}

.home-ref-testimonial-card p {
    margin-top: 8px;
    font-size: 12px;
    color: #4f5f79;
    line-height: 1.7;
}

.home-ref-testimonial-foot {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-ref-testimonial-foot>span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #dce8ff;
    color: #2453be;
    font-size: 10px;
    font-weight: 800;
    display: grid;
    place-items: center;
}

.home-ref-testimonial-foot strong {
    display: block;
    color: #1b2f55;
    font-size: 12px;
}

.home-ref-testimonial-foot small {
    display: block;
    color: #64748b;
    font-size: 11px;
}

.home-ref-cta {
    background: #1545b9;
    color: #ffffff;
    text-align: center;
    padding: 56px 0;
}

.home-ref-cta h2 {
    color: #ffffff;
}

.home-ref-cta p {
    color: #dce6ff;
    margin-left: auto;
    margin-right: auto;
}

.home-ref-actions-center {
    justify-content: center;
}

.home-ref-btn-light {
    background: #ffffff;
    color: #1741a7;
}

.home-ref-btn-light:hover {
    background: #edf2ff;
}

.home-ref-btn-outline-light {
    background: transparent;
    border-color: #ffffff;
    color: #ffffff;
}

.home-ref-btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 1024px) {
    .home-ref-hero {
        min-height: 540px;
    }

    .home-ref-hero-grid {
        min-height: 540px;
    }

    .home-ref-testimonial-shell {
        grid-template-columns: 1fr;
    }

    .home-ref-hero-visual {
        padding-left: 0;
        justify-content: center;
    }

    .home-ref-floating-pill {
        left: 12px;
    }

    .home-ref-brand-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-ref-course-scroll {
        padding-right: 2px;
    }

    .home-ref-lab-grid,
    .home-ref-transform-grid {
        grid-template-columns: 1fr;
    }

    .home-ref-workflow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-ref-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-ref-mentor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .home-ref-hero .home-ref-shell {
        padding-left: 12px;
        padding-right: 12px;
    }

    .home-ref-shell {
        width: min(1180px, calc(100% - 24px));
    }

    .home-ref-hero {
        padding-top: 24px;
        padding-bottom: 18px;
    }

    .home-ref-copy h1,
    .home-ref-main-title {
        max-width: 100%;
        font-size: clamp(2.2rem, 9vw, 3.1rem) !important;
    }

    .home-ref-lead {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .home-ref-actions {
        margin-top: 22px;
    }

    .home-ref-image-card img {
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }

    .home-ref-floating-pill {
        left: 12px;
        bottom: 12px;
        padding: 8px 10px;
    }

    .home-ref-stats-grid,
    .home-ref-brand-row,
    .home-ref-why-grid,
    .home-ref-mentor-grid {
        grid-template-columns: 1fr;
    }

    .home-ref-course-scroll {
        display: flex;
    }

    .home-ref-course-card {
        flex-basis: 260px;
        max-width: 320px;
        min-height: 340px;
    }

    .home-ref-workflow-grid {
        grid-template-columns: 1fr;
    }

    .home-ref-course-card h3 {
        font-size: 26px;
    }

    .home-ref-head-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-ref-nav-arrows {
        display: none;
    }

    .home-ref-testimonial-card {
        width: min(320px, calc(100vw - 48px));
    }

    .home-ref-floating-pill {
        position: static;
        margin-top: 10px;
        width: fit-content;
    }
}

/* ============================================================
   EXTRACTED FROM index.php
   ============================================================ */
.hero-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(56, 189, 248, 0.08) 0%, transparent 70%), radial-gradient(ellipse 40% 50% at 80% 50%, rgba(245, 166, 35, 0.07) 0%, transparent 65%), linear-gradient(160deg, #0b1220 0%, #0f1c2e 50%, #0b1220 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 380px 360px;
    gap: 0 32px;
    align-items: center;
}

.hero-grid {
    display: contents;
}

.hero-content {
    padding-right: 8px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid rgba(245, 166, 35, 0.4);
    background: rgba(245, 166, 35, 0.08);
    font-size: 11px;
    font-weight: 600;
    color: #f5a623;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hero-badge::before {
    content: '🏆';
    font-size: 13px;
}

.hero-title {
    font-family: 'Syne', sans-serif;
}

.hero-accent {
    color: #f5a623;
}

.hero-subtitle {
    margin-top: 16px;
    font-size: 14.5px;
    line-height: 1.7;
    color: #ffffff;
    max-width: 420px;
}

.hero-actions {
    margin-top: 24px;
}

.hero-primary-btn {
    box-shadow: 0 4px 24px rgba(245, 166, 35, 0.35);
}

.hero-secondary-btn {
    border: 1px solid rgba(56, 189, 248, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
    font-weight: 600;
}

.hero-features {
    margin-top: 24px;
}

.hero-features .material-symbols-outlined {
    font-size: 16px;
    color: #f5a623;
}

.hero-meta {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-avatars {
    display: flex;
}

.hero-avatars img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #0b1220;
    object-fit: cover;
    margin-left: -8px;
}

.hero-avatars img:first-child {
    margin-left: 0;
}

.hero-meta-count {
    font-size: 12px;
    color: #ffffff;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-image::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -12px;
    width: 86%;
    height: 92px;
    background:
        radial-gradient(ellipse 36% 24% at 50% 62%, rgba(2, 8, 18, 0.9) 0%, rgba(2, 8, 18, 0.7) 45%, transparent 82%),
        radial-gradient(ellipse 68% 48% at 50% 56%, rgba(56, 189, 248, 0.16) 0%, rgba(56, 189, 248, 0.08) 38%, transparent 75%);
    filter: blur(12px);
    z-index: 1;
    pointer-events: none;
}

.glow-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(ellipse 70% 70% at 50% 80%, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.hero-image img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 360px;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 60px rgba(56, 189, 248, 0.2));
}

.chip {
    position: absolute;
    z-index: 3;
    background: rgba(15, 28, 46, 0.9);
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 11px;
    backdrop-filter: blur(8px);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #cbd5e1;
    animation: float 3.5s ease-in-out infinite;
}

.chip .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
}

.chip-left {
    left: -20px;
    top: 32%;
    animation-delay: 0s;
}

.chip-right {
    right: -20px;
    top: 58%;
    animation-delay: 1.2s;
}

/* chip-right icon: replaces inline style="font-size:14px;color:#ff8a1f" */
.chip-right .material-symbols-outlined {
    font-size: 14px;
    color: #ff8a1f;
}

.hero-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: 20px;
    padding: 28px 24px;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 60px rgba(56, 189, 248, 0.06), 0 20px 60px rgba(0, 0, 0, 0.4);
}

.form-title {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #f1f5f9;
}

.form-sub {
    font-size: 11.5px;
    color: #ffffff;
    margin-top: 4px;
}

.field {
    position: relative;
    margin-top: 14px;
}

.field .icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #ffffff;
    pointer-events: none;
}

.field input {
    width: 100%;
    background: rgba(11, 18, 32, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 10px;
    padding: 10px 12px 10px 38px;
    font-size: 13px;
    color: #e2e8f0;
    outline: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: border-color .2s, box-shadow .2s;
}

.field input::placeholder {
    color: #475569;
}

.field input:focus {
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.08);
}

/* field-tel: replaces inline style="padding-left:36px" on tel input */
.field-tel input {
    padding-left: 36px;
}

.flag {
    left: 10px;
    font-size: 15px;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    pointer-events: none;
}

.btn-demo {
    width: 100%;
    margin-top: 16px;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #f5a623 0%, #e8920a 100%);
    color: #0b1220;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
    transition: opacity .15s, transform .15s;
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.4);
}

.btn-demo:hover {
    opacity: .92;
    transform: translateY(-1px);
}

.form-footer {
    margin-top: 14px;
}

.no-spam {
    font-size: 11px;
    color: #64748b;
    text-align: center;
    display: block;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.mini-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(56, 189, 248, 0.18);
}

.mini-social .avatars {
    display: flex;
    align-items: center;
}

.mini-social .avatars img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(15, 28, 46, 0.95);
    object-fit: cover;
    margin-left: -6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.mini-social .avatars img:first-child {
    margin-left: 0;
}

.mini-social .avatars img:hover {
    transform: scale(1.08);
    z-index: 2;
}

.mini-social span {
    font-size: 12px;
    color: #cbd5e1;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.program-card {
    background: linear-gradient(150deg, rgba(10, 24, 48, 0.95), rgba(8, 20, 40, 0.92));
    border: 1px solid rgba(120, 140, 175, 0.25);
    border-radius: 18px;
    padding: 20px;
    box-shadow: inset 0 0 0 1px rgba(7, 16, 32, 0.5), 0 18px 35px rgba(4, 19, 41, 0.35);
}

.program-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.program-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .02em;
}

.program-subtitle {
    font-size: 12px;
    text-transform: uppercase;
    color: #7aa1c7;
    letter-spacing: .14em;
}

.program-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #76d7ff;
    background: rgba(20, 54, 86, 0.6);
    border: 1px solid rgba(66, 122, 164, 0.5);
}

.program-icon span {
    font-size: 28px;
}

.program-badge {
    display: inline-flex;
    margin-top: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .12em;
    background: rgba(69, 122, 194, 0.2);
    color: #7fc5ff;
    border: 1px solid rgba(98, 166, 226, 0.4);
}

.program-badge-green {
    background: rgba(64, 176, 120, 0.2);
    color: #8fe5b7;
    border-color: rgba(92, 214, 140, 0.45);
}

.program-badge-orange {
    background: rgba(255, 138, 31, 0.18);
    color: #ffb066;
    border-color: rgba(255, 160, 76, 0.45);
}

.program-badge-purple {
    background: rgba(138, 99, 224, 0.2);
    color: #c4a8ff;
    border-color: rgba(160, 124, 235, 0.45);
}

.program-list {
    margin-top: 14px;
    display: grid;
    gap: 8px;
    font-size: 12px;
    color: #b6c4d7;
}

.program-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.program-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #ff8a1f;
    box-shadow: 0 0 0 3px rgba(255, 138, 31, 0.15);
}

.program-duration {
    margin-top: 12px;
    font-size: 11px;
    color: #8fa5bf;
}

.program-button {
    margin-top: 14px;
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(120, 140, 175, 0.3);
    padding: 8px 10px;
    font-size: 12px;
    color: #d6e2f0;
    background: rgba(10, 24, 48, 0.7);
    text-align: left;
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
    background: linear-gradient(140deg, rgba(10, 24, 48, 0.95), rgba(8, 20, 40, 0.92));
    border: 1px solid rgba(120, 140, 175, 0.25);
    box-shadow: inset 0 0 0 1px rgba(7, 16, 32, 0.5);
}

.stat-card {
    background: transparent;
    border: 1px solid rgba(120, 140, 175, 0.22);
    border-radius: 14px;
    padding: 14px;
    text-align: center;
}

.stat-card span {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #ff8a1f;
}

.stat-card p {
    margin-top: 6px;
    font-size: 10px;
    color: #9fb0c7;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.logo-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 26px;
    opacity: 0.85;
}

.logo-strip img {
    height: 64px;
    width: auto;
    filter: grayscale(1) brightness(1.7);
}

.journey-copy {
    padding: 8px 8px 8px 0;
}

.journey-copy-compact {
    max-width: 340px;
}

.journey-copy-compact h2 {
    font-size: 28px;
    line-height: 1.15;
}

.journey-copy-compact p {
    font-size: 13px;
}

.journey-banner {
    background: url('../../uploads/images/fetures.png') center/contain no-repeat;
    width: 655px;
}

.journey-banner-large {
    min-height: 300px;
    display: flex;
    align-items: center;
}

.journey-banner::before {
    content: '';
    inset: 0;
    background: linear-gradient(120deg, rgba(8, 20, 40, 0.85), rgba(8, 20, 40, 0.7));
}

.journey-panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.journey-col {
    background: rgba(12, 28, 54, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 16px;
}

.journey-col-highlight {
    background: rgba(18, 32, 62, 0.8);
    border-color: rgba(255, 138, 31, 0.35);
    box-shadow: inset 0 0 0 1px rgba(255, 138, 31, 0.15);
}

.testimonial-card {
    position: relative;
    background: linear-gradient(140deg, rgba(12, 26, 48, 0.85), rgba(10, 22, 42, 0.9));
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 18px;
    color: #e2e8f0;
    box-shadow: inset 0 0 0 1px rgba(7, 16, 32, 0.5), 0 12px 25px rgba(3, 15, 35, 0.35);
}

.testimonial-quote {
    position: absolute;
    top: 12px;
    left: 14px;
    color: #ff8a1f;
    font-size: 22px;
    font-weight: 700;
}

.testimonial-card p {
    margin-top: 12px;
    font-size: 13px;
    color: #c7d4e6;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.testimonial-footer img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 138, 31, 0.55);
}

.testimonial-showcase {
    position: relative;
    max-width: 1200px;
}

.testimonial-hero-card,
.testimonial-mini-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: linear-gradient(145deg, rgba(12, 34, 78, 0.94), rgba(8, 22, 48, 0.88));
    box-shadow: 0 24px 60px rgba(3, 12, 28, 0.34);
}

.testimonial-hero-card::before,
.testimonial-mini-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 138, 31, 0.16), transparent 32%), radial-gradient(circle at bottom left, rgba(76, 215, 246, 0.10), transparent 34%);
    pointer-events: none;
}

.testimonial-hero-card>*,
.testimonial-mini-card>* {
    position: relative;
    z-index: 1;
}

.testimonial-mini-card {
    box-shadow: 0 16px 34px rgba(3, 12, 28, 0.24);
}

.testimonial-hero-card blockquote {
    position: relative;
    padding-left: 18px;
}

.testimonial-hero-card blockquote::before {
    content: '“';
    position: absolute;
    left: 0;
    top: -8px;
    font-size: 44px;
    line-height: 1;
    color: #f47c20;
    opacity: 0.9;
}

.testimonial-hero-card .material-symbols-outlined,
.testimonial-mini-card .material-symbols-outlined {
    font-variation-settings: 'FILL' 1;
}

@media (max-width: 768px) {

    .testimonial-hero-card,
    .testimonial-mini-card {
        border-radius: 22px;
    }
}

.cta-banner {
    background: linear-gradient(120deg, rgba(24, 18, 16, 0.95), rgba(12, 18, 36, 0.95));
    border: 1px solid rgba(255, 138, 31, 0.25);
    border-radius: 18px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cta-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cta-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 10px 24px rgba(255, 138, 31, 0.25);
}

.cta-actions {
    display: grid;
    gap: 10px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 10px;
    background: #ff8a1f;
    color: #0b1220;
    font-weight: 700;
    font-size: 13px;
}

.cta-button-outline {
    background: transparent;
    border: 1px solid rgba(255, 138, 31, 0.45);
    color: #e2e8f0;
}

.masters-section {
    position: relative;
    background: linear-gradient(180deg, rgba(76, 215, 246, 0.03) 0%, rgba(255, 138, 31, 0.02) 100%);
    overflow: hidden;
}

.masters-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(76, 215, 246, 0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 52px;
}

.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #4cd7f6;
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 999px;
    padding: 4px 14px;
    margin-bottom: 14px;
    background: rgba(56, 189, 248, 0.05);
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #f1f5f9;
    line-height: 1.15;
}

.section-title .amber {
    color: #f5a623;
}

.section-sub {
    margin-top: 12px;
    font-size: 15px;
    color: #7b93b0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 300px));
    gap: 28px;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
}

.master-card {
    background: #0e1a2b;
    border: 1px solid rgba(56, 189, 248, 0.14);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
    cursor: pointer;
}

.master-card:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.38);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(56, 189, 248, 0.12);
}

.master-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #38bdf8, transparent);
    opacity: 0;
    transition: opacity .25s;
}

.master-card:hover::before {
    opacity: 1;
}

.card-img-wrap {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: #0a1525;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform .4s ease;
}

.master-card:hover .card-img-wrap img {
    transform: scale(1.04);
}

.card-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, #0e1a2b, transparent);
}

.badge-expert {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 999px;
    background: #f5a623;
    color: #0b1220;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    box-shadow: 0 2px 12px rgba(245, 166, 35, 0.45);
}

.badge-expert .material-symbols-outlined {
    font-size: 11px;
}

.chip-exp {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(11, 18, 32, 0.8);
    border: 1px solid rgba(56, 189, 248, 0.25);
    font-size: 11px;
    color: #38bdf8;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

.card-body {
    padding: 18px 20px 20px;
}

.trainer-name {
    font-family: 'Syne', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 4px;
}

.trainer-role {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #7b93b0;
    margin-bottom: 14px;
}

.trainer-role .material-symbols-outlined {
    color: #f5a623;
    font-size: 13px;
    flex-shrink: 0;
}

.cert-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.07);
    border: 1px solid rgba(56, 189, 248, 0.2);
    font-size: 12px;
    font-weight: 600;
    color: #38bdf8;
    margin-bottom: 16px;
}

.cert-pill .material-symbols-outlined {
    font-size: 13px;
    opacity: .8;
}

.card-divider {
    height: 1px;
    background: rgba(56, 189, 248, 0.1);
    margin-bottom: 14px;
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    background: rgba(56, 189, 248, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, border-color .2s;
    color: #38bdf8;
}

.btn-icon:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.4);
}

.btn-icon .material-symbols-outlined {
    font-size: 16px;
}

.btn-profile {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 10px;
    background: #f5a623;
    color: #0b1220;
    font-size: 12px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: opacity .2s, transform .15s;
    text-decoration: none;
}

.btn-profile:hover {
    opacity: .9;
    transform: translateY(-1px);
}

.btn-profile .material-symbols-outlined {
    font-size: 13px;
}

.stats-row {
    margin-top: 52px;
    padding-top: 34px;
    border-top: 1px solid rgba(56, 189, 248, 0.12);
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap: 14px;
}

.stat {
    text-align: center;
    padding: 16px 14px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(10, 24, 48, 0.9), rgba(8, 20, 40, 0.92));
    border: 1px solid rgba(120, 140, 175, 0.22);
    box-shadow: inset 0 0 0 1px rgba(7, 16, 32, 0.48);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.stat:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 166, 35, 0.35);
    box-shadow: inset 0 0 0 1px rgba(7, 16, 32, 0.48), 0 12px 24px rgba(4, 19, 41, 0.28);
}

.stat-num {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.75rem, 2.6vw, 2.1rem);
    font-weight: 800;
    color: #f5a623;
    line-height: 1;
}

.stat-label {
    font-size: 11px;
    color: #9fb0c7;
    margin-top: 7px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .home-ref-hero {
        background: none;
        min-height: 0;
        padding-top: 24px;
        padding-bottom: 18px;
    }

    .home-ref-copy-desktop,
    .home-ref-hero-visual {
        display: block;
    }

    .home-ref-hero-grid {
        min-height: 0;
    }

    .home-ref-hero-visual {
        display: block;
    }

    .home-ref-banner-frame {
        display: block;
    }

    .stats-row {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
    }
}

@media (max-width: 560px) {
    .stats-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* Course detail page refresh */
.course-hero-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse 60% 50% at 20% 0%, rgba(76, 215, 246, .12) 0%, transparent 62%), radial-gradient(ellipse 45% 45% at 80% 15%, rgba(255, 138, 31, .10) 0%, transparent 58%), linear-gradient(160deg, #071225 0%, #0b1a30 52%, #071225 100%);
}

.course-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 12, 28, 0.12), rgba(4, 12, 28, 0.34));
    pointer-events: none;
}

.course-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 28px;
    align-items: center;
}

.course-hero-copy {
    padding: 8px 0;
}

.course-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    border: 1px solid rgba(148, 163, 184, 0.22);
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.04);
}

.course-pill-accent {
    border-color: rgba(245, 166, 35, 0.35);
    color: #f5a623;
    background: rgba(245, 166, 35, 0.08);
}

.course-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    line-height: 1.02;
    font-weight: 800;
    color: #f8fafc;
    max-width: 12ch;
}

.course-description {
    margin-top: 18px;
    max-width: 44rem;
    font-size: 1rem;
    line-height: 1.8;
    color: #ffffff;
}

/* Specific style for the word 'with' in hero heading */
.hero-with-word {
    color: #041329;
}

.course-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.course-secondary-btn {
    border: 1px solid rgba(76, 215, 246, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: #dbe7f3;
}

.course-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.course-hero-stat {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(10, 24, 48, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: inset 0 0 0 1px rgba(7, 16, 32, 0.35);
}

.course-hero-stat-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #7b93b0;
    margin-bottom: 6px;
}

.course-hero-stat strong {
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    color: #f8fafc;
}

.course-trust-strip {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(10, 24, 48, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.course-trust-avatars {
    display: flex;
}

.course-trust-avatar {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: -8px;
    border: 2px solid #071225;
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.course-trust-avatar:first-child {
    margin-left: 0;
}

.course-trust-avatar-alt {
    background: linear-gradient(135deg, #f5a623, #f97316);
}

.course-trust-avatar-soft {
    background: linear-gradient(135deg, #c3c0ff, #4cd7f6);
}

.course-hero-panel {
    position: relative;
}

.course-hero-image-wrap {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(8, 20, 40, 0.6), rgba(8, 20, 40, 0.85));
    border: 1px solid rgba(76, 215, 246, 0.18);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

.course-hero-image {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.45));
}

.course-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(18px);
    pointer-events: none;
}

.course-glow-cyan {
    width: 220px;
    height: 220px;
    background: rgba(76, 215, 246, 0.20);
    top: 12%;
    right: 8%;
}

.course-glow-amber {
    width: 260px;
    height: 260px;
    background: rgba(255, 138, 31, 0.14);
    bottom: 8%;
    left: 6%;
}

.course-image-card {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(7, 18, 37, 0.78);
    border: 1px solid rgba(76, 215, 246, 0.14);
    backdrop-filter: blur(12px);
}

.course-image-chip {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(245, 166, 35, 0.12);
    border: 1px solid rgba(245, 166, 35, 0.25);
    color: #f5a623;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.course-feature-card {
    background: linear-gradient(145deg, rgba(10, 24, 48, 0.94), rgba(8, 20, 40, 0.9));
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 18px 36px rgba(4, 19, 41, 0.24);
}

.course-feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(76, 215, 246, 0.08);
    border: 1px solid rgba(76, 215, 246, 0.18);
    margin-bottom: 14px;
}

/* Ensure readable (light) text inside dark feature / related / stat cards */
.course-feature-card,
.course-related-card,
.course-stat-card {
    color: #e6f4ff;
    /* default text color inside cards */
}

.course-feature-card h3,
.course-related-card h3,
.course-stat-card p strong,
.course-stat-card h3 {
    color: #ffffff !important;
}

.course-feature-card p,
.course-related-card p,
.course-stat-card p {
    color: rgba(255, 255, 255, 0.75) !important;
}

.course-feature-card .text-slate-300,
.course-feature-card .text-slate-400,
.course-related-card .text-slate-300 {
    color: rgba(255, 255, 255, 0.65) !important;
}

.course-feature-card .course-feature-icon {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
    color: #ff8a1f;
}

.course-feature-card .px-3.px-3,
.course-feature-card .px-3 {
    color: rgba(255, 255, 255, 0.8) !important;
}

.course-trainer-card {
    background: linear-gradient(145deg, rgba(10, 24, 48, 0.95), rgba(8, 20, 40, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(4, 19, 41, 0.24);
}

.course-trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 300px));
    gap: 24px;
    justify-content: center;
    max-width: 1180px;
    margin: 0 auto;
}

.course-trainers-grid .course-trainer-card {
    width: 100%;
}

.course-trainer-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: rgba(7, 18, 37, 0.85);
}

.course-trainer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.course-trainer-content {
    padding: 18px 18px 20px;
}

.course-video-card {
    background: linear-gradient(145deg, rgba(10, 24, 48, 0.95), rgba(8, 20, 40, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(4, 19, 41, 0.24);
}

.course-video-thumbnail {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.course-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.9) contrast(1.05);
}

.course-video-thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 19, 41, 0.08), rgba(4, 19, 41, 0.42));
}

.course-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f5a623;
    z-index: 1;
}

.course-placement-card {
    background: linear-gradient(145deg, rgba(10, 24, 48, 0.95), rgba(8, 20, 40, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 14px 28px rgba(4, 19, 41, 0.2);
}

.course-placement-card img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    padding: 10px;
}

.placements-marquee-wrap {
    position: relative;
    overflow: hidden;
}

.placements-marquee-wrap::before,
.placements-marquee-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 96px;
    z-index: 2;
    pointer-events: none;
}

.placements-marquee-wrap::before {
    left: 0;
    background: linear-gradient(90deg, #071225, transparent);
}

.placements-marquee-wrap::after {
    right: 0;
    background: linear-gradient(270deg, #071225, transparent);
}

.placements-marquee {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: placementsScroll 26s linear infinite;
    padding: 6px 2px 10px;
}

.placements-marquee:hover {
    animation-play-state: paused;
}

.course-testimonial-slider {
    position: relative;
}

.testimonial-slides {
    position: relative;
    min-height: 240px;
}

.testimonial-slide {
    display: block;
    opacity: 0;
    transform: translateY(8px) scale(0.995);
    transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1), transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 18px;
}

.slider-prev,
.slider-next {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(10, 24, 48, 0.86);
    color: #f1f5f9;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.slider-prev:hover,
.slider-next:hover {
    transform: translateY(-2px);
    border-color: rgba(76, 215, 246, 0.35);
    background: rgba(10, 24, 48, 1);
}

.slider-dots {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: rgba(148, 163, 184, 0.35);
    transition: transform .2s ease, background .2s ease, width .2s ease;
}

.slider-dot.active {
    width: 28px;
    background: linear-gradient(90deg, #4cd7f6, #f5a623);
}

.slider-dot:hover {
    transform: scale(1.1);
}

.course-roadmap-panel {
    position: relative;
}

.course-roadmap-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(10, 24, 48, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.16);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.course-roadmap-card:hover {
    transform: translateY(-3px);
    border-color: rgba(76, 215, 246, 0.32);
    background: rgba(10, 24, 48, 0.86);
}

.course-roadmap-step {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    color: #041329;
    background: linear-gradient(135deg, #4cd7f6, #c3c0ff);
}

.course-outcome-item {
    display: flex;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(10, 24, 48, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

/* Ensure outcome items have readable text and icons */
.course-outcome-item {
    color: #ffffff !important;
}

.course-outcome-item p {
    color: rgba(255, 255, 255, 0.78) !important;
}

.course-outcome-item .material-symbols-outlined {
    color: #4cd7f6 !important;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
    padding: 6px;
}

.course-outcome-item strong,
.course-outcome-item .font-semibold {
    color: #ffffff !important;
}

/* Make the small muted text inside these boxes visible */
.course-outcome-item .text-slate-400,
.course-outcome-item .text-slate-300 {
    color: rgba(255, 255, 255, 0.72) !important;
}

.course-achievements-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 22px;
    align-items: stretch;
    max-width: 1180px;
    margin: 0 auto;
}

.course-achievements-copy {
    display: grid;
    gap: 14px;
    align-content: start;
}

.course-achievements-copy .course-outcome-item {
    min-height: 84px;
    align-items: flex-start;
}

.course-achievements-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.course-stat-card {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 24px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(10, 24, 48, 0.96), rgba(8, 20, 40, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.course-testimonial-card {
    position: relative;
    background: linear-gradient(145deg, rgba(10, 24, 48, 0.95), rgba(8, 20, 40, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 16px 34px rgba(4, 19, 41, 0.26);
}

.course-related-card {
    background: linear-gradient(145deg, rgba(10, 24, 48, 0.95), rgba(8, 20, 40, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 22px;
    padding: 22px;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.course-related-card:hover {
    transform: translateY(-4px);
    border-color: rgba(76, 215, 246, 0.34);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.course-cta-banner {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 28px;
    background: linear-gradient(145deg, rgba(10, 24, 48, 0.98), rgba(8, 20, 40, 0.94));
    border: 1px solid rgba(255, 138, 31, 0.18);
    box-shadow: 0 22px 46px rgba(4, 19, 41, 0.28);
}

.course-cta-content {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.course-empty-state {
    background: rgba(10, 24, 48, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

@media (max-width: 1024px) {
    .course-hero-grid {
        grid-template-columns: 1fr;
    }

    .course-title {
        max-width: none;
    }

    .course-hero-image-wrap {
        min-height: 420px;
    }

    .course-achievements-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .course-hero-stats {
        grid-template-columns: 1fr;
    }

    .course-trust-strip {
        align-items: flex-start;
    }

    .course-hero-image-wrap {
        min-height: 340px;
    }

    .course-image-card {
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    .course-cta-banner {
        padding: 22px 18px;
    }

    .course-achievements-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .course-roadmap-card {
        grid-template-columns: 1fr;
    }

    .course-roadmap-step {
        margin-bottom: 4px;
    }

    .course-cta-row a,
    .course-cta-banner a {
        width: 100%;
        justify-content: center;
    }

    .slider-controls {
        gap: 12px;
    }
}

@keyframes testimonialFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes placementsScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {

    .placements-marquee-wrap::before,
    .placements-marquee-wrap::after {
        width: 32px;
    }
}

@media (max-width: 1280px) {
    .hero-inner {
        grid-template-columns: 1fr 320px 330px;
        gap: 0 24px;
    }
}

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-image {
        order: -1;
        padding-top: 8px;
    }

    .hero-image img {
        max-width: 260px;
    }

    .chip-left,
    .chip-right {
        display: none;
    }

    .hero-form {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .cta-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-actions {
        width: 100%;
    }

    .cta-button {
        width: 100%;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .hero-meta {
        gap: 10px;
    }
}

/* ============================================================
   EXTRACTED FROM student.php
   ============================================================ */
.student-nav-btn {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border-radius: 12px;
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
    font-size: 14px;
}

.student-nav-btn:hover {
    border-color: rgba(76, 215, 246, 0.45);
    color: #4cd7f6;
}

.student-nav-active {
    background: rgba(76, 215, 246, 0.15);
    border-color: rgba(76, 215, 246, 0.6);
    color: #4cd7f6;
}

/* ============================================================
   EXTRACTED FROM admin.php
   ============================================================ */
.admin-nav-btn {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border-radius: 12px;
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
    font-size: 14px;
}

.admin-nav-btn:hover {
    border-color: rgba(76, 215, 246, 0.45);
    color: #4cd7f6;
}

.admin-nav-active {
    background: rgba(76, 215, 246, 0.15);
    border-color: rgba(76, 215, 246, 0.6);
    color: #4cd7f6;
}

/* Progress bar width (replaces PHP inline style="width: X%") */
.progress-bar-fill {
    height: 100%;
    border-radius: 9999px;
    background-color: #4cd7f6;
    width: var(--progress, 0%);
}

/* ============================================================
   HOMEPAGE REDESIGN
   ============================================================ */
.home-hero {
    position: relative;
    overflow: hidden;
    /* Use provided banner image (place uploads/images/banner.png) */
    background-image: url('../../uploads/images/banner.png');
    background-size: cover;
    background-position: center right;
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    color: #ffffff;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 10, 32, 0.85) 0%, rgba(2, 10, 32, 0.72) 45%, rgba(2, 10, 32, 0.36) 65%, rgba(2, 10, 32, 0.12) 100%);
    z-index: 0;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.54));
    pointer-events: none;
}

.home-hero::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    left: -90px;
    bottom: -140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 138, 31, 0.16), transparent 68%);
    pointer-events: none;
}

.home-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 36px;
    align-items: center;
}

/* Ensure the copy column centers its content vertically */
.home-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-hero-copy {
    max-width: 660px;
    /* add left padding so content does not sit under the dark overlay */
    padding-left: 32px;
}

/* Left-side shadow behind hero copy to improve contrast with banner */
.home-hero-copy {
    position: relative;
    z-index: 3;
}

.home-hero-copy::before {
    content: '';
    position: absolute;
    left: -80px;
    top: -12px;
    bottom: -12px;
    width: 120px;
    /* lighter, smoother gradient so underlying image is visible and text remains clear */
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.88) 0%, rgba(2, 6, 23, 0.72) 35%, rgba(2, 6, 23, 0.40) 60%, rgba(2, 6, 23, 0) 100%);
    border-radius: 8px;
    pointer-events: none;
}

/* User request: remove overlays completely */
.home-hero::before,
.home-hero-copy::before {
    display: none !important;
    background: none !important;
    box-shadow: none !important;
}

@media (max-width: 1024px) {
    .home-hero-copy::before {
        display: none;
    }
}

.home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(31, 92, 255, 0.22);
    background: rgba(31, 92, 255, 0.08);
    color: #1f5cff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-title {
    margin-top: 18px;
    max-width: 18ch;
    font-family: 'Syne', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.6rem, 6vw, 5.2rem);
    line-height: 0.96;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 8px 24px rgba(2, 6, 23, 0.6);
}

.home-lead {
    margin-top: 18px;
    max-width: 48rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.home-btn:hover {
    transform: translateY(-2px);
}

.home-btn-primary {
    background: linear-gradient(135deg, #ffb15f 0%, #ff8a1f 100%);
    color: #071225;
    box-shadow: 0 14px 40px rgba(255, 138, 31, 0.18);
}

.home-btn-primary:hover {
    box-shadow: 0 16px 34px rgba(255, 138, 31, 0.35);
}

.home-btn-secondary {
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: #ffffff;
    color: #0f172a;
}

.home-stats-mini {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.home-stats-mini div {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-top: 3px solid rgba(31, 92, 255, 0.16);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.home-stats-mini strong {
    display: block;
    font-family: 'Syne', 'Plus Jakarta Sans', sans-serif;
    font-size: 1.3rem;
    color: #ff8a1f;
}

.home-stats-mini span {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9fb0c7;
}

.home-hero-visual {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    animation: softFloat 7s ease-in-out infinite;
}

.home-hero-image {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 640px;
    height: auto;
    display: block;
    filter: drop-shadow(0 28px 70px rgba(4, 8, 24, 0.30));
    transform: translateY(48px);
    transition: transform 420ms cubic-bezier(0.2, 0.9, 0.2, 1), filter 320ms ease;
    animation: softFloat 8s ease-in-out infinite;
}

.home-hero-image img {
    width: 100%;
    max-width: 720px;
    height: auto;
    object-fit: cover;
    object-position: right center;
    display: block;
    filter: none;
}

/* Homepage-specific hero slide image tweaks so the person sits naturally to the right */
.home-hero .hero-slide img,
.home-hero .hero-slider img {
    width: auto;
    max-width: 560px;
    height: auto;
    object-fit: contain;
    object-position: right bottom;
    filter: drop-shadow(0 28px 64px rgba(4, 8, 24, 0.32));
    display: block;
}

/* Make sure image baseline aligns better with copy on wide screens */
@media (min-width: 1200px) {
    .home-hero .hero-slider {
        align-self: end;
    }

    .home-hero .hero-slide img {
        transform: translateY(8px);
    }
}

.home-visual-card {
    position: absolute;
    z-index: 3;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #334155;
    font-size: 11px;
    line-height: 1.5;
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
    animation: revealLift 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Trust strip inside hero (icons with labels) */
.hero-trust-strip {
    position: relative;
    z-index: 2;
    margin-top: 28px;
    display: flex;
    gap: 18px;
    align-items: center;
    background: rgba(6, 25, 56, 0.88);
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.32);
}

.hero-trust-strip .trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 10px;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
}

.hero-trust-strip .trust-item .material-symbols-outlined {
    background: linear-gradient(135deg, #1f5cff, #8fb0ff);
    padding: 6px;
    border-radius: 8px;
    color: #fff;
    box-shadow: 0 6px 18px rgba(31, 92, 255, 0.12);
}

.hero-trust-strip .trust-item span {
    font-size: 13px;
    font-weight: 700;
}

.home-visual-card-top {
    top: 14%;
    left: 0;
    max-width: 210px;
}

.home-visual-card-bottom {
    right: 0;
    bottom: 18%;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0f172a;
}

/* Hero stats overlay (four small cards overlapping hero bottom) */
.hero-stats-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -56px;
    z-index: 5;
    pointer-events: none;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    pointer-events: auto;
    background: #ffffff;
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    text-align: center;
}

.stat-card strong {
    display: block;
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 900;
}

.stat-card span {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@media (max-width: 1024px) {
    .hero-stats-overlay {
        bottom: -36px;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 0 12px;
    }
}

@media (max-width: 480px) {
    .hero-stats-overlay {
        position: static;
        transform: none;
        margin-top: 18px;
    }

    .hero-stats-grid {
        grid-template-columns: 1fr;
    }
}

.home-visual-card-bottom .material-symbols-outlined {
    font-size: 14px;
    color: #1f5cff;
}

.home-trust {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.home-signature {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

/* Labs showcase styles */
.home-labs .labs-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.home-labs .lab-image img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
}

.home-labs .lab-copy .section-eyebrow {
    margin-bottom: 8px;
}

.home-labs .lab-copy h2 {
    margin-top: 6px;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.home-labs .lab-copy p {
    margin-top: 12px;
    color: #475569;
}

@media (max-width: 1024px) {
    .home-labs .labs-shell {
        grid-template-columns: 1fr;
    }

    .home-labs .lab-image {
        order: -1;
    }
}

.home-signature::before {
    content: '';
    position: absolute;
    inset: 20px auto auto 0;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(31, 92, 255, 0.10), transparent 68%);
    pointer-events: none;
}

.signature-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 18px;
    align-items: center;
    padding: 22px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
}

.signature-copy h2 {
    margin-top: 12px;
    font-family: 'Syne', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.1;
    font-weight: 800;
    color: #0f172a;
}

.signature-copy p {
    margin-top: 10px;
    color: #475569;
    line-height: 1.75;
    max-width: 56ch;
}

.signature-marquee {
    position: relative;
    overflow: hidden;
    padding: 10px 0;
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.signature-track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: marqueeFlow 24s linear infinite;
    will-change: transform;
}

.signature-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(31, 92, 255, 0.08);
    border: 1px solid rgba(31, 92, 255, 0.18);
    color: #1f5cff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

@keyframes marqueeFlow {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.home-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.home-trust-card {
    padding: 18px 16px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-top: 3px solid rgba(31, 92, 255, 0.18);
    text-align: center;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.home-trust-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.09);
}

.home-trust-card strong {
    display: block;
    font-family: 'Syne', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.4rem, 2vw, 2rem);
    color: #f5a623;
}

.home-trust-card span {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.home-section {
    position: relative;
    background: #ffffff;
}

.home-section-alt {
    background: #f8fafc;
}

.section-heading {
    text-align: left;
    max-width: 760px;
    margin: 0 0 34px 0;
}

.section-heading-left {
    text-align: left;
    margin-left: 0;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(31, 92, 255, 0.20);
    background: rgba(31, 92, 255, 0.08);
    color: #1f5cff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-heading h2,
.pricing-head h2 {
    margin-top: 14px;
    font-family: 'Syne', 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.02;
    letter-spacing: var(--heading-tracking);
    font-weight: 800;
    color: #071029;
    background: linear-gradient(90deg, #071029, #1f5cff 55%, #ff8a1f 110%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerShift 9s ease-in-out infinite;
}

.section-heading p,
.pricing-head p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.75;
    color: #475569;
}

.home-track-grid,
.home-course-grid,
.journey-grid,
.mentor-grid,
.pricing-grid {
    display: grid;
    gap: 20px;
}

.home-track-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.track-card {
    padding: 22px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.track-card:hover {
    transform: translateY(-4px);
    border-color: rgba(31, 92, 255, 0.34);
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.09);
}

.track-icon {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(31, 92, 255, 0.08);
    border: 1px solid rgba(31, 92, 255, 0.18);
    color: #1f5cff;
}

.track-card h3,
.course-card h3,
.journey-card h3,
.mentor-body h3,
.pricing-card h3 {
    margin-top: 16px;
    font-family: 'Syne', 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}

.track-card p,
.course-card p,
.journey-card p,
.mentor-body p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.7;
    color: #475569;
}

.track-link,
.course-link {
    display: inline-flex;
    margin-top: 16px;
    color: #ff8a1f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-course-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.course-card {
    padding: 22px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    position: relative;
    overflow: visible;
}

.course-card:hover {
    transform: translateY(-4px);
    border-color: rgba(31, 92, 255, 0.28);
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.09);
}

.course-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* decorative top band for course cards */
.course-card::before {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    top: -12px;
    height: 78px;
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(14, 45, 106, 0.98) 0%, rgba(31, 92, 255, 0.9) 100%);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
    z-index: 0;
}

.course-card .course-card-top,
.course-card h3,
.course-card p,
.course-card .course-link {
    position: relative;
    z-index: 2;
}

.course-card h3 {
    margin-top: 18px;
    font-size: 1.05rem;
    color: #071225;
}

.course-card .course-chip {
    background: transparent;
    border: none;
    color: #fff;
    font-weight: 800;
}

.course-card .course-duration {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.course-card .course-link {
    margin-top: 12px;
    display: inline-block;
    color: #1f5cff;
    font-weight: 700;
}

.course-chip,
.course-duration,
.mentor-tag,
.pricing-price {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.course-chip {
    background: rgba(255, 138, 31, 0.12);
    border: 1px solid rgba(255, 138, 31, 0.22);
    color: #ffb064;
}

.course-duration {
    background: rgba(31, 92, 255, 0.08);
    border: 1px solid rgba(31, 92, 255, 0.18);
    color: #1f5cff;
}

.journey-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.journey-card {
    padding: 22px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.journey-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.09);
}

.journey-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1f5cff, #c3c0ff);
    color: #071225;
    font-family: 'Syne', 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
}

.mentor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mentor-card {
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.mentor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.09);
}

.mentor-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.mentor-body {
    padding: 18px 18px 20px;
}

.mentor-tag {
    background: rgba(31, 92, 255, 0.08);
    border: 1px solid rgba(31, 92, 255, 0.18);
    color: #1f5cff;
}

.mentor-empty {
    grid-column: 1 / -1;
    padding: 28px;
    border-radius: 20px;
    border: 1px dashed rgba(148, 163, 184, 0.24);
    text-align: center;
    color: #9fb0c7;
}

.testimonial-carousel {
    max-width: 980px;
    margin: 0 auto;
}

.testimonial-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 16px;
}

.testimonial-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(31, 92, 255, 0.08);
    border: 1px solid rgba(31, 92, 255, 0.16);
    color: #1f5cff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: revealLift 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.testimonial-badge-soft {
    background: rgba(255, 138, 31, 0.08);
    border-color: rgba(255, 138, 31, 0.16);
    color: #ff8a1f;
}

.testimonial-slides {
    position: relative;
    min-height: 260px;
}

.testimonial-slide {
    position: absolute;
    inset: 0;
    padding: 28px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(31, 92, 255, 0.06), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-top: 3px solid rgba(31, 92, 255, 0.18);
}

.testimonial-slide.active {
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.testimonial-quote-mark {
    font-family: 'Syne', 'Plus Jakarta Sans', sans-serif;
    font-size: 3rem;
    line-height: 1;
    color: rgba(31, 92, 255, 0.18);
}

.testimonial-stars {
    margin-top: 6px;
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    color: #ff8a1f;
}

.testimonial-slide p {
    margin: 14px 0 0;
    font-size: 1.05rem;
    line-height: 1.9;
    color: #0f172a;
    max-width: 58ch;
}

.testimonial-footer {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1f5cff, #c3c0ff);
    color: #071225;
    font-family: 'Syne', 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(31, 92, 255, 0.18);
    animation: softFloat 6s ease-in-out infinite;
}

.testimonial-footer strong {
    display: block;
    font-family: 'Syne', 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    color: #0f172a;
}

.testimonial-footer span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
}

.pricing-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 34px;
}

.testimonial-controls {
    margin-top: 18px;
    padding: 12px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.14);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.slider-prev,
.slider-next {
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.slider-prev:hover,
.slider-next:hover {
    transform: translateY(-3px) scale(1.02);
}

.slider-dot.active {
    width: 28px;
    background: linear-gradient(90deg, #1f5cff, #ff8a1f);
}

.pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-card {
    padding: 24px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.09);
}

.pricing-card-featured {
    border-color: rgba(255, 138, 31, 0.38);
    box-shadow: 0 18px 36px rgba(255, 138, 31, 0.08);
}

.pricing-price {
    background: rgba(31, 92, 255, 0.10);
    border: 1px solid rgba(31, 92, 255, 0.18);
    color: #1f5cff;
}

.pricing-card ul {
    margin-top: 16px;
    display: grid;
    gap: 10px;
    color: #475569;
}

.pricing-card li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.pricing-card li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #ff8a1f;
    box-shadow: 0 0 0 3px rgba(255, 138, 31, 0.16);
    flex-shrink: 0;
}

.home-cta-wrap {
    background: #ffffff;
}

.home-cta-banner {
    align-items: center;
}

.home-cta-banner .cta-actions {
    min-width: 200px;
}

.home-cta-banner h2 {
    font-family: 'Syne', 'Plus Jakarta Sans', sans-serif;
    color: #0f172a;
}

.home-cta-banner p {
    color: #475569;
}

@media (max-width: 1280px) {
    .home-shell {
        grid-template-columns: 1fr 360px;
    }
}

@media (max-width: 1024px) {

    .home-shell,
    .home-track-grid,
    .home-course-grid,
    .journey-grid,
    .mentor-grid,
    .pricing-grid,
    .home-trust-grid {
        grid-template-columns: 1fr 1fr;
    }

    .home-shell {
        gap: 24px;
    }

    .home-hero-visual {
        min-height: 480px;
        order: -1;
    }

    /* On medium screens place image below copy and center it */
    .home-hero .hero-slide img,
    .home-hero .hero-slider img {
        object-position: center bottom;
        max-width: 420px;
    }

    /* for smaller screens reduce hero height to avoid overflow */
    .home-hero {
        min-height: 56vh;
    }

    .home-title {
        max-width: none;
    }
}

@media (max-width: 900px) {
    .signature-shell {
        grid-template-columns: 1fr;
    }

    .signature-marquee {
        padding-top: 0;
    }
}

@media (max-width: 768px) {

    .home-shell,
    .home-track-grid,
    .home-course-grid,
    .journey-grid,
    .mentor-grid,
    .pricing-grid,
    .home-trust-grid,
    .home-stats-mini {
        grid-template-columns: 1fr;
    }

    .home-hero-copy {
        max-width: none;
    }

    .home-hero-visual {
        min-height: 320px;
    }

    .home-hero-image {
        transform: translateY(10px);
        max-width: 420px;
    }

    .home-visual-card-top {
        left: auto;
        right: 0;
        top: 6%;
        max-width: 180px;
    }

    .home-visual-card-bottom {
        bottom: 8%;
    }

    .home-actions {
        width: 100%;
    }

    .home-btn {
        width: 100%;
    }

    .section-heading,
    .pricing-head {
        text-align: left;
        margin-left: 0;
    }

    .cta-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-actions {
        width: 100%;
    }

    .cta-button {
        width: 100%;
    }

    .signature-shell {
        padding: 18px;
        border-radius: 22px;
    }

    .signature-track {
        animation-duration: 20s;
    }

    .testimonial-slide {
        padding: 22px;
    }

    .testimonial-slide p {
        font-size: 0.98rem;
    }

    .testimonial-controls {
        padding: 10px 12px;
    }
}

/* Desktop-only overrides to fix layout regressions (min-width > 900px) */
@media (min-width: 901px) {
    /* Ensure partner marquee runs and is centered inside its shell on desktop */
    .partner-strip-shell {
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .partner-strip-marquee {
        width: max-content;
        animation-play-state: running;
    }
}

/* Stronger desktop overrides starting at 769px to cover smaller desktop windows */
@media (min-width: 769px) {
    body .premium-hero {
        min-height: 720px !important;
    }

    body .premium-hero .hero-inner {
        padding: 120px 0 80px !important;
    }

    body .partner-strip-shell {
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    body .partner-strip-marquee {
        width: max-content !important;
        animation-play-state: running !important;
    }
}

/* Ensure text-slate utility classes inside dark sections, text-white elements, or gradient backgrounds remain bright/white */
.text-white .text-slate-100,
.bg-gradient-to-r .text-slate-100,
.bg-\[\#03112a\] .text-slate-100,
.bg-\[\#04163a\] .text-slate-100,
.bg-\[\#0a2d6e\] .text-slate-100 {
    color: #ffffff !important;
}

.text-white .text-slate-200,
.bg-gradient-to-r .text-slate-200,
.bg-\[\#03112a\] .text-slate-200,
.bg-\[\#04163a\] .text-slate-200,
.bg-\[\#0a2d6e\] .text-slate-200 {
    color: rgba(255, 255, 255, 0.95) !important;
}

.text-white .text-slate-300,
.bg-gradient-to-r .text-slate-300,
.bg-\[\#03112a\] .text-slate-300,
.bg-\[\#04163a\] .text-slate-300,
.bg-\[\#0a2d6e\] .text-slate-300 {
    color: rgba(255, 255, 255, 0.82) !important;
}

.text-white .text-slate-400,
.bg-gradient-to-r .text-slate-400,
.bg-\[\#03112a\] .text-slate-400,
.bg-\[\#04163a\] .text-slate-400,
.bg-\[\#0a2d6e\] .text-slate-400 {
    color: rgba(255, 255, 255, 0.70) !important;
}