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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #64748b;
    --accent-color: #0ea5e9;
    --text-dark: #0f172a;
    --text-medium: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;

}

/* Navigation */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    background-color: rgba(12, 0, 16, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
    z-index: 1000;
    transition: var(--transition);
    padding: 0.75rem 2rem;
}

.navbar.scrolled {
    top: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    background-color: rgba(12, 0, 16, 0.95);
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgb(114, 4, 198);
    text-decoration: none;
    transition: var(--transition);
}

.nav-logo a:hover {
    color: var(--primary-dark);
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    color: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: var(--transition);
    border-radius: 3px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 50px;
    background:  #000000 100%

      
}
/* #1a0b2e 0%, #2d1b4e 50%, #4a2c6a 100%
linear-gradient(135deg, #1a0b2e 0%, #2d1b4e 50%, #4a2c6a 100%);
*/
/* Particles/Stars Background */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    opacity: 0.6;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.5);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 0 20px;
    min-height: 100vh;
}

.hero-content {
    color: white;
    text-align: center;
    width: 100%;
    overflow: visible;
    position: absolute;
    top: 0%;
    left: 0%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero-title {
    overflow: hidden;
    position: relative;
    width: 100%;
    display: block;
    padding: 0;
}

.title-text-small {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    opacity: 0.9;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.name-glow {
    position: fixed;
    top: 0%;
    left: 0%;
    
    display: inline-block;
    font-size: 22rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 
        0 0 10px rgba(139, 92, 246, 0.8),
        0 0 20px rgba(139, 92, 246, 0.6),
        0 0 30px rgba(139, 92, 246, 0.4),
        0 0 40px rgba(139, 92, 246, 0.3),
        0 0 70px rgba(23, 15, 42, 0.2);
    letter-spacing: 5px;
    text-transform: uppercase;
    animation: glow-pulse 4s ease-in-out infinite, slide-right-to-left 15s linear infinite;
    
    white-space: nowrap;
    will-change: transform;
    width: max-content;
    z-index: -1;
    opacity: 0.9;
}

.name-glow::before {
    content: 'ANTONIYA JENCY';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: rgba(40, 1, 57, 0.201);
    filter: blur(20px);
    z-index: -1;
    width: max-content;
}

@keyframes glow-pulse {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(131, 18, 211, 0.8),
            0 0 20px rgba(139, 92, 246, 0.6),
            0 0 30px rgba(139, 92, 246, 0.4),
            0 0 40px rgba(139, 92, 246, 0.3),
            0 0 70px rgba(139, 92, 246, 0.2);
    }
    50% {
        text-shadow: 
            0 0 15px rgba(139, 92, 246, 1),
            0 0 25px rgba(139, 92, 246, 0.8),
            0 0 35px rgba(139, 92, 246, 0.6),
            0 0 50px rgba(139, 92, 246, 0.4),
            0 0 80px rgba(132, 2, 168, 0.141);
    }
}

@keyframes slide-right-to-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.title-text-large {
    display: block;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0rem;
    opacity: 0.95;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Avatar Container */
.hero-avatar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.avatar-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-image {
    width: 400%;
    height: auto;
    object-fit: contain;
    /* filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.5)); */
}


.avatar-3d {
    width: 100%;
    height: 100%;
    background: transparent;
    animation: avatar-float 6s ease-in-out infinite;
}

.avatar-svg {
    width: 100%;
    height: 100%;
    animation: avatar-float 6s ease-in-out infinite;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    color: white;
    backdrop-filter: blur(10px);
}

.avatar-placeholder i {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.7;
    color: rgba(139, 92, 246, 0.8);
}

.avatar-placeholder p {
    font-size: 0.9rem;
    opacity: 0.6;
    text-align: center;
    padding: 0 20px;
}

/* Avatar animations removed for static display */

/* Avatar glow effect 
.avatar-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: glow-pulse 3s ease-in-out infinite;
}
*/
.hero-greeting {
    display: block;
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
}

.hero-name {
    display: block;
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-role {
    display: block;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--primary-light);
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #1a0b2e;
    transform: translateY(-2px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}


.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-down {
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    text-decoration: none;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3.5rem;
    color: var(--text-dark);
    position: relative;
    letter-spacing: -0.5px;
    color: white;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* About Section */
.about {
    background-color: black;
    min-height: 100vh;
    width: 100%;
    color: white;
    position: relative;
    overflow: hidden;
}

.about-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-code {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: rgba(139, 92, 246, 0.6);
    animation: float-up 15s infinite linear;
}

.floating-code:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.floating-code:nth-child(2) {
    left: 30%;
    animation-delay: 3s;
}

.floating-code:nth-child(3) {
    left: 50%;
    animation-delay: 6s;
}

.floating-code:nth-child(4) {
    left: 70%;
    animation-delay: 9s;
}

.floating-code:nth-child(5) {
    left: 90%;
    animation-delay: 12s;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.about-unique {
    position: relative;
    z-index: 2;
    max-width: 100%;
}

.typing-intro {
    text-align: center;
    margin-bottom: 30px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #8b5cf6;
}

.typed-text {
    font-family: 'Courier New', monospace;
}

.cursor {
    animation: blink 1s infinite;
    margin-left: 5px;
    color: #8b5cf6;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.about-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.about-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-card:hover::before {
    opacity: 1;
}

.about-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.3);
}

.card-1 { animation-delay: 0.1s; }
.card-2 { animation-delay: 0.2s; }
.card-3 { animation-delay: 0.3s; }

.card-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
    animation: bounce 2s infinite;
}

.about-card:nth-child(2) .card-icon {
    animation-delay: 0.5s;
}

.about-card:nth-child(3) .card-icon {
    animation-delay: 1s;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #8b5cf6;
}

.about-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.tech-item {
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(139, 92, 246, 0.3);
    transform: scale(1.05);
}

.about-timeline {
    margin-bottom: 40px;
}

.about-timeline h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #8b5cf6;
}

.timeline {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, #8b5cf6, transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    animation: fadeInLeft 0.8s ease-out;
}

.timeline-item:nth-child(even) {
    animation: fadeInRight 0.8s ease-out;
}

.timeline-item:nth-child(even) .timeline-content {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 15px;
    height: 15px;
    background: #8b5cf6;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 15px rgba(139, 92, 246, 0.5); }
    50% { box-shadow: 0 0 25px rgba(139, 92, 246, 0.8); }
    100% { box-shadow: 0 0 15px rgba(139, 92, 246, 0.5); }
}

.timeline-content {
    position: relative;
    width: 45%;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    padding: 15px;
    right: 50%;
    text-align: right;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.05);
    background: rgba(139, 92, 246, 0.15);
}

