:root {
    --bg: #030712;
    --card-bg: rgba(22, 28, 41, 0.6);
    --border: rgba(255, 255, 255, 0.08);
    --text-main: #f3f4f6;
    --text-dim: #9ca3af;
    --accent: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.35)
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative
}

.fixed-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    background: radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.08), transparent 40%), radial-gradient(circle at 90% 90%, rgba(16, 185, 129, 0.05), transparent 40%);
    pointer-events: none
}

#cursor-blob {
    position: fixed;
    width: 400px;
    height: 400px;
    background: var(--accent-glow);
    filter: blur(100px);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: opacity 0.8s ease
}

main {
    position: relative;
    z-index: 1
}

header {
    min-height: 85vh;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px
}

.header-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
    width: 100%
}

.profile-image-container {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
    box-shadow: 0 0 40px var(--accent-glow);
    justify-self: center;
    transform: rotate(-3deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease
}

.profile-image-container:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 0 60px var(--accent-glow)
}

.profile-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

@media (max-width:968px) {
    header {
        padding-top: 100px;
        min-height: auto;
        text-align: center
    }

    .header-grid {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .header-image-wrapper {
        order: -1
    }

    .profile-image-container {
        width: 250px;
        height: 250px;
        margin: 0 auto
    }

    .badge {
        margin: 0 auto 24px auto
    }
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    width: fit-content
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    color: #fff
}

h1 span {
    background: linear-gradient(to right, #10b981, #6ee7b7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent
}

.hero-p {
    max-width: 600px;
    font-size: 1.2rem;
    color: var(--text-dim)
}

section {
    max-width: 1200px;
    margin: 0 auto 120px;
    padding: 0 24px
}

.section-header {
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px
}

.section-header h2 {
    font-size: 2rem;
    color: var(--text-main)
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(30, 41, 59, 0.8)
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #fff
}

.card p {
    color: var(--text-dim);
    margin-bottom: 20px;
    flex-grow: 1;
    font-size: 0.95rem
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px
}

.tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    color: #cbd5e1;
    border: 1px solid var(--border)
}

.tag.highlight {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    border-color: rgba(16, 185, 129, 0.3)
}


.tag.client-work {
    background: rgba(245, 158, 11, 0.1); 
    color: #fbbf24; 
    border-color: rgba(245, 158, 11, 0.4); 
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.15); 
    font-weight: 700; 
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap 0.2s ease
}

.btn:hover {
    gap: 12px
}

.stat-row {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    border-top: 1px solid var(--border);
    padding-top: 20px
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0;
    line-height: 1
}

.stat-item span {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-dim);
    letter-spacing: 1px
}

footer {
    text-align: center;
    padding: 60px 20px;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.9rem
}

.load-hidden {
    visibility: hidden
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff; 
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, transform 0.2s ease;
    font-weight: 500;
}

.social-link span {
    font-size: 1.1rem;
}

.social-link small {
    color: var(--text-dim); 
    font-size: 0.8rem;
    margin-left: 5px;
}

.social-link:hover {
    color: var(--accent); 
    transform: translateX(5px); 
}