:root {
    --bg-dark: #0a192f;
    --bg-darker: #020c1b;
    --bg-light: #112240;
    --text-primary: #ccd6f6;
    --text-secondary: #8892b0;
    --accent-neon: #64ffda;
    --accent-purple: #c778dd;
    --accent-blue: #58a6ff;
    --card-bg: rgba(17, 34, 64, 0.7);
    --nav-bg: rgba(10, 25, 47, 0.85);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 25, 47, 0.9) 0%, rgba(2, 12, 27, 0.9) 100%);
    opacity: 0.5;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-links a {
    color: var(--accent-neon);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

.social-links a span {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
}

.social-links a:hover {
    color: var(--text-primary);
    transform: translateY(-3px);
}

.social-links a:hover span {
    opacity: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--bg-dark) 0%, transparent 100%);
    pointer-events: none;
}

/* Common section styles */
section {
    position: relative;
    padding: 6rem 2rem;
    background: var(--bg-dark);
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    opacity: 0.7;
    pointer-events: none;
}

section > * {
    position: relative;
    z-index: 2;
}

/* Section headers */
section h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}


section h2::before {
    content: '<';
    position: absolute;
    left: -2rem;
    color: var(--accent-neon);
    opacity: 0.5;
}

section h2::after {
    content: '/>';
    position: absolute;
    right: -2rem;
    color: var(--accent-neon);
    opacity: 0.5;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}
.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-neon);
    text-decoration: none;
    font-family: 'Fira Code', monospace;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-neon);
    transition: width 0.3s ease;
}

.nav-links a:hover::before {
    width: 100%;
}
/* About Section */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 2rem;
}

.skills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    width: 100%;
}

.skill-category {
    width: 100%;
}

.skills-progress {
    width: 100%;
    margin: 4rem auto;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}
.skill-category h3 {
    color: var(--accent-neon);
    margin-bottom: 1.5rem;
    font-family: 'Fira Code', monospace;
    position: relative;
    padding-left: 1.5rem;
}

.skill-category h3::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--accent-neon);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-tags span {
    background: rgba(100, 255, 218, 0.1);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    border: 1px solid rgba(100, 255, 218, 0.2);
    transition: all 0.3s ease;
    font-family: 'Fira Code', monospace;
}

.skill-tags span:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.3);
}

/* Experience Section */
.timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--accent-neon);
    opacity: 0.3;
}

.timeline-item {
    margin-bottom: 3rem;
    width: 100%;
    position: relative;
}

.timeline-content {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    padding: 2rem;
    border-radius: 8px;
    width: calc(50% - 3rem);
    position: relative;
    margin-left: auto;
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: auto;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--accent-neon);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-neon);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -3.5rem;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -3.5rem;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.1);
}

.timeline-content h3 {
    color: var(--accent-neon);
    font-family: 'Fira Code', monospace;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-content .date {
    color: var(--text-secondary);
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
}

.timeline-content ul li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.timeline-content ul li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--accent-neon);
    opacity: 0.7;
}

/* Projects Section */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(100, 255, 218, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.project-card:hover::before {
    transform: translateX(100%);
}

.project-content {
    padding: 2rem;
    position: relative;
}

.project-badge {
    position: absolute;
    bottom: -0.7rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--accent-neon), var(--accent-blue));
    color: var(--bg-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(100, 255, 218, 0.3);
    z-index: 2;
}

.project-content h3 {
    color: var(--accent-neon);
    font-family: 'Fira Code', monospace;
    margin-bottom: 1rem;
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent-neon);
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-neon);
    opacity: 0.1;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.project-links a:hover::before {
    transform: translateX(0);
}

.project-links a:hover {
    color: var(--accent-neon);
}

/* Contact Section */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    backdrop-filter: blur(10px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.contact-item i {
    color: var(--accent-neon);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    transform: translateY(-3px);
    text-shadow: 0 0 10px var(--accent-neon);
}

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Fira Code', monospace;
}

.contact-item a:hover {
    color: var(--accent-neon);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-darker);
    color: var(--text-secondary);
    border-top: 1px solid rgba(100, 255, 218, 0.1);
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-content {
        width: calc(100% - 3rem);
        margin-left: 3rem !important;
    }

    .timeline-content::before {
        left: -3.5rem !important;
    }
    section h2::before,
    section h2::after {
        display: none;
    }
}

.skills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
}

.skill-category {
    width: 100%;
}

.skills-progress {
    width: 100%;
    margin: 4rem auto;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid rgba(100, 255, 218, 0.1);
}
.skill-bar {
    margin: 2rem 0;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-family: 'Fira Code', monospace;
    color: var(--text-primary);
}

.progress-line {
    position: relative;
    height: 10px;
    background: rgba(100, 255, 218, 0.1);
    border-radius: 5px;
    transform: scaleX(0);
    transform-origin: left;
    animation: animate 1s cubic-bezier(1,0,0.5,1) forwards;
}

.progress-line span {
    position: absolute;
    height: 100%;
    width: 0%;
    background: var(--accent-neon);
    border-radius: 5px;
    transform: scaleX(0);
    transform-origin: left;
    animation: animate 1s 1s cubic-bezier(1,0,0.5,1) forwards;
}

@keyframes animate {
    100% {
        transform: scaleX(1);
    }
}

.progress-line span::before {
    position: absolute;
    content: "";
    right: 0;
    top: -10px;
    height: 0;
    width: 0;
    border: 7px solid transparent;
    border-bottom-width: 0px;
    border-right-width: 0px;
    border-top-color: var(--accent-neon);
}

.description-content {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    backdrop-filter: blur(10px);
}

.description-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Mobile devices */
@media screen and (max-width: 768px) {
    /* Hide navbar on mobile */
    .navbar {
        display: none;
    }
    
    /* Hero section adjustments */
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    /* Skills section */
    .skills {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Timeline adjustments */
    .timeline::before {
        left: 20px;
    }
    
    .timeline-content {
        width: calc(100% - 50px);
        margin-left: 50px !important;
    }
    
    .timeline-content::before {
        left: -40px !important;
    }
    
    /* Project grid adjustments */
    .project-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    /* Section padding adjustments */
    section {
        padding: 4rem 1rem;
    }
    
    /* Contact section */
    .contact-content {
        padding: 2rem 1rem;
    }
    
    /* Typography adjustments */
    section h2 {
        font-size: 2rem;
    }
    
    .description-text p {
        font-size: 1rem;
    }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
}
.tools {
    position: relative;
    padding: 6rem 2rem;
    background: var(--bg-dark);
    overflow: hidden;
}

.tools::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    opacity: 0.7;
    pointer-events: none;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
    max-width: 1200px;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    background: var(--card-bg);
    border: 1px solid rgba(100, 255, 218, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}
.tool-item:hover {
    transform: translateY(-5px);
}

.tool-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tool-item span {
    font-size: 1rem;
    font-weight: 500;
}

/* Mobile optimization */
@media screen and (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 1rem;
        width: 95%;
    }

    .tool-item {
        padding: 0.8rem;
    }

    .tool-item i {
        font-size: 2rem;
    }

    .tool-item span {
        font-size: 0.9rem;
    }
}
