/* ==========================================================
   NOVA EDUSPACE
   SECTION 3
   A COMPLETE 360° LEARNING EXPERIENCE
   ========================================================== */


/* ==========================================================
   MAIN SECTION
   ========================================================== */

.nova360-section {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 72%,
            rgba(0, 210, 255, 0.14),
            transparent 34%
        ),
        radial-gradient(
            circle at 50% 38%,
            rgba(10, 70, 150, 0.10),
            transparent 55%
        ),
        linear-gradient(
            180deg,
            #020817 0%,
            #020b19 100%
        );

    color: #ffffff;
}

/* ==========================================================
   INNER BORDER
   ========================================================== */

.nova360-section::before {
    content: "";

    position: absolute;

    inset: 8px;

    border:
        1px solid
        rgba(80, 190, 255, 0.20);

    border-radius: 7px;

    pointer-events: none;

    z-index: 50;
}


/* ==========================================================
   STAR FIELD
   ========================================================== */

.nova360-stars {
    position: absolute;

    inset: -120px;

    pointer-events: none;

    background-image:
        radial-gradient(
            circle,
            rgba(255,255,255,0.95) 0,
            rgba(255,255,255,0.95) 1px,
            transparent 1.7px
        );

    background-size:
        145px 145px;

    opacity: 0.48;

    animation:
        nova360-stars-drift
        48s
        linear
        infinite;

    z-index: 1;
}


/* ==========================================================
   SECOND STAR LAYER
   ========================================================== */

.nova360-stars-2 {

    inset: -180px;

    background-size:
        235px 235px;

    background-position:
        70px 50px;

    opacity: 0.25;

    animation:
        nova360-stars-drift-2
        85s
        linear
        infinite;
}


/* ==========================================================
   STAR MOTION
   ========================================================== */

@keyframes nova360-stars-drift {

    0% {
        transform:
            translate3d(0,0,0);
    }

    50% {
        transform:
            translate3d(-80px,45px,0);
    }

    100% {
        transform:
            translate3d(-160px,90px,0);
    }

}


@keyframes nova360-stars-drift-2 {

    0% {
        transform:
            translate3d(0,0,0);
    }

    50% {
        transform:
            translate3d(100px,-45px,0);
    }

    100% {
        transform:
            translate3d(200px,-90px,0);
    }

}


/* ==========================================================
   AMBIENT SECTION GLOW
   ========================================================== */

.nova360-section::after {

    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    left: 50%;

    bottom: -430px;

    transform:
        translateX(-50%);

    border-radius: 50%;

    background:
        rgba(0,210,255,0.13);

    filter:
        blur(110px);

    pointer-events: none;

    z-index: 1;
}


/* ==========================================================
   CONTAINER
   ========================================================== */

.nova360-container {

    position: relative;

    width:
        min(1500px, 94%);

    height: 100%;

    margin:
        0 auto;

    z-index: 5;
}


/* ==========================================================
   HEADING
   ========================================================== */

.nova360-heading {

    position: relative;

    z-index: 20;

    padding-top: 30px;

    text-align: center;

    opacity: 0;

    transform:
        translateY(28px);

    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(.2,.8,.2,1);
}


.nova360-section.nova360-active
.nova360-heading {

    opacity: 1;

    transform:
        translateY(0);
}


/* ==========================================================
   EYEBROW
   ========================================================== */

.nova360-eyebrow {

    display: block;

    margin-bottom: 8px;

    color:
        #20d9ff;

    font-size:
        13px;

    font-weight:
        700;

    letter-spacing:
        3px;

    text-transform:
        uppercase;
}


/* ==========================================================
   HEADING TITLE
   ========================================================== */

.nova360-heading h2 {

    margin: 0;

    color:
        #ffffff;

    font-size:
        clamp(48px, 5vw, 72px);

    font-weight:
        800;

    line-height:
        0.94;

    letter-spacing:
        -3px;
}


