/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0d0f11;
    color: #fff;
    line-height: 1.6;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #343a40;
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav-logo {
    font-size: 24px;
    font-weight: 700;
    color: #64ffda;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-item {
    color: #ccd6f6;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: #64ffda;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 60px;
}

.hero-content {
    max-width: 800px;
}

.glitch-text {
    font-size: 4rem;
    font-weight: 700;
    color: #ccd6f6;
    position: relative;
    text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff,
                 0.025em 0.04em 0 #fffc00;
}

.subtitle {
    font-size: 1.5rem;
    color: #8892b0;
    margin: 20px 0;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.cta-primary, .cta-secondary {
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-primary {
    background: #64ffda;
    color: #0a192f;
}

.cta-secondary {
    border: 1px solid #64ffda;
    color: #64ffda;
}

.cta-primary:hover, .cta-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.2);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    color: #ccd6f6;
    font-size: 2rem;
    margin-bottom: 1px;
}
.about-content h3 {
    color: #ccd6f6;
    font-size: 2rem;
    margin-bottom: 20px;
}

.skills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.skill-tag {
    background: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

/* Projects Section */
.projects {
    padding: 100px 0;
}

.projects h2 {
    text-align: center;
    color: #ccd6f6;
    font-size: 2rem;
    margin-bottom: 50px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-card h3 {
    color: #64ffda;
    margin-bottom: 10px;
}

.project-card p {
    color: #8892b0;
    margin-bottom: 20px;
}

.project-link {
    color: #64ffda;
    text-decoration: none;
    font-size: 14px;
    position: relative;
}

.project-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #64ffda;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.project-link:hover::after {
    transform: scaleX(1);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    text-align: center;
}

.contact h2 {
    color: #ccd6f6;
    font-size: 2rem;
    margin-bottom: 50px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    background: rgba(100, 255, 218, 0.1);
}

.social-icon img {
    width: 25px;
    height: 25px;
}

/* Animations */
@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff,
                     0.025em 0.04em 0 #fffc00;
    }
    15% {
        text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff,
                     0.025em 0.04em 0 #fffc00;
    }
    16% {
        text-shadow: -0.05em -0.025em 0 #00fffc, 0.025em 0.035em 0 #fc00ff,
                     -0.05em -0.05em 0 #fffc00;
    }
    49% {
        text-shadow: -0.05em -0.025em 0 #00fffc, 0.025em 0.035em 0 #fc00ff,
                     -0.05em -0.05em 0 #fffc00;
    }
    50% {
        text-shadow: 0.05em 0.035em 0 #00fffc, 0.03em 0 0 #fc00ff,
                     0 -0.04em 0 #fffc00;
    }
    99% {
        text-shadow: 0.05em 0.035em 0 #00fffc, 0.03em 0 0 #fc00ff,
                     0 -0.04em 0 #fffc00;
    }
    100% {
        text-shadow: -0.05em 0 0 #00fffc, -0.025em -0.04em 0 #fc00ff,
                     -0.04em -0.025em 0 #fffc00;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        margin-bottom: 30px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }
}