:root {
    --primary-color: #00f0ff;
    --primary-color-alt: #0cebeb;
    --secondary-color: #ff00e4;
    --tertiary-color: #7b34dd;
    --text-color: #e0e0e0;
    --background-dark: #000000;
    --background-darker: #050505;
    --background-light: #151515;
    --shadow-color: rgba(0, 240, 255, 0.3);
    --shadow-color-purple: rgba(123, 52, 221, 0.4);

    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--tertiary-color));
    --gradient-glow: linear-gradient(135deg, var(--secondary-color), var(--primary-color-alt));
    
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    
    --glow-shadow: 0 0 10px var(--shadow-color), 0 0 20px var(--shadow-color), 0 0 30px var(--shadow-color);
    --text-shadow: 0 0 5px var(--shadow-color), 0 0 10px var(--shadow-color);
    
    --primary-dark: #000000;
    --primary-light: #e9ffe8;
    --accent-neon: #00ffd5;
    --accent-purple: #bf00ff;
    --accent-pink: #ff00ea;
    
    --secondary-dark: #111111;
    --secondary-light: #f0f0f0;
    --accent-yellow: #ffee00;
    --accent-blue: #00f7ff;

    --gradient-cyber: linear-gradient(135deg, var(--accent-neon), var(--accent-purple));
    --gradient-holographic: linear-gradient(90deg, #ff00ea, #00ffd5, #f700ff, #00ffd5);
    --gradient-text: linear-gradient(90deg, var(--accent-neon), var(--accent-pink), var(--accent-purple));
    
    --neon-shadow: 0 0 5px var(--accent-neon), 0 0 10px var(--accent-neon), 0 0 20px var(--accent-neon);
    --purple-shadow: 0 0 5px var(--accent-purple), 0 0 10px var(--accent-purple);
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.7);
    
    --container-width: 1200px;
    --border-radius: 5px;
    --header-height: 70px;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scroll-padding-top: var(--header-height);
    scrollbar-color: var(--accent-neon) var(--primary-dark);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--background-dark);
    background-image: radial-gradient(circle at 80% 10%, rgba(123, 52, 221, 0.15), transparent 30%),
                      radial-gradient(circle at 20% 60%, rgba(0, 240, 255, 0.1), transparent 40%);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

::selection {
    background: var(--tertiary-color);
    color: #fff;
    text-shadow: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-header h2:after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    z-index: -1;
    filter: blur(8px);
    opacity: 0.5;
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.underline:before, .underline:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
}

.underline:before {
    left: -10px;
}

.underline:after {
    right: -10px;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition-fast);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transition: var(--transition-medium);
    transform: translateX(-100%);
}

.btn:hover:before {
    transform: translateX(0);
}

.primary-btn {
    background: var(--background-light);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.primary-btn:before {
    background: var(--gradient-primary);
}

.primary-btn:hover {
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.secondary-btn {
    background: var(--background-light);
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(255, 0, 228, 0.2);
}

.secondary-btn:before {
    background: linear-gradient(135deg, var(--secondary-color), var(--tertiary-color));
}

.secondary-btn:hover {
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 15px rgba(255, 0, 228, 0.4);
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 0, 0, 0.05) 50%
    );
    background-size: 100% 4px;
    opacity: 0.1;
}

.glitching {
    animation: glitch 0.2s linear;
    position: relative;
}

@keyframes glitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
        text-shadow: -2px 0 var(--secondary-color), 2px 2px var(--primary-color);
    }
    40% {
        transform: translate(-2px, -2px);
        text-shadow: 2px 0 var(--primary-color), -2px -2px var(--secondary-color);
    }
    60% {
        transform: translate(2px, 2px);
        text-shadow: 2px 0 var(--secondary-color), -2px -2px var(--primary-color);
    }
    80% {
        transform: translate(2px, -2px);
        text-shadow: -2px 0 var(--primary-color), 2px 2px var(--secondary-color);
    }
    100% {
        transform: translate(0);
        text-shadow: none;
    }
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        box-shadow: 0 0 5px var(--accent-neon);
    }
    100% {
        opacity: 1;
        box-shadow: 0 0 15px var(--accent-neon);
    }
}

