.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;

    padding: 8px 18px 8px 8px;

    background: #EEF5FF;
    border: 1px solid #8AC1FF;
    border-radius: 50px;

    text-decoration: none;
    width: fit-content;
    max-width: 100%;
}

.hero-badge__images {
    display: flex;
    align-items: center;
}

.hero-badge__images img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;

    background: #fff;

    /* Overlapping effect */
    margin-left: -10px;
}

.hero-badge__images img:first-child {
    margin-left: 0;
}

.hero-badge__text {
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #222222;
    white-space: nowrap;
}

@media (max-width: 768px) {

    .hero-badge {
        padding: 6px 14px 6px 6px;
        gap: 10px;
    }

    .hero-badge__images img {
        width: 26px;
        height: 26px;
        margin-left: -8px;
    }

    .hero-badge__text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {

    .hero-badge {
        padding: 5px 12px 5px 5px;
        gap: 8px;
    }

    .hero-badge__images img {
        width: 22px;
        height: 22px;
        margin-left: -6px;
    }

    .hero-badge__text {
        font-size: 13px;
    }
}

.cube-image {
    position: absolute;
    top: -115px;
    width: 260px;
    height: auto;
    object-fit: cover;
    left: -60px;
}

/* ==========================================================================
   0. TOKENS
========================================================================== */
.hero {
    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.55);
    --glass-border: rgba(255, 255, 255, 0.9);
    --glass-highlight: rgba(255, 255, 255, 0.4);
    --glass-blur: blur(24px);
    --ink-900: #0b1220;
    --ink-700: #1e2a3d;
    --ink-500: #5b6b83;
    --ink-300: #94a3b8;
    --blue-700: #1d4ed8;
    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --blue-400: #60a5fa;
    --green-600: #16a34a;
    --green-500: #22c55e;
    --orange-600: #ea580c;
    --orange-500: #f97316;
    --orange-400: #fb923c;
    --purple-600: #7c3aed;
    --purple-500: #8b5cf6;
    --indigo-500: #6366f1;
    --glass-bg: rgba(255, 255, 255, 0.62);
    --glass-bg-strong: rgba(255, 255, 255, 0.78);
    --glass-border: rgba(255, 255, 255, 0.75);
    --shadow-soft: 0 20px 45px -18px rgba(30, 58, 138, 0.28);
    --shadow-soft-sm: 0 10px 24px -12px rgba(30, 58, 138, 0.25);
    --radius-lg: 26px;
    --radius-md: 18px;
    --radius-sm: 12px;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    position: relative;
    overflow: hidden;
    background: #f6f9fd;
    padding: 72px 5vw 56px;
    isolation: isolate;
    background: linear-gradient(135.71deg, #FEEAF8 -3.13%, #EEF5FF 40.77%, #FFF5EB 59.45%, #FFFFFF 78.09%, #FFFFFF 100.07%) fixed;
    min-height: 122vh;
}

.hero * {
    box-sizing: border-box;
}

/* ==========================================================================
   1. BACKGROUND LAYER
========================================================================== */
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

h1.headline {
    color: #000000;
    text-align: left;
    max-width: 938px;
    z-index: 2;
    font-weight: 600;
    font-size: 60px;
    line-height: 72px;
    letter-spacing: -4%;
    margin-bottom: 32px;
}

p.subhead {
    text-align: left;
    color: #222222;
    font-size: 18px;
    max-width: 518px;
    z-index: 2;
}

.home_butns {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    height: 48px;
    align-items: center;
    margin-top: 32px;
}

.back-btn {
    height: 48px;
    color: #0C1638;
    border: 0.8px solid #155DFC;
    border-radius: 41.55px;
    background: #FFFFFF;
    box-shadow: 0px 9.49px 9.49px -2.97px #00000010;
    box-shadow: 0px 2.17px 2.17px -1.98px #00000029;
    box-shadow: 0px 0.57px 0.57px -0.99px #0000002E;
    font-family: 'INTER';
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    vertical-align: middle;
    cursor: pointer;
    transition: .3s;
    width: fit-content;
    min-width: auto;
    padding: 14px 24px;
}

.shape {
    position: absolute;
    border-radius: 18%;
    background: linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(190, 215, 255, .4));
    border: 1px solid rgba(150, 185, 255, .5);
    box-shadow: 0 12px 30px -12px rgba(60, 100, 220, .35);
    pointer-events: none;
    animation: drift 9s ease-in-out infinite;
}

