/* =========================
   Reset
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    color: #24324a;

    background:
        radial-gradient(circle at 10% 10%, rgba(90, 170, 255, .35), transparent 28%),
        radial-gradient(circle at 90% 80%, rgba(90, 220, 255, .25), transparent 30%),
        linear-gradient(135deg, #ffbfbf, #f4f9ff, #edf6ff);
}

.container {
    width:100%;
    max-width:1400px;
    margin:0 auto;
    padding:0 20px;
}

/* =========================
   Background Glow
========================= */

body::before {
    content: "";
    position: fixed;
    width: 550px;
    height: 550px;
    left: -180px;
    top: -150px;
    background: #5aa9ff;
    opacity: .18;
    filter: blur(160px);
    z-index: -1;
}

body::after {
    content: "";
    position: fixed;
    width: 500px;
    height: 500px;
    right: -180px;
    bottom: -150px;
    background: #64e8ff;
    opacity: .18;
    filter: blur(160px);
    z-index: -1;
}


/* =========================
   Buttons
========================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: .35s ease;
    background: linear-gradient(135deg,#9a4dff,#3aa6ff);
    color: white;
    box-shadow:
    0 10px 28px rgba(50,130,255,.28);
}

.btn:hover {
    transform: translateY(-3px);

    background:
    linear-gradient(135deg,#4d5fff,#b055ff);

    box-shadow:
    0 16px 36px rgba(50,130,255,.36);
}


/* =========================
   Global Animations
========================= */

@keyframes float {
    0%,100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes fade {
    0%,100% {
        opacity: 1;
    }
    50% {
        opacity: .8;
    }
}

/* =========================
   Shared Layout & Navbar
========================= */

.navbar {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: min(2560px, 92%);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .40);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, .72);
    box-shadow: 0 12px 40px rgba(40, 100, 180, .10), inset 0 1px 0 rgba(255, 255, 255, .8);
    z-index: 1000;
    overflow: visible;
}

.navbar .nav-toggle {
    display: none;
    border: 0;
    background: rgba(255, 255, 255, 0.84);
    border-radius: 14px;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(40, 100, 180, .12);
}

.navbar .nav-toggle span {
    display: block;
    width: 22px;
    height: 3px;
    border-radius: 999px;
    background: #284b77;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #20324d;
    font-size: 30px;
    font-weight: 600;
    text-decoration: none;
}

.logo strong {
    color: #3478e8;
    font-weight: 600;
}

.logo-icon {
    font-size: 35px;
}

.navbar .nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.navbar .nav-links li {
    list-style: none;
}

.navbar .nav-links li a {
    color: #35506f;
    font-size: 20px;
    font-weight: 600;
    transition: 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.navbar .nav-links li a.headerlogin {
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #3478e8, #5aa8ff);
    box-shadow: 0 10px 22px rgba(52, 120, 232, 0.18);
}

.navbar .nav-links li a.headerlogin:hover {
    color: #dff4ff;
}

.navbar .nav-links li:hover a,
.navbar .nav-links li.active a {
    color: #6e2de7;
}