/* ============================================================
   NexBlue Digital Skills — Premium Master Stylesheet v2
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ============================================================
   1.  DESIGN TOKENS
   ============================================================ */
:root {
    --primary-nex: #0056b3;
    --primary-nex-rgb: 0, 86, 179;
    --primary-dark: #003d80;
    --accent-cyan: #00d2ff;
    --accent-cyan-rgb: 0, 210, 255;
    --accent-purple: #7c3aed;
    --accent-orange: #ff6b35;
    --accent-green: #22c55e;
    --accent-gold: #fbbf24;
    --deep-space: #0a1128;
    --deep-space-rgb: 10, 17, 40;
    --ghost-white: #f8faff;
    --text-dark: #1a1f36;
    --text-muted: #6b7a99;
    --border-light: #e2e8f0;
    --white: #ffffff;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.78);
    --glass-bg-dark: rgba(10, 17, 40, 0.85);
    --glass-blur: blur(14px);
    --glass-border: 1px solid rgba(255, 255, 255, 0.22);

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--primary-nex), var(--accent-cyan));
    --gradient-hero-warm: linear-gradient(135deg, #0056b3, #7c3aed);
    --gradient-dark: linear-gradient(180deg, var(--deep-space) 0%, #131b3a 100%);
    --gradient-card: linear-gradient(145deg, rgba(0, 86, 179, .06), rgba(0, 210, 255, .06));
    --gradient-mesh: radial-gradient(at 20% 80%, rgba(0, 86, 179, .12) 0%, transparent 50%),
        radial-gradient(at 80% 20%, rgba(0, 210, 255, .1) 0%, transparent 50%),
        radial-gradient(at 50% 50%, rgba(124, 58, 237, .06) 0%, transparent 60%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, .08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, .12);
    --shadow-xl: 0 32px 80px rgba(0, 0, 0, .16);
    --shadow-glow: 0 0 50px rgba(0, 86, 179, .2);
    --shadow-cyan-glow: 0 0 40px rgba(0, 210, 255, .2);

    /* Animation */
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-fast: all 0.25s ease;
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 50px;
}

/* ============================================================
   2.  RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    color: var(--text-dark);
    background: var(--ghost-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: var(--primary-nex);
    transition: var(--transition-fast);
}

a:hover {
    color: var(--accent-cyan);
}

img {
    max-width: 100%;
    height: auto;
}

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

::selection {
    background: var(--primary-nex);
    color: #fff;
}

/* ============================================================
   3.  UTILITIES
   ============================================================ */
.gradient-text {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-warm {
    background: var(--gradient-hero-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-padding {
    padding: 100px 0;
}

.section-padding-sm {
    padding: 70px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(0, 86, 179, .08);
    color: var(--primary-nex);
    margin-bottom: 14px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
}

/* BUTTONS */
.btn-nex {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: var(--radius-pill);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: .95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-primary-nex {
    background: var(--gradient-hero);
    color: #fff !important;
    box-shadow: 0 6px 25px rgba(0, 86, 179, .35);
}

.btn-primary-nex:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 86, 179, .45);
    color: #fff !important;
}

.btn-ghost {
    background: transparent;
    color: var(--primary-nex) !important;
    border: 2px solid var(--primary-nex);
}

.btn-ghost:hover {
    background: var(--primary-nex);
    color: #fff !important;
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--primary-nex) !important;
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-nex) !important;
}

.btn-sm {
    padding: 9px 20px;
    font-size: .85rem;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 86, 179, .4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 86, 179, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 86, 179, 0);
    }
}

.btn-pulse {
    animation: pulse-ring 2s infinite;
}

/* Glass card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
}

/* ============================================================
   4.  PARTICLES BACKGROUND
   ============================================================ */
#particles-js {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ============================================================
   5.  HEADER / NAVIGATION
   ============================================================ */
.nex-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    padding: 14px 0;
    transition: var(--transition-smooth);
}

.nex-header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: var(--glass-border);
    box-shadow: var(--shadow-sm);
    padding: 8px 0;
}