.nova360-heading h2 span {

    color:
        #16d8ff;

    text-shadow:
        0 0 25px
        rgba(0,210,255,0.25);
}


/* ==========================================================
   HEADING DESCRIPTION
   ========================================================== */

.nova360-heading p {

    margin:
        15px auto 0;

    color:
        rgba(220,230,242,0.78);

    font-size:
        15px;

    line-height:
        1.5;
}


/* ==========================================================
   MAIN EXPERIENCE AREA
   ========================================================== */

.nova360-experience {

    position: relative;

    width: 100%;

    height: 530px;

    margin-top: 5px;
}


.nova360-connections {
    position: absolute;
    top: -45px;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}


/* ==========================================================
   CONNECTION LINES
   ========================================================== */

.connection-path {

    fill: none;

    stroke:
        rgba(15,215,255,0.60);

    stroke-width:
        1.4;

    stroke-linecap:
        round;

    stroke-dasharray:
        4 10;

    /*
       One connection path should be used for each feature
       in the HTML/SVG. The moving dash animation creates
       the small "energy travelling" effect.
    */

    filter:
        drop-shadow(
            0 0 5px
            rgba(0,215,255,0.55)
        );

    opacity: 0;

    transition:
        opacity 1s ease;
}


/* ==========================================================
   FOUR FEATURE CONNECTION ENDPOINTS
   These endpoints sit on the feature icon side and visually
   connect each feature to the central dome.
   ========================================================== */

.nova360-feature::before {
    content: "";
    position: absolute;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 0 6px #00e1ff,
        0 0 14px rgba(0,225,255,0.9);

    opacity: 0;

    z-index: 20;

    animation:
        nova360-feature-node-pulse
        2.8s
        ease-in-out
        infinite;
}

.nova360-section.nova360-active
.nova360-feature::before {
    opacity: 1;
}


/* LEFT FEATURES — connection starts at right side of icon/text block */
.feature-left::before {
    right: -3px;
    top: 38px;
}


/* RIGHT FEATURES — connection starts at left side of icon/text block */
.feature-right::before {
    left: -3px;
    top: 38px;
}


/* Moving pulse at each feature connection point */
@keyframes nova360-feature-node-pulse {

    0%,
    100% {
        transform: scale(0.8);
        box-shadow:
            0 0 5px #00e1ff,
            0 0 10px rgba(0,225,255,0.65);
    }

    50% {
        transform: scale(1.25);
        box-shadow:
            0 0 8px #00e1ff,
            0 0 18px rgba(0,225,255,1);
    }
}


/* ==========================================================
   CONNECTION PATH — MORE VISIBLE
   ========================================================== */

.connection-path {
    stroke:
        rgba(15,215,255,0.72);

    stroke-width:
        1.6;

    stroke-linecap:
        round;

    stroke-dasharray:
        4 10;

    filter:
        drop-shadow(
            0 0 5px
            rgba(0,215,255,0.65)
        );
}


/* ==========================================================
   CONNECTION FLOW — SMALL MOVING ENERGY
   ========================================================== */

.nova360-section.nova360-active
.connection-path {
    animation:
        nova360-line-flow
        3.5s
        linear
        infinite;
}

/* ==========================================================
   CONNECTION LINE ANIMATION
   ========================================================== */

.nova360-section.nova360-active
.connection-path {

    opacity: 1;

    animation:
        nova360-line-flow
        4s
        linear
        infinite;
}


@keyframes nova360-line-flow {

    from {
        stroke-dashoffset:
            0;
    }

    to {
        stroke-dashoffset:
            -70;
    }

}


/* ==========================================================
   MOVING CONNECTION DOTS
   ========================================================== */

.connection-node {

    fill:
        #ffffff;

    filter:
        drop-shadow(
            0 0 5px
            #00e1ff
        )
        drop-shadow(
            0 0 12px
            rgba(0,225,255,0.95)
        );

    opacity:
        0.95;
}


/* ==========================================================
   FOUR FEATURE BLOCKS
   ========================================================== */

