.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: fixed;
    width: 100%;
    top: 30px;
    /* Exactly below the 30px top bar */
    left: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: #050505;
    /* Solid background as requested to hide content behind */
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-color);
}


.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    position: relative;
    padding-top: 80px;
}


.hero-content {
    max-width: 600px;
    z-index: 10;
}

.hero-tag {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero-title .highlight {
    -webkit-text-stroke: 1px var(--accent-color);
    color: transparent;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}


.cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-neon {
    padding: 15px 35px;
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
    display: inline-block;
    cursor: pointer;
}

.btn-neon:hover {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 20px var(--accent-color);
    cursor: pointer;
}

.btn-outline {
    color: #fff;
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
    text-decoration: none;
    padding-bottom: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    cursor: pointer;
}


.hero-image-container {
    position: relative;
    z-index: 10;
}

.image-wrapper {
    position: relative;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.1);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}


.image-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    animation: spin-border 10s linear infinite;
    pointer-events: none;
}

@keyframes spin-border {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}



.featured-section {
    background-color: #080808;
    min-height: 80vh;
    padding: 100px 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.text-green {
    color: var(--accent-color);
}


.about-teaser h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-teaser p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1rem;
}


.stats-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 80px;
}

.stat-item h3 {
    font-size: 1.6rem;
    color: #fff;
    font-weight: 900;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.75rem;
    margin: 0;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.link-arrow {
    color: var(--accent-color);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}


.top-projects {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.section-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
}

.project-card-mini {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid transparent;
    transition: 0.3s;
    text-decoration: none;
}

.project-card-mini:hover {
    border-color: var(--accent-color);
    transform: translateX(10px);
    background: rgba(0, 255, 136, 0.05);
}

.card-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: #000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.card-info h4 {
    font-size: 1rem;
    margin-bottom: 3px;
    color: #fff;
}

.card-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.btn-full-projects {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 25px;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 0.9rem;
    border: 1px solid var(--accent-color);
    padding: 10px;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-full-projects:hover {
    background: var(--accent-color);
    color: #000;
}