.nex-header .navbar-brand {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.55rem;
    color: var(--primary-nex) !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nex-header .navbar-brand span {
    color: var(--accent-cyan);
}

.nex-header .nav-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: .88rem;
    color: var(--text-dark) !important;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nex-header .nav-link:hover,
.nex-header .nav-link.active {
    color: var(--primary-nex) !important;
    background: rgba(0, 86, 179, .06);
}

/* Mega-menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    width: 760px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 32px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    pointer-events: none;
    z-index: 1060;
}

.mega-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}

.mega-col h6 {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
}

.mega-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-weight: 500;
    font-size: .88rem;
    transition: var(--transition-fast);
}

.mega-link:hover {
    background: var(--gradient-card);
    color: var(--primary-nex);
    transform: translateX(4px);
}

.mega-link i {
    font-size: 1.1rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 86, 179, .07);
    border-radius: var(--radius-sm);
    color: var(--primary-nex);
    flex-shrink: 0;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 17, 40, .94);
    backdrop-filter: blur(24px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay .search-box {
    width: 700px;
    max-width: 92%;
    position: relative;
}

.search-overlay input {
    width: 100%;
    padding: 24px 60px 24px 28px;
    font-size: 1.3rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    border: 2px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    outline: none;
    transition: var(--transition-fast);
}

.search-overlay input::placeholder {
    color: rgba(255, 255, 255, .4);
}

.search-overlay input:focus {
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-cyan-glow);
}

.search-overlay .close-search {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: rgba(255, 255, 255, .5);
    cursor: pointer;
    background: none;
    border: none;
    transition: var(--transition-fast);
}

.search-overlay .close-search:hover {
    color: #fff;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ============================================================
   6.  HERO SECTION
   ============================================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: var(--ghost-white);
    background-image: var(--gradient-mesh);
}

/* Animated gradient orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(0, 86, 179, .12);
    top: -150px;
    right: -100px;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(0, 210, 255, .1);
    bottom: -100px;
    left: -100px;
    animation-delay: 2s;
}

.hero-orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(124, 58, 237, .08);
    top: 40%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(20px, -20px) scale(1.05);
    }

    66% {
        transform: translate(-15px, 15px) scale(0.95);
    }
}

.hero-content h1 {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 86, 179, .08);
    border: 1px solid rgba(0, 86, 179, .15);
    border-radius: var(--radius-pill);
    padding: 8px 20px;
    font-size: .84rem;
    font-weight: 600;
    color: var(--primary-nex);
    margin-bottom: 22px;
    backdrop-filter: blur(6px);
}

.hero-badge i {
    color: var(--accent-cyan);
}

.hero-cta {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual .hero-illustration {
    position: relative;
    width: 100%;
    max-width: 540px;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Central Blob */
.hero-blob {
    width: 320px;
    height: 320px;
    background: var(--gradient-hero);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    position: absolute;
    filter: blur(40px);
    opacity: 0.3;
    animation: blobFloat 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes blobFloat {

    0%,
    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: rotate(0deg);
    }

    33% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
        transform: rotate(120deg);
    }

    66% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
        transform: rotate(240deg);
    }
}

/* Floating Skill Cards */
.hero-float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    transition: transform 0.3s ease;
    animation: floatCard 6s ease-in-out infinite;
}

.hero-float-card i {
    font-size: 1.5rem;
    color: var(--primary-nex);
}

.hero-float-card span {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.2;
}

.hero-float-card small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.hfc-1 {
    top: 10%;
    left: 0;
    animation-delay: 0s;
}

.hfc-2 {
    top: 15%;
    right: 0;
    animation-delay: 1.5s;
}

.hfc-3 {
    bottom: 15%;
    left: 10px;
    animation-delay: 3s;
}

.hfc-4 {
    bottom: 10%;
    right: 20px;
    animation-delay: 4.5s;
}

/* Floating Badges */
.hero-badge-float {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 2;
    animation: floatBadge 5s ease-in-out infinite;
}

.hero-badge-float i {
    font-size: 1.3rem;
}

.hbf-1 {
    top: 45%;
    left: -20px;
    color: var(--accent-gold);
    animation-delay: 1s;
}

.hbf-2 {
    top: 5%;
    left: 45%;
    color: var(--accent-cyan);
    animation-delay: 2s;
}

.hbf-3 {
    bottom: 5%;
    right: 40%;
    color: var(--accent-purple);
    animation-delay: 3s;
}

/* Center Ring */
.hero-center-ring {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-center-ring .ring-inner {
    width: 110px;
    height: 110px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.ring-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.ring-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(10px, -10px);
    }
}

/* Trust bar */
.trust-bar {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.trust-avatars {
    display: flex;
}

.trust-avatars img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3px solid var(--white);
    margin-left: -12px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.trust-avatars img:first-child {
    margin-left: 0;
}

.trust-text {
    font-size: .9rem;
    color: var(--text-muted);
}

.trust-text strong {
    color: var(--primary-nex);
}

.trust-stats {
    display: flex;
    gap: 28px;
    padding: 20px 0;
    margin-top: 12px;
}

.trust-stat {
    text-align: center;
}

.trust-stat .number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-nex);
    display: block;
}

.trust-stat .label {
    font-size: .78rem;
    color: var(--text-muted);
}

/* ============================================================
   7.  SKILL GRID
   ============================================================ */