.nova360-feature {

    position: absolute;

    display: flex;

    align-items: flex-start;

    gap:
        16px;

    width:
        310px;

    z-index:
        20;

    opacity:
        0;

    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(.2,.8,.2,1);
}


/* ==========================================================
   FOUR FEATURE POSITIONS
   ========================================================== */

/* TOP LEFT */
.feature-left.feature-top {
    left: -35px;
    top: 0px;

    transform:
        translateX(-45px);
}


/* TOP RIGHT */
.feature-right.feature-top {
    right: -35px;
    top: 0px;

    transform:
        translateX(45px);
}


/* BOTTOM LEFT */
.feature-left.feature-bottom {
    left: -30px;
    top: 235px;

    transform:
        translateX(-45px);
}


/* BOTTOM RIGHT */
.feature-right.feature-bottom {
    right: -30px;
    top: 235px;

    transform:
        translateX(45px);
}

/* ==========================================================
   FEATURE REVEAL
   ========================================================== */

.nova360-section.nova360-active
.nova360-feature {

    opacity:
        1;

    transform:
        translateX(0);
}


/* ==========================================================
   FEATURE STAGGER
   ========================================================== */

.nova360-section.nova360-active
.feature-left.feature-top {

    transition-delay:
        0.25s;
}


.nova360-section.nova360-active
.feature-right.feature-top {

    transition-delay:
        0.45s;
}


.nova360-section.nova360-active
.feature-left.feature-bottom {

    transition-delay:
        0.65s;
}


.nova360-section.nova360-active
.feature-right.feature-bottom {

    transition-delay:
        0.85s;
}


/* ==========================================================
   ICON
   ========================================================== */

.nova360-icon {

    flex:
        0 0 78px;

    width:
        78px;

    height:
        78px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid
        rgba(20,220,255,0.95);

    border-radius:
        50%;

    background:
        radial-gradient(
            circle,
            rgba(0,210,255,0.15),
            rgba(0,10,25,0.65)
        );

    box-shadow:

        0 0 22px
        rgba(0,210,255,0.22),

        inset 0 0 20px
        rgba(0,210,255,0.06);

    animation:
        nova360-icon-pulse
        4s
        ease-in-out
        infinite;
}


/* ==========================================================
   ICON SVG
   ========================================================== */

.nova360-icon svg {

    width:
        40px;

    height:
        40px;

    fill:
        none;

    stroke:
        #ffffff;

    stroke-width:
        1.8;

    stroke-linecap:
        round;

    stroke-linejoin:
        round;

    filter:
        drop-shadow(
            0 0 7px
            rgba(0,220,255,0.9)
        );
}


/* ==========================================================
   ICON PULSE
   ========================================================== */

@keyframes nova360-icon-pulse {

    0%,
    100% {

        box-shadow:

            0 0 18px
            rgba(0,210,255,0.18),

            inset 0 0 18px
            rgba(0,210,255,0.04);
    }

    50% {

        box-shadow:

            0 0 34px
            rgba(0,210,255,0.42),

            inset 0 0 25px
            rgba(0,210,255,0.08);
    }

}


/* ==========================================================
   FEATURE CONTENT
   ========================================================== */

.nova360-feature-content {

    padding-top:
        4px;
}


/* ==========================================================
   FEATURE TITLE
   ========================================================== */

.nova360-feature-content h3 {

    margin:
        0 0 9px;

    color:
        #ffffff;

    font-size:
        16px;

    font-weight:
        800;

    line-height:
        1.08;

    letter-spacing:
        0.2px;
}


/* ==========================================================
   SMALL CYAN LINE
   ========================================================== */

.feature-line {

    display:
        block;

    width:
        0;

    height:
        2px;

    margin-bottom:
        10px;

    background:
        #16d8ff;

    box-shadow:
        0 0 10px
        rgba(0,215,255,0.75);

    transition:
        width 0.8s ease;
}


.nova360-section.nova360-active
.feature-line {

    width:
        42px;
}


