:root {
    --primary-color: #0540F2;
    --accent-color: #FFFF00;
    --neon-glow: 0 0 5px rgba(255, 255, 0, 0.5),
                 0 0 10px rgba(255, 255, 0, 0.5),
                 0 0 20px rgba(255, 255, 0, 0.5);
    --text-color: #ffffff;
    --grid-color: rgba(255, 255, 0, 0.1);
    --cyberpunk-gradient: linear-gradient(45deg, #0540F2, #4169E1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Bebas Neue', sans-serif;
}

body {
    background-color: #000;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        linear-gradient(rgba(5, 64, 242, 0.1) 2px, transparent 2px),
        linear-gradient(90deg, rgba(5, 64, 242, 0.1) 2px, transparent 2px);
    background-size: 50px 50px;
    perspective: 1000px;
}

.retro-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(180deg, 
        rgba(0,0,0,0.9) 0%,
        rgba(5,64,242,0.1) 100%);
}

/* Cyberpunk Grid */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px),
        linear-gradient(0deg, var(--grid-color) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: -1;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(30px);
    }
}

/* Retro-futuristic Text Styles */
.cyber-text {
    color: var(--accent-color);
    text-transform: uppercase;
    position: relative;
    text-shadow: var(--neon-glow);
    animation: textGlitch 3s infinite;
}

@keyframes textGlitch {
    0% {
        text-shadow: var(--neon-glow);
    }
    2% {
        text-shadow: 2px 2px #ff0000, -2px -2px #00ff00;
    }
    4% {
        text-shadow: var(--neon-glow);
    }
    98% {
        text-shadow: var(--neon-glow);
    }
    100% {
        text-shadow: -2px 0 #ff0000, 2px 2px #00ff00;
    }
}

/* Hero Styles */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-glitch-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
}

.hero-background-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, var(--accent-color) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, var(--accent-color) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: particleFloat 20s linear infinite;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 0, 0.1);
    box-shadow: 0 0 30px rgba(255, 255, 0, 0.1);
}

.glitch-line {
    position: absolute;
    top: 0;
    left: 0;
    animation: glitch-animation 4s infinite linear alternate-reverse;
}

.glitch-line:nth-child(2) {
    color: #0ff;
    animation-delay: -2s;
}

.glitch-line:nth-child(3) {
    color: #f0f;
    animation-delay: -3s;
}

.pulse-effect {
    animation: pulse 2s infinite;
}

.rotating {
    animation: rotate 3s infinite linear;
}

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

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes glitch-animation {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.glitch-wrapper {
    position: relative;
    display: inline-block;
}

.cyber-glitch {
    font-size: 5rem;
    color: var(--text-color);
    position: relative;
    text-shadow: 0.05em 0 0 var(--accent-color),
                -0.025em -0.05em 0 #fe3a7f,
                0.025em 0.05em 0 #00ff00;
    animation: glitch 500ms infinite;
    margin: 0;
    letter-spacing: 0.1em;
}

.cyber-glitch::before,
.cyber-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip: rect(0, 900px, 0, 0);
}

.cyber-glitch::before {
    left: 2px;
    text-shadow: -1px 0 #fe3a7f;
    animation: glitch-effect 3s infinite linear alternate-reverse;
}

.cyber-glitch::after {
    left: -2px;
    text-shadow: -1px 0 #00ff00;
    animation: glitch-effect 2s infinite linear alternate-reverse;
}

.typing-container {
    margin: 2rem 0;
    height: 2rem;
}

.typing-text {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin: 0;
    display: inline-block;
    position: relative;
}

.typed-cursor {
    opacity: 1;
    animation: blink 0.7s infinite;
    color: var(--accent-color);
}

.cyber-box {
    position: relative;
    padding: 1.5rem;
    background: rgba(5, 64, 242, 0.1);
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 20px rgba(255, 255, 0, 0.3);
    overflow: hidden;
}

.cyber-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 0, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: cyberscan 2s linear infinite;
}

.warning-icon {
    animation: pulse 1s infinite;
    display: inline-block;
    margin: 0 0.5rem;
}

.cyber-button {
    position: relative;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 0 1rem;
}

.cyber-button.primary {
    background: var(--accent-color);
    color: #000;
}

.cyber-button:hover {
    background: var(--accent-color);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 255, 0, 0.5);
}

.button-scan-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 0, 0.1) 2px,
        rgba(255, 255, 0, 0.1) 4px
    );
    pointer-events: none;
}