.skill-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-hero);
    transform: scaleX(0);
    transition: transform .4s ease;
    transform-origin: left;
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.skill-card .icon-wrap {
    width: 68px;
    height: 68px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 18px;
    transition: var(--transition-smooth);
    background: var(--gradient-card);
    color: var(--text-muted);
}

.skill-card:hover .icon-wrap {
    background: var(--gradient-hero);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.skill-card h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.skill-card p {
    font-size: .84rem;
    color: var(--text-muted);
    margin: 0;
}

.skill-card .course-count {
    font-size: .75rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-top: 8px;
    display: block;
}

/* ============================================================
   8.  COURSE CARDS
   ============================================================ */
.course-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.course-card .card-thumb {
    position: relative;
    overflow: hidden;
    height: 190px;
}

.course-card .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.course-card:hover .card-thumb img {
    transform: scale(1.1);
}

.course-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: .72rem;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.badge-trending {
    background: var(--accent-orange);
    color: #fff;
}

.badge-new {
    background: var(--accent-cyan);
    color: var(--deep-space);
}

.badge-popular {
    background: var(--accent-purple);
    color: #fff;
}

.badge-free {
    background: var(--accent-green);
    color: #fff;
}

.course-level {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: .7rem;
    font-weight: 600;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    backdrop-filter: blur(6px);
}

.course-card .card-body {
    padding: 20px;
    flex: 1;
}

.course-card .card-body h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-card .card-body p {
    font-size: .84rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-card .card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
    font-size: .8rem;
    color: var(--text-muted);
}

.course-card .card-meta i {
    margin-right: 4px;
    color: var(--primary-nex);
}

.course-card .card-footer-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-top: 1px solid var(--border-light);
    font-size: .85rem;
    margin-top: auto;
}

.course-card .price {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--primary-nex);
}

.course-card .price .old {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: .82rem;
    font-weight: 400;
    margin-left: 6px;
}

/* ============================================================
   9.  ROADMAP / PROCESS
   ============================================================ */
.roadmap-section {
    background: var(--white);
}

.roadmap-track {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    padding-top: 40px;
}

.roadmap-track::before {
    content: '';
    position: absolute;
    top: 64px;
    left: 10%;
    width: 80%;
    height: 4px;
    background: var(--gradient-hero);
    border-radius: 4px;
}

.roadmap-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.roadmap-step .step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-hero);
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 8px 25px rgba(0, 86, 179, .3);
    transition: var(--transition-smooth);
}

.roadmap-step:hover .step-number {
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(0, 86, 179, .4);
}

.roadmap-step h6 {
    font-weight: 700;
    font-size: .95rem;
    margin-bottom: 4px;
}

.roadmap-step p {
    font-size: .82rem;
    color: var(--text-muted);
    padding: 0 10px;
}

/* ============================================================
   10.  MARKETPLACE SIDEBAR
   ============================================================ */
.sidebar-filter {
    position: sticky;
    top: 100px;
}

.filter-group {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 22px;
    margin-bottom: 18px;
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}

.filter-group:hover {
    box-shadow: var(--shadow-sm);
}

.filter-group h6 {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-group .form-control {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    padding: 10px 14px;
    font-size: .88rem;
    transition: var(--transition-fast);
}

.filter-group .form-control:focus {
    border-color: var(--primary-nex);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, .1);
}

.filter-group .form-check {
    padding: 5px 0;
}

.filter-group .form-check-label {
    font-size: .88rem;
    color: var(--text-dark);
    cursor: pointer;
}

.filter-group .form-check-input:checked {
    background-color: var(--primary-nex);
    border-color: var(--primary-nex);
}

/* ============================================================
   11.  COURSE DETAIL
   ============================================================ */
.course-hero {
    background: var(--gradient-dark);
    padding: 130px 0 60px;
    position: relative;
    overflow: hidden;
}

.course-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 210, 255, .08), transparent 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
}

.course-hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, .06), transparent 70%);
    bottom: -100px;
    left: -60px;
    border-radius: 50%;
}

.course-hero .breadcrumb a {
    color: var(--accent-cyan);
}

.course-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, .55);
}

.course-hero .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .3);
}

.course-hero h1 {
    color: #fff;
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.course-hero p {
    color: rgba(255, 255, 255, .7);
    font-size: 1.05rem;
    max-width: 620px;
}

.course-meta-bar {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.course-meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, .8);
    font-size: .88rem;
}

.course-meta-item i {
    color: var(--accent-cyan);
}

.btn-trailer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius-pill);
    color: #fff;
    font-weight: 600;
    transition: var(--transition-smooth);
    margin-top: 28px;
    cursor: pointer;
    animation: trailer-pulse 2.5s infinite;
}

.btn-trailer:hover {
    background: var(--accent-cyan);
    color: var(--deep-space);
    border-color: var(--accent-cyan);
}

