.modern-course-page {
    background:
        radial-gradient(circle at top left, rgba(37, 137, 245, 0.12), transparent 32%),
        radial-gradient(circle at 85% 10%, rgba(248, 196, 0, 0.10), transparent 28%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 42%, #f8fafc 100%);
}

/* ===============================
    HERO SECTION ADVANCED EFFECTS
================================ */

.modern-hero {
    position: relative;
    overflow: hidden;
    min-height: 760px;
    display: flex;
    align-items: center;
    isolation: isolate;
    background:
        radial-gradient(circle at 12% 15%, rgba(37, 137, 245, 0.32), transparent 30%),
        radial-gradient(circle at 88% 8%, rgba(248, 196, 0, 0.14), transparent 28%),
        linear-gradient(135deg, #06101f 0%, #11182f 52%, #071a33 100%);
}

.modern-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
    background-size: 76px 76px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
    opacity: .78;
    pointer-events: none;
    animation: heroGridMove 18s linear infinite;
}

.modern-hero::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: 700px;
    height: 700px;
    right: -220px;
    top: 30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,137,245,.44), transparent 66%);
    filter: blur(12px);
    pointer-events: none;
    animation: heroGlowOrb 8s ease-in-out infinite alternate;
}

.hero-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg-layer::before {
    content: "";
    position: absolute;
    inset: -35%;
    background:
        radial-gradient(circle at 18% 22%, rgba(37, 137, 245, 0.42), transparent 28%),
        radial-gradient(circle at 78% 28%, rgba(248, 196, 0, 0.20), transparent 24%),
        radial-gradient(circle at 55% 84%, rgba(37, 137, 245, 0.26), transparent 30%),
        radial-gradient(circle at 35% 58%, rgba(255, 255, 255, 0.08), transparent 22%);
    filter: blur(22px);
    animation: heroBgGlow 12s ease-in-out infinite alternate;
}

.hero-bg-layer::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(37, 137, 245, 0.95) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 255, 255, 0.60) 1px, transparent 1px),
        radial-gradient(circle, rgba(248, 196, 0, 0.62) 1px, transparent 1px);
    background-size: 88px 88px, 138px 138px, 188px 188px;
    opacity: 0.34;
    animation: heroParticlesMove 24s linear infinite;
}

.hero-noise-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.12;
    background-image:
        repeating-radial-gradient(circle at 10% 10%, rgba(255,255,255,.22) 0 1px, transparent 1px 4px);
    mix-blend-mode: overlay;
}

.hero-scan-light {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        115deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.10) 47%,
        rgba(37, 137, 245, 0.22) 50%,
        transparent 58%,
        transparent 100%
    );
    transform: translateX(-125%);
    animation: heroScanLight 7s ease-in-out infinite;
}

.hero-ring {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.13);
    box-shadow:
        inset 0 0 40px rgba(37,137,245,.10),
        0 0 80px rgba(37,137,245,.08);
}

.hero-ring-one {
    width: 360px;
    height: 360px;
    left: -110px;
    bottom: 60px;
    animation: heroRingFloatOne 11s ease-in-out infinite;
}

.hero-ring-two {
    width: 230px;
    height: 230px;
    right: 19%;
    top: 90px;
    animation: heroRingFloatTwo 9s ease-in-out infinite;
}

.hero-floating-shape {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.065);
    backdrop-filter: blur(8px);
    box-shadow: 0 20px 60px rgba(0,0,0,.12);
}

.hero-floating-shape.shape-one {
    width: 92px;
    height: 92px;
    left: 7%;
    top: 20%;
    border-radius: 28px;
    animation: floatShapeOne 8s ease-in-out infinite;
}

.hero-floating-shape.shape-two {
    width: 130px;
    height: 130px;
    right: 7%;
    bottom: 17%;
    border-radius: 50%;
    animation: floatShapeTwo 10s ease-in-out infinite;
}

.hero-floating-shape.shape-three {
    width: 72px;
    height: 72px;
    left: 48%;
    top: 14%;
    border-radius: 22px;
    transform: rotate(25deg);
    animation: floatShapeThree 9s ease-in-out infinite;
}

.hero-floating-shape.shape-four {
    width: 54px;
    height: 54px;
    left: 42%;
    bottom: 18%;
    border-radius: 18px;
    animation: floatShapeFour 7s ease-in-out infinite;
}

@keyframes heroGridMove {
    from {
        background-position: 0 0, 0 0;
    }

    to {
        background-position: 76px 76px, 76px 76px;
    }
}

