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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0e0e0e;
    color: #ffffff;
    line-height: 1.6;
    padding: 0 1.5rem;
    overflow-x: hidden;
}

/* Accent Color */
:root {
    --accent: #00f0ff;
}

/* Header / Hero */
header {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--accent), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

header p {
    font-size: 1.3rem;
    margin-top: 1rem;
    color: #ccc;
}

header .buttons {
    margin-top: 2rem;
}

header .buttons a {
    text-decoration: none;
    color: #0e0e0e;
    background-color: var(--accent);
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: bold;
    margin: 0 0.5rem;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 0 10px var(--accent);
}

header .buttons a:hover {
    background-color: #ffffff;
    color: #000;
}

/* Sections */
section {
    padding: 5rem 0;
    max-width: 1000px;
    margin: 0 auto;
}

section h2 {
    font-size: 2.25rem;
    margin-bottom: 2rem;
    color: var(--accent);
    text-align: center;
}

/* About Section */
#about img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 2rem auto 0;
    border: 3px solid var(--accent);
}

/* Project Cards */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.8rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.05);
    transition: 0.3s ease-in-out;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.project-card h3 {
    margin-bottom: 0.5rem;
    color: #fff;
}

.project-card p {
    font-size: 0.95rem;
    color: #bbb;
}

.project-card ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
    color: #aaa;
}

.project-card a {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--accent);
    color: #000;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.2s;
}

.project-card a:hover {
    background-color: #ffffff;
    color: #000;
}

/* Skills Section */
#skills ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding-top: 1rem;
}

#skills li {
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: 0.2s;
}

#skills li:hover {
    border-color: var(--accent);
    transform: scale(1.05);
}

/* Contact / Footer */
footer {
    text-align: center;
    padding: 3rem 0 1rem;
    color: #666;
    font-size: 0.9rem;
}

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

    section h2 {
        font-size: 1.75rem;
    }

    .project-card {
        padding: 1.2rem;
    }
}