@keyframes trailer-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 210, 255, .35);
    }

    70% {
        box-shadow: 0 0 0 18px rgba(0, 210, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 210, 255, 0);
    }
}

/* Tabs */
.course-tabs .nav-tabs {
    border-bottom: 2px solid var(--border-light);
    gap: 0;
}

.course-tabs .nav-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    color: var(--text-muted);
    border: none;
    border-bottom: 3px solid transparent;
    padding: 14px 24px;
    border-radius: 0;
    transition: var(--transition-fast);
}

.course-tabs .nav-link.active {
    color: var(--primary-nex);
    border-bottom-color: var(--primary-nex);
    background: none;
}

/* Accordion */
.curriculum-accordion .accordion-item {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md) !important;
    margin-bottom: 10px;
    overflow: hidden;
}

.curriculum-accordion .accordion-button {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: .93rem;
    background: var(--ghost-white);
    padding: 16px 20px;
    box-shadow: none !important;
}

.curriculum-accordion .accordion-button:not(.collapsed) {
    background: rgba(0, 86, 179, .04);
    color: var(--primary-nex);
}

.curriculum-accordion .accordion-body {
    padding: 0;
}

.lesson-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-top: 1px solid var(--border-light);
    font-size: .88rem;
    transition: var(--transition-fast);
}

.lesson-item:hover {
    background: var(--ghost-white);
}

.lesson-item i {
    color: var(--primary-nex);
    margin-right: 8px;
}

.lesson-item .duration {
    color: var(--text-muted);
    font-size: .8rem;
}

/* Enrollment sidebar */
.enrollment-sidebar {
    position: sticky;
    top: 100px;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
}

.enrollment-sidebar .price-display {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-nex);
}

.enrollment-sidebar .original-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1rem;
    margin-left: 8px;
}

.enrollment-sidebar .guarantee {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .84rem;
    color: var(--text-muted);
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.enrollment-sidebar .guarantee i {
    color: var(--accent-green);
    font-size: 1.1rem;
}

.enrollment-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: .88rem;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(0, 0, 0, .04);
}

.enrollment-features li i {
    color: var(--primary-nex);
    width: 18px;
    text-align: center;
}

/* Instructor */
.instructor-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.instructor-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--ghost-white);
    box-shadow: var(--shadow-md);
}

.verified-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 26px;
    height: 26px;
    background: var(--primary-nex);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    border: 3px solid var(--white);
}

/* ============================================================
   12.  ABOUT PAGE
   ============================================================ */
.about-hero {
    background: var(--gradient-dark);
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 210, 255, .08), transparent 70%);
    top: -200px;
    right: 10%;
    border-radius: 50%;
}

.about-hero h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 800;
}

.about-hero p {
    color: rgba(255, 255, 255, .65);
    font-size: 1.08rem;
    max-width: 600px;
    margin: 14px auto 0;
}

.mission-section .overlap-images {
    position: relative;
}

.mission-section .img-main {
    width: 88%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.mission-section .img-overlay {
    position: absolute;
    width: 55%;
    bottom: -30px;
    right: -20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 5px solid var(--white);
}

/* Counters */
.counter-card {
    text-align: center;
    padding: 36px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}

.counter-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.counter-card .counter-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-nex);
    margin: 0 auto 14px;
}

.counter-card .counter-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-nex);
    margin-bottom: 4px;
}

.counter-card h6 {
    font-size: .88rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================================
   13.  DASHBOARD
   ============================================================ */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

.dash-sidebar {
    width: 260px;
    background: var(--deep-space);
    padding: 24px 0;
    position: fixed;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 1040;
    display: flex;
    flex-direction: column;
}

.dash-sidebar .brand {
    padding: 0 24px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    margin-bottom: 16px;
}

.dash-sidebar .brand a {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: #fff !important;
}

.dash-sidebar .brand a span {
    color: var(--accent-cyan);
}

.dash-nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 24px;
    color: rgba(255, 255, 255, .5);
    font-size: .9rem;
    font-weight: 500;
    transition: var(--transition-fast);
    border-left: 3px solid transparent;
}

.dash-nav-link:hover,
.dash-nav-link.active {
    color: #fff !important;
    background: rgba(255, 255, 255, .06);
    border-left-color: var(--accent-cyan);
}

.dash-nav-link i {
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
}

.dash-main {
    flex: 1;
    margin-left: 260px;
    padding: 32px 40px;
    background: var(--ghost-white);
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.dash-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
}

/* Progress Circle */
.progress-circle-wrap {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
}

.progress-circle-wrap svg {
    transform: rotate(-90deg);
}

.progress-circle-wrap .track {
    fill: none;
    stroke: var(--border-light);
    stroke-width: 10;
}

