/* ==========================================
   NEXTGEN PHYSICS - BASE CSS
========================================== */

/* ---------- ROOT ---------- */

:root{

    --primary:#7C4DFF;
    --primary-dark:#673AB7;

    --secondary:#2563EB;

    --accent:#FFC107;

    --success:#10B981;

    --danger:#EF4444;

    --text:#222;

    --text-light:#666;

    --background:#FAFAFD;

    --card:#FFFFFF;

    --shadow:0 10px 25px rgba(0,0,0,.08);

}

/* ---------- 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(124,77,255,.12),
            transparent 35%
        ),

        radial-gradient(
            circle at bottom right,
            rgba(103,58,183,.08),
            transparent 35%
        ),

        linear-gradient(
            180deg,
            #faf9ff,
            #f5f1ff
        );

    color:var(--text);

    min-height:100vh;

}

/* ---------- LINKS ---------- */

a{

    text-decoration:none;

}

/* ---------- COMMON BUTTON ---------- */

.btn-nextgen{

    background:linear-gradient(
        90deg,
        var(--primary),
        var(--primary-dark)
    );

    color:white;

    border:none;

    border-radius:50px;

    padding:12px 30px;

    font-weight:600;

    transition:.35s;

}

.btn-nextgen:hover{

    transform:translateY(-3px);

    box-shadow:0 12px 25px rgba(0,0,0,.18);

}

/* ---------- NAVBAR ---------- */

.navbar{

    background:

        linear-gradient(

            90deg,

            var(--primary),

            var(--primary-dark),

            var(--primary)

        );

    box-shadow:

        0 6px 20px rgba(0,0,0,.15);

    padding:14px 0;

}

.navbar-brand{

    color:white !important;

    font-size:2rem;

    font-weight:700;

}

.navbar-nav .nav-link{

    color:white !important;

    font-weight:600;

    transition:.3s;

}

.navbar-nav .nav-link:hover{

    color:#FFD54F !important;

}

.navbar-nav .nav-link.active{

    color:#FFD54F !important;

}

/* ---------- CARDS ---------- */

.card{

    border:none;

    border-radius:20px;

    box-shadow:var(--shadow);

}

/* ---------- FOOTER ---------- */

.footer{

    background:#111;

    color:#ddd;

    padding:60px 0;

    margin-top:80px;

}

.footer h4,

.footer h5{

    color:white;

}

.footer a{

    color:#ddd;

    transition:.3s;

}

.footer a:hover{

    color:white;

}

.social-icons a{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    width:42px;

    height:42px;

    border-radius:50%;

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

    margin-right:10px;

    transition:.3s;

}

.social-icons a:hover{

    background:var(--primary);

    transform:translateY(-5px);

}

/* ---------- DARK MODE ---------- */

body.dark-mode{

    background:#111;

    color:#eee;

}

body.dark-mode .card{

    background:#1e1e1e;

    color:white;

}

body.dark-mode .footer{

    background:#000;

}

/* ---------- ANIMATION ---------- */

.fade-up{

    animation:fadeUp .5s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(25px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ---------- MOBILE ---------- */

@media(max-width:992px){

.navbar-brand{

font-size:1.5rem;

}

}

@media(max-width:768px){

.card{

border-radius:15px;

}

.btn-nextgen{

width:100%;

}

}