/* Animations */
@keyframes particleFloat {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

@keyframes glitch-effect {
    0% {
        clip: rect(42px, 9999px, 44px, 0);
    }
    5% {
        clip: rect(12px, 9999px, 59px, 0);
    }
    10% {
        clip: rect(48px, 9999px, 29px, 0);
    }
    15% {
        clip: rect(42px, 9999px, 73px, 0);
    }
    100% {
        clip: rect(42px, 9999px, 73px, 0);
    }
}

@keyframes cyberscan {
    0% {
        transform: translate(-100%, -100%) rotate(45deg);
    }
    100% {
        transform: translate(100%, 100%) rotate(45deg);
    }
}

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

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

.hero-content {
    max-width: 1000px;
    width: 100%;
    text-align: center;
    padding: 3rem;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 4rem;
    margin: 0;
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
}

.alternance-banner {
    margin: 2rem auto;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.alternance-banner::before,
.alternance-banner::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 2px;
    background: #faff00;
    animation: lightStrip 2s linear infinite;
}

.alternance-banner::before {
    top: 0;
    left: -200%;
    box-shadow: 0 0 10px #faff00, 0 0 20px #faff00, 0 0 30px #faff00;
}

.alternance-banner::after {
    bottom: 0;
    right: -200%;
    animation-delay: 1s;
    box-shadow: 0 0 10px #faff00, 0 0 20px #faff00, 0 0 30px #faff00;
}

.alternance-banner-content {
    color: #faff00;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    text-shadow: 0 0 10px #faff00;
}

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

.role-text {
    font-size: 2rem;
    color: #faff00;
    margin: 1.5rem 0;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

.cta-container {
    margin-top: 3rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.cyber-button {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    background: transparent;
    border: 2px solid #faff00;
    color: #faff00;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cyber-button:hover {
    background: #faff00;
    color: #000;
    transform: translateY(-3px);
}

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

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .role-text {
        font-size: 1.5rem;
    }
    
    .alternance-banner-content {
        font-size: 1.2rem;
    }
    
    .cta-container {
        flex-direction: column;
        align-items: center;
    }
}

/* About Section */
.about-section {
    position: relative;
    margin-top: 0; /* Suppression de l'espace avec le hero */
    padding: 2rem;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border: 2px solid var(--accent-color);
    box-shadow: var(--neon-glow);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(5, 64, 242, 0.2) 50%,
        transparent 100%
    );
    z-index: 1;
}

.about-content {
    position: relative;
}

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

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    border: 1px solid var(--accent-color);
    background: rgba(5, 64, 242, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Neon Cards */
.card {
    background: rgba(5, 64, 242, 0.1);
    border: 1px solid var(--accent-color);
    box-shadow: var(--neon-glow);
    backdrop-filter: blur(10px);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 0, 0.2),
        transparent
    );
    transition: 0.5s;
}

.card:hover::before {
    left: 100%;
}

/* Progress Bars */
.skill-progress {
    background: rgba(0, 0, 0, 0.5);
    height: 8px;
    border: 1px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--accent-color);
    position: relative;
    animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
    0% {
        box-shadow: 0 0 5px var(--accent-color);
    }
    50% {
        box-shadow: 0 0 20px var(--accent-color);
    }
    100% {
        box-shadow: 0 0 5px var(--accent-color);
    }
}

/* Buttons */
.cyber-button {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 1rem 2rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.cyber-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 0, 0.4),
        transparent
    );
    transition: 0.5s;
}

.cyber-button:hover {
    background: var(--accent-color);
    color: #000;
    box-shadow: var(--neon-glow);
}

.cyber-button:hover::before {
    left: 100%;
}

/* Navigation */
.navbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 2px solid var(--accent-color);
    box-shadow: var(--neon-glow);
}

.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::before {
    transform: scaleX(1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
}

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

/* Timeline Styles */
.timeline-section {
    padding-top: 120px;
}

.timeline-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-color);
    box-shadow: var(--neon-glow);
}

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

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 3rem;
}

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

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

.timeline-item:nth-child(odd)::before {
    right: -10px;
}

.timeline-item:nth-child(even)::before {
    left: -10px;
}

.timeline-date {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--accent-color);
    transition: all 0.3s ease;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 64, 242, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

