:root {
    --primary-color: #00d9ff;
    --secondary-color: #7700ff;
    --accent-color: #ff00c8;
    --dark-color: #0a0a0f;
    --dark-secondary: #11111f;
    --light-color: #f0f8ff;
    --gray-color: #8a8aa3;
    --neon-glow: 0 0 15px var(--primary-color), 0 0 30px rgba(0, 217, 255, 0.3);
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-medium: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    --gradient-dark: linear-gradient(135deg, var(--dark-color), var(--dark-secondary));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--light-color);
    background-color: var(--dark-color);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 217, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(119, 0, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 0, 200, 0.03) 0%, transparent 50%);
    z-index: -2;
    pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title .title-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    z-index: 2;
}

.section-title::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    background: var(--gradient-primary);
    filter: blur(40px);
    opacity: 0.3;
    top: -10%;
    left: -10%;
    z-index: 1;
    border-radius: 20px;
}

.title-line {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 1rem auto 3rem;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.title-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    animation: lineGlow 3s infinite linear;
}

@keyframes lineGlow {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-medium);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-medium);
}

.btn:hover::before {
    opacity: 1;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--neon-glow);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: rgba(0, 217, 255, 0.1);
    color: white;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-medium);
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.scrolled {
    padding: 15px 0;
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--accent-color);
}

.logo .pulse {
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px var(--primary-color);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--light-color);
    font-weight: 500;
    transition: var(--transition-fast);
    padding: 8px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-medium);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
    z-index: 1001;
}

/* Hero Section */
.hero {
    padding-top: 180px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.7;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    filter: blur(40px);
    opacity: 0.3;
    animation: float 20s infinite linear;
}

.shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    background: var(--gradient-primary);
}

.shape:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: -5s;
    animation-duration: 25s;
    background: var(--gradient-secondary);
}

.shape:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 15%;
    animation-delay: -10s;
    animation-duration: 30s;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(20px, 50px) rotate(90deg);
    }

    50% {
        transform: translate(0, 100px) rotate(180deg);
    }

    75% {
        transform: translate(-20px, 50px) rotate(270deg);
    }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    position: relative;
    text-align: center;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero h1 .gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.hero h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.hero h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--gray-color);
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.code-terminal {
    width: 100%;
    max-width: 500px;
    background: rgba(17, 17, 31, 0.8);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    margin: 0 auto;
}

.terminal-header {
    background: var(--dark-secondary);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot:nth-child(1) {
    background-color: #ff5f56;
}

.terminal-dot:nth-child(2) {
    background-color: #ffbd2e;
}

.terminal-dot:nth-child(3) {
    background-color: #27ca3f;
}

.terminal-body {
    padding: 30px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    line-height: 1.8;
    min-height: 300px;
}

.terminal-line {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.terminal-prompt {
    color: var(--primary-color);
}

.terminal-command {
    color: var(--light-color);
}

.terminal-output {
    color: var(--gray-color);
    margin-left: 30px;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 20px;
    background-color: var(--primary-color);
    margin-left: 5px;
    animation: blink 1s infinite;
    vertical-align: middle;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
    font-size: 1.1rem;
}

.tech-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.tech-stat {
    text-align: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.tech-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-medium);
    z-index: -1;
}

.tech-stat:hover::before {
    opacity: 0.1;
}

.tech-stat:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-color);
    font-size: 1rem;
}

.skills-visualization {
    position: relative;
    height: 500px;
}

.skill-orb {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 17, 31, 0.8);
    border: 2px solid rgba(0, 217, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2);
    transition: var(--transition-medium);
    cursor: pointer;
    z-index: 2;
}

.skill-orb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.4);
    border-color: var(--primary-color);
}

.skill-orb:nth-child(1) {
    top: 10%;
    left: 20%;
    animation: orbFloat 15s infinite ease-in-out;
}

