/*==========================================================
    Nova EduSpace v2
    Master Stylesheet
    Version : 2.0
    Author  : Nova EduSpace
==========================================================*/

/*==========================================================
IMPORTS
==========================================================*/

@import url("variables.css");
@import url("reset.css");
@import url("layout.css");
@import url("typography.css");
@import url("utilities.css");
@import url("components.css");
@import url("animations.css");
@import url("responsive.css");
@import url("home.css");
@import url("footer.css");

/*==========================================================
GLOBAL
==========================================================*/

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    overflow-x: hidden;
}

body {
    position: relative;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
}

/*==========================================================
SELECTION
==========================================================*/

::selection {
    background: var(--primary);
    color: #fff;
}

::-moz-selection {
    background: var(--primary);
    color: #fff;
}

/*==========================================================
PAGE WRAPPER
==========================================================*/

.site-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

/*==========================================================
BACKGROUND
==========================================================*/

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(
            circle at 15% 25%,
            rgba(34, 215, 255, .10),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 12%,
            rgba(111, 99, 255, .12),
            transparent 28%
        ),
        radial-gradient(
            circle at 75% 82%,
            rgba(0, 153, 255, .08),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #030712 0%,
            #06101c 35%,
            #07192d 100%
        );
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(
            circle at center,
            rgba(255, 255, 255, .02) 1px,
            transparent 1px
        );
    background-size: 4px 4px;
    opacity: .12;
}

/*==========================================================
COMMON SECTION
==========================================================*/

.section {
    position: relative;
    padding: var(--section-padding) 0;
}

.section-title {
    margin-bottom: 22px;
}

.section-description {
    margin-inline: auto;
}

.section-header {
    margin-bottom: 70px;
}

/*==========================================================
IMAGE
==========================================================*/

img {
    display: block;
    max-width: 100%;
    height: auto;
    user-select: none;
}

svg {
    display: block;
}

/*==========================================================
VIDEO
==========================================================*/

video {
    display: block;
    width: 100%;
    height: auto;
}

/*==========================================================
GLASS EFFECT
==========================================================*/

.glass {
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
}

/*==========================================================
TEXT GRADIENT
==========================================================*/

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/*==========================================================
DIVIDER
==========================================================*/

.divider {
    width: 90px;
    height: 3px;
    margin: 24px auto;
    border-radius: 999px;
    background: var(--gradient-button);
    box-shadow: var(--shadow-glow);
}

.divider.left {
    margin-left: 0;
}

/*==========================================================
BADGE
==========================================================*/

.badge-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    background: rgba(34, 215, 255, .10);
    color: var(--primary);
    border: 1px solid rgba(34, 215, 255, .25);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/*==========================================================
OVERLAY
==========================================================*/

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(3, 7, 18, .15),
        rgba(3, 7, 18, .85)
    );
    z-index: 1;
}

/*==========================================================
BACKGROUND GLOW
==========================================================*/

.bg-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(34, 215, 255, .22),
        transparent 70%
    );
    filter: blur(50px);
    pointer-events: none;
}

/*==========================================================
HOVER LINK
==========================================================*/

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
}

.link-arrow i {
    transition: var(--transition);
}

.link-arrow:hover i {
    transform: translateX(6px);
}

/*==========================================================
IMAGE RADIUS
==========================================================*/

.img-rounded {
    border-radius: var(--radius-lg);
}

.img-circle {
    border-radius: 50%;
}

/*==========================================================
NOVA EDUSPACE — LARGE COSMIC LOADER
==========================================================*/

#page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 20px;

    background:
        radial-gradient(
            circle at center,
            rgba(25, 83, 132, .22),
            transparent 42%
        ),
        #040916;

    opacity: 1;
    visibility: visible;

    transition:
        opacity .45s ease,
        visibility .45s ease;
}

/* Hidden state controlled by existing JavaScript */

#page-loader.loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Large logo container */

#page-loader .loader-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 180px;
    height: 105px;

    margin: 0;
    flex: 0 0 auto;
}

/* Large logo image */

#page-loader .loader-logo img {
    display: block;
    width: 175px;
    height: 100px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;

    filter: drop-shadow(
        0 0 15px rgba(35, 190, 255, .22)
    );
}

/* Cyan-purple loading ring */

#page-loader .loader-ring {
    width: 36px;
    height: 36px;

    flex: 0 0 36px;

    border: 2px solid rgba(255, 255, 255, .10);
    border-top-color: #24D5F3;
    border-right-color: #7657F6;

    border-radius: 50%;

    animation: loaderSpin .9s linear infinite;
}

/* Loading label */

#page-loader::after {
    content: "PREPARING YOUR UNIVERSE";

    display: block;

    margin-top: 1px;

    color: #8DA6C6;
    font-family: "Outfit", sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-align: center;
}

/* Ring animation */

@keyframes loaderSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/*==========================================================
MOBILE LOADER
==========================================================*/

@media (max-width: 600px) {
    #page-loader {
        gap: 17px;
    }

    #page-loader .loader-logo {
        width: 145px;
        height: 85px;
    }

    #page-loader .loader-logo img {
        width: 135px;
        height: 78px;
    }

    #page-loader .loader-ring {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    #page-loader::after {
        font-size: 8px;
        letter-spacing: 1.5px;
    }
}

/*==========================================================
ACCESSIBILITY
==========================================================*/

@media (prefers-reduced-motion: reduce) {
    #page-loader .loader-ring {
        animation-duration: 2.5s;
    }
}

/*==========================================================
NOISE LAYER
==========================================================*/

.noise {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .03;
    mix-blend-mode: soft-light;
    background-image:
        radial-gradient(
            circle,
            #fff 1px,
            transparent 1px
        );
    background-size: 6px 6px;
}

/*==========================================================
ACCESSIBILITY
==========================================================*/

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/*==========================================================
UTILITY
==========================================================*/

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/*==========================================================
PRINT
==========================================================*/

@media print {
    body {
        background: #fff;
        color: #000;
    }

    .site-header,
    .site-footer,
    .back-to-top,
    .floating-actions,
    .desktop-social,
    .scroll-indicator {
        display: none !important;
    }
}

/* HEADER LOGO POSITION */
.site-header .site-logo {
    transform: translateX(22px);
}

/* HEADER - BOOK DEMO BUTTON */
.site-header .header-actions .btn.btn-primary {
    min-height: 54px;
    min-width: 200px;
    padding: 12px 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Keep Back To Top above WhatsApp */
.back-to-top {
    position: fixed !important;
    right: 25px !important;
    bottom: 100px !important;
    z-index: 99998 !important;
}

/* WhatsApp stays at the bottom */
#nova-whatsapp-float {
    right: 25px;
    bottom: 25px;
    z-index: 99999;
}

@media (max-width: 600px) {
    .back-to-top {
        right: 17px !important;
        bottom: 85px !important;
    }
}