.timeline-content h4 {
    color: #8b5cf6;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    font-size: 0.85rem;
}

.about-stats-unique {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-circle {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 1s ease-out;
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.progress-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 4;
}

.progress-fill {
    fill: none;
    stroke: #8b5cf6;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    animation: fill-circle 2s ease-out forwards;
}

.stat-circle:nth-child(1) .progress-fill { animation-delay: 0.2s; }
.stat-circle:nth-child(2) .progress-fill { animation-delay: 0.4s; }
.stat-circle:nth-child(3) .progress-fill { animation-delay: 0.6s; }

@keyframes fill-circle {
    to { stroke-dashoffset: 0; }
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8b5cf6;
    z-index: 2;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
    z-index: 2;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 1000px) {
    .macbook-screen {
        width: 80vw;
        max-width: 700px;
        height: 450px;
    }
    
    .macbook-base {
        width: calc(80vw + 50px);
        max-width: 750px;
    }
    
    .screen-content {
        padding: 25px 20px;
    }
    
    .about-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-item .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 60px);
        left: 60px;
        right: auto;
        text-align: left;
    }
    
    .about-stats-unique {
        gap: 30px;
    }
    
    .typing-intro {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .macbook-screen {
        width: 90vw;
        height: 400px;
    }
    
    .macbook-base {
        width: calc(90vw + 30px);
    }
    
    .screen-content {
        padding: 20px 15px;
    }
    
    .about-card {
        padding: 15px;
    }
    
    .card-icon {
        font-size: 1.5rem;
    }
    
    .about-card h3 {
        font-size: 1.1rem;
    }
    
    .about-card p {
        font-size: 0.8rem;
    }
    
    .tech-item {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .macbook-keyboard {
        width: 400px;
    }
    
    .macbook-trackpad {
        width: 100px;
        height: 70px;
    }
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4.5rem;
    box-shadow: var(--shadow-lg);
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-item i {
    font-size: 2rem;
    color: var(--primary-color);
    width: 40px;
    text-align: center;
}

.skill-item span {
    flex: 1;
    font-weight: 500;
    color: var(--text-dark);
}

.skill-bar {
    width: 100%;
    height: 6px;
    background-color: var(--bg-light);
    border-radius: 6px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 6px;
    width: 0;
    transition: width 1s ease;
}

/* Projects Section - Dark Theme */
.projects {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 6rem 0;
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%236366f1" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></svg>') repeat;
    opacity: 0.3;
}

.projects .container {
    position: relative;
    z-index: 1;
}

.projects .section-title {
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: linear-gradient(145deg, #1e293b, #334155);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 1px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.5);
}

.project-card:hover::before {
    opacity: 1;
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.project-link:hover {
    transform: scale(1.1);
    background-color: var(--primary-color);
    color: white;
}

.project-content {
    padding: 2rem;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
}

.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -0.5px;
}

.project-description {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    color: #e0e7ff;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.tag:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

/* GitHub Project Specific Styles */
.project-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #94a3b8;
}

.repo-language {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #e2e8f0;
}

.language-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 0 8px currentColor;
}

.repo-stars, .repo-forks {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 500;
    color: #cbd5e1;
}

.repo-stars i, .repo-forks i {
    color: #fbbf24;
}

.repo-forks i {
    color: #60a5fa;
}

.repo-language-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 0 12px currentColor;
    z-index: 2;
}

/* Loading and Error States */
.projects-loading, .projects-error, .no-projects {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: #cbd5e1;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    backdrop-filter: blur(10px);
}

.projects-loading .spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(99, 102, 241, 0.2);
    border-top: 3px solid #6366f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

.projects-error i, .no-projects i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #6366f1;
    opacity: 0.7;
}

