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

:root {
    --primary-color: #6366f1;
    --secondary-color: #ec4899;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --dark-bg: #0f172a;
    --light-bg: #1e293b;
    --text-dark: #f1f5f9;
    --text-light: #cbd5e1;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    transition: var(--transition);
}

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

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

[data-theme="dark"] .navbar {
    background-color: var(--light-bg);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
}

#theme-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
}

#theme-toggle:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--white);
    padding: 80px 0;
}

.hero-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

#hero-canvas {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.7;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #6366f1 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #ec4899 0%, transparent 70%);
    bottom: 100px;
    left: -100px;
    animation-delay: 2s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
    top: 50%;
    right: 10%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(30px, 30px) rotate(180deg);
    }
}

.hero-container {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
    animation: slideInLeft 0.8s ease-out;
}

.hero-badge span {
    font-size: 0.95rem;
    color: #cbd5e1;
    font-weight: 500;
}

.hero-text-wrapper {
    animation: slideInLeft 0.8s ease-out 0.1s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: clamp(2.8rem, 10vw, 5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
    word-spacing: 0.2em;
}

.hero-title span {
    display: block;
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease-in-out infinite;
}

.word-1 {
    animation-delay: 0s;
}

.word-2 {
    animation-delay: 0.2s;
}

.word-3 {
    animation-delay: 0.4s;
}

@keyframes gradient-shift {

    0%,
    100% {
        background: linear-gradient(135deg, #6366f1 0%, #ec4899 50%, #06b6d4 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    50% {
        background: linear-gradient(135deg, #ec4899 0%, #06b6d4 50%, #6366f1 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

.hero-description {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 550px;
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 2.5rem;
    animation: slideInLeft 0.8s ease-out 0.3s both;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-text {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: slideInLeft 0.8s ease-out 0.4s both;
}

.btn-lg {
    padding: 16px 40px !important;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.btn-lg::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-lg:hover::before {
    left: 100%;
}

.btn.primary {
    background: linear-gradient(135deg, #6366f1, #7c3aed);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.5);
}

.btn.secondary {
    background: transparent;
    border: 2px solid #06b6d4;
    color: #06b6d4;
}

.btn.secondary:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: #06b6d4;
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.5);
}

.hero-image {
    animation: slideInRight 0.8s ease-out 0.2s both;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.avatar-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(99, 102, 241, 0.3);
    animation: float-avatar 4s ease-in-out infinite;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.avatar-wrapper:hover .avatar-image {
    transform: scale(1.05);
}

.avatar-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(236, 72, 153, 0.2) 100%);
    pointer-events: none;
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes float-avatar {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(99, 102, 241, 0.4), 0 0 60px rgba(236, 72, 153, 0.2);
    }

    50% {
        box-shadow: 0 0 50px rgba(99, 102, 241, 0.5), 0 0 80px rgba(236, 72, 153, 0.3);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator span {
    display: block;
    width: 20px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    position: relative;
    animation: scroll-down 2s infinite;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    animation: scroll-dot 2s infinite;
}

@keyframes scroll-down {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes scroll-dot {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(12px);
    }
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: clamp(2rem, 6vw, 3.5rem);
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-lg {
        width: 100%;
        text-align: center;
    }

    .avatar-container {
        max-width: 300px;
    }

    .gradient-orb {
        filter: blur(60px);
    }

    .orb-1 {
        width: 200px;
        height: 200px;
    }

    .orb-2 {
        width: 150px;
        height: 150px;
    }

    .orb-3 {
        width: 180px;
        height: 180px;
    }
}

/* Sections */
section {
    padding: 60px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    position: relative;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
    z-index: 2;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
}

.about .container {
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .about {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .section-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 900;
    background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-left {
    display: flex;
    justify-content: center;
    animation: slideInLeft 0.8s ease-out 0.1s both;
}

.about-image {
    position: relative;
    width: 100%;
    max-width: 350px;
    aspect-ratio: 1;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
    transition: transform 0.3s ease;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
    animation: rotate-gradient 8s linear infinite;
}

@keyframes rotate-gradient {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.about-image:hover .about-img {
    transform: scale(1.05);
}

.about-right {
    animation: slideInRight 0.8s ease-out 0.2s both;
}

.about-intro h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

[data-theme="dark"] .about-intro h3 {
    color: #f1f5f9;
}

.intro-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-description {
    margin-bottom: 2rem;
}

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

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-3px);
}

.highlight-item i {
    font-size: 1.5rem;
    color: #6366f1;
    min-width: 30px;
}

.highlight-item span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

[data-theme="dark"] .highlight-item {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
}

[data-theme="dark"] .highlight-item span {
    color: #f1f5f9;
}

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

.social-links a {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6366f1, #7c3aed);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.2);
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #ec4899, #6366f1);
}

/* About Stats Grid */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out both;
}

.stat-card:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-card:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-card:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-card:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

[data-theme="dark"] .stat-card {
    background: #1e293b;
    border-color: rgba(99, 102, 241, 0.2);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 12px;
    font-size: 1.8rem;
    color: #6366f1;
    flex-shrink: 0;
}

.stat-content h4 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Responsive About */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .section-header .section-title {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }

    .about-intro h3 {
        font-size: 1.8rem;
    }

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

    .stat-card {
        flex-direction: column;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* Skills Section */
.skills {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.skills .container {
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .skills {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.skills-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.skill-category {
    animation: fadeInUp 0.8s ease-out both;
}

.skill-category:nth-child(2) {
    animation-delay: 0.2s;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(99, 102, 241, 0.2);
}

.category-header i {
    font-size: 2rem;
    color: #6366f1;
}

.category-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

[data-theme="dark"] .category-header h3 {
    color: #f1f5f9;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    animation: slideInLeft 0.6s ease-out both;
}

.skill-item:nth-child(1) {
    animation-delay: 0.1s;
}

.skill-item:nth-child(2) {
    animation-delay: 0.15s;
}

.skill-item:nth-child(3) {
    animation-delay: 0.2s;
}

.skill-item:nth-child(4) {
    animation-delay: 0.25s;
}

.skill-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.skill-icon i {
    font-size: 2rem;
    color: #6366f1;
    min-width: 40px;
}

.skill-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

[data-theme="dark"] .skill-name {
    color: #f1f5f9;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #ec4899);
    border-radius: 10px;
    animation: progressFill 1.5s ease-out forwards;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

@keyframes progressFill {
    from {
        width: 0 !important;
    }
}

.skill-item:hover .skill-bar {
    background: rgba(99, 102, 241, 0.2);
}

.skill-item:hover .skill-progress {
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.5);
}

/* Additional Skills Section */
.skills-additional {
    animation: fadeInUp 0.8s ease-out 0.4s both;
    padding: 2.5rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

[data-theme="dark"] .skills-additional {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
}

.additional-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.additional-title i {
    font-size: 1.8rem;
    color: #6366f1;
}

.additional-title h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

[data-theme="dark"] .additional-title h3 {
    color: #f1f5f9;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.tool-badge {
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.05));
    border: 1.5px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    text-align: center;
    font-weight: 600;
    color: #6366f1;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    animation: scaleIn 0.5s ease-out both;
    cursor: pointer;
}

.tool-badge:nth-child(1) {
    animation-delay: 0.05s;
}

.tool-badge:nth-child(2) {
    animation-delay: 0.1s;
}

.tool-badge:nth-child(3) {
    animation-delay: 0.15s;
}

.tool-badge:nth-child(4) {
    animation-delay: 0.2s;
}

.tool-badge:nth-child(5) {
    animation-delay: 0.25s;
}

.tool-badge:nth-child(6) {
    animation-delay: 0.3s;
}

.tool-badge:nth-child(7) {
    animation-delay: 0.35s;
}

.tool-badge:nth-child(8) {
    animation-delay: 0.4s;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.tool-badge:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.1));
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.2);
}

[data-theme="dark"] .tool-badge {
    color: #06b6d4;
    border-color: rgba(6, 182, 212, 0.3);
    background: rgba(6, 182, 212, 0.05);
}

[data-theme="dark"] .tool-badge:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.5);
}

/* Responsive Skills */
@media (max-width: 768px) {
    .skills-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .category-header h3 {
        font-size: 1.4rem;
    }

    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .skill-items {
        gap: 1.5rem;
    }

    .skills-additional {
        padding: 2rem;
    }
}

/* Projects Section */
.projects {
    background-color: var(--light-bg);
}

.projects .container {
    position: relative;
    z-index: 2;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

[data-theme="dark"] .project-card {
    background-color: var(--dark-bg);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.project-image {
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

/* Contact Section */
.contact {
    background-color: var(--white);
}

.contact .container {
    position: relative;
    z-index: 2;
}

[data-theme="dark"] .contact {
    background-color: var(--dark-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

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

.contact-item {
    display: flex;
    gap: 1.5rem;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    min-width: 40px;
}

.contact-item h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--light-bg);
    color: var(--text-dark);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background-color: #334155;
    border-color: #475569;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo a {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.footer-logo p {
    color: var(--text-light);
    margin-top: 0.5rem;
}

.footer-links h3,
.footer-social h3 {
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a,
.footer-social a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-social a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #475569;
    color: var(--text-light);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: -50px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    z-index: 999;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* Experience Section */
.experience {
    background-color: var(--light-bg);
}

.experience .container {
    position: relative;
    z-index: 2;
}

.experience-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.experience-timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 60px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 60px;
}

.timeline-dot {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: var(--primary-color);
    border: 3px solid var(--light-bg);
    top: 25px;
    border-radius: 50%;
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -7.5px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -7.5px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--white);
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .timeline-content {
    background-color: var(--dark-bg);
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style-type: disc;
    padding-left: 20px;
    color: var(--text-light);
    text-align: left;
}

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

    .hamburger {
        display: flex;
    }

    .hero .container,
    .about-content,
    .skills-container,
    .contact-content,
    .footer-content {
        grid-template-columns: 1fr;
    }

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

    .hero-content h2 {
        font-size: 1.2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .skill-items {
        grid-template-columns: 1fr;
    }

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