body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: #020617;
    color: #e2e8f0;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1px 5%;
    background: rgb(28, 26, 28);
    border-radius: 0px 0px 25px 25px;
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #c94242;
}

.logo img {
    height: 30px;
}

.nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.nav-links li {
    display: flex;
}

.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.95rem;
    transition: all 0.3s ease-in-out;
}

.nav-links a:hover {
    color: #22c55e;
    border: 2px solid red;
    box-shadow: 0 0 10px rgb(255, 0, 0), 0 0 20px rgb(0, 0, 0);
    padding: 4px;
}

/* PROFILE BUTTON — SapanaCyberHub 2025 Design */
.profile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-decoration: none;
    transition: 0.2s ease;
}

.profile-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Profile Name */
.profile-name {
    color: #e9eefc;
    font-size: 0.9rem;
    flex-wrap: wrap;
    font-weight: 500;
    letter-spacing: 0.4px;
    max-width: 120px;
    /* name limit */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    /* trim long names */
}

/* User Image Next to Name */
.user-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    object-fit: cover;
    background: #111;
}

.devider {
    background-color: white;
    width: 100%;
    height: 1px;
}

/* For mobile screens */
@media (max-width: 600px) {

    .navbar {

        justify-content: center;
    }

    .profile-btn {
        padding: 4px 8px;
        gap: 6px;
    }

    .profile-name {
        max-width: 80px;
        font-size: 0.8rem;
    }

    .user-img {
        width: 28px;
        height: 28px;
    }
}


/* HERO */
.hero {
    text-align: center;
    padding: 60px 12px;
}

.green {
    color: #22c55e;
}

.blue {
    color: #38bdf8;
}

.pink {
    color: #e879f9;
}

.subtitle {
    color: #cbd5e1;
    margin-top: 10px;
}

.quick-links a {
    display: inline-block;
    margin: 12px 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: #cbd5e1;
    text-decoration: none;
}

.quick-links a:hover {
    background: #22c55e;
    color: #020617;
}

/* FEATURE CARDS */
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    padding: 40px 12px;
}

.feature-card {
    width: 300px;
    padding: 18px;
    border-radius: 18px;
    color: white;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.green-card {
    border-color: #22c55e;
}

.blue-card {
    border-color: #38bdf8;
}

.pink-card {
    border-color: #e879f9;
}

.feature-card a {
    display: inline-block;
    margin-top: 10px;
    color: #38bdf8;
    text-decoration: none;
}

/* BLOG GRID */
.blogs {
    text-align: center;
    padding: 20px;
}

.blog-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}

.blog-card {
    width: 300px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    justify-items: end;
    padding: 14px;
    text-align: left;
    font-family: 'Courier New', Courier, monospace;
}

.blog-card img {
    width: 100%;
    border-radius: 12px;
}

.more-btn {
    display: flex;
    padding: 10px;
    text-decoration: none;
    color: white;
    border-radius: 25px;
    justify-content: center;
    font-family: 'Courier New', Courier, monospace;
    width: max-content;
    min-width: 100px;
    background-color: #000000;
    font-weight: bold;

}

/* Footer */
.footer-body {
            background-color: var(--bg);
            border-top-right-radius: 20px;
            border-top-left-radius: 20px;
            margin-top: 20px;

        }

        .footer-top {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 50px;
            padding: 5px;
            align-items: center;
            justify-content: space-between;

        }


        .container-0 {
            display: flex;
            flex-direction: column;
            color: rgb(255, 152, 152);
            text-align: start;
        }

        .container-0 a {
            color: #ffffff;
            background-color: #000000;
            border: 2px solid var(--card);
            border-radius: 25px;
            padding: 4px;
            margin-top: 2px;
            text-decoration: none;
            display: flex;
            align-content: center;
            justify-content: center;
            transition: all 0.3s;
        }

        .container-0 a:hover {
            color: #000000;
            background-color: rgb(255, 255, 255);
            box-shadow:
                0 0 10px rgb(255, 0, 0),
                0 0 20px rgb(255, 0, 0),
                0 0 30px rgb(255, 0, 0);
            border: 2px solid rgb(255, 0, 0);
            transform: scale(1.1);
            border-radius: 25px;
            text-decoration: none;
        }




        .container-1 {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            mix-blend-mode: luminosity;
            margin: 8px;
            color: #5fa800;
            font-family: cursive;
            font-weight: bold;
            border: 2px solid red;
            box-shadow:
                0 0 10px rgb(255, 0, 0),
                0 0 20px rgb(255, 0, 0),
                0 0 30px rgb(255, 0, 0);
            border-radius: 25px;
            padding: 5px;
        }

        .container-1 img {
            width: clamp(50px, 10vw, 80px);
            /* Auto resize */
            height: auto;
            margin-bottom: 6px;
            transition: all 0.3s;

        }

        .container-1 img:hover {
            transform: scale(1.1);
        }

        .container-2 {
            display: flex;
            color: #ff9d9d;
            flex-direction: column;
        }

        .container-2 a {
            background-color: #000000;
            border: 2px solid var(--card);
            color: #ff9494;
            border-radius: 25px;
            padding: 5px;
            gap: 4px;
            margin-top: 2px;
            text-decoration: none;
            display: flex;
            align-content: center;
            justify-content: center;
            transition: all 0.3s;
        }

        .container-2 img {
            width: 20px;
            height: 20px;
            margin-right: 10px;
        }

        .container-2 a:hover {
            color: #000000;
            background-color: rgb(255, 255, 255);
            box-shadow:
                0 0 10px rgb(255, 0, 0),
                0 0 20px rgb(255, 0, 0),
                0 0 30px rgb(255, 0, 0);
            border: 2px solid rgb(255, 0, 0);
            transform: scale(1.1);
            border-radius: 25px;
            text-decoration: none;
        }



        /* copyright reserved */
        .footer-body p {
            width: 100%;
            display: flex;
            justify-content: center;
            color: #b62a2a;
            font-size: medium;
            font-size: 0.9rem;
        }

        .footer-body a {
            color: #ff9393;
            font-family: cursive;
            font: 0.8em;
            margin-left: 20px;
        }