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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    overflow-x: hidden;
}

/* Background Effects */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #00ffff;
    border-radius: 50%;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(100vh) rotate(0deg); }
    100% { transform: translateY(-100vh) rotate(360deg); }
}

.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.matrix-column {
    position: absolute;
    top: -100%;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    animation: matrixFall linear infinite;
    opacity: 0.3;
}

@keyframes matrixFall {
    0% { top: -100%; }
    100% { top: 100%; }
}

.scan-lines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 0%, rgba(0, 255, 255, 0.03) 50%, transparent 100%);
    animation: scan 3s linear infinite;
    pointer-events: none;
}

@keyframes scan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    z-index: 1000;
    padding: 1rem 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
}

nav a:hover {
    color: #00ffff;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #00ffff, #ff6b6b);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 80%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px #00ffff, 0 0 40px #00ffff, 0 0 60px #00ffff;
}

.neon-glow {
    text-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff, 0 0 15px #00ffff, 0 0 20px #00ffff;
}

.typewriter {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    text-align: center;
    border-right: .15em solid #00ffff;
    animation: blink-caret .75s step-end infinite;
}

@keyframes typing {
    from { 
        width: 0;
        overflow: hidden;
    }
    to { 
        width: 100%;
        overflow: visible;
    }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #00ffff; }
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.7;
    margin-bottom: 2rem;
}

.holographic {
    background: linear-gradient(45deg, #ff6b6b, #00ffff, #ff6b6b, #00ffff);
    background-size: 400% 400%;
    animation: hologram 4s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes hologram {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, #00ffff, #0066cc);
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.5);
}

/* Sections */
section {
    padding: 5rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(45deg, #00ffff, #ff6b6b);
}

/* Cards */
.job-card, .education-card, .project-card, .certificate-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.job-card {
    padding: 3rem;
    margin-bottom: 2rem;
}

.job-card:hover, .project-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
    border-color: #00ffff;
    box-shadow: 0 25px 60px rgba(0, 255, 255, 0.3);
}

.education-card:hover {
    transform: scale(1.05);
    border-color: #ff6b6b;
}

.certificate-card:hover {
    transform: rotate(-2deg) scale(1.05);
    border-color: #ff6b6b;
}

.company-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #00ffff, #0066cc);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.university-icon, .certificate-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.certificate-icon {
    font-size: 3rem;
    color: #ffcc00;
}

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

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

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

/* Project Cards */
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.project-card:hover::before {
    left: 100%;
}

.project-highlight {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: inline-block;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    background: rgba(0, 255, 255, 0.2);
    color: #00ffff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    animation: glitch 0.5s;
    background: rgba(0, 255, 255, 0.4);
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* Stats */
.stat-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #00ffff;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Skills */
.skill-category {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.skill-category h3 {
    color: #00ffff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.skill-list {
    list-style: none;
}

.skill-list li {
    padding: 0.3rem 0;
    opacity: 0.9;
}

.skill-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.skill-progress-bar {
    height: 100%;
    background: linear-gradient(45deg, #00ffff, #ff6b6b);
    border-radius: 2px;
    animation: skillLoad 2s ease-out;
}

@keyframes skillLoad {
    0% { width: 0%; }
}

/* Terminal */
.terminal {
    background: #000;
    border-radius: 10px;
    padding: 1rem;
    margin: 2rem 0;
    font-family: 'Courier New', monospace;
    position: relative;
}

.terminal-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-button.red { background: #ff5f56; }
.terminal-button.yellow { background: #ffbd2e; }
.terminal-button.green { background: #27ca3f; }

.terminal-content {
    color: #00ff00;
}

.data-flow {
    position: relative;
    overflow: hidden;
}

.data-flow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ffff, transparent);
    animation: dataStream 3s ease-in-out infinite;
}

@keyframes dataStream {
    0% { left: -100%; }
    100% { left: 100%; }
}

.code-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.code-drop {
    position: absolute;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    animation: codefall linear infinite;
}

@keyframes codefall {
    0% { top: -100px; opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Contact */
.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-link:hover {
    background: #00ffff;
    color: #000;
    transform: scale(1.2) rotate(360deg);
}

/* Animations */
.floating {
    animation: floating 6s ease-in-out infinite;
}

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

.morph-shape {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #00ffff, #ff6b6b);
    border-radius: 50%;
    animation: morph 4s ease-in-out infinite;
    margin: 2rem auto;
}

@keyframes morph {
    0%, 100% { border-radius: 50%; transform: rotate(0deg); }
    25% { border-radius: 0%; transform: rotate(90deg); }
    50% { border-radius: 50%; transform: rotate(180deg); }
    75% { border-radius: 0%; transform: rotate(270deg); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 { 
        font-size: 2.5rem; 
    }
    
    .typewriter { 
        font-size: 1.2rem; 
    }
    
    h2 { 
        font-size: 2rem; 
    }
    
    nav ul { 
        flex-direction: column; 
        gap: 1rem; 
        text-align: center; 
    }
    
    .projects-grid { 
        grid-template-columns: 1fr; 
    }
    
    section { 
        padding-left: 1rem; 
        padding-right: 1rem; 
    }
}