@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

:root {
    --primary-color: #2d2d2d;
    --text-color: #ffffff;
    --accent-color: #646cff;
    --background-color: #000000;
    --card-background: #1a1a1a;
}

* {
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Navigation */
nav {
    width: 100%;
    height: 70px;
    position: fixed;
    top: 0;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    position: relative;
}

.logo {
    position: absolute;
    left: 50px;
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(45deg, #646cff, #9089fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.links {
    display: flex;
    gap: 50px;
    margin-left: 200px;
}

.links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

.links a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.mobile-nav-toggle {
    display: none;
}

/* Home Section */
#home {
    padding: 120px 20px 60px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.main-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    padding: 0 50px;
}

.content {
    flex: 1;
    order: 2;
}

.content h1 {
    font-size: 3.5 rem;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #646cff, #9089fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 650;
    letter-spacing: 1.5px;
    line-height: 1.2;
    transition: all 0.3s ease;
    text-shadow: 0 0 30px rgba(100, 108, 255, 0.2);
}

.typewriter {
    font-size: 2rem;
    margin-bottom: 20px;
}

.content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #a0a0a0;
}

.image {
    flex: 0 0 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(100, 108, 255, 0.3);
    order: 1;
    margin-left: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}



/* Skills Section */
#skills {
    padding: 80px 20px;
    background-color: var(--primary-color);
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.skill {
    background: var(--card-background);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.skill:hover {
    transform: translateY(-5px);
}

.skill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(100, 108, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.skill:hover::before {
    transform: translateX(100%);
}

.skill i, .skill img {
    font-size: 3.5rem;
    margin-bottom: 15px;
    width: 60px;
    height: 60px;
}

.skill span {
    font-size: 1.4rem;
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
    color: #ffffff;
}

.skill-detail {
    font-size: 1.1rem;
    color: #a0a0a0;
    line-height: 1.5;
}

/* Projects Section */
#projects {
    padding: 80px 20px;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--card-background);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 30px;
    background: var(--card-background);
    position: relative;
    z-index: 2;
}

.project-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.project-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #a0a0a0;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.project-tech span {
    background: rgba(100, 108, 255, 0.1);
    color: var(--accent-color);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.project-link {
    color: var(--accent-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.project-link:hover {
    gap: 10px;
}

/* About Section */
#about {
    padding: 80px 20px;
    background-color: var(--primary-color);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
    padding: 0 20px;
}

.about-content > p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 50px;
    color: #ffffff;
    font-weight: 400;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.highlight {
    padding: 30px;
    background: var(--card-background);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.highlight:hover {
    transform: translateY(-10px);
}

.highlight i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.highlight h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.highlight p {
    font-size: 1.1rem;
    color: #a0a0a0;
    line-height: 1.6;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 35px;
    margin-top: 30px;
}

.social-links a {
    position: relative;
    color: var(--text-color);
    font-size: 2.4rem;
    transition: all 0.3s ease;
}

.social-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    bottom: -5px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.social-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 1600px) {
    .content h1 {
        font-size: 5.5rem;
    }
}

@media (max-width: 1400px) {
    .content h1 {
        font-size: 4.2rem;
    }
}

@media (max-width: 1200px) {
    .nav-container {
        justify-content: space-between;
    }
    
    .logo {
        position: static;
    }
    
    .links {
        margin-left: 0;
    }
    
    .main-container {
        flex-direction: column;
        text-align: center;
    }
    
    .image {
        margin: 0 auto;
        order: 1;
        flex: 0 0 350px;
        height: 350px;
    }
    
    .content {
        order: 2;
    }
    
    .content h1 {
        font-size: 3.8rem;
    }
    
    section h2 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .links {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
        font-size: 1.5rem;
        color: var(--text-color);
        cursor: pointer;
    }

    .links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        padding: 20px;
        text-align: center;
    }

    .projects-container {
        grid-template-columns: 1fr;
    }

    .content h1 {
        font-size: 3rem;
    }
    
    .image {
        width: 300px;
        height: 300px;
        flex: 0 0 300px;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .content h1 {
        font-size: 2.5rem;
    }

    .typewriter {
        font-size: 1.2rem;
    }

    .image {
        width: 250px;
        height: 250px;
        flex: 0 0 250px;
    }
    
    .image img {
        object-position: center 15%;
    }
}

@media (max-width: 360px) {
    .image {
        width: 220px;
        height: 220px;
        flex: 0 0 220px;
    }

    .content h1 {
        font-size: 2rem;
    }
}

/* Larger section headings */
section h2 {
    font-size: 3.5rem;
    margin-bottom: 50px;
    text-align: center;
    background: linear-gradient(45deg, #ffffff, #9089fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    letter-spacing: 2px;
}

/* Add smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Add scroll progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #646cff, #9089fc);
    transform-origin: left;
    transform: scaleX(0);
    z-index: 1001;
}