.progress-circle-wrap .progress-ring {
    fill: none;
    stroke: url(#progressGradient);
    stroke-width: 10;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.2s ease;
}

.progress-circle-wrap .percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-nex);
}

.course-progress-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}

.course-progress-card:hover {
    box-shadow: var(--shadow-md);
}

.btn-resume {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-hero);
    color: #fff !important;
    border: none;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: .88rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-resume:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 86, 179, .3);
    color: #fff !important;
}

.achievement-badge {
    text-align: center;
    padding: 22px 14px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}

.achievement-badge:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.achievement-badge .badge-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 10px;
    color: var(--primary-nex);
}

.achievement-badge h6 {
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.achievement-badge small {
    color: var(--text-muted);
    font-size: .75rem;
}

/* ============================================================
   14.  CONTACT PAGE
   ============================================================ */
.contact-section {
    background: var(--white);
}

.contact-form .form-floating .form-control {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    padding: 20px 16px 8px;
    font-size: .93rem;
    height: auto;
    transition: var(--transition-fast);
}

.contact-form .form-floating .form-control:focus {
    border-color: var(--primary-nex);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, .1);
}

.contact-form .form-floating label {
    color: var(--text-muted);
    font-size: .88rem;
}

.contact-form textarea.form-control {
    min-height: 140px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-hero);
    color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: var(--radius-pill);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 86, 179, .35);
}

.btn-submit.sent {
    background: var(--accent-green);
    pointer-events: none;
}

.btn-submit .btn-text,
.btn-submit .btn-check-icon {
    transition: var(--transition-fast);
}

.btn-submit .btn-check-icon {
    position: absolute;
    opacity: 0;
    transform: scale(0);
}

.btn-submit.sent .btn-text {
    opacity: 0;
    transform: scale(0);
}

.btn-submit.sent .btn-check-icon {
    opacity: 1;
    position: static;
    transform: scale(1);
}

.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 100%;
    min-height: 480px;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================================
   15.  TOOLS PAGE
   ============================================================ */
.tool-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.tool-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-hero);
    transform: scaleX(0);
    transition: transform .4s ease;
}

.tool-card:hover::after {
    transform: scaleX(1);
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.tool-card .tool-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 18px;
    background: var(--gradient-card);
    color: var(--primary-nex);
    transition: var(--transition-smooth);
}

.tool-card:hover .tool-icon {
    background: var(--gradient-hero);
    color: #fff;
    transform: scale(1.1);
}

.tool-card h5 {
    font-size: .98rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.tool-card p {
    font-size: .82rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.tool-card .btn-tool {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    font-size: .82rem;
    font-weight: 600;
    background: rgba(0, 86, 179, .08);
    color: var(--primary-nex);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.tool-card .btn-tool:hover {
    background: var(--gradient-hero);
    color: #fff;
}

/* ============================================================
   16.  TESTIMONIALS
   ============================================================ */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 1;
    color: rgba(0, 86, 179, .08);
    position: absolute;
    top: 16px;
    left: 24px;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial-card .quote {
    font-size: .95rem;
    color: var(--text-dark);
    line-height: 1.75;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card .author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--ghost-white);
}

.testimonial-card .author h6 {
    font-size: .9rem;
    margin-bottom: 2px;
}

.testimonial-card .author small {
    color: var(--text-muted);
    font-size: .78rem;
}

/* ============================================================
   17.  FOOTER
   ============================================================ */
.nex-footer {
    background: var(--gradient-dark);
    padding: 80px 0 0;
    color: rgba(255, 255, 255, .7);
    position: relative;
    overflow: hidden;
}

.nex-footer::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 210, 255, .05), transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.footer-brand {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff !important;
    margin-bottom: 14px;
    display: block;
}

.footer-brand span {
    color: var(--accent-cyan);
}

.nex-footer p {
    font-size: .9rem;
    line-height: 1.7;
}

.footer-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: .95rem;
    color: #fff;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    color: rgba(255, 255, 255, .55);
    font-size: .88rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-cyan);
    padding-left: 6px;
}

.newsletter-input {
    display: flex;
    gap: 0;
    margin-top: 8px;
}

.newsletter-input input {
    flex: 1;
    padding: 12px 18px;
    border-radius: var(--radius-pill) 0 0 var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .05);
    color: #fff;
    font-size: .88rem;
    outline: none;
}

.newsletter-input input::placeholder {
    color: rgba(255, 255, 255, .35);
}

.newsletter-input button {
    padding: 12px 24px;
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
    border: none;
    background: var(--gradient-hero);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.newsletter-input button:hover {
    opacity: .9;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .55);
    font-size: .95rem;
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background: var(--gradient-hero);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 50px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .07);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .83rem;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 11px;
    font-size: .88rem;
}