/* ==========================================================
   FEATURE DESCRIPTION
   ========================================================== */

.nova360-feature-content p {

    max-width:
        205px;

    margin:
        0;

    color:
        rgba(220,230,240,0.76);

    font-size:
        12px;

    line-height:
        1.55;
}


/* ==========================================================
   CENTRAL DOME
   IMPORTANT:
   DOME IS CENTERED BETWEEN ALL FOUR FEATURES
   ========================================================== */

.nova360-center {

    position:
        absolute;

    left:
        50%;

    top:
        40%;

    /*
       Slightly zoomed-out dome.
       This changes ONLY the dome size.
       Feature blocks and connection lines are untouched.
    */
    width:
        535px;

    transform:
        translateX(-50%)
        translateY(-50%)
        scale(0.90);

    z-index:
        8;

    opacity:
        0;

    transition:
        opacity 1.1s ease 0.2s,
        transform 1.1s cubic-bezier(.2,.8,.2,1) 0.2s;
}


/* ==========================================================
   DOME ACTIVE STATE
   ========================================================== */

.nova360-section.nova360-active
.nova360-center {

    opacity:
        1;

    transform:
        translateX(-50%)
        translateY(-50%)
        scale(1);
}


/* ==========================================================
   DOME AMBIENT GLOW
   ========================================================== */

.nova360-glow {

    position:
        absolute;

    left:
        50%;

    /*
       The glow belongs to the dome layer.
       It therefore moves with .nova360-center.
    */
    bottom:
        -35px;

    width:
        95%;

    height:
        130px;

    transform:
        translateX(-50%);

    border-radius:
        50%;

    background:
        rgba(0,215,255,0.22);

    filter:
        blur(50px);

    pointer-events:
        none;

    z-index:
        -1;
}


/* ==========================================================
   DOME
   ========================================================== */

.nova360-dome {

    position:
        relative;

    width:
        100%;

    overflow:
        hidden;

    border-radius:
        320px
        320px
        0
        0;

    border-top:
        2px solid
        rgba(25,225,255,0.95);

    background:
        #020817;

    box-shadow:

        0 -8px 30px
        rgba(0,215,255,0.38),

        0 -20px 90px
        rgba(0,170,255,0.18);

    /*
       Small premium floating motion.
       This affects ONLY the dome.
    */
    animation:
        nova360-dome-float
        6s
        ease-in-out
        infinite;
}


/* ==========================================================
   DOME FLOAT
   ========================================================== */

@keyframes nova360-dome-float {

    0%,
    100% {

        transform:
            translateY(0);
    }

    50% {

        transform:
            translateY(-6px);
    }

}


/* ==========================================================
   DOME IMAGE
   ========================================================== */

.nova360-dome img {

    display:
        block;

    width:
        100%;

    aspect-ratio:
        1.9 / 1;

    object-fit:
        cover;

    transform:
        scale(1.01);

    transition:
        transform 8s ease;
}


.nova360-section.nova360-active
.nova360-dome img {

    transform:
        scale(1.06);
}


/* ==========================================================
   EXPLORE PROGRAMS BUTTON
   BUTTON IS VISUALLY ON THE DOME
   ========================================================== */

.nova360-button {

    position: absolute;

    /*
       The button is a child of .nova360-center.
       Therefore it moves together with the dome.
    */

    left: 50%;

    /*
       BUTTON VERTICAL POSITION ON THE DOME

       35% = upper part of dome
       45% = recommended
       50% = center of dome
       55% = lower part
    */
    top: 45%;

    transform:
        translate(-50%, -50%);

    z-index: 30;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        14px;

    min-width:
        205px;

    padding:
        10px 22px;

    border:
        1px solid
        rgba(16,218,255,0.95);

    border-radius:
        50px;

    background:
        rgba(1,15,31,0.96);

    backdrop-filter:
        blur(6px);

    color:
        #ffffff;

    text-decoration:
        none;

    font-size:
        13px;

    font-weight:
        600;

    white-space:
        nowrap;

    box-shadow:
        0 0 22px
        rgba(0,210,255,0.25),

        inset 0 0 12px
        rgba(0,210,255,0.06);

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}