@keyframes heroGlowOrb {
    from {
        transform: translate(0, 0) scale(1);
        opacity: 0.65;
    }

    to {
        transform: translate(-48px, 38px) scale(1.14);
        opacity: 1;
    }
}

@keyframes heroBgGlow {
    0% {
        transform: translate(-3%, -2%) scale(1);
    }

    50% {
        transform: translate(3%, 2%) scale(1.08) rotate(2deg);
    }

    100% {
        transform: translate(-2%, 4%) scale(1.02) rotate(-1deg);
    }
}

@keyframes heroParticlesMove {
    from {
        background-position: 0 0, 0 0, 0 0;
    }

    to {
        background-position: 88px 88px, -138px 138px, 188px -188px;
    }
}

@keyframes heroScanLight {
    0%, 34% {
        transform: translateX(-125%);
        opacity: 0;
    }

    45% {
        opacity: 1;
    }

    66%, 100% {
        transform: translateX(125%);
        opacity: 0;
    }
}

@keyframes heroRingFloatOne {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: .38;
    }

    50% {
        transform: translateY(-28px) scale(1.08);
        opacity: .65;
    }
}

@keyframes heroRingFloatTwo {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: .28;
    }

    50% {
        transform: translateY(22px) rotate(12deg) scale(1.12);
        opacity: .58;
    }
}

@keyframes floatShapeOne {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-24px) rotate(12deg);
    }
}

@keyframes floatShapeTwo {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(28px) scale(1.08);
    }
}

@keyframes floatShapeThree {
    0%, 100% {
        transform: translateY(0) rotate(25deg);
    }

    50% {
        transform: translateY(-18px) rotate(45deg);
    }
}

@keyframes floatShapeFour {
    0%, 100% {
        transform: translateY(0) rotate(-12deg);
    }

    50% {
        transform: translateY(20px) rotate(12deg);
    }
}

.modern-hero-inner {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}

.modern-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.09);
    color: #dbeafe;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
    backdrop-filter: blur(18px);
    animation: heroFadeUp 0.8s ease both;
}

.modern-kicker i {
    color: #F8C400;
    animation: kickerIconPulse 1.8s ease-in-out infinite;
}

@keyframes kickerIconPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(248,196,0,0));
    }

    50% {
        transform: scale(1.18);
        filter: drop-shadow(0 0 12px rgba(248,196,0,.75));
    }
}

.modern-title {
    margin-top: 24px;
    font-size: clamp(44px, 6vw, 86px);
    line-height: .95;
    font-weight: 950;
    letter-spacing: -.07em;
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffffff 35%,
        #93c5fd 50%,
        #ffffff 65%,
        #ffffff 100%
    );
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation:
        heroFadeUp 0.9s ease 0.12s both,
        titleShine 5s ease-in-out infinite;
}

@keyframes titleShine {
    0%, 35% {
        background-position: 0% center;
    }

    65%, 100% {
        background-position: 220% center;
    }
}

.modern-desc {
    margin-top: 26px;
    max-width: 760px;
    color: rgba(239,246,255,.82);
    font-size: 19px;
    line-height: 1.85;
    animation: heroFadeUp 0.9s ease 0.24s both;
}

.modern-actions {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    animation: heroFadeUp 0.9s ease 0.36s both;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-btn-primary,
.modern-btn-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 28px;
    border-radius: 999px;
    font-weight: 900;
    transition: .25s ease;
}

.modern-btn-primary {
    background: #2589f5;
    color: #fff;
    box-shadow: 0 18px 46px rgba(37,137,245,.35);
}

.modern-btn-light {
    background: rgba(255,255,255,.11);
    color: #fff;
    border: 1px solid rgba(255,255,255,.26);
    backdrop-filter: blur(15px);
}

.modern-btn-primary:hover,
.modern-btn-light:hover {
    transform: translateY(-3px);
    color: #fff;
}

.modern-visual {
    position: relative;
    animation: heroImageReveal 1s ease 0.25s both;
}

@keyframes heroImageReveal {
    from {
        opacity: 0;
        transform: translateX(45px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.modern-image-card {
    position: relative;
    overflow: visible;
    border-radius: 42px;
    padding: 12px;
    background: linear-gradient(145deg, rgba(255,255,255,.25), rgba(255,255,255,.06));
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 38px 110px rgba(0,0,0,.35);
    backdrop-filter: blur(18px);
    transform-style: preserve-3d;
    animation: heroImageFloat 5.5s ease-in-out infinite;
}

.modern-image-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 42px;
    background: linear-gradient(
        135deg,
        rgba(37, 137, 245, 0.75),
        rgba(255, 255, 255, 0.12),
        rgba(248, 196, 0, 0.45)
    );
    z-index: -1;
    opacity: 0.65;
    animation: heroBorderGlow 3s ease-in-out infinite alternate;
}

.modern-image-card::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 32px;
    background:
        linear-gradient(180deg, transparent 42%, rgba(8, 17, 38, 0.66) 100%),
        linear-gradient(135deg, rgba(37, 137, 245, 0.10), transparent);
    pointer-events: none;
    z-index: 2;
}

.modern-image-card img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 32px;
    display: block;
    transition: transform 0.8s ease;
}