.skill-orb:nth-child(2) {
    top: 50%;
    left: 10%;
    animation: orbFloat 18s infinite ease-in-out 1s;
}

.skill-orb:nth-child(3) {
    top: 20%;
    right: 15%;
    animation: orbFloat 20s infinite ease-in-out 2s;
}

.skill-orb:nth-child(4) {
    top: 60%;
    right: 20%;
    animation: orbFloat 16s infinite ease-in-out 3s;
}

.skill-orb:nth-child(5) {
    top: 80%;
    left: 40%;
    animation: orbFloat 22s infinite ease-in-out 4s;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(90deg);
    }

    50% {
        transform: translateY(0) rotate(180deg);
    }

    75% {
        transform: translateY(20px) rotate(270deg);
    }
}

.skill-orb i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.orb-connection {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.connection-line {
    position: absolute;
    background: rgba(0, 217, 255, 0.1);
    height: 2px;
    transform-origin: left center;
    animation: linePulse 3s infinite;
}

@keyframes linePulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.7;
    }
}

/* Experience Section */
.experience-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    width: 100%;
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 0;
    text-align: right;
    padding-right: 70px;
}

.timeline-item:nth-child(even) .timeline-content {
    left: 50%;
    text-align: left;
    padding-left: 70px;
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--dark-color);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 15px var(--primary-color);
}

.timeline-content {
    position: relative;
    width: 45%;
    background: rgba(17, 17, 31, 0.8);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-medium);
}

.timeline-content:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.15);
}

.timeline-date {
    display: inline-block;
    padding: 6px 15px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.timeline-company {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.timeline-details {
    list-style-type: none;
}

.timeline-details li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-color);
}

.timeline-details li::before {
    content: '▸';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.project-card {
    background: rgba(17, 17, 31, 0.8);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-medium);
    position: relative;
    height: 100%;
    display: flex;
    margin-bottom: 20px;
    flex-direction: column;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-medium);
    z-index: -1;
}

.project-card:hover::before {
    opacity: 0.1;
}

.project-card:hover {
    transform: translateY(-20px);
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0, 217, 255, 0.2);
}

.project-header {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.project-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.9), transparent);
    z-index: 1;
}

.project-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    color: var(--primary-color);
    z-index: 2;
    opacity: 0.5;
}

.project-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.project-title a{
    font-size: 1.3rem;
    color: white;
    margin-bottom: 0.8rem;
    text-decoration: none;
}

