/* =========================================================
   FIX LAYOUT SPMB SMAN 1 JALAKSANA
   STABLE PREMIUM VERSION
========================================================= */

/* =========================
   ROOT
========================= */
:root{

    --primary:#071739;
    --secondary:#0b2447;

    --blue:#2563eb;
    --gold:#facc15;

    --white:#ffffff;
    --soft:#f8fafc;

    --text:#dbe4ff;
    --muted:#94a3b8;

    --glass:rgba(255,255,255,.05);
    --glass-border:rgba(255,255,255,.08);

    --shadow:
        0 15px 40px rgba(0,0,0,.18);

    --radius-xl:32px;
    --radius-lg:24px;
    --radius-md:18px;

    --transition:all .35s ease;
}

/* =========================
   RESET
========================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:
        radial-gradient(circle at top left,
        rgba(37,99,235,.18),
        transparent 35%),

        linear-gradient(
            135deg,
            #020617 0%,
            #071739 45%,
            #0b1120 100%
        );

    color:var(--white);

    overflow-x:hidden;
    position:relative;
}

/* =========================
   GRID BACKGROUND
========================= */
body::before{

    content:'';

    position:fixed;
    inset:0;

    background:
        linear-gradient(
            rgba(255,255,255,.02) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,.02) 1px,
            transparent 1px
        );

    background-size:60px 60px;

    z-index:-2;
}

/* =========================
   PARTICLES
========================= */
#particles-js{

    position:fixed;
    inset:0;

    width:100%;
    height:100%;

    z-index:-3;
}

/* =========================
   SCROLLBAR
========================= */
::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#020617;
}

::-webkit-scrollbar-thumb{

    border-radius:50px;

    background:
        linear-gradient(
            to bottom,
            #2563eb,
            #facc15
        );
}

/* =========================
   CONTAINER FIX
========================= */
.container{

    width:100%;
    max-width:1280px;

    margin:auto;

    padding-left:20px;
    padding-right:20px;
}

/* =========================
   SECTION
========================= */
section{

    position:relative;

    padding:100px 0;
}

/* =========================
   TYPOGRAPHY
========================= */
h1,h2,h3,h4,h5,h6{

    font-weight:800;
    line-height:1.2;
}

h1{
    font-size:4rem;
}

h2{
    font-size:2.8rem;
}

h3{
    font-size:1.5rem;
}

p{

    color:var(--text);

    line-height:1.8;
    font-size:1rem;
}

/* =========================
   GLASS EFFECT
========================= */
.glass{

    background:var(--glass);

    border:
        1px solid var(--glass-border);

    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);

    box-shadow:var(--shadow);
}

/* =========================
   BUTTON PRIMARY
========================= */
.btn-primary{

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    padding:16px 30px;

    border-radius:18px;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #1d4ed8
        );

    color:#fff;

    font-weight:700;
    text-decoration:none;

    transition:var(--transition);
}

.btn-primary:hover{

    transform:translateY(-5px);

    box-shadow:
        0 15px 35px rgba(37,99,235,.35);
}

/* =========================
   BUTTON SECONDARY
========================= */
.btn-secondary{

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    padding:16px 30px;

    border-radius:18px;

    border:
        1px solid rgba(255,255,255,.1);

    background:
        rgba(255,255,255,.04);

    color:#fff;

    font-weight:700;
    text-decoration:none;

    backdrop-filter:blur(14px);

    transition:var(--transition);
}

.btn-secondary:hover{

    background:
        rgba(255,255,255,.08);

    transform:
        translateY(-5px);
}

/* =========================
   CARD
========================= */
.card{

    padding:32px;

    border-radius:var(--radius-xl);

    background:
        rgba(255,255,255,.05);

    border:
        1px solid rgba(255,255,255,.08);

    transition:var(--transition);
}

.card:hover{

    transform:
        translateY(-8px);

    border-color:
        rgba(250,204,21,.2);
}

/* =========================
   ICON BOX
========================= */
.icon-box{

    width:72px;
    height:72px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:22px;

    background:
        linear-gradient(
            135deg,
            rgba(37,99,235,.25),
            rgba(250,204,21,.15)
        );

    color:var(--gold);

    font-size:2rem;

    margin-bottom:24px;
}

/* =========================
   IMAGE
========================= */
img{
    max-width:100%;
    display:block;
}

/* =========================
   LINK
========================= */
a{
    text-decoration:none;
}

/* =========================================================
   NAVBAR
========================================================= */

.navbar-area{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    z-index:999;

    padding:18px 0;

    transition:var(--transition);
}