.shape--cube {
    width: 34px;
    height: 34px;
    top: 6%;
    right: 9%;
    transform: rotate(20deg);
    animation-delay: .2s;
}

.shape--ring {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: transparent;
    border: 6px solid rgba(124, 157, 255, .35);
    top: 70%;
    left: 6%;
    animation-delay: 1.4s;
    box-shadow: none;
}

.shape--tri {
    width: 0;
    height: 0;
    border-radius: 4px;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-bottom: 26px solid rgba(124, 157, 255, .28);
    background: none;
    border-top: none;
    box-shadow: none;
    border-color: transparent transparent rgba(124, 157, 255, .3) transparent;
    top: 16%;
    left: 4%;
    animation-delay: .7s;
}

.shape--dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    top: 85%;
    right: 14%;
    animation-delay: 2.1s;
}

@keyframes drift {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-18px) rotate(12deg);
    }
}

.verify-btn {
    height: 48px;
    width: fit-content;
    min-width: auto;
    border: none;
    color: #fff;
    border-radius: 41.55px;
    padding-top: 8px;
    padding-right: 22px;
    padding-bottom: 8px;
    padding-left: 22px;
    gap: 8px;
    display: flex;
    align-items: center;
    font-family: Lato;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    background: var(--color-Blue-Ribbon-600, #155DFC);
    cursor: pointer;
    box-shadow: 0px 9.49px 9.49px -2.97px #00000010;
    box-shadow: 0px 2.17px 2.17px -1.98px #00000029;
    box-shadow: 0px 0.57px 0.57px -0.99px #0000002E;
    transition: .3s;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .55;
    will-change: transform;
}

.glow--a {
    width: 640px;
    height: 640px;
    right: -140px;
    top: -220px;
    background: radial-gradient(circle, #bfdbfe 0%, rgba(191, 219, 254, 0) 70%);
}

.glow--b {
    width: 520px;
    height: 520px;
    right: 8%;
    bottom: -160px;
    background: radial-gradient(circle, #c7d2fe 0%, rgba(199, 210, 254, 0) 70%);
}

.glow--c {
    width: 420px;
    height: 420px;
    left: -140px;
    top: 35%;
    background: radial-gradient(circle, #dbeafe 0%, rgba(219, 234, 254, 0) 70%);
}

.circuits {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.circuits__g path {
    fill: none;
    stroke: #c7d6ea;
    stroke-width: 1.5;
    opacity: .4;
}

.circuits__dots rect {
    fill: #b9c9e2;
    opacity: .55;
}

.mini-cube {
    position: absolute;
    width: 26px;
    height: 26px;
    transform-style: preserve-3d;
    opacity: .5;
    will-change: transform;
}

.mini-cube i {
    position: absolute;
    inset: 0;
    border: 1px solid #b9c9e2;
    background: rgba(255, 255, 255, .4);
    border-radius: 4px;
}

.mini-cube i:nth-child(1) {
    transform: translateZ(13px);
}

.mini-cube i:nth-child(2) {
    transform: rotateY(90deg) translateZ(13px);
}

.mini-cube i:nth-child(3) {
    transform: rotateX(90deg) translateZ(13px);
}

.mc1 {
    top: 12%;
    left: 6%;
}

.mc2 {
    top: 60%;
    left: 3%;
    width: 18px;
    height: 18px;
}

.mc3 {
    top: 78%;
    left: 15%;
}

.mc4 {
    top: 20%;
    right: 6%;
    width: 20px;
    height: 20px;
}

.mc5 {
    top: 68%;
    right: 4%;
}

.mc6 {
    top: 45%;
    left: 38%;
    width: 16px;
    height: 16px;
    opacity: .3;
}

.noise {
    position: absolute;
    inset: 0;
    opacity: .035;
    mix-blend-mode: multiply;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   2. CONTAINER / LAYOUT
========================================================================== */
.hero__container {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.hero__content {
    flex: 1 1 930px;
    max-width: 100%;
}

/* ==========================================================================
   3. SCENE (illustration)
========================================================================== */
.hero__scene {
    position: absolute;
    width: 100%;
    right: -30px;
    top: 150px;

    max-width: 640px;
    aspect-ratio: 1000/960;
    flex: 1 1 460px;
    container-type: inline-size;
    perspective: 1600px;
    transform-style: preserve-3d;
}

/* fluid typography helper across the scene */
.hero__scene {
    --fs: clamp(9px, 1.55cqw, 16px);
}

/* ---- beams ---- */
.beam {
    position: absolute;
    left: 50%;
    z-index: 1;
    pointer-events: none;
    will-change: opacity, transform;
}

.beam--top {
    top: -4%;
    width: 9%;
    height: 27%;
    transform: translateX(-50%);
    background: linear-gradient(to top, rgba(96, 165, 250, 0.55), rgba(96, 165, 250, 0));
    filter: blur(10px);
}

.beam--bottom {
    top: 16%;
    width: 16%;
    height: 14%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.35), rgba(59, 130, 246, 0) 70%);
    filter: blur(6px);
}

/* ---- connectors svg ---- */
.connectors {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: visible;
    top: 50px;
}

.conn-path {
    fill: none;
    stroke-width: 2.4;
    stroke-linecap: round;
    opacity: .9;
}

.conn-dot {
    opacity: .95;
}

.conn-pulse {
    opacity: 0;
}

/* ==========================================================================
   4. AI CORE — pedestal + glass cube
========================================================================== */
.core {
    /* centered via left+margin (not transform) so GSAP can own the
       transform property for float/parallax without clobbering this */
    position: absolute;
    left: 50%;
    top: 15%;
    width: 18%;
    margin-left: -9%;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__scene {
    perspective: 1800px;
    transform-style: preserve-3d;
}

.card {

    position: absolute;
    z-index: 5;

    overflow: hidden;

    transform-style: preserve-3d;

    transform-origin: center;

    transform: perspective(1800px) rotateX(58deg) rotateZ(-32deg) translateZ(40px) scale(.82);

    border-radius: 24px;

    background: linear-gradient(
            180deg,
            rgba(255, 255, 255, .78),
            rgba(250, 252, 255, .58)
    );

    backdrop-filter: blur(26px) saturate(190%);

    -webkit-backdrop-filter: blur(26px) saturate(190%);

    border: 1px solid rgba(255, 255, 255, .75);

    box-shadow: 0 45px 70px rgba(32, 65, 180, .12),
    0 18px 35px rgba(0, 0, 0, .06),
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 -2px 4px rgba(255, 255, 255, .45);

    transition: .45s cubic-bezier(.22, .61, .36, 1);
}

.card::before {

    content: "";

    position: absolute;

    inset: 0;

    border-radius: inherit;

    background: linear-gradient(
            125deg,
            rgba(255, 255, 255, .72),
            rgba(255, 255, 255, .25) 28%,
            transparent 45%
    );

    pointer-events: none;
}

.card::after {

    content: "";

    position: absolute;

    inset: -20%;

    background: radial-gradient(
            circle,
            rgba(75, 145, 255, .18),
            transparent 70%
    );

    filter: blur(45px);

    pointer-events: none;
}

.card {

    border-bottom: 3px solid rgba(110, 180, 255, .18);

    border-right: 2px solid rgba(120, 185, 255, .12);
}

.card:hover {

    transform: perspective(1800px) rotateX(58deg) rotateZ(-32deg) translateZ(70px) scale(.86);

    box-shadow: 0 70px 120px rgba(35, 85, 220, .22),
    0 30px 50px rgba(35, 85, 220, .12);
}

.card {

    outline: 1px solid rgba(120, 190, 255, .18);

    outline-offset: -1px;
}

.card {

    filter: drop-shadow(0 45px 45px rgba(40, 90, 255, .10)) drop-shadow(0 12px 20px rgba(0, 0, 0, .06));
}

.card--admission {
    transform: perspective(1800px) rotateX(56deg) rotateZ(-34deg);
}

.card--academic {
    transform: perspective(1800px) rotateX(56deg) rotateZ(34deg);
}

.card--finance {
    transform: perspective(1800px) rotateX(60deg) rotateZ(-28deg);
}

.card--examination {
    transform: perspective(1800px) rotateX(60deg) rotateZ(28deg);
}

.cube-wrap {
    position: absolute;
    top: -2cqw;
    left: 50%;
    width: 20cqw;
    height: 20cqw;
    transform: translateX(-50%);
}

.cube {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    will-change: transform;
    transform: rotateX(-6deg) rotateY(6deg);
}

.cube__shadow {
    position: absolute;
    left: 50%;
    bottom: -1.5cqw;

    width: 95%;
    height: 2.4cqw;

    transform: translateX(-50%);

    background: radial-gradient(
            ellipse,
            rgba(59, 130, 246, .42),
            rgba(59, 130, 246, .15) 50%,
            transparent 75%
    );

    filter: blur(16px);
}

.cube-wrap::before {
    content: "";
    position: absolute;
    inset: -25%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, .30), transparent 70%);
    filter: blur(40px);
    z-index: -1;
}


/* ==========================================================================
   5. FEATURE CARDS
========================================================================== */
.card {
    position: absolute;
    z-index: 5;
    scale: 0.8 !important;
    padding: 1.1cqw 1.3cqw 1.2cqw;
    border-radius: 26px;
    overflow: hidden;

    /* Premium Glass */
    background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.78) 45%,
    rgba(245, 249, 255, 0.88) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);

    border: 1px solid rgba(255, 255, 255, 0.75);

    box-shadow: 0 25px 60px rgba(24, 39, 75, 0.12),
    0 10px 24px rgba(24, 39, 75, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(255, 255, 255, 0.45);

    transition: transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
    background: var(--glass-bg);
    border: 1.5px solid var(--glass-border);
    border-radius: 20px;
    padding: 22px;
    /* Premium glass shadow + inner glow */
    box-shadow: var(--shadow-float), var(--shadow-glass-inner);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    will-change: transform;
}

/* Glass Reflection */
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;

    background: linear-gradient(
            135deg,
            rgba(255, 255, 255, .65) 0%,
            rgba(255, 255, 255, .25) 28%,
            rgba(255, 255, 255, 0) 45%
    );

    opacity: .9;
}

/* Soft Blue Glow */
.card::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;

    background: radial-gradient(circle at top,
    rgba(73, 147, 255, .16),
    transparent 65%);

    opacity: .8;
}

/* Hover */
.card:hover {
    transform: translateY(-8px) scale(1.02);

    border-color: rgba(118, 180, 255, .55);

    box-shadow: 0 35px 80px rgba(24, 39, 75, .18),
    0 16px 40px rgba(24, 39, 75, .12),
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 -1px 0 rgba(255, 255, 255, .45);
}

.card--admission {
    left: 2%;
    top: 5%;
    width: 30%;
}

.card--academic {
    left: 68%;
    top: 5%;
    width: 30%;
}

.card--finance {
    left: 0%;
    top: 30%;
    width: 30%;
}

.card--examination {
    left: 70%;
    top: 30%;
    width: 30%;
}

.card__head {
    display: flex;
    align-items: center;
    gap: .7cqw;
    margin-bottom: .7cqw;
}

.icon {
    width: 2.8cqw;
    height: 2.8cqw;
    min-width: 26px;
    min-height: 26px;
    border-radius: .8cqw;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: calc(var(--fs) * 1.1);
    box-shadow: 0 8px 14px -6px rgba(0, 0, 0, .35);
}

.icon svg {
    width: 56%;
    height: 56%;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon--blue {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
}

.icon--green {
    background: linear-gradient(135deg, #4ade80, var(--green-600));
}

.icon--orange {
    background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
}

.icon--purple {
    background: linear-gradient(135deg, #a78bfa, var(--purple-600));
}

.card__label {
    font-size: calc(var(--fs) * 1.05);
    font-weight: 700;
    color: var(--ink-900);
    line-height: 1.2;
}

.card__stat {
    display: flex;
    flex-direction: column;
    margin-bottom: .6cqw;
}

.card__stat .count, .card__amount {
    font-size: calc(var(--fs) * 1.9);
    font-weight: 800;
    color: var(--ink-900);
    letter-spacing: -0.01em;
}

.card__sub {
    font-size: calc(var(--fs) * 0.85);
    color: var(--ink-500);
}

.mini-chart {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: .5cqw;
    overflow: visible;
}

.chart-line {
    stroke-dasharray: 260;
    stroke-dashoffset: 260;
    animation: draw 1.8s .3s cubic-bezier(.4, 0, .2, 1) forwards;
}

.chart-area {
    opacity: 0;
    animation: fadein 1s 1.2s ease forwards;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadein {
    to {
        opacity: 1;
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: calc(var(--fs) * 0.78);
    font-weight: 700;
    color: var(--green-600);
    background: rgba(34, 197, 94, 0.12);
    border-radius: 999px;
    padding: .35cqw .8cqw;
}

.badge span {
    font-weight: 500;
    color: var(--ink-500);
}

/* finance donut */
.finance__row {
    display: flex;
    align-items: center;
    gap: 1cqw;
    margin-bottom: .6cqw;
}

.donut {
    --p1: 72;
    --p2: 18;
    --p3: 10;
    width: 5.4cqw;
    height: 5.4cqw;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    position: relative;
    flex: none;
    background: conic-gradient(
            var(--orange-500) 0 calc(var(--p1) * 1%),
            var(--orange-400) 0 calc((var(--p1) + var(--p2)) * 1%),
            #fde68a 0 100%
    );
    transform: scale(0);
    animation: pop .7s .4s cubic-bezier(.34, 1.56, .64, 1) forwards;
}

.donut__hole {
    position: absolute;
    inset: 26%;
    border-radius: 50%;
    background: var(--glass-bg-strong);
}

@keyframes pop {
    to {
        transform: scale(1);
    }
}

.legend {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: calc(var(--fs) * 0.82);
    color: var(--ink-500);
}

.legend li {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.legend b {
    color: var(--ink-900);
    margin-left: auto;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot--fee {
    background: var(--orange-500);
}

.dot--hostel {
    background: var(--orange-400);
}

.dot--other {
    background: #fde68a;
}

/* examination bars */
.bars {
    display: flex;
    align-items: flex-end;
    gap: .6cqw;
    height: 4cqw;
    min-height: 34px;
    margin-bottom: .6cqw;
}

.bars span {
    flex: 1;
    height: var(--h);
    border-radius: 5px 5px 2px 2px;
    background: linear-gradient(180deg, #c4b5fd, var(--purple-600));
    transform: scaleY(0);
    transform-origin: bottom;
    animation: grow .7s cubic-bezier(.34, 1.56, .64, 1) forwards;
}

.bars span:nth-child(1) {
    animation-delay: .2s;
}

.bars span:nth-child(2) {
    animation-delay: .3s;
}

.bars span:nth-child(3) {
    animation-delay: .4s;
}

.bars span:nth-child(4) {
    animation-delay: .5s;
}

.bars span:nth-child(5) {
    animation-delay: .6s;
}

.bars span:nth-child(6) {
    animation-delay: .7s;
}

@keyframes grow {
    to {
        transform: scaleY(1);
    }
}

.card__foot {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: calc(var(--fs) * 0.85);
    color: var(--ink-500);
}

.card__foot strong {
    font-size: calc(var(--fs) * 1.3);
    color: var(--ink-900);
}

/* ==========================================================================
   6. DASHBOARD (bottom institution overview)
========================================================================== */
.dashboard {
    position: absolute;
    left: -1%;
    top: 62%;
    width: 102%;
    z-index: 6;
    transform: rotate3d(2, -6, 0, 39deg) !Important;
    filter: drop-shadow(0 45px 70px rgba(45, 90, 210, .15));

}

.dashboard__tab {
    position: absolute;
    left: -23%;
    bottom: 40%;
    width: 22%;
    height: 26%;
    background: rgb(215 221 230);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    z-index: -1;
}

.dashboard__panel {
    position: relative;
    overflow: hidden;

    background: linear-gradient(
            180deg,
            rgba(255, 255, 255, .82) 0%,
            rgba(248, 251, 255, .74) 40%,
            rgba(236, 244, 255, .88) 100%
    );

    backdrop-filter: blur(35px) saturate(180%);
    -webkit-backdrop-filter: blur(35px) saturate(180%);

    border: 1px solid rgba(255, 255, 255, .78);

    border-radius: 30px;

    box-shadow: 0 45px 90px rgba(43, 95, 210, .15),
    0 18px 40px rgba(43, 95, 210, .10),
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 -2px 8px rgba(255, 255, 255, .35);

    padding: 1.5cqw 1.8cqw 1.8cqw;
}

.dashboard__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background: linear-gradient(
            135deg,
            rgba(255, 255, 255, .75),
            rgba(255, 255, 255, .18) 28%,
            transparent 55%
    );
}

.dashboard__panel::after {
    content: "";
    position: absolute;
    inset: -30%;

    background: radial-gradient(
            circle at top,
            rgba(79, 150, 255, .22),
            transparent 65%
    );

    filter: blur(70px);

    pointer-events: none;
}

.dash__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1cqw;
    margin-bottom: 1.1cqw;
    padding-bottom: 1cqw;
    border-bottom: 1px solid rgba(148, 163, 184, .25);
}

.dash__title {
    margin: 0;
    font-size: calc(var(--fs) * 1.3);
    font-weight: 800;
    color: var(--ink-900);
}

.dash__stats {
    display: flex;
    gap: 1.4cqw;
    flex-wrap: wrap;
}

.stat {

    padding: .55cqw .8cqw;

    border-radius: 14px;

    background: rgba(255, 255, 255, .42);

    border: 1px solid rgba(255, 255, 255, .55);

    backdrop-filter: blur(12px);

    transition: .3s;
}

.stat:hover {

    background: rgba(255, 255, 255, .6);

    transform: translateY(-2px);
}

.stat__icon {
    width: 2.6cqw;
    height: 2.6cqw;
    min-width: 24px;
    min-height: 24px;
    border-radius: .7cqw;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(59, 130, 246, .22),
    inset 0 1px 0 rgba(255, 255, 255, .4);
}

.stat__icon svg {
    width: 60%;
    height: 60%;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stat__icon--blue {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
}

.stat__icon--green {
    background: linear-gradient(135deg, #4ade80, var(--green-600));
}

.stat__icon--purple {
    background: linear-gradient(135deg, #a78bfa, var(--purple-600));
}

.stat__icon--indigo {
    background: linear-gradient(135deg, #818cf8, var(--indigo-500));
}

.stat__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.stat__text b {
    font-size: calc(var(--fs) * 1.05);
    color: var(--ink-900);
}

.stat__text small {
    font-size: calc(var(--fs) * 0.75);
    color: var(--ink-500);
}

.dash__grid {
    display: grid;
    grid-template-columns:1.15fr .85fr 1fr;
    gap: 1.2cqw;
}

.dash__card {

    position: relative;
    overflow: hidden;

    background: linear-gradient(
            180deg,
            rgba(255, 255, 255, .72),
            rgba(248, 251, 255, .62)
    );

    backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, .78);

    border-radius: 18px;

    box-shadow: 0 15px 35px rgba(40, 90, 200, .08),
    inset 0 1px 0 rgba(255, 255, 255, .9);

    transition: .35s;
}

.dash__card::before {

    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
            135deg,
            rgba(255, 255, 255, .65),
            rgba(255, 255, 255, .18),
            transparent 50%
    );

    pointer-events: none;
}

.dash__card:hover {

    transform: translateY(-8px);

    box-shadow: 0 30px 60px rgba(43, 95, 210, .16),
    inset 0 1px 0 rgba(255, 255, 255, .95);
}

.dash__card h4 {
    margin: 0 0 .7cqw;
    font-size: calc(var(--fs) * 0.95);
    font-weight: 700;
    color: var(--ink-900);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dash__card h4 span {
    font-weight: 400;
    color: var(--ink-500);
    font-size: calc(var(--fs) * 0.8);
}

/* trend chart */
.trend {
    position: relative;
    padding-left: 2.6cqw;
}

.trend__svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.trend__grid line {
    stroke: #e2e8f0;
    stroke-width: 1;
}

.trend__line {
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 520;
    stroke-dashoffset: 520;
    animation: draw 1.8s .4s cubic-bezier(.4, 0, .2, 1) forwards;
    stroke: #3B82F6;
    stroke-width: 4;

    filter: drop-shadow(0 0 10px rgba(59, 130, 246, .45));
}

.trend__dots circle {
    r: 3.4;
    fill: #3B82F6;
    stroke: #fff;
    stroke-width: 3;
    opacity: 0;
    animation: fadein .4s ease forwards;
}

.trend__dots circle:nth-child(1) {
    animation-delay: .5s;
}

.trend__dots circle:nth-child(2) {
    animation-delay: .7s;
}

.trend__dots circle:nth-child(3) {
    animation-delay: .9s;
}

.trend__dots circle:nth-child(4) {
    animation-delay: 1.1s;
}

.trend__dots circle:nth-child(5) {
    animation-delay: 1.3s;
}

.trend__dots circle:nth-child(6) {
    animation-delay: 1.5s;
}

.trend__dots circle:nth-child(7) {
    animation-delay: 1.7s;
}

.trend__dots circle:nth-child(8) {
    animation-delay: 1.9s;
}

.trend__labels {
    display: flex;
    justify-content: space-between;
    font-size: calc(var(--fs) * 0.72);
    color: var(--ink-500);
    margin-top: 2px;
}

.trend__yaxis {
    position: absolute;
    left: 0;
    top: 0;
    height: 70%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: calc(var(--fs) * 0.65);
    color: var(--ink-300);
}

/* insights */
.insights p {
    font-size: calc(var(--fs) * 0.82);
    line-height: 1.5;
    color: var(--ink-500);
    margin: 0 0 .8cqw;
}

.insights {

    background: linear-gradient(
            135deg,
            rgba(120, 120, 255, .12),
            rgba(255, 255, 255, .72)
    );
}

.spark {
    color: var(--purple-600);
    margin-right: 4px;
    display: inline-block;
    animation: sparkle 2.4s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.3) rotate(15deg);
        opacity: .7;
    }
}

.btn--insights {
    background: linear-gradient(135deg, var(--purple-500), var(--purple-600));
    color: #fff;
    font-size: calc(var(--fs) * 0.82);
    padding: .6cqw 1.1cqw;
    border-radius: 10px;
    width: 100%;
    box-shadow: 0 10px 18px -8px rgba(124, 58, 237, .5);
}

.btn--insights:hover {
    transform: translateY(-1px);
}

/* recent activity */
.viewall {
    font-size: calc(var(--fs) * 0.78);
    color: var(--blue-600);
    text-decoration: none;
    font-weight: 600;
}

body {
    display: block;
    margin: 0px;
}

.activity ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .6cqw;
}

.activity li {
    display: flex;
    align-items: center;
    gap: .6cqw;
    border-radius: 12px;

    transition: .3s;

    padding: .45cqw;
}

.activity li:hover {

    background: rgba(255, 255, 255, .55);

    transform: translateX(4px);
}

.act-icon {
    width: 2.3cqw;
    height: 2.3cqw;
    min-width: 22px;
    min-height: 22px;
    border-radius: 8px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: calc(var(--fs) * 0.9);
}

.act-icon svg {
    width: 60%;
    height: 60%;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.act-icon--green {
    background: linear-gradient(135deg, #4ade80, var(--green-600));
}

.act-icon--orange {
    background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
}

.act-icon--blue {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
}

.act-icon--purple {
    background: linear-gradient(135deg, #a78bfa, var(--purple-600));
}

.act-body {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    flex: 1;
    min-width: 0;
}

.act-body b {
    font-size: calc(var(--fs) * 0.85);
    color: var(--ink-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.act-body small {
    font-size: calc(var(--fs) * 0.72);
    color: var(--ink-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.act-time {
    font-size: calc(var(--fs) * 0.68);
    color: var(--ink-300);
    flex: none;
}

/* ==========================================================================
   7. REVEAL STATE (JS toggles .is-visible on IntersectionObserver)
========================================================================== */
.hero__scene .card,
.hero__scene .dashboard,
.hero__scene .core {
    opacity: 0;
    transform: translateY(24px);
}

.hero__scene.is-visible .card,
.hero__scene.is-visible .dashboard,
.hero__scene.is-visible .core {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
}

.hero__scene.is-visible .card--admission {
    transition-delay: .05s;
}

.hero__scene.is-visible .card--academic {
    transition-delay: .15s;
}

.hero__scene.is-visible .card--finance {
    transition-delay: .25s;
}

.hero__scene.is-visible .card--examination {
    transition-delay: .35s;
}

.hero__scene.is-visible .dashboard {
    transition-delay: .45s;
}

.hero__scene.is-visible .core {
    transition-delay: 0s;
}

.hero__content {
    position: relative;
    overflow: visible;
}

.hero-badge {
    opacity: 0;
    transform: translateY(-24px) scale(.9);
    display: inline-flex;
}

.headline {
    position: relative;
    overflow: hidden;
}

.headline .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px) rotateX(-80deg);
    filter: blur(10px);
    transform-origin: 50% 100%;
    will-change: transform, opacity, filter;
}

.headline__sweep {
    position: absolute;
    top: 0;
    left: -20%;
    width: 20%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(59, 130, 246, .35), transparent);
    pointer-events: none;
    opacity: 0;
}

.subhead {
    opacity: 0;
    transform: translateY(24px);
}

.home_butns a {
    opacity: 0;
    transform: translateY(24px) scale(.94);
}

.back-btn, .verify-btn {
    position: relative;
    overflow: hidden;
}

.back-btn::after, .verify-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
    transform: skewX(-20deg);
}

/* ==========================================================================
   8. RESPONSIVE
========================================================================== */
@media (max-width: 1200px) {
    .hero {
        padding: 60px 4vw 48px;
    }

    .hero__scene {
        max-width: 560px;
    }
}

@media (max-width: 992px) {
    .hero__container {
        flex-direction: column;
        text-align: center;
    }

    .hero__content {
        max-width: 640px;
    }

    .hero__cta {
        justify-content: center;
    }

    .hero__trust {
        justify-content: center;
    }

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__scene {
        max-width: 560px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 48px 5vw 40px;
    }

    .hero__title {
        font-size: 30px;
    }

    .hero__scene {
        max-width: 420px;
        --fs: clamp(8px, 2.6cqw, 14px);
    }

    .dash__grid {
        grid-template-columns:1fr;
    }

    .dashboard__tab {
        display: none;
    }
}