.projects-error button {
    margin-top: 1.5rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.projects-error button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.chess{
    background-color: #000000;
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.chess iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
}

.chess-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.chess-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out;
}

.chess-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.chess-subtitle {
    font-size: 1.5rem;
    color: #ffd700;
    font-weight: 300;
    letter-spacing: 2px;
}

.chess-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.stat-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 10px 30px rgba(255,215,0,0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chess-achievements, .chess-skills {
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.chess-achievements h3, .chess-skills h3 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
}

.achievement-list {
    display: grid;
    gap: 20px;
}

.achievement-item {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #ffd700;
    transition: all 0.3s ease;
}

.achievement-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(10px);
}

.achievement-icon {
    font-size: 1.5rem;
    margin-right: 20px;
}

.achievement-item span {
    color: #ffffff;
    font-size: 1.1rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.skill-tag {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000000;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: default;
}

.skill-tag:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255,215,0,0.4);
}

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

@media (max-width: 768px) {
    .chess-title {
        font-size: 2.5rem;
    }
    
    .chess-subtitle {
        font-size: 1.2rem;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}



/* Contact Section */
.contact {
    position: relative;
    padding: 100px 0;
    background: #0a0a0a;
    overflow: hidden;
    min-height: 100vh;
}

.contact iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border: none;
    pointer-events: none;
}

.spline-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    display: none; /* Hide canvas since we're using iframe */
}

.spline-background #contact-canvas {
    width: 100%;
    height: 100%;
    outline: none;
}

.contact .container {
    position: relative;
    z-index: 10;
    background: rgba(10, 10, 10, 0.85);
    border-radius: 20px;
    padding: 40px;
    margin: 0 auto;
    max-width: 1200px;
    
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.contact .section-title {
    color: #ffffff;
    text-align: center;
    margin-bottom: 1rem;
}

.contact-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #b8b8b8;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.375rem;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.contact-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.contact-details p {
    color: #b8b8b8;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9375rem;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    backdrop-filter: blur(5px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888888;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
    background-color: rgba(255, 255, 255, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Messages */
.form-message {
    margin-top: 15px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    animation: slideInUp 0.3s ease;
    font-weight: 500;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #22c55e;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #ef4444;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

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

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

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    display: flex;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        display: none;
    }

    .name-glow {
        font-size: 4rem;
        letter-spacing: 4px;
    }

    .title-text-large {
        font-size: 1.8rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .navbar {
        width: calc(100% - 20px);
        top: 10px;
        padding: 0.75rem 1.5rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(12, 0, 16, 0.95);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        width: calc(100% - 40px);
        max-width: 500px;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
        opacity: 0;
        visibility: hidden;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .hamburger {
        display: flex;
    }

    .about-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .avatar-wrapper {
        max-width: 300px;
        height: 300px;
    }

    .name-glow {
        font-size: 3rem;
        letter-spacing: 3px;
    }

    .title-text-large {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .title-text-small {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .navbar {
        width: calc(100% - 20px);
        top: 10px;
        padding: 0.5rem 1rem;
        border-radius: 30px;
    }

    .hero {
        padding: 80px 20px 30px;
    }

    .avatar-wrapper {
        max-width: 250px;
        height: 250px;
    }

    .name-glow {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .title-text-large {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}
