/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #0f172a;
    color: #e2e8f0;
    line-height: 1.6;
}

header {
    background: #020617;
    padding: 2rem;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

header p {
    color: #94a3b8;
}

nav {
    background: #020617;
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding-bottom: 1rem;
}

nav a {
    color: #38bdf8;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: white;
}

section {
    max-width: 900px;
    margin: auto;
    padding: 2rem;
}

h2 {
    border-bottom: 2px solid #38bdf8;
    padding-bottom: 0.3rem;
}

.card {
    background: #020617;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
}

footer {
    text-align: center;
    padding: 1rem;
    background: #020617;
    color: #94a3b8;
}

/* Contact buttons */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-btn {
    display: inline-block;
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    color: #e2e8f0;
    background: #020617;
    border: 1px solid #1e293b;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.25);
}

/* Platform accents */
.contact-btn.github {
    border-left: 4px solid #38bdf8;
}

.contact-btn.linkedin {
    border-left: 4px solid #0a66c2;
}

/* Back to Top Button (more prominent) */
#backToTop {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: none;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: #020617;
    border: none;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

#backToTop:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 28px rgba(56, 189, 248, 0.7);
    opacity: 0.95;
}



/* MOBILE CONDENSED NAV */
@media (max-width: 768px) {

    nav {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.5rem;
    }

    nav a {
        font-size: 0.9rem;
        padding: 0.5rem 0.6rem;
        background: #020617;
        border-radius: 6px;
    }

    header h1 {
        font-size: 1.8rem;
    }
}