.modern-image-card:hover img {
    transform: scale(1.06);
}

.modern-image-placeholder {
    height: 520px;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.78);
    font-size: 72px;
}

@keyframes heroImageFloat {
    0%, 100% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg);
    }

    50% {
        transform: translateY(-14px) rotateX(1.5deg) rotateY(-1.5deg);
    }
}

@keyframes heroBorderGlow {
    from {
        filter: blur(0);
        opacity: 0.45;
    }

    to {
        filter: blur(8px);
        opacity: 0.85;
    }
}

.modern-floating-card {
    position: absolute;
    left: -28px;
    bottom: 32px;
    z-index: 4;
    width: min(360px, calc(100% - 32px));
    border-radius: 28px;
    padding: 22px;
    background: rgba(255,255,255,.90);
    border: 1px solid rgba(255,255,255,.55);
    box-shadow: 0 24px 70px rgba(15,23,42,.22);
    backdrop-filter: blur(20px);
    animation: floatingCardPulse 4s ease-in-out infinite;
}

.modern-floating-card::before {
    content: "\f19d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 12px;
    border-radius: 16px;
    background: #2589f5;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(37, 137, 245, 0.35);
    animation: iconPop 2.2s ease-in-out infinite;
}

.modern-floating-card h3 {
    color: #141b3a;
    font-size: 20px;
    font-weight: 950;
}

.modern-floating-card p {
    margin-top: 7px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

@keyframes floatingCardPulse {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
    }

    50% {
        transform: translateY(-8px);
        box-shadow: 0 32px 90px rgba(37, 137, 245, 0.28);
    }
}

@keyframes iconPop {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.08) rotate(-6deg);
    }
}

/* ===============================
    STATS SECTION
================================ */

.modern-stat-grid {
    position: relative;
    z-index: 4;
    margin-top: -54px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.modern-stat-card {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border-radius: 28px;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(226,232,240,.95);
    box-shadow: 0 24px 80px rgba(15,23,42,.10);
    backdrop-filter: blur(16px);
    transition: 0.28s ease;
}

.modern-stat-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(37, 137, 245, 0.14),
        transparent 46%,
        rgba(248, 196, 0, 0.12)
    );
    opacity: 0;
    transition: 0.28s ease;
}

.modern-stat-card > * {
    position: relative;
    z-index: 2;
}

.modern-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 95px rgba(37, 137, 245, 0.18);
}

.modern-stat-card:hover::before {
    opacity: 1;
}

.modern-stat-card i {
    color: #2589f5;
    font-size: 24px;
    animation: statIconFloat 3s ease-in-out infinite;
}

.modern-stat-card:nth-child(2) i {
    animation-delay: 0.25s;
}

.modern-stat-card:nth-child(3) i {
    animation-delay: 0.5s;
}

.modern-stat-card:nth-child(4) i {
    animation-delay: 0.75s;
}

.modern-stat-card span {
    display: block;
    margin-top: 12px;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .10em;
}

.modern-stat-card strong {
    display: block;
    margin-top: 5px;
    color: #141b3a;
    font-size: 17px;
    font-weight: 950;
}

@keyframes statIconFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* ===============================
    CLEAN MODERN POST - NO CARD
================================ */

.modern-post-section {
    padding: 95px 0;
    background:
        radial-gradient(circle at top left, rgba(37, 137, 245, 0.08), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.modern-post-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 46px;
    align-items: start;
}

.modern-post-card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

.modern-post-card::before {
    display: none !important;
}

.modern-post-header {
    padding: 0 0 32px 0 !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
    overflow: visible !important;
}

.modern-post-header::after {
    display: none !important;
}

.modern-post-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 17px;
    border-radius: 999px;
    background: rgba(37, 137, 245, 0.10);
    color: #2589f5;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.modern-post-header h2 {
    margin-top: 22px;
    max-width: 900px;
    color: #141b3a;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: -.065em;
}

.modern-post-header p {
    margin-top: 18px;
    max-width: 850px;
    color: #64748b;
    font-size: 19px;
    line-height: 1.9;
}

