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

:root {
    --bg: #0f172a;          /* dark blue */
    --card: #111827;        /* card background */
    --text: #e5e7eb;        /* main text */
    --muted: #9ca3af;       /* secondary text */
    --accent: #38bdf8;      /* cyan */
    --accent2: #22c55e;     /* green */
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #020617, #0f172a);
    color: var(--text);
    line-height: 1.7;
}

/* Header */
header {
    text-align: center;
    padding: 70px 20px;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

header p {
    font-size: 1.1rem;
    color: var(--muted);
}

/* Buttons / Links */
.links {
    margin-top: 25px;
}

.links a {
    display: inline-block;
    margin: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--accent);
    color: #020617;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(56,189,248,0.35);
}

/* Sections */
section {
    max-width: 950px;
    margin: 40px auto;
    padding: 0 20px;
}

section h2 {
    font-size: 1.9rem;
    margin-bottom: 20px;
    color: var(--accent);
}

/* Cards */
.card {
    background: var(--card);
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* Skills */
.skills {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.skills li {
    margin: 10px;
    padding: 10px 16px;
    background: rgba(56,189,248,0.12);
    border: 1px solid rgba(56,189,248,0.35);
    border-radius: 10px;
    font-weight: 500;
}

/* Projects */
.project {
    background: var(--card);
    padding: 24px;
    border-radius: 14px;
    margin-bottom: 25px;
    border-left: 4px solid var(--accent2);
}

.project h3 {
    margin-top: 0;
    color: var(--accent2);
}

.project a {
    display: inline-block;
    margin-top: 10px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.project a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    color: var(--muted);
    font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 600px) {
    header h1 {
        font-size: 2.2rem;
    }
}