.navbar-area.scrolled{

    background:
        rgba(2,6,23,.82);

    backdrop-filter:blur(18px);

    border-bottom:
        1px solid rgba(255,255,255,.06);

    box-shadow:
        0 10px 30px rgba(0,0,0,.25);
}

.navbar{

    display:flex;
    align-items:center;
    justify-content:space-between;
}

/* =========================
   LOGO
========================= */
.nav-logo{

    display:flex;
    align-items:center;
    gap:14px;

    color:#fff;
}

.nav-logo img{

    width:58px;
    height:58px;

    object-fit:contain;
}

.logo-text span{

    font-size:.8rem;

    color:var(--gold);

    letter-spacing:1px;
}

.logo-text h4{

    font-size:1rem;
    margin-top:2px;
}

/* =========================
   MENU
========================= */
.nav-menu{

    display:flex;
    align-items:center;
    gap:32px;
}

.nav-menu a{

    color:#fff;

    font-weight:600;

    position:relative;

    transition:var(--transition);
}

.nav-menu a::after{

    content:'';

    position:absolute;

    left:0;
    bottom:-8px;

    width:0%;
    height:2px;

    background:var(--gold);

    transition:var(--transition);
}

.nav-menu a:hover{

    color:var(--gold);
}

.nav-menu a:hover::after{
    width:100%;
}

/* =========================
   MOBILE BUTTON
========================= */
.mobile-toggle{

    width:50px;
    height:50px;

    border:none;

    display:none;
    align-items:center;
    justify-content:center;

    border-radius:16px;

    background:
        rgba(255,255,255,.08);

    color:#fff;

    font-size:1.3rem;

    cursor:pointer;
}

/* =========================================================
   HERO SECTION
========================================================= */

.hero-section{

    min-height:100vh;

    display:flex;
    align-items:center;

    padding-top:140px;

    position:relative;

    overflow:hidden;
}

/* =========================
   HERO WRAPPER
========================= */
.hero-wrapper{

    display:grid;

    grid-template-columns:
        repeat(2,1fr);

    gap:60px;

    align-items:center;
}

/* =========================
   HERO CONTENT
========================= */
.hero-content{
    position:relative;
    z-index:2;
}

.hero-badge{

    display:inline-flex;
    align-items:center;
    gap:10px;

    padding:12px 20px;

    border-radius:50px;

    background:
        rgba(250,204,21,.08);

    border:
        1px solid rgba(250,204,21,.14);

    color:var(--gold);

    font-size:.92rem;
    font-weight:600;

    margin-bottom:30px;
}

.hero-content h1{

    font-size:4.5rem;

    line-height:1.1;

    margin-bottom:24px;
}

.hero-content p{

    max-width:620px;

    margin-bottom:40px;
}

/* =========================
   HERO BUTTONS
========================= */
.hero-buttons{

    display:flex;
    align-items:center;

    gap:18px;

    flex-wrap:wrap;

    margin-bottom:50px;
}

/* =========================
   STATS
========================= */
.hero-stats{

    display:flex;
    gap:20px;

    flex-wrap:wrap;
}

.stat-card{

    min-width:160px;

    padding:24px;

    border-radius:24px;

    text-align:center;

    background:
        rgba(255,255,255,.05);

    border:
        1px solid rgba(255,255,255,.06);
}

.stat-card h3{

    color:var(--muted);

    font-size:.9rem;

    margin-bottom:10px;
}

.stat-card h2{

    color:var(--gold);

    font-size:2.1rem;
}

/* =========================
   HERO IMAGE
========================= */
.hero-image{
    position:relative;
}

.hero-image-wrapper{

    position:relative;

    padding:24px;

    border-radius:34px;

    background:
        rgba(255,255,255,.05);

    border:
        1px solid rgba(255,255,255,.08);

    overflow:hidden;
}

.hero-image-wrapper img{

    width:100%;

    border-radius:24px;

    object-fit:cover;
}

/* =========================
   FLOATING CARD
========================= */
.floating-card{

    position:absolute;

    display:flex;
    align-items:center;
    gap:14px;

    padding:18px 22px;

    border-radius:20px;

    min-width:220px;

    background:
        rgba(255,255,255,.06);

    border:
        1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(14px);

    animation:floatCard 4s ease-in-out infinite;
}

.floating-card i{

    width:56px;
    height:56px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:18px;

    background:
        linear-gradient(
            135deg,
            rgba(37,99,235,.25),
            rgba(250,204,21,.15)
        );

    color:var(--gold);

    font-size:1.4rem;
}

.floating-card h4{

    font-size:1rem;

    margin-bottom:4px;
}