.modern-post-content {
    padding: 40px 0 0 0 !important;
    color: #475569;
    overflow-x: hidden;
    word-break: break-word;
}

.modern-post-content > *:first-child {
    margin-top: 0 !important;
}

.modern-post-content h1,
.modern-post-content h2,
.modern-post-content h3,
.modern-post-content h4,
.modern-post-content h5,
.modern-post-content h6 {
    color: #141b3a;
    font-weight: 950;
    line-height: 1.13;
    letter-spacing: -.045em;
    margin-top: 42px;
    margin-bottom: 16px;
}

.modern-post-content h1 {
    font-size: clamp(36px, 5vw, 64px);
}

.modern-post-content h2 {
    font-size: clamp(30px, 4vw, 48px);
}

.modern-post-content h3 {
    font-size: clamp(24px, 3vw, 36px);
}

.modern-post-content p,
.modern-post-content li {
    color: #475569;
    font-size: 19px;
    line-height: 2;
}

.modern-post-content p {
    margin-bottom: 22px;
}

.modern-post-content ul,
.modern-post-content ol {
    margin: 26px 0;
    padding-left: 30px;
}

.modern-post-content li {
    margin-bottom: 10px;
}

.modern-post-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 42px auto;
    border-radius: 30px;
    box-shadow: 0 28px 85px rgba(15, 23, 42, 0.16);
    transition: 0.35s ease;
}

.modern-post-content img:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 36px 100px rgba(37, 137, 245, 0.18);
}

.modern-post-content blockquote {
    position: relative;
    overflow: hidden;
    margin: 40px 0;
    padding: 32px 34px;
    border-left: 7px solid #2589f5;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(37, 137, 245, 0.12), transparent 35%),
        #f8fafc;
    color: #141b3a;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.75;
}

.modern-post-content blockquote::before {
    content: "\f10d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 24px;
    top: 16px;
    font-size: 46px;
    color: rgba(37, 137, 245, 0.12);
}

.modern-post-content iframe,
.modern-post-content video {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 30px;
    margin: 36px 0;
    box-shadow: 0 25px 80px rgba(15,23,42,.14);
}

.modern-post-content table {
    width: 100% !important;
    max-width: 100%;
    display: block;
    overflow-x: auto;
    margin: 34px 0;
}

.modern-post-content a {
    color: #2589f5;
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.modern-post-content strong,
.modern-post-content b {
    color: #141b3a;
    font-weight: 950;
}

/* ===============================
    SIDEBAR
================================ */

.modern-sidebar {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 20px;
}

.modern-side-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 24px 80px rgba(15,23,42,.08);
    padding: 26px;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.modern-side-card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -70px;
    top: -70px;
    border-radius: 50%;
    background: rgba(37, 137, 245, 0.10);
    transition: 0.35s ease;
}

.modern-side-card:hover::before {
    transform: scale(1.25);
    background: rgba(37, 137, 245, 0.16);
}

.modern-side-card > * {
    position: relative;
    z-index: 2;
}

.modern-side-card:hover {
    transform: translateY(-6px);
}

.modern-side-card h3 {
    color: #141b3a;
    font-size: 22px;
    font-weight: 950;
}

.modern-side-card p {
    margin-top: 10px;
    color: #64748b;
    line-height: 1.75;
}

.modern-side-card strong {
    padding: 5px 10px;
    border-radius: 10px;
    background: rgba(37, 137, 245, 0.08);
}

.modern-side-dark {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(37,137,245,.42), transparent 35%),
        linear-gradient(135deg, #11182f, #07111f);
    color: #fff;
    padding: 28px;
    box-shadow: 0 30px 90px rgba(15,23,42,.20);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    animation: sidebarGlowPulse 4s ease-in-out infinite;
}

.modern-side-dark:hover {
    transform: translateY(-6px);
}

.modern-side-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: .45;
}

.modern-side-dark > * {
    position: relative;
    z-index: 2;
}

.modern-side-dark h3 {
    margin-top: 18px;
    font-size: 26px;
    font-weight: 950;
}

.modern-side-dark p {
    margin-top: 10px;
    color: rgba(239,246,255,.82);
    line-height: 1.75;
}

@keyframes sidebarGlowPulse {
    0%, 100% {
        box-shadow: 0 30px 90px rgba(15, 23, 42, 0.20);
    }

    50% {
        box-shadow: 0 34px 105px rgba(37, 137, 245, 0.24);
    }
}

.modern-apply-btn {
    margin-top: 22px;
    display: block;
    border-radius: 999px;
    background: #2589f5;
    padding: 15px 22px;
    text-align: center;
    color: #fff;
    font-weight: 950;
    box-shadow: 0 16px 38px rgba(37,137,245,.35);
    transition: .25s ease;
}