.project-location {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-location i {
    color: var(--primary-color);
}

.project-description {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: rgba(0, 217, 255, 0.1);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.tech-tag:hover {
    background: rgba(0, 217, 255, 0.2);
    transform: translateY(-3px);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: rgba(17, 17, 31, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-medium);
}

.contact-item:hover {
    transform: translateX(10px);
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--gray-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(17, 17, 31, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-medium);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: var(--neon-glow);
}

.contact-form-container {
    background: rgba(17, 17, 31, 0.8);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition-medium);
    color: var(--light-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Particles Background */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Footer */
footer {
    background: var(--dark-secondary);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo span {
    color: var(--accent-color);
}

.footer-links {
    display: flex;
    list-style: none;
    margin-bottom: 3rem;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
    padding: 5px 0;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-medium);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    color: var(--gray-color);
    font-size: 0.9rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3.8rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .about-content {
        gap: 50px;
    }
}

@media (max-width: 992px) {

    .hero-content,
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 150px;
        text-align: center;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .skills-visualization {
        height: 400px;
        margin-top: 50px;
    }

    .experience-timeline::before {
        left: 30px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        left: 60px;
        width: calc(100% - 60px);
        text-align: left;
        padding-left: 15px;
        padding-right: 15px;
    }

    .timeline-dot {
        left: 30px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.98);
        width: 300px;
        height: 100vh;
        padding: 100px 40px 40px;
        transition: var(--transition-medium);
        backdrop-filter: blur(10px);
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .tech-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero h2 {
        font-size: 1.4rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .tech-stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}


.skills {
    padding: 120px 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 217, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(119, 0, 255, 0.05) 0%, transparent 40%);
    z-index: 0;
}

.skills .container {
    position: relative;
    z-index: 1;
}

.skills-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.skills-description {
    font-size: 1.2rem;
    color: var(--gray-color);
    line-height: 1.8;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.skills-category {
    background: rgba(17, 17, 31, 0.8);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.skills-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-medium);
    z-index: 0;
}

.skills-category:hover::before {
    opacity: 0.05;
}

.skills-category:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.15);
}

.category-header {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: white;
}

.skills-category:nth-child(2) .category-icon {
    background: var(--gradient-secondary);
}

.skills-category:nth-child(3) .category-icon {
    background: linear-gradient(135deg, var(--accent-color), #ff0066);
}

.skills-category:nth-child(4) .category-icon {
    background: linear-gradient(135deg, #00ff88, var(--primary-color));
}

.skills-category h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--light-color);
}

.category-subtitle {
    color: var(--gray-color);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.skills-list {
    position: relative;
    z-index: 1;
}

.skill-item {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-name {
    font-weight: 500;
    color: var(--light-color);
    font-size: 0.95rem;
}

.skill-level {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    padding: 3px 10px;
    background: rgba(0, 217, 255, 0.1);
    border-radius: 20px;
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    width: 0;
    position: relative;
    overflow: hidden;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    animation: progressShimmer 2s infinite;
}

@keyframes progressShimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Skills Visualization */
.skills-visualization {
    height: 500px;
    position: relative;
    margin-top: 80px;
    background: rgba(10, 10, 15, 0.5);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.visualization-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.skill-node {
    position: absolute;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 2;
}

.node-core {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 50%;
    position: relative;
    animation: nodePulse 3s infinite ease-in-out;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.3);
}

.skill-node:nth-child(2) .node-core {
    background: var(--gradient-secondary);
    animation-delay: 0.5s;
    box-shadow: 0 0 30px rgba(119, 0, 255, 0.3);
}

.skill-node:nth-child(3) .node-core {
    background: linear-gradient(135deg, var(--accent-color), #ff0066);
    animation-delay: 1s;
    box-shadow: 0 0 30px rgba(255, 0, 200, 0.3);
}

.skill-node:nth-child(4) .node-core {
    background: linear-gradient(135deg, #ff9900, var(--accent-color));
    animation-delay: 1.5s;
    box-shadow: 0 0 30px rgba(255, 153, 0, 0.3);
}

.skill-node:nth-child(5) .node-core {
    background: linear-gradient(135deg, #00ff88, var(--primary-color));
    animation-delay: 2s;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

@keyframes nodePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(0, 217, 255, 0.3);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 50px rgba(0, 217, 255, 0.5);
    }
}

.node-label {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 15px;
    color: var(--light-color);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    transition: var(--transition-medium);
}

.skill-node:hover .node-label {
    opacity: 1;
    transform: translateX(-50%) translateY(5px);
}

.central-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    z-index: 3;
}

.central-core {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 50%;
    position: relative;
    animation: centralSpin 20s infinite linear;
    box-shadow:
        0 0 60px rgba(0, 217, 255, 0.4),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
}

@keyframes centralSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.central-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    text-align: center;
    z-index: 4;
}

/* Connection Lines */
.visualization-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at center, transparent 30%, rgba(0, 217, 255, 0.03) 100%);
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skills-visualization {
        height: 400px;
    }

    .skill-node {
        width: 60px;
        height: 60px;
    }

    .central-node {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 576px) {
    .skills {
        padding: 80px 0;
    }

    .skills-visualization {
        height: 300px;
        margin-top: 40px;
    }

    .skill-node {
        width: 50px;
        height: 50px;
    }

    .central-node {
        width: 70px;
        height: 70px;
    }
}