.footer-contact-item i {
    color: var(--accent-cyan);
    font-size: 1.05rem;
}

/* ============================================================
   18.  CURSOR FOLLOWER
   ============================================================ */
.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--primary-nex);
    pointer-events: none;
    z-index: 9999;
    transition: width .3s, height .3s, border-color .3s, background .3s;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.cursor-follower.hovering {
    width: 50px;
    height: 50px;
    background: rgba(0, 86, 179, .12);
    border-color: var(--accent-cyan);
}

/* ============================================================
   19.  RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 2.6rem;
    }

    .section-title {
        font-size: 2.1rem;
    }

    .mega-menu {
        width: 92vw;
        left: 4vw;
        transform: none;
    }

    .mega-menu.show {
        transform: translateY(0);
    }

    .dash-sidebar {
        transform: translateX(-100%);
        transition: var(--transition-smooth);
    }

    .dash-sidebar.open {
        transform: translateX(0);
    }

    .dash-main {
        margin-left: 0;
        padding: 20px;
    }

    .roadmap-track {
        flex-direction: column;
        gap: 24px;
    }

    .roadmap-track::before {
        left: 28px;
        top: 0;
        width: 4px;
        height: 100%;
    }

    .roadmap-step {
        text-align: left;
        display: flex;
        gap: 18px;
    }
}

@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-section {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .course-hero h1 {
        font-size: 1.8rem;
    }

    .about-hero h1 {
        font-size: 2.2rem;
    }

    .trust-bar {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .trust-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .mobile-filter-toggle {
        display: flex !important;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1040;
    }

    .sidebar-filter {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        max-height: 70vh;
        overflow-y: auto;
        background: var(--white);
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, .15);
        transform: translateY(100%);
        transition: var(--transition-smooth);
        z-index: 1045;
        padding: 20px;
    }

    .sidebar-filter.open {
        transform: translateY(0);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
}

.mobile-filter-toggle {
    display: none;
}

/* ============================================================
   20.  KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

.floating {
    animation: float 4s ease-in-out infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp .8s forwards;
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.shimmer-text {
    background: linear-gradient(90deg, var(--primary-nex), var(--accent-cyan), var(--primary-nex));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.spin-slow {
    animation: spin-slow 20s linear infinite;
}

/* Decorative shape */
.deco-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(0, 86, 179, .08);
    pointer-events: none;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 210, 255, .08), transparent 70%);
    top: -200px;
    left: -100px;
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, .06), transparent 70%);
    bottom: -150px;
    right: -50px;
    border-radius: 50%;
}

/* ============================================================
   21.  GRADIENT ENROLL BUTTONS
   ============================================================ */
.card-footer-custom .btn-primary-nex {
    background: linear-gradient(135deg, var(--accent-cyan), var(--primary-nex)) !important;
    color: #fff !important;
    border: none;
    font-weight: 700;
    letter-spacing: .3px;
    box-shadow: 0 4px 15px rgba(0, 86, 179, .25);
    transition: var(--transition-smooth);
}

.card-footer-custom .btn-primary-nex:hover {
    box-shadow: 0 8px 25px rgba(0, 86, 179, .4);
    transform: translateY(-2px);
}

/* ============================================================
   22.  SKILL CARD LINK WRAPPER
   ============================================================ */
.skill-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.skill-card-link:hover {
    text-decoration: none;
    color: inherit;
}

/* ============================================================
   23.  COURSE DETAIL PAGE
   ============================================================ */
.course-detail-hero {
    background: var(--ghost-white);
    color: var(--text-dark);
    /* FIX: Reduced padding now that header is relative */
    padding: 40px 0 40px;
    position: relative;
    overflow: hidden;
}

/* SOLID NAVBAR FIX (Inner Pages - Dark Theme) */
.nex-header.header-inner-page {
    position: relative;
    background: var(--deep-space);
    /* Dark Blue */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 0;
}

/* 1. Global Nav Text -> White */
.nex-header.header-inner-page .nav-link {
    color: #ffffff !important;
}

/* 2. Fix Active Button (Pill) */
.nex-header.header-inner-page .nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-cyan) !important;
    /* Cyan Text */
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nex-header.header-inner-page .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
}

/* 3. Fix Logo (Nex -> White) */
.nex-header.header-inner-page .navbar-brand {
    color: #ffffff !important;
}

/* Fix Search Icon */
.nex-header.header-inner-page .header-cta .btn-nex {
    color: #ffffff !important;
}

/* Fix Login Button */
.nex-header.header-inner-page .btn-ghost {
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

.nex-header.header-inner-page .btn-ghost:hover {
    background: #ffffff;
    color: var(--deep-space) !important;
}

.course-detail-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 86, 179, .05), transparent 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
}

