* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    outline: none;
    border: none;
    scroll-behavior: smooth;
}

:root {
    --primary-color: #6c63ff;
    --secondary-color: #ff4d6d;
    --background-color: #0a192f;
    --text-color: #e6f1ff;
    --card-bg: rgba(255, 255, 255, 0.05);
    --transition: all 0.3s ease;
}

body {
    background: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Header styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 9%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    padding: 1rem 9%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo h3 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
}

.navbar {
    display: flex;
    gap: 2rem;
}

.navbar a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
}

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

.navbar a:hover::after,
.navbar a.active::after {
    width: 100%;
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

/* About section styles */
.about {
    min-height: 100vh;
    padding: 120px 9% 60px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.about-content {
    max-width: 800px;
    width: 100%;
}

.about-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text {
    margin-bottom: 3rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #8892b0;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.skills-section,
.soft-skills {
    margin-bottom: 3rem;
}

.skills-section h3,
.soft-skills h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills-section h3 i,
.soft-skills h3 i {
    color: var(--primary-color);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    list-style: none;
}

.skills-grid li {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skills-grid li:hover {
    transform: translateY(-5px);
    background: var(--primary-color);
    color: white;
}

.skills-grid li i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.skills-grid li:hover i {
    color: white;
}

/* Footer styles */
footer {
    text-align: center;
    padding: 20px 0;
    background: rgba(10, 25, 47, 0.95);
    color: var(--text-color);
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.2);
}

/* Responsive styles */
@media screen and (max-width: 1024px) {
    .about {
        padding: 100px 5% 40px;
    }

    .about-content h1 {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 768px) {
    header {
        padding: 1rem 5%;
    }

    .menu-btn {
        display: block;
    }

    .navbar {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        padding: 2rem 5%;
        background: var(--background-color);
        flex-direction: column;
        align-items: center;
        transition: var(--transition);
    }

    .navbar.active {
        top: 70px;
    }

    .about-content h1 {
        font-size: 2rem;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .about-content h1 {
        font-size: 1.8rem;
    }

    .about-text p {
        font-size: 1rem;
    }

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