@keyframes slide {
    0% {
        left: 0;
    }
    100% {
        left: calc(100% - 20px);
    }
}

@keyframes rotate {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    transition: var(--transition-medium);
}

header.sticky {
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.logo a:after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    z-index: -1;
    filter: blur(3px);
    opacity: 0.6;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links li a {
    position: relative;
    padding: 5px 0;
    font-weight: 500;
    color: var(--text-color);
}

.nav-links li a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-fast);
}

.nav-links li a:hover:before,
.nav-links li a.active:before {
    width: 100%;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 100;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition-fast);
}
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 0 50px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), var(--background-dark));
    overflow: hidden;
}

.hero:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%232b0d45' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.2;
    z-index: 0;
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
    text-shadow: var(--text-shadow);
}

.hero h1:after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    z-index: -1;
    filter: blur(8px);
    opacity: 0.6;
}

.typing {
    font-size: 1.8rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.typed-text {
    color: var(--primary-color);
    background-image: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.typed-text:after {
    content: "|";
    position: absolute;
    right: -10px;
    animation: blink 0.7s infinite;
    color: var(--primary-color);
    -webkit-text-fill-color: var(--primary-color);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 80%;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.social-icons a:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -1;
    transform: scale(0);
    transition: var(--transition-medium);
    border-radius: 50%;
}

.social-icons a:hover {
    transform: translateY(-5px);
    border-color: transparent;
}

.social-icons a:hover:before {
    transform: scale(1);
}

.social-icons a i {
    font-size: 18px;
    z-index: 1;
    transition: var(--transition-medium);
}

.social-icons a:hover i {
    color: #fff;
}

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

.scroll-down a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    animation: bounce 2s infinite;
    transition: var(--transition-medium);
}

.scroll-down a:hover {
    background: var(--primary-color);
}

.scroll-down a i {
    color: var(--primary-color);
    transition: var(--transition-medium);
}

.scroll-down a:hover i {
    color: #000;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.image-container {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-15deg);
    transition: var(--transition-slow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(0, 240, 255, 0.3);
}

.image-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
    z-index: 1;
}

.image-container:hover {
    transform: perspective(1000px) rotateY(0deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.image-container:hover:before {
    left: 100%;
    transition: 0.7s;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: var(--background-light);
    position: relative;
    overflow: hidden;
}

.placeholder-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(123, 52, 221, 0.2));
    z-index: 1;
}

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

.about {
    background-color: var(--background-darker);
    position: relative;
}

.about:before {
    background: linear-gradient(90deg, transparent, var(--tertiary-color), transparent);
}

.about-content {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.about-text {
    flex: 1;
    max-width: 800px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.detail-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 5px;
}

.detail-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.skills {
    background-color: var(--background-dark);
    position: relative;
}

.skills:before {
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.skills-content {
    max-width: 800px;
    margin: 0 auto;
}

.skill-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category {
    padding: 10px 20px;
    background: var(--background-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-medium);
    font-weight: 500;
    text-align: center;
}

.category.active, .category:hover {
    background: var(--tertiary-color);
    color: #fff;
    border-color: var(--tertiary-color);
    box-shadow: 0 0 15px rgba(123, 52, 221, 0.4);
}

.skills-list {
    display: none;
}

.skills-list.active {
    display: block;
    animation: fadeIn 0.5s forwards;
}

.skill-item {
    margin-bottom: 25px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: var(--background-light);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    position: relative;
    width: 0;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-progress:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.projects {
    background-color: var(--background-darker);
    position: relative;
}

.projects:before {
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background: var(--background-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition-medium);
    font-weight: 500;
    text-align: center;
    outline: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.filter-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -1;
    transition: var(--transition-medium);
    transform: scaleX(0);
    transform-origin: left;
}

.filter-btn:hover:before,
.filter-btn.active:before {
    transform: scaleX(1);
}

.filter-btn:hover,
.filter-btn.active {
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.project-card {
    background: var(--background-light);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition-medium);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
}

.project-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    z-index: 1;
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-medium);
}

.project-card:hover:before {
    transform: scaleX(1);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.project-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

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

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

.project-info {
    padding: 20px;
    position: relative;
    z-index: 2;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.project-info p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.9;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.project-tech span {
    background: var(--background-dark);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.project-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.project-links a {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: var(--transition-medium);
}

.project-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.5);
}

.project-links a i {
    font-size: 1rem;
}

.resume {
    background-color: var(--background-dark);
    position: relative;
}

.resume:before {
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.resume-content {
    max-width: 900px;
    margin: 0 auto;
}

.resume-download {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    clip-path: polygon(5% 0, 95% 0, 100% 5%, 100% 95%, 95% 100%, 5% 100%, 0 95%, 0 5%);
}

.resume-download p {
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.resume-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.resume-section {
    padding: 25px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.resume-section:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.resume-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), transparent);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-medium);
}

.resume-section:hover:before {
    opacity: 1;
}

.resume-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding-bottom: 10px;
}

.resume-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient-primary);
}