.course-detail-hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 210, 255, .05), transparent 70%);
    bottom: -100px;
    left: -50px;
    border-radius: 50%;
}

.course-detail-hero .breadcrumb {
    background: none;
    padding: 0;
    margin-bottom: 24px;
}

.course-detail-hero .breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: .88rem;
    transition: var(--transition-fast);
}

.course-detail-hero .breadcrumb-item a:hover {
    color: var(--primary-nex);
}

.course-detail-hero .breadcrumb-item.active {
    color: var(--text-dark);
    font-size: .88rem;
    font-weight: 600;
}

.course-detail-hero .breadcrumb-item+.breadcrumb-item::before {
    color: var(--text-muted);
}

.course-detail-hero h1 {
    color: var(--text-dark);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.15;
}

.course-detail-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin-bottom: 32px;
}

.course-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.course-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    /* FIX 2: Forced Dark Gray for visibility */
    color: #1F2937 !important;
    background: #fff;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    font-weight: 500;
}

.course-meta-item i {
    /* FIX 2: Icons also forced Dark Gray */
    color: #1F2937 !important;
}

/* FIX 3: Blue Background for visibility */
.btn-trailer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #00AEEF !important;
    color: #fff !important;
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: .92rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0, 174, 239, 0.3);
}

.btn-trailer:hover {
    background: #0093cc !important;
    transform: translateY(-2px);
}

.btn-trailer i {
    font-size: 1.2rem;
    color: #fff !important;
}

/* Course Tabs */
.course-tabs .nav-tabs {
    border: none;
    gap: 6px;
    flex-wrap: wrap;
}

.course-tabs .nav-link {
    border: none;
    border-radius: var(--radius-pill);
    padding: 10px 20px;
    font-weight: 600;
    font-size: .9rem;
    color: var(--text-muted);
    background: rgba(0, 86, 179, .05);
    transition: var(--transition-fast);
}

.course-tabs .nav-link:hover {
    color: var(--primary-nex);
    background: rgba(0, 86, 179, .1);
}

.course-tabs .nav-link.active {
    background: var(--gradient-hero);
    color: #fff;
}

/* Curriculum Accordion */
.curriculum-accordion .accordion-item {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md) !important;
    margin-bottom: 10px;
    overflow: hidden;
}

.curriculum-accordion .accordion-button {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: .95rem;
    color: var(--text-dark);
    background: var(--white);
    box-shadow: none;
    padding: 18px 20px;
}

.curriculum-accordion .accordion-button:not(.collapsed) {
    background: rgba(0, 86, 179, .04);
    color: var(--primary-nex);
}

.curriculum-accordion .accordion-button::after {
    background-size: 14px;
}

.lesson-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: .89rem;
}

.lesson-item:last-child {
    border-bottom: none;
}

.lesson-item span:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lesson-item i {
    color: var(--primary-nex);
    font-size: 1rem;
}

.lesson-item .duration {
    font-size: .82rem;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

/* Instructor Card */
.instructor-card {
    display: flex;
    gap: 24px;
    padding: 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    flex-wrap: wrap;
}

.instructor-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--ghost-white);
    box-shadow: var(--shadow-sm);
}

.verified-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 26px;
    height: 26px;
    background: var(--accent-green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    border: 2px solid var(--white);
}

/* Enrollment Sidebar */
.enrollment-sidebar {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 28px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.price-display {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-nex);
}

.original-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 400;
    margin-left: 8px;
}

.enrollment-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.enrollment-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: .88rem;
    color: var(--text-dark);
}

.enrollment-features li:last-child {
    border-bottom: none;
}

