* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #020d1a;
    color: #e0eaf5;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}


body::before {
    content: '';
    position: fixed;
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 100, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    bottom: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 60, 180, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.navbar {
    margin-top: 30px;
    background: rgba(10, 25, 60, 0.6);
    border: 1px solid rgba(50, 120, 255, 0.2);
    border-radius: 50px;
    padding: 14px 40px;
    backdrop-filter: blur(12px);
    z-index: 10;
    position: fixed;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 50px;
}

.nav-links a {
    text-decoration: none;
    color: #8aa8cc;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
    padding-bottom: 4px;
}

.nav-links a i {
    font-size: 0.85rem;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a.active {
    color: #ffffff;
    border-bottom: 2px solid #3a7fff;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    flex: 1;
    padding: 80px 60px;
    z-index: 1;
    position: relative;
}


.profile-container {
    flex-shrink: 0;
}

.glow-ring {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    padding: 4px;
    background: transparent;
    box-shadow:
        0 0 0 3px rgba(50, 130, 255, 0.8),
        0 0 20px 6px rgba(50, 130, 255, 0.5),
        0 0 60px 15px rgba(30, 90, 255, 0.25),
        inset 0 0 20px rgba(50, 130, 255, 0.1);
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow:
            0 0 0 3px rgba(50, 130, 255, 0.8),
            0 0 20px 6px rgba(50, 130, 255, 0.5),
            0 0 60px 15px rgba(30, 90, 255, 0.25);
    }
    50% {
        box-shadow:
            0 0 0 3px rgba(80, 160, 255, 1),
            0 0 30px 10px rgba(80, 160, 255, 0.7),
            0 0 80px 25px rgba(50, 120, 255, 0.4);
    }
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    display: block;
    /* Placeholder background if no image */
    background: linear-gradient(135deg, #0a1a3a, #0d2050);
}


.hero-text {
    max-width: 480px;
}

.greeting {
    font-size: 1.3rem;
    color: #8aa8cc;
    font-weight: 400;
    margin-bottom: 6px;
}

.name {
    font-family: 'Syne', sans-serif;
    font-size: 5rem;
    font-weight: 300;
    color: #4a9eff;
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.divider {
    width: 60px;
    height: 3px;
    background: #3a7fff;
    border-radius: 2px;
    margin-bottom: 20px;
}

.bio {
    font-size: 1rem;
    line-height: 1.85;
    color: #a0b8d0;
    font-weight: 300;
}

.highlight {
    color: #4a9eff;
    text-decoration: none;
    transition: color 0.3s;
}

.highlight:hover {
    color: #80c0ff;
    text-decoration: underline;
}


.social-bar {
    padding: 30px 0 50px;
    z-index: 1;
    position: relative;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1.5px solid rgba(50, 130, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a9eff;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(10, 30, 70, 0.4);
}

.social-icon:hover {
    border-color: #4a9eff;
    background: rgba(50, 130, 255, 0.15);
    box-shadow: 0 0 15px rgba(50, 130, 255, 0.4);
    color: #ffffff;
    transform: translateY(-3px);
}

.divider-line {
    width: 1px;
    height: 30px;
    background: rgba(50, 130, 255, 0.3);
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 50px 30px;
    }

    .name {
        font-size: 3.5rem;
    }

    .divider {
        margin: 0 auto 20px;
    }

    .nav-links {
        gap: 25px;
    }

    .navbar {
        padding: 12px 25px;
    }

    .glow-ring {
        width: 220px;
        height: 220px;
    }
}


body {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}