.modern-apply-btn:hover {
    transform: translateY(-3px);
    background: #006fe6;
    color: #fff;
}

/* ===============================
    DARK MODE
================================ */

[data-theme="dark"] .modern-course-page {
    background:
        radial-gradient(circle at top left, rgba(37, 137, 245, 0.18), transparent 32%),
        linear-gradient(180deg, #081126 0%, #11182f 100%);
}

[data-theme="dark"] .modern-post-section {
    background:
        radial-gradient(circle at top left, rgba(37, 137, 245, 0.18), transparent 32%),
        linear-gradient(180deg, #081126 0%, #11182f 100%);
}

[data-theme="dark"] .modern-post-header {
    border-bottom-color: rgba(255,255,255,.14) !important;
}

[data-theme="dark"] .modern-post-header h2,
[data-theme="dark"] .modern-post-content h1,
[data-theme="dark"] .modern-post-content h2,
[data-theme="dark"] .modern-post-content h3,
[data-theme="dark"] .modern-post-content h4,
[data-theme="dark"] .modern-post-content h5,
[data-theme="dark"] .modern-post-content h6,
[data-theme="dark"] .modern-post-content strong,
[data-theme="dark"] .modern-post-content b,
[data-theme="dark"] .modern-side-card h3,
[data-theme="dark"] .modern-side-card strong,
[data-theme="dark"] .modern-side-card .text-dmiNavy {
    color: #ffffff !important;
}

[data-theme="dark"] .modern-post-header p,
[data-theme="dark"] .modern-post-content p,
[data-theme="dark"] .modern-post-content li,
[data-theme="dark"] .modern-side-card p,
[data-theme="dark"] .modern-side-card span,
[data-theme="dark"] .modern-side-card .text-dmiMuted {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .modern-post-content blockquote {
    background: rgba(255,255,255,.06);
    color: #ffffff;
}

[data-theme="dark"] .modern-side-card {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255,255,255,.16);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .modern-side-card strong {
    background: rgba(37, 137, 245, 0.18);
}

[data-theme="dark"] .modern-side-card .border-dmiBorder {
    border-color: rgba(255, 255, 255, 0.22) !important;
}

[data-theme="dark"] .modern-stat-card {
    background: rgba(255, 255, 255, 0.075);
    border-color: rgba(255, 255, 255, 0.14);
}

[data-theme="dark"] .modern-stat-card span {
    color: #cbd5e1;
}

[data-theme="dark"] .modern-stat-card strong {
    color: #ffffff;
}

[data-theme="dark"] .modern-floating-card {
    background: rgba(15, 23, 42, 0.88);
    border-color: rgba(255, 255, 255, 0.16);
}

[data-theme="dark"] .modern-floating-card h3 {
    color: #ffffff;
}

[data-theme="dark"] .modern-floating-card p {
    color: #cbd5e1;
}

/* ===============================
    RESPONSIVE
================================ */

@media (max-width: 1100px) {
    .modern-hero-inner,
    .modern-post-wrap {
        grid-template-columns: 1fr;
    }

    .modern-sidebar {
        position: static;
    }

    .modern-floating-card {
        left: 28px;
    }
}

@media (max-width: 768px) {
    .modern-hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-scan-light,
    .hero-floating-shape,
    .hero-ring {
        display: none;
    }

    .modern-image-card {
        animation: none;
    }

    .modern-floating-card {
        animation: none;
    }

    .modern-image-card img,
    .modern-image-placeholder {
        height: 310px;
    }

    .modern-floating-card {
        position: relative;
        left: auto;
        bottom: auto;
        width: auto;
        margin-top: -30px;
        margin-left: 16px;
        margin-right: 16px;
    }

    .modern-stat-grid {
        grid-template-columns: 1fr 1fr;
        margin-top: -36px;
    }

    .modern-post-wrap {
        grid-template-columns: 1fr;
    }

    .modern-post-header h2 {
        font-size: 40px;
    }

    .modern-post-content {
        padding-top: 30px !important;
    }
}

@media (max-width: 520px) {
    .modern-stat-grid {
        grid-template-columns: 1fr;
    }

    .modern-title {
        font-size: 42px;
    }

    .modern-actions a {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .modern-hero::before,
    .modern-hero::after,
    .modern-title,
    .modern-image-card,
    .modern-floating-card,
    .modern-stat-card i,
    .modern-side-dark,
    .hero-bg-layer::before,
    .hero-bg-layer::after,
    .hero-scan-light,
    .hero-floating-shape,
    .hero-ring {
        animation: none !important;
    }
}