:root {
    --bg-color: #0b0f1a;
    --card-bg: #161c2d;
    --accent-color: #6366f1;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
}

* {
    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;
    min-height: 100vh;
}

.background-glow {
    position: fixed;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0) 70%);
    z-index: -1;
    filter: blur(80px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    padding: 6rem 0 4rem;
    text-align: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.logo span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
    padding-bottom: 6rem;
}

.project-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, transparent 100%);
}

/* Backgrounds for cards */
.bg-trueminds { background: linear-gradient(45deg, #f97316, #ea580c); }
.bg-portfolio { background: linear-gradient(45deg, #3b82f6, #2563eb); }
.bg-amanahub { background: linear-gradient(45deg, #10b981, #059669); }
.bg-food { background: linear-gradient(45deg, #8b5cf6, #7c3aed); }
.bg-hng1 { background: linear-gradient(45deg, #64748b, #475569); }
.bg-hng2 { background: linear-gradient(45deg, #ec4899, #db2777); }

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.tags {
    margin-top: auto;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tags span {
    background: var(--glass);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

footer p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.socials a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

.socials a:hover {
    color: var(--accent-color);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .logo { font-size: 2.5rem; }
    .project-grid { grid-template-columns: 1fr; }
    header { padding: 4rem 0 2rem; }
}