.enrollment-features li i {
    color: var(--primary-nex);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.guarantee {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 16px;
    background: rgba(34, 197, 94, .06);
    border-radius: var(--radius-md);
    font-size: .84rem;
    color: var(--accent-green);
    font-weight: 600;
}

.guarantee i {
    font-size: 1.3rem;
}

/* ============================================================
   24.  COMPREHENSIVE RESPONSIVE STYLES
   ============================================================ */


/* Global Navbar Alignment */
.nex-header .navbar,
.nex-header .navbar-collapse,
.nex-header .navbar-nav {
    align-items: center;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ---------- Tablet (max 991px) ---------- */
@media (max-width: 991.98px) {
    .course-detail-hero {
        padding: 150px 0 60px;
    }

    .course-detail-hero h1 {
        font-size: 2rem;
    }

    .enrollment-sidebar {
        position: static;
        margin-top: 30px;
    }

    .nex-header .navbar-collapse {
        background: var(--white);
        padding: 20px;
        border-radius: var(--radius-lg);
        margin-top: 12px;
        box-shadow: var(--shadow-lg);
        border: 1px solid var(--border-light);
    }

    .nex-header .navbar-nav {
        align-items: flex-start;
        /* Reset for mobile menu */
    }

    .nex-header .navbar-nav {
        gap: 0;
    }

    .nex-header .navbar-nav .nav-link {
        padding: 12px 16px !important;
        border-radius: var(--radius-sm);
    }

    .nex-header .navbar-nav .nav-link:hover,
    .nex-header .navbar-nav .nav-link.active {
        background: rgba(0, 86, 179, .05);
    }

    .nex-header .header-cta {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid var(--border-light);
        flex-wrap: wrap;
        gap: 8px;
    }

    .course-tabs .nav-tabs {
        gap: 4px;
    }

    .course-tabs .nav-link {
        padding: 8px 14px;
        font-size: .82rem;
    }
}

/* ---------- Mobile (max 767px) ---------- */
@media (max-width: 767.98px) {
    .course-detail-hero {
        padding: 130px 0 50px;
    }

    .course-detail-hero h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .course-detail-hero p {
        font-size: .92rem;
    }

    .course-meta-bar {
        gap: 8px;
    }

    .course-meta-item {
        font-size: .8rem;
        padding: 6px 12px;
    }

    .btn-trailer {
        padding: 10px 20px;
        font-size: .85rem;
        width: 100%;
        justify-content: center;
    }

    .lesson-item {
        font-size: .84rem;
        padding: 10px 0;
    }

    .lesson-item span:first-child {
        gap: 8px;
        flex: 1;
        min-width: 0;
    }

    .lesson-item .duration {
        font-size: .78rem;
    }

    .enrollment-sidebar {
        padding: 20px;
    }

    .price-display {
        font-size: 1.6rem;
    }

    .instructor-card {
        gap: 16px;
        padding: 20px;
    }

    .guarantee {
        padding: 12px;
        font-size: .8rem;
    }

    /* Footer stacking */
    .nex-footer .row>div {
        margin-bottom: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    /* General */
    .section-padding {
        padding: 50px 0;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ---------- Small Mobile (max 575px) ---------- */
@media (max-width: 575.98px) {
    .course-card-wrap {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .course-detail-hero {
        padding: 90px 0 30px;
    }

    .course-detail-hero h1 {
        font-size: 1.5rem;
    }

    .course-detail-hero p {
        font-size: .86rem;
        margin-bottom: 18px;
    }

    .course-meta-bar {
        gap: 6px;
    }

    .course-meta-item {
        font-size: .75rem;
        padding: 5px 10px;
    }

    .enrollment-sidebar {
        position: static;
        border-radius: var(--radius-lg);
    }

    .enrollment-sidebar .card-thumb {
        height: 150px !important;
    }

    .instructor-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .instructor-card .d-flex.gap-4 {
        justify-content: center;
    }

    .course-tabs .nav-tabs {
        gap: 3px;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }

    .course-tabs .nav-link {
        padding: 7px 12px;
        font-size: .78rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .curriculum-accordion .accordion-button {
        font-size: .86rem;
        padding: 14px 16px;
    }

    .hero-content h1 {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn-trailer {
        padding: 10px 16px;
        font-size: .82rem;
    }

    .nex-header .navbar-brand {
        font-size: 1.1rem;
    }

    .price-display {
        font-size: 1.4rem;
    }

    .original-price {
        font-size: .88rem;
    }

    .hero-section {
        padding-top: 90px;
        min-height: auto;
        padding-bottom: 50px;
    }

    .hero-section .hero-content p {
        font-size: .9rem;
    }

    .about-hero h1 {
        font-size: 1.8rem;
    }

    .course-hero h1 {
        font-size: 1.5rem;
    }
}

/* Mobile Fix for Floating Course Categories (Home Hero) */
@media (max-width: 991px) {
    .hero-visual {
        margin-top: 50px;
    }

    .hero-illustration {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        height: auto !important;
        padding: 40px 0;
    }

    /* 14+ Courses Ring - Move to Top */
    .hero-center-ring {
        position: static !important;
        transform: none !important;
        order: -1;
        margin-bottom: 20px;
    }

    /* Individual Cards - Stack Vertically */
    .hero-float-card {
        position: static !important;
        transform: none !important;
        width: 100%;
        max-width: 340px;
        margin: 0 !important;
        animation: none !important;
    }

    /* Hide decorative badges on mobile to reduce clutter */
    .hero-badge-float {
        display: none;
    }
}

/* FIX: Course Detail Header Overlap */
.course-detail-hero .hero-badges {
    margin-top: 15px;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    display: inline-block;
}

.course-detail-hero .breadcrumb {
    position: relative;
    z-index: 5;
    background: transparent;
    padding: 0;
    margin-bottom: 10px;
}