/* ==========================================================
   BUTTON ARROW
   ========================================================== */

.nova360-button span {

    color:
        #1bdcff;

    font-size:
        20px;

    line-height:
        1;

    transition:
        transform 0.3s ease;
}


/* ==========================================================
   BUTTON HOVER
   ========================================================== */

.nova360-button:hover {

    background:
        rgba(0,210,255,0.14);

    box-shadow:
        0 0 32px
        rgba(0,210,255,0.38),

        inset 0 0 15px
        rgba(0,210,255,0.08);

    transform:
        translate(-50%, -50%)
        translateY(-3px);
}


.nova360-button:hover span {

    transform:
        translateX(5px);
}


/* ==========================================================
   ==========================================================
   TABLET
   ==========================================================
   ========================================================== */

@media (max-width: 1100px) {

    .nova360-section {

        height:
            720px;
    }


    .nova360-heading h2 {

        font-size:
            52px;
    }


    .nova360-experience {

        height:
            500px;
    }


    /*
       Keep dome centered between
       the four features.
    */

    .nova360-center {

        width:
            470px;

        /*
           Tablet dome position.
           Independent from all four features.
        */
        top:
            24%;
    }


    .nova360-feature {

        width:
            255px;

        gap:
            12px;
    }


    .nova360-icon {

        flex-basis:
            68px;

        width:
            68px;

        height:
            68px;
    }


    .nova360-icon svg {

        width:
            34px;

        height:
            34px;
    }


    .nova360-feature-content h3 {

        font-size:
            14px;
    }


    .nova360-feature-content p {

        font-size:
            11px;
    }


    .feature-left.feature-top {

        left:
            5px;
    }


    .feature-right.feature-top {

        right:
            5px;
    }


    .feature-left.feature-bottom {

        left:
            0;
    }


    .feature-right.feature-bottom {

        right:
            0;
    }

}


/* ==========================================================
   TABLET
   768px - 900px
   ========================================================== */