/* Contact Styles */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.contact-info {
    padding: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

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

.form-group {
    position: relative;
}

.cyber-input {
    width: 100%;
    padding: 0.8rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 0, 0.3);
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cyber-label {
    position: absolute;
    left: 0;
    top: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group.focused .cyber-label {
    top: -1.2rem;
    font-size: 0.8rem;
    color: var(--accent-color);
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.form-group.focused .input-line {
    transform: scaleX(1);
}

textarea.cyber-input {
    min-height: 100px;
    resize: vertical;
}

.cyber-map {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(5, 64, 242, 0.2), rgba(255, 255, 0, 0.1));
    pointer-events: none;
    z-index: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .timeline::before {
        left: 0;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 2rem;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item::before {
        left: -10px !important;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.header-glitch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(5, 64, 242, 0.1) 25%, 
        transparent 25%, 
        transparent 50%, 
        rgba(5, 64, 242, 0.1) 50%, 
        rgba(5, 64, 242, 0.1) 75%, 
        transparent 75%, 
        transparent
    );
    background-size: 10px 10px;
    opacity: 0.5;
    animation: glitch-background 5s linear infinite;
}

/* Logo Styles */
.logo-container {
    position: relative;
    width: 60px;
    height: 60px;
}

.logo {
    position: relative;
    width: 100%;
    height: 100%;
}

.logo-hexagon {
    position: absolute;
    width: 100%;
    height: 100%;
    fill: transparent;
    stroke: var(--accent-color);
    stroke-width: 2;
    filter: drop-shadow(0 0 10px var(--accent-color));
    animation: rotate 10s linear infinite;
}

.logo-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent-color);
    font-size: 1.5rem;
    z-index: 1;
    text-shadow: 0 0 10px var(--accent-color);
}

.logo-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo:hover .logo-glow {
    opacity: 0.5;
}

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

.nav-link {
    position: relative;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.link-text {
    position: relative;
    z-index: 1;
}

.link-hover {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover .link-hover {
    transform: scaleX(1);
    transform-origin: left;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1000;
}

.menu-line {
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
}

/* Footer Styles */
.main-footer {
    position: relative;
    background: rgba(0, 0, 0, 0.9);
    padding: 4rem 2rem 2rem;
    overflow: hidden;
}

.footer-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px),
        linear-gradient(0deg, var(--grid-color) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    pointer-events: none;
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    position: relative;
}

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

.section-icon {
    position: relative;
    width: 40px;
    height: 40px;
}

.hex-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    fill: transparent;
    stroke: var(--accent-color);
    stroke-width: 2;
}

.section-icon i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Contact Links */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cyber-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.link-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1;
}

.link-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.3s ease;
}

.cyber-link:hover {
    color: #000;
}

.cyber-link:hover .link-hover-effect {
    opacity: 0.8;
    transform: scaleX(1);
}

/* Interests List */
.interests-list {
    list-style: none;
}

.interest-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.interest-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
}

.interest-icon i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.interest-item:hover {
    background: rgba(255, 255, 0, 0.1);
    transform: translateX(10px);
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.footer-line {
    flex: 1;
    height: 1px;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.copyright {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.name-glitch {
    position: relative;
    color: var(--accent-color);
    font-size: 1.2rem;
    text-transform: uppercase;
    animation: text-glitch 2s infinite;
}

/* Animations */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes glitch-background {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% 100%;
    }
}

@keyframes text-glitch {
    0% {
        text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff,
                     0.025em 0.04em 0 #fffc00;
    }
    15% {
        text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff,
                     0.025em 0.04em 0 #fffc00;
    }
    16% {
        text-shadow: -0.05em -0.025em 0 #00fffc, 0.025em 0.035em 0 #fc00ff,
                     -0.05em -0.05em 0 #fffc00;
    }
    49% {
        text-shadow: -0.05em -0.025em 0 #00fffc, 0.025em 0.035em 0 #fc00ff,
                     -0.05em -0.05em 0 #fffc00;
    }
    50% {
        text-shadow: 0.05em 0.035em 0 #00fffc, 0.03em 0 0 #fc00ff,
                     0 -0.04em 0 #fffc00;
    }
    99% {
        text-shadow: 0.05em 0.035em 0 #00fffc, 0.03em 0 0 #fc00ff,
                     0 -0.04em 0 #fffc00;
    }
    100% {
        text-shadow: -0.05em 0 0 #00fffc, -0.025em -0.04em 0 #fc00ff,
                     -0.04em -0.025em 0 #fffc00;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .nav-links.show {
        transform: translateX(0);
    }

    .menu-toggle.active .menu-line:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active .menu-line:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .menu-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .footer-sections {
        grid-template-columns: 1fr;
    }
}

/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.skills-category {
    background: rgba(5, 64, 242, 0.1);
    border: 2px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(5, 64, 242, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skills-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(255, 255, 0, 0.4);
}

.skills-category h2 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

.skills-category i {
    margin-right: 0.5rem;
}

.skill-details ul {
    list-style: none;
    padding: 0;
}

.skill-details li {
    margin: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #fff;
    font-size: 1.1rem;
}

.skill-details li::before {
    content: "➣";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.glitch-effect {
    position: relative;
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
                -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
                0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    animation: glitch 500ms infinite;
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
                    -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
                    0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }
    14% {
        text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
                    -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
                    0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }
    15% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
                    0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
                    -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    49% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
                    0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
                    -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    50% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
                    0.05em 0 0 rgba(0, 255, 0, 0.75),
                    0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    99% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
                    0.05em 0 0 rgba(0, 255, 0, 0.75),
                    0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    100% {
        text-shadow: -0.025em 0 0 rgba(255, 0, 0, 0.75),
                    -0.025em -0.025em 0 rgba(0, 255, 0, 0.75),
                    -0.025em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
}