.resume-title i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.resume-item {
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
}

.resume-item:last-child {
    margin-bottom: 0;
}

.resume-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.5;
}

.resume-item:after {
    content: '';
    position: absolute;
    top: 10px;
    left: -4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.resume-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.resume-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
}

.resume-item-time {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
    padding: 5px 10px;
    background: rgba(255, 0, 228, 0.1);
    border-radius: 20px;
}

.resume-item h5 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.resume-item p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.resume-item-list {
    list-style: none;
    margin-top: 15px;
}

.resume-item-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.resume-item-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.contact {
    background-color: var(--background-darker);
    position: relative;
}

.contact:before {
    background: linear-gradient(90deg, transparent, var(--tertiary-color), transparent);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-info {
    background: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.contact-info:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), transparent);
    z-index: -1;
    opacity: 0.5;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-item div h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 30px;
}

.contact-form {
    background: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.contact-form:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(123, 52, 221, 0.1), transparent);
    z-index: -1;
    opacity: 0.5;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--text-color);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-medium);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
    outline: none;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.success {
    background: rgba(0, 240, 0, 0.1);
    color: #00ff00;
    padding: 10px 15px;
    border-radius: 5px;
    margin-top: 15px;
    text-align: center;
}

footer {
    background-color: var(--background-darker);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    font-size: 1rem;
}

.back-to-top {
    display: inline-block;
}

.back-to-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    transition: var(--transition-medium);
}

.back-to-top a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.back-to-top a i {
    color: var(--primary-color);
    transition: var(--transition-medium);
}

.back-to-top a:hover i {
    color: #000;
}

.music-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.music-toggle button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--background-light);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-medium);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
    outline: none;
}

.music-toggle button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.music-toggle button.muted {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.music-toggle button.muted i {
    animation: none;
}

.music-toggle button i {
    animation: pulse-music 2s infinite;
}

@keyframes pulse-music {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@media screen and (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .typing {
        font-size: 1.5rem;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .hero p {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }
    
    .cta-buttons, .social-icons {
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        margin-bottom: 30px;
    }
    
    .resume-sections {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
        flex-direction: column;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-medium);
        z-index: 999;
        padding: 50px 0;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .nav-links li a {
        font-size: 1.2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        max-width: 100%;
    }
    
    .detail-item {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .project-card {
        max-width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}

@media screen and (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .typing {
        font-size: 1.2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .filter-buttons {
        flex-wrap: wrap;
    }
    
    .filter-btn {
        margin-bottom: 10px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .about-details {
        grid-template-columns: 1fr;
    }
}