@media
(min-width: 601px)
and
(max-width: 900px) {

    .nova360-section {

        height:
            700px;
    }


    .nova360-heading {

        padding-top:
            25px;
    }


    .nova360-heading h2 {

        font-size:
            44px;

        letter-spacing:
            -2px;
    }


    .nova360-heading p {

        font-size:
            12px;
    }


    .nova360-experience {

        height:
            490px;
    }


    .nova360-center {

        width:
            405px;

        /*
           Small-tablet dome position.
        */
        top:
            26%;
    }


    .nova360-feature {

        width:
            205px;

        gap:
            9px;
    }


    .nova360-icon {

        flex-basis:
            58px;

        width:
            58px;

        height:
            58px;
    }


    .nova360-icon svg {

        width:
            29px;

        height:
            29px;
    }


    .nova360-feature-content h3 {

        font-size:
            12px;
    }


    .nova360-feature-content p {

        max-width:
            135px;

        font-size:
            9.5px;
    }


    .feature-left.feature-top {

        left:
            0;

        top:
            65px;
    }


    .feature-right.feature-top {

        right:
            0;

        top:
            65px;
    }


    .feature-left.feature-bottom {

        left:
            0;

        top:
            320px;
    }


    .feature-right.feature-bottom {

        right:
            0;

        top:
            320px;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 600px) {

    .nova360-section {

        height:
            auto;

        min-height:
            0;

        padding:
            40px
            0
            42px;
    }


    .nova360-container {

        width:
            92%;

        height:
            auto;
    }


    .nova360-heading {

        padding-top:
            0;
    }


    .nova360-eyebrow {

        font-size:
            10px;

        letter-spacing:
            2.2px;
    }


    .nova360-heading h2 {

        font-size:
            clamp(
                31px,
                9vw,
                40px
            );

        line-height:
            1.02;

        letter-spacing:
            -1.5px;
    }


    .nova360-heading p {

        margin-top:
            12px;

        font-size:
            11px;
    }


    .nova360-experience {

        display:
            flex;

        flex-direction:
            column;

        height:
            auto;

        margin-top:
            25px;

        gap:
            12px;
    }


    /*
       Desktop connection system is hidden
       on mobile so the layout stays clean.
    */

    .nova360-connections {

        display:
            none;
    }


    /* ======================================================
       MOBILE DOME
       ====================================================== */

    .nova360-center {

        /*
           Mobile intentionally uses normal document flow.
           This prevents the desktop dome position from
           disturbing the mobile feature cards.
        */
        position:
            relative;

        left:
            auto;

        top:
            auto;

        bottom:
            auto;

        order:
            1;

        width:
            100%;

        transform:
            translateY(20px)
            scale(0.94);

        margin:
            0 auto 8px;
    }


    .nova360-section.nova360-active
    .nova360-center {

        transform:
            translateY(0)
            scale(1);
    }


    .nova360-dome {

        width:
            96%;

        margin:
            auto;
    }

    /*
       Mobile button stays in normal flow.
       It must NOT use the desktop on-dome position.
    */
    .nova360-button {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        z-index: 30;
    }


    /* ======================================================
       MOBILE FEATURES
       ====================================================== */

    .nova360-feature {

        position:
            relative;

        top:
            auto !important;

        right:
            auto !important;

        bottom:
            auto !important;

        left:
            auto !important;

        order:
            2;

        width:
            100%;

        min-height:
            88px;

        padding:
            12px;

        gap:
            13px;

        border:
            1px solid
            rgba(30,210,255,0.16);

        border-radius:
            15px;

        background:
            rgba(3,17,32,0.72);

        box-shadow:
            inset
            0 0 22px
            rgba(0,180,255,0.03);

        transform:
            translateY(25px);

        transition:
            opacity 0.8s ease,
            transform 0.8s cubic-bezier(.2,.8,.2,1);
    }


    .nova360-section.nova360-active
    .nova360-feature {

        transform:
            translateY(0);
    }


    .nova360-icon {

        flex:
            0 0 54px;

        width:
            54px;

        height:
            54px;
    }


    .nova360-icon svg {

        width:
            28px;

        height:
            28px;
    }


    .nova360-feature-content {

        flex:
            1;
    }


    .nova360-feature-content h3 {

        margin:
            1px 0 6px;

        font-size:
            12px;
    }


    .feature-line {

        width:
            0;

        height:
            2px;

        margin-bottom:
            6px;
    }


    .nova360-section.nova360-active
    .feature-line {

        width:
            30px;
    }


    .nova360-feature-content p {

        max-width:
            none;

        font-size:
            10px;

        line-height:
            1.45;
    }


    /* ======================================================
       MOBILE BUTTON
       ====================================================== */

        .nova360-button {

        position:
            relative;

        left:
            auto;

        top:
            auto;

        bottom:
            auto;

        transform:
            none;

        width:
            max-content;

        max-width:
            90%;

        margin:
            10px auto 0;

        padding:
            10px 19px;

        font-size:
            11px;
    }

}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 380px) {

    .nova360-section {

        padding-top:
            32px;
    }


    .nova360-heading h2 {

        font-size:
            29px;
    }


    .nova360-heading p {

        font-size:
            10px;
    }


    .nova360-feature {

        min-height:
            82px;

        padding:
            10px;
    }


    .nova360-icon {

        flex-basis:
            50px;

        width:
            50px;

        height:
            50px;
    }

}


/* ==========================================================
   DOME POSITION — QUICK CONTROL

   DESKTOP:
       .nova360-center { top: 32%; }

   TABLET:
       top: 32%;

   SMALL TABLET:
       top: 34%;

   MOBILE:
       Uses normal flow intentionally.

   IMPORTANT:
   Do not change the feature top/left/right values if you
   only want to move the dome.
   ========================================================== */


