* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background: #0a0a0a;
    color: #fff;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
}

.content-overlay {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    pointer-events: all;
}

.card-3d {
    background: rgba(20, 20, 30, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.card-3d:hover {
    transform: translateY(-10px);
}

h1 {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00f5ff, #ff00ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #00f5ff;
}

.section-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.section-heading {
    color: #00f5ff;
}

.section-heading.margin-top {
    margin-top: 30px;
}

.skill-level-90 { width: 90%; }
.skill-level-85 { width: 85%; }
.skill-level-80 { width: 80%; }
.skill-level-75 { width: 75%; }
.skill-level-70 { width: 70%; }

.contact-link {
    color: #00f5ff;
    text-decoration: none;
}

.btn-custom {
    background: linear-gradient(45deg, #00f5ff, #ff00ff);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-custom:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.5);
}

.project-card {
    background: rgba(30, 30, 40, 0.9);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 4px solid #00f5ff;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-left-color: #ff00ff;
    transform: translateX(10px);
}

.skill-badge {
    display: inline-block;
    background: rgba(0, 245, 255, 0.2);
    border: 1px solid #00f5ff;
    padding: 8px 15px;
    border-radius: 20px;
    margin: 5px;
    font-size: 0.9rem;
}

.cert-item {
    background: rgba(255, 0, 255, 0.1);
    border: 1px solid rgba(255, 0, 255, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
}

nav {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(20, 20, 30, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 15px;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #00f5ff;
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 15px;
    height: 15px;
    background: #00f5ff;
    border-radius: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 15px;
    width: 2px;
    height: calc(100% + 15px);
    background: linear-gradient(180deg, #00f5ff, transparent);
}

.profile-container {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto 30px;
}

.profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid transparent;
    background: linear-gradient(45deg, #00f5ff, #ff00ff);
    padding: 5px;
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.profile-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(0,245,255,0.3), transparent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

.typing-effect {
    overflow: hidden;
    border-right: 3px solid #00f5ff;
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
    display: inline-block;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: #00f5ff;
    }
}

.stats-container {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(0, 245, 255, 0.1);
    border-radius: 15px;
    margin: 10px;
    min-width: 150px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(0, 245, 255, 0.2);
    transform: scale(1.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #00f5ff;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 245, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid #00f5ff;
}

.social-icon:hover {
    background: #00f5ff;
    color: #000;
    transform: translateY(-5px) rotate(360deg);
}

.interactive-skill {
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.skill-level {
    position: absolute;
    bottom: -5px;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #00f5ff, #ff00ff);
    transition: width 0.3s ease;
}

.project-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(0,245,255,0.2), rgba(255,0,255,0.2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.project-card:hover .project-image-placeholder {
    transform: scale(1.05);
}

.animated-text {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.progress-ring {
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.hobby-card {
    background: rgba(30, 30, 40, 0.8);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hobby-card:hover {
    background: rgba(0, 245, 255, 0.1);
    transform: translateY(-10px);
}