/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg-color: #0d1516;
    /* Dark slate background matching logo */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent-color: #38b6ff;
    /* Vibrant blue from logo */
    --accent-glow: rgba(56, 182, 255, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --nav-glass: rgba(13, 21, 22, 0.8);
    --card-hover: rgba(56, 182, 255, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Logo Styling */
.logo {
    position: absolute;
    left: 0;
}

#site-logo {
    height: 56px;
    width: auto;
    display: block;
    border-radius: 12px;
    transition: var(--transition);
}

#site-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    /* Subtle background grid/gradient */
    background-image:
        radial-gradient(circle at 10% 20%, rgba(56, 182, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(13, 21, 22, 0.15) 0%, transparent 40%);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Navigation - Glassmorphism */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 2rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: var(--nav-glass);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: center;
}

header div {
    width: 100%;
    max-width: 1500px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    padding: 0 1rem;
}

nav {
    margin-left: 5rem;
}

/* Optional: Add a logo text if desired, but sticking to structure */
nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    position: relative;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
}

nav a:hover,
nav a.active {
    color: var(--text-primary);
    background: var(--glass-bg);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Button Style for Nav Links (Alternative) */
.nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
}

/* Main Content */
main {
    padding-top: 120px;
    /* Space for fixed header */
    padding-bottom: 4rem;
    min-height: 80vh;
    display: flex;
    justify-content: center;
}

main>div {
    width: 100%;
    max-width: 800px;
    padding: 0 1.5rem;
    animation: fadeIn 0.8s ease-out;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 65ch;
}

/* Cards & Sections */
.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    background: var(--card-hover);
    border-color: rgba(56, 182, 255, 0.3);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    border-top: 1px solid var(--glass-border);
    margin-top: auto;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    header {
        padding: 1rem;
    }

    nav ul {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}

.whitehatjr {
    width: 50%;
    height: auto
}

.acheivment1 {
    text-align: center
}