/* ==========================================================
   FINAL DOME / BUTTON CONTROLS

   DESKTOP DOME:
       .nova360-center {
           top: 32%;
           width: 535px;
       }

   To move ONLY the dome:
       top: 28%;  -> higher
       top: 32%;  -> current
       top: 36%;  -> lower

   BUTTON:
       The Explore Our Programs button is inside the dome
       container and sits on the lower/front area of the dome.

   IMPORTANT:
       Do NOT scale .nova360-container.
       Do NOT change the four feature positions.
       Do NOT change the SVG connection layer.
   ========================================================== */


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .nova360-stars,
    .nova360-dome,
    .nova360-icon,
    .connection-path {

        animation:
            none !important;
    }

}


/* ==========================================================
   NOVA 360 — FASTER SECTION REVEAL
========================================================== */

/* Heading appears quickly */
.nova360-heading {
    transition:
        opacity 0.25s ease,
        transform 0.25s ease !important;

    transform: translateY(8px);
}

/* Feature blocks appear without staggered delays */
.nova360-feature {
    transition:
        opacity 0.25s ease,
        transform 0.25s ease !important;

    transition-delay: 0s !important;
}

/* Remove feature stagger */
.nova360-section.nova360-active .feature-left.feature-top,
.nova360-section.nova360-active .feature-right.feature-top,
.nova360-section.nova360-active .feature-left.feature-bottom,
.nova360-section.nova360-active .feature-right.feature-bottom {
    transition-delay: 0s !important;
}

/* Centre dome appears quickly */
.nova360-center {
    transition:
        opacity 0.25s ease !important;

    transform: translateX(-50%) translateY(-50%) scale(1) !important;
}

/* ==========================================================
   REMOVE CENTRE IMAGE ANIMATION
========================================================== */


/* Faster feature accent line */
.nova360-feature .feature-line {
    transition: width 0.25s ease !important;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .nova360-section *,
    .nova360-section *::before,
    .nova360-section *::after {
        animation: none !important;
        transition: none !important;
    }
}
/* Move Explore Our Programs button lower */
.nova360-button {
    top: 60% !important;
}
/* ==========================================================
   NOVA 360 — INCREASE SECTION BOTTOM HEIGHT
========================================================== */

#nova360 {
    padding-bottom: 150px !important;
}

/* =====================================
   MOBILE - CENTER PLANETARIUM DOME
===================================== */

@media screen and (max-width: 768px) {

    #learning360 .learning360-dome {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: min(100%, 420px);
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #learning360 .learning360-dome-image {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0 auto;
        object-fit: contain;
    }

}


/* =====================================================
   NOVA 360 — FINAL MOBILE DOME POSITIONING FIX
   ===================================================== */

@media screen and (max-width: 600px) {

    /* Keep the dome container in normal mobile flow */
    .nova360-center,
    .nova360-section.nova360-active .nova360-center {

        position: relative !important;

        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;

        width: 100% !important;
        max-width: 100% !important;

        margin: 0 auto 8px !important;

        transform: none !important;

        opacity: 1;
    }

    /* Centre the complete planetarium dome */
    .nova360-dome {

        display: block !important;

        position: relative !important;

        width: 100% !important;
        max-width: 420px !important;

        margin: 0 auto !important;

        overflow: hidden;
    }

    /* Show the complete dome image */
    .nova360-dome img {

        display: block !important;

        width: 100% !important;
        max-width: 100% !important;

        height: auto !important;

        aspect-ratio: auto !important;

        object-fit: contain !important;

        margin: 0 auto !important;

        transform: none !important;
    }

    /* Keep Explore button centred */
    .nova360-button {

        position: relative !important;

        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;

        display: flex !important;

        width: max-content !important;
        max-width: 90% !important;

        margin: 12px auto 0 !important;

        transform: none !important;
    }

}

/* Small mobile screens */
@media screen and (max-width: 380px) {

    .nova360-dome {
        max-width: 100% !important;
    }

}