.floating-card p{

    font-size:.85rem;

    color:var(--muted);
}

.card-1{
    top:40px;
    left:-40px;
}

.card-2{
    bottom:40px;
    right:-40px;
}

/* =========================
   ANIMATION
========================= */
@keyframes floatCard{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-10px);
    }

    100%{
        transform:translateY(0);
    }
}

/* =========================================================
   RESPONSIVE FIX
========================================================= */

@media(max-width:991px){

    section{
        padding:80px 0;
    }

    .hero-wrapper{
        grid-template-columns:1fr;
        gap:50px;
    }

    .hero-content{
        text-align:center;
    }

    .hero-buttons{
        justify-content:center;
    }

    .hero-stats{
        justify-content:center;
    }

    .hero-content h1{
        font-size:3.5rem;
    }

    .floating-card{
        display:none;
    }

    .nav-menu{
        display:none;
    }

    .mobile-toggle{
        display:flex;
    }
}

@media(max-width:768px){

    h1{
        font-size:3rem;
    }

    h2{
        font-size:2.2rem;
    }

    .hero-content h1{
        font-size:2.8rem;
    }

    .container{
        padding-left:16px;
        padding-right:16px;
    }

    .hero-section{
        padding-top:120px;
    }

    .btn-primary,
    .btn-secondary{

        width:100%;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .stat-card{
        width:100%;
    }
}

/* =========================================================
   LOADER
========================================================= */

.site-loader{

    position:fixed;
    inset:0;

    width:100%;
    height:100vh;

    display:flex;
    align-items:center;
    justify-content:center;

    background:
        linear-gradient(
            145deg,
            #020617 0%,
            #071739 45%,
            #0b1120 100%
        );

    z-index:99999;

    overflow:hidden;

    transition:
        opacity .6s ease,
        visibility .6s ease;
}

.loader-wrapper{

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    text-align:center;
}

/* =========================
   LOGO LOADER
========================= */
.loader-wrapper img{

    width:110px;
    height:110px;

    object-fit:contain;

    margin-bottom:24px;

    animation:
        loaderFloat 2.5s ease-in-out infinite;

    filter:
        drop-shadow(0 0 18px rgba(250,204,21,.25));
}

/* =========================
   TEXT
========================= */
.loader-text{

    font-size:1.1rem;
    font-weight:700;

    letter-spacing:3px;

    color:#ffffff;

    margin-bottom:20px;
}

/* =========================
   LINE
========================= */
.loader-line{

    width:180px;
    height:5px;

    border-radius:50px;

    overflow:hidden;

    background:
        rgba(255,255,255,.08);

    position:relative;
}

.loader-line::before{

    content:'';

    position:absolute;
    left:-40%;
    top:0;

    width:40%;
    height:100%;

    border-radius:50px;

    background:
        linear-gradient(
            to right,
            #2563eb,
            #facc15
        );

    animation:
        loaderLine 1.4s linear infinite;
}

/* =========================
   HIDE LOADER
========================= */
.hide-loader{

    opacity:0;
    visibility:hidden;

    pointer-events:none;
}

/* =========================
   ANIMATION
========================= */
@keyframes loaderLine{

    0%{
        left:-40%;
    }

    100%{
        left:100%;
    }
}

@keyframes loaderFloat{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-8px);
    }

    100%{
        transform:translateY(0);
    }
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media(max-width:768px){

    .loader-wrapper img{

        width:80px;
        height:80px;
    }

    .loader-text{

        font-size:1rem;
    }

    .loader-line{

        width:140px;
    }

}

/* FIX GLOBAL */
body{
    overflow-x:hidden;
}

/* WRAPPER */
.main-wrapper{
    position:relative;
    z-index:2;
}

/* SECTION FIX */
section{
    position:relative;
    width:100%;
    overflow:hidden;
}

/* LOADER LOGO */
.loader-logo{
    width:90px !important;
    height:90px !important;
    object-fit:contain;
}

/* PARTICLE */
#particles-js{
    position:fixed;
    inset:0;
    z-index:-3;
}

/* BLUR */
.global-blur{
    position:fixed;
    border-radius:50%;
    filter:blur(120px);
    opacity:.18;
    z-index:-2;
}

.blur-blue{
    top:-100px;
    left:-100px;
    width:300px;
    height:300px;
    background:#2563eb;
}

.blur-gold{
    bottom:-100px;
    right:-100px;
    width:260px;
    height:260px;
    background:#facc15;
}

.site-loader.hide-loader{

    opacity:0;
    visibility:hidden;
    pointer-events:none;

    transition:all .5s ease;
}