/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
}

.cursor-follower {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.1s, width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor.hover {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 111, 0, 0.2);
    border-color: var(--accent-color);
}

.cursor-follower.hover {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0.5;
}

.cursor.click {
    transform: translate(-50%, -50%) scale(0.9);
}

/* Hide cursor on touch devices */
@media (hover: none) {
    .cursor, .cursor-follower {
        display: none;
    }
}

/* Download Button Feedback */
#resume-btn.downloaded {
    background-color: #4CAF50;
    transform: scale(0.95);
    transition: all 0.3s ease;
}

#resume-btn.downloading {
    background-color: #2196F3;
    animation: pulse 1s infinite;
}

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

#resume-btn.downloaded:hover {
    background-color: #45a049;
    transform: scale(0.98);
}

#resume-btn.download-error {
    background-color: #f44336;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

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

#resume-btn:active {
    animation: downloadPulse 0.3s ease;
}

/* Section Styles */
.section-padding {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.bg-grey {
    background-color: var(--secondary-bg);
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 700;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    margin: 0 auto 20px;
    position: relative;
}

.section-divider::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: #fff;
    left: 50%;
    transform: translateX(-50%);
    top: -8px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Section Backgrounds - Tech Circuit Theme */
.bg-section {
    position: relative;
    background: #050510;
    overflow: hidden;
    z-index: 1;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: 
        linear-gradient(135deg, #0a0010 0%, #1a0020 100%);
}

/* Elegant Grid Pattern */
.hexagon-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Main grid */
        linear-gradient(rgba(255, 51, 102, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 51, 102, 0.1) 1px, transparent 1px),
        /* Subtle gradient overlay */
        radial-gradient(ellipse at 50% 50%, rgba(138, 43, 226, 0.08) 0%, transparent 70%);
    background-size: 40px 40px, 40px 40px, 100% 100%;
    opacity: 0.6;
    z-index: 1;
    animation: gridPulse 15s ease-in-out infinite;
}

/* Elegant Accent Lines */
.circuit-path {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, #8a2be2, #ff3366, transparent);
    opacity: 0.4;
    z-index: 2;
    animation: elegantFlow 20s linear infinite;
    transform-origin: left center;
    filter: drop-shadow(0 0 4px rgba(255, 51, 102, 0.3));
}

/* Accent Elements */
.circuit-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: transparent;
    border: 1.5px solid #8a2be2;
    z-index: 3;
    opacity: 0.8;
    animation: nodePulse 6s ease-in-out infinite;
    transition: all 0.3s ease;
}

/* Floating Elements */
.tech-element {
    position: absolute;
    background: transparent;
    z-index: 2;
    pointer-events: none;
    opacity: 0.6;
    animation: floatElegant 25s ease-in-out infinite;
    transition: all 0.5s ease;
}

/* Different tech element shapes */
.tech-element.square {
    width: 80px;
    height: 80px;
    transform: rotate(45deg);
    animation: floatTech 20s ease-in-out infinite;
}

.tech-element.rectangle {
    width: 120px;
    height: 60px;
    animation: floatTech 25s ease-in-out infinite reverse;
}

.tech-element.circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    animation: floatTech 30s ease-in-out infinite;
}

/* Subtle Gradient Overlay */
.data-stream {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(
            circle at 30% 40%,
            rgba(138, 43, 226, 0.15) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 70% 60%,
            rgba(255, 51, 102, 0.15) 0%,
            transparent 50%
        );
    z-index: 1;
    opacity: 0.8;
    animation: gradientShift 25s ease-in-out infinite alternate;
    mix-blend-mode: overlay;
}

/* Soft Noise Texture */
.glitch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E"),
        linear-gradient(45deg, rgba(0,0,0,0.1) 0%, transparent 100%);
    z-index: 4;
    pointer-events: none;
    mix-blend-mode: overlay;
    animation: noisePulse 15s ease-in-out infinite;
}

/* Modern Skills Showcase */
.skills-showcase {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    position: relative;
}

/* Skills Banner */
.skills-banner {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    margin-bottom: 40px;
}

.skills-banner::before,
.skills-banner::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.skills-banner::before {
    left: 0;
    background: linear-gradient(90deg, #0a0010 0%, rgba(10, 0, 16, 0) 100%);
}

.skills-banner::after {
    right: 0;
    background: linear-gradient(270deg, #0a0010 0%, rgba(10, 0, 16, 0) 100%);
}

.skills-track {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    animation: scroll 30s linear infinite;
    width: calc(250px * 16); /* Width of all items combined */
}

.skill-item {
display: flex;
flex-direction: column;
align-items: center;
min-width: 100px;
padding: 20px 15px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 12px;
padding: 15px;
transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
backdrop-filter: blur(10px);
overflow: hidden;
position: relative;
opacity: 0;
transform: translateY(30px) scale(0.95);
transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-item.visible {
opacity: 1;
transform: translateY(0) scale(1);
}

.skill-item::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(45deg, transparent, rgba(138, 43, 226, 0.1), transparent);
transform: translateX(-100%) skewX(-15deg);
transition: transform 0.8s ease;
z-index: 1;
}

.skill-item:hover::before {
transform: translateX(200%) skewX(-15deg);
}

.skill-item:hover {
transform: translateY(-5px);
background: rgba(255, 51, 102, 0.1);
border-color: rgba(255, 51, 102, 0.3);
box-shadow: 0 8px 25px rgba(138, 43, 226, 0.15);
}

.skill-logo {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #ff3366;
    transition: all 0.3s ease;
}

.skill-item:hover .skill-logo {
    transform: scale(1.2);
}

.skill-name {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    margin-top: 8px;
}

/* Category Buttons */
.skill-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.category-btn {
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.3);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(5px);
}

.category-btn i {
    font-size: 1rem;
}

.category-btn:hover {
    background: rgba(138, 43, 226, 0.2);
    transform: translateY(-2px);
}

.category-btn.active {
    background: linear-gradient(135deg, #8a2be2, #ff3366);
    box-shadow: 0 5px 20px rgba(138, 43, 226, 0.3);
    border-color: transparent;
}

/* Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 8)); /* Move half the width */
    }
}

/* Hide items based on category */
.skill-item {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.skill-item.hidden {
    opacity: 0.3;
    transform: scale(0.9);
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .skills-track {
        gap: 20px;
    }
    
    .skill-item {
        min-width: 90px;
        padding: 15px 10px;
    }
    
    .skill-logo {
        font-size: 1.8rem;
    }
    
    .skill-name {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .skill-categories {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .category-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .skills-track {
        animation-duration: 40s;
    }
}

@media (max-width: 480px) {
    .skills-track {
        gap: 15px;
    }
    
    .skill-item {
        min-width: 80px;
        padding: 12px 8px;
    }
    
    .skill-logo {
        font-size: 1.6rem;
    }
    
    .skill-name {
        font-size: 0.75rem;
    }
}

/* Keyframe Animations */
@keyframes circuitFlow {
    0% { transform: translateX(-100%); opacity: 0; }
    5% { opacity: 0.3; }
    95% { opacity: 0.3; }
    100% { transform: translateX(100%); opacity: 0; }
}

@keyframes nodeRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pathFlow {
    0% { 
        transform: scaleX(0) translateX(0);
        opacity: 0;
    }
    5% { 
        opacity: 0.2;
    }
    50% { 
        opacity: 0.3;
    }
    95% { 
        opacity: 0;
    }
    100% { 
        transform: scaleX(1) translateX(100%);
        opacity: 0;
    }
}

@keyframes floatElegant {
    0%, 100% { 
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.6;
    }
    33% { 
        transform: translate(10px, 10px) scale(1.05) rotate(5deg);
        opacity: 0.8;
    }
    66% { 
        transform: translate(-5px, 15px) scale(0.95) rotate(-5deg);
        opacity: 0.7;
    }
}

@keyframes hexMove {
    0% { background-position: 0 0; }
    100% { background-position: 69.28px 40px; }
}

@keyframes dataPulse {
    0%, 100% { opacity: 0.05; }
    50% { opacity: 0.15; }
}

@keyframes gradientShift {
    0% { 
        background-position: 30% 40%, 70% 60%;
    }
    100% { 
        background-position: 40% 50%, 60% 50%;
    }
}

@keyframes gridPulse {
    0%, 100% { 
        opacity: 0.6;
        transform: scale(1);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.01);
    }
}

@keyframes noisePulse {
    0%, 100% { 
        opacity: 0.03;
    }
    50% { 
        opacity: 0.06;
    }
}

@keyframes elegantFlow {
    0% { 
        transform: scaleX(0) translateX(0);
        opacity: 0;
    }
    5% { 
        opacity: 0.4;
    }
    50% { 
        opacity: 0.6;
    }
    95% { 
        opacity: 0;
    }
    100% { 
        transform: scaleX(1) translateX(100%);
        opacity: 0;
    }
}

@keyframes nodePulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.2);
        opacity: 1;
        border-color: #ff3366;
    }
}

/* Animations */
@keyframes float {
    0% { 
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.7;
    }
    25% { 
        transform: translate(30px, 30px) rotate(5deg);
        opacity: 0.5;
    }
    50% { 
        transform: translate(-20px, 20px) rotate(-5deg);
        opacity: 0.8;
    }
    75% { 
        transform: translate(20px, -20px) rotate(5deg);
        opacity: 0.6;
    }
    100% { 
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.7;
    }
}

@keyframes gridMove {
    0% { 
        background-position: 0 0; 
    }
    100% { 
        background-position: 1000px 1000px; 
    }
}

/* Content Container */
.container {
    position: relative;
    z-index: 10;
}

/* Base Styles */
:root {
    --primary-bg: #000000;
    --secondary-bg: #1a1a1a;
    --accent-color: #ff6f00;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --transition: all 0.3s ease;
}

/* Ensure sections are visible by default */
section {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Apply animations only when scrolled into view */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

a:hover {
    color: var(--accent-color);
}

/* ============================================
   Navigation - Simplified
   ============================================ */
:root {
    --nav-height: 70px;
    --nav-bg: rgba(10, 10, 26, 0.9);
    --nav-text: #f8f9fa;
    --nav-text-hover: #ff9e22;
    --nav-accent: #ff6f00;
    --transition: all 0.3s ease;
}

/* Base Navbar */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--nav-text);
    text-decoration: none;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-logo span:first-child {
    color: var(--nav-accent);
    font-size: 1.8rem;
    font-weight: 700;
}

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

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

.nav-link {
    color: var(--nav-text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--nav-accent);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--nav-text-hover);
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

/* CTA Button */
.nav-cta {
    background: var(--nav-accent);
    color: #1a1a1d;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    margin-left: 1rem;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 111, 0, 0.4);
    background: #ff8a00;
    color: #1a1a1d !important;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--nav-text);
    margin: 5px 0;
    transition: var(--transition);
}

/* Active States */
.nav-link.active {
    color: var(--nav-text-hover);
}

.nav-link.active::after {
    width: 100%;
}

/* Scrolled State */
.nav.scrolled {
    background: rgba(10, 10, 26, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--nav-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        padding: 2rem;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        margin: 1rem 0;
    }

    .nav-cta {
        margin: 1rem 0 0;
        padding: 0.8rem 2rem;
    }

    .nav-toggle {
        display: block;
    }

    /* Animate hamburger to X */
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* Small devices */
@media (max-width: 576px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .nav-logo {
        font-size: 1.3rem;
    }

    .nav-logo span:first-child {
        font-size: 1.5rem;
    }
}
:root {
    --nav-height: 80px;
    --nav-bg: rgba(10, 10, 26, 0.85);
    --nav-border: rgba(138, 43, 226, 0.2);
    --nav-text: #f8f9fa;
    --nav-text-hover: #c9a8ff;
    --nav-cta-bg: linear-gradient(135deg, #8a2be2, #6a0dad);
    --nav-cta-hover: #9b4dff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Navbar Base */
.navbar {
    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);
}

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

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
}

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

.nav-links a {
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white !important;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 111, 0, 0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 120px;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    overflow: hidden;
    color: #fff;
    box-sizing: border-box;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem;
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

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

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero-social {
    display: flex;
    gap: 1.2rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.social-icon.linkedin:hover {
    background: #0077b5;
    color: white;
}

.social-icon.github:hover {
    background: #333;
    color: white;
}

.social-icon i {
    font-size: 1.2rem;
}

.multilingual-greeting {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    min-height: 2rem;
}

/* Scrolling Banner */
.scrolling-banner {
    background-color: var(--accent-color);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.banner-content {
    display: inline-block;
    animation: scrollBanner 30s linear infinite;
    color: #000;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Scrolling Banner */
.scrolling-banner {
    background-color: #ff6f00 !important;
    padding: 15px 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    margin: 0 !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.banner-content {
    display: inline-block !important;
    animation: scrollBanner 20s linear infinite !important;
    color: #1a1a1a !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
}

.banner-content span {
    display: inline-block !important;
    padding: 0 30px !important;
    margin: 0 !important;
    font-size: 1.1rem !important;
    font-family: 'Poppins', sans-serif !important;
}

@keyframes scrollBanner {
    0% {
        transform: translateX(0) !important;
    }
    100% {
        transform: translateX(-50%) !important;
    }
}

/* Smooth Infinite Scrolling Banner */
.scrolling-banner {
    position: relative;
    overflow: hidden;
    width: 100%;
    background: #ff6f00;
    padding: 15px 0;
    margin: 0;
    box-sizing: border-box;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.banner-content {
    display: inline-flex;
    white-space: nowrap;
    animation: scrollBanner 40s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
    padding: 0;
    margin: 0;
    position: relative;
}

.banner-content:hover {
    animation-play-state: paused;
}

.banner-content span {
    display: inline-block;
    padding: 0 40px;
    margin: 0;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    flex-shrink: 0;
    white-space: nowrap;
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    display: flex;
    margin: 0 auto 10px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background-color: var(--text-secondary);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scrollAnimation 2s infinite;
}

@keyframes scrollAnimation {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, 15px);
    }
}

/* Section Styling */
.section-padding {
    padding: 100px 0;
    position: relative;
}

.bg-grey {
    background-color: var(--secondary-bg);
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

/* General section divider */
.section-divider {
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto 20px;
    border-radius: 2px;
}

/* Specific style for skills section divider */
#skills .section-divider {
    background: rgba(139, 92, 246, 0.8);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* About Section */
.about-content {
    display: flex;
    gap: 60px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
    perspective: 2000px;
    align-items: center;
}

.about-text {
    flex: 1.5;
}

.about-image {
    flex: 1;
    max-width: 400px;
    position: relative;
    z-index: 2;
}

.about-image {
    position: relative;
    text-align: center;
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    perspective: 1200px;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 350px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.profile-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    transform: translateZ(0);
}

.image-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 15px;
    background: linear-gradient(45deg, #8b5cf6, #c084fc, #8b5cf6);
    background-size: 200% 200%;
    z-index: 2;
    opacity: 0.7;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    animation: borderPulse 4s ease-in-out infinite;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.4) 0%, rgba(139, 92, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 3;
    border-radius: 15px;
}

.image-dots {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 4;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.image-dots span {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.image-caption {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #8b5cf6, #c084fc);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
    z-index: 5;
}

.caption-icon {
    animation: float 2s ease-in-out infinite;
}

.image-wrapper:hover .image-container {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
}

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

.image-wrapper:hover .image-border {
    opacity: 1;
    transform: scale(1.02);
    animation: borderPulse 2s ease-in-out infinite;
}

.image-wrapper:hover .image-overlay {
    opacity: 1;
}

.image-wrapper:hover .image-dots {
    opacity: 1;
    transform: translateY(0);
}

.image-wrapper:hover .image-caption {
    opacity: 1;
    bottom: -15px;
}

/* Glass Card */
.glass-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    margin: 0 auto;
}

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

.glass-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 35px 60px rgba(0, 0, 0, 0.3);
}

.glass-card:hover::before {
    transform: translateX(100%) rotate(45deg);
}

/* Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1), transparent 60%);
    animation: pulse 4s infinite alternate;
}

/* Image Container */
.image-container {
    position: relative;
    z-index: 2;
    margin-bottom: 25px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transform: translateZ(20px);
}

.profile-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Tech Circles */
.tech-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    z-index: 3;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-1 {
    width: 50px;
    height: 50px;
    top: -15px;
    right: -15px;
    background: rgba(168, 85, 247, 0.2);
    animation: float 6s ease-in-out infinite;
}

.tech-2 {
    width: 40px;
    height: 40px;
    bottom: -10px;
    left: -10px;
    background: rgba(99, 102, 241, 0.2);
    animation: float 5s ease-in-out infinite 1s;
}

.tech-3 {
    width: 35px;
    height: 35px;
    top: 30%;
    left: -20px;
    background: rgba(236, 72, 153, 0.2);
    animation: float 7s ease-in-out infinite 0.5s;
}

.tech-4 {
    width: 30px;
    height: 30px;
    bottom: 20%;
    right: -15px;
    background: rgba(59, 130, 246, 0.2);
    animation: float 6.5s ease-in-out infinite 1.5s;
}

/* Glass Content */
.glass-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.glass-text {
    margin-bottom: 20px;
}

.glass-title {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.glass-subtitle {
    display: block;
    color: #c4b5fd;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.tech-tag {
    background: rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid rgba(199, 210, 254, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.tech-tag:hover {
    background: rgba(167, 139, 250, 0.3);
    transform: translateY(-2px);
}

/* Hover Effects */
.glass-card:hover .image-shine {
    opacity: 1;
}

.glass-card:hover .profile-img {
    transform: scale(1.05);
}

.glass-card:hover .tech-circle {
    transform: translateY(-5px) rotate(10deg);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 0.8; }
    100% { opacity: 0.5; }
}

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

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .about-content {
        gap: 40px;
    }
    
    .glass-card {
        padding: 20px;
    }
    
    .glass-title {
        font-size: 1.3rem;
    }
    
    .glass-subtitle {
        font-size: 0.85rem;
    }
    
    .tech-tag {
        font-size: 0.7rem;
        padding: 3px 10px;
    }
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-text {
        order: 2;
        text-align: center;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 40px;
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .tech-tag {
        font-size: 0.65rem;
    }
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.personal-info {
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.info-label {
    font-weight: 600;
    color: var(--accent-color);
    margin-right: 10px;
    min-width: 70px;
}

.info-value {
    color: var(--text-primary);
}

.info-value a {
    color: var(--text-primary);
    transition: var(--transition);
}

.info-value a:hover {
    color: var(--accent-color);
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-bg);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: #000;
    transform: translateY(-3px);
}

/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 50px auto 0;
    padding: 0 20px;
    max-width: 1400px;
    width: 100%;
    box-sizing: border-box;
}

.skills-category {
    background-color: rgba(26, 26, 26, 0.5);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.skills-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 111, 0, 0.2);
}

.skills-category h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.skills-category h3 i {
    font-size: 1.1em;
}

.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.skill-info {
display: block;
margin-bottom: 5px;
font-size: 0.9rem;
color: var(--text-light);
}

.skill-name {
font-weight: 500;
color: var(--text-primary);
}

.skill-bar {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), #ff8c00);
    border-radius: 4px;
    position: relative;
    transition: width 1.5s ease-in-out;
}

/* Skills Section */
#skills {
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, #0a0a1a 0%, #141428 100%);
    color: var(--text-primary);
    overflow: hidden;
}

#skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, rgba(147, 51, 234, 0.05) 1px, transparent 1px) 0 0 / 20px 20px,
        linear-gradient(rgba(147, 51, 234, 0.05) 1px, transparent 1px) 0 0 / 20px 20px;
    opacity: 0.7;
    pointer-events: none;
    animation: gridMove 30s linear infinite;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
    position: relative;
}

.skills-category {
    background: linear-gradient(145deg, rgba(30, 20, 50, 0.8), rgba(20, 10, 40, 0.9));
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(147, 51, 234, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin: 0 10px;
}

.skills-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #c084fc);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.skills-category::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.skills-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.3);
    border-color: rgba(168, 85, 247, 0.4);
}

.skills-category:hover::before {
    transform: scaleX(1);
}

.skills-category:hover::after {
    opacity: 1;
}

.skills-category h3 {
    color: #e9d5ff;
    margin: 0 0 20px 0;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.skills-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6, #c084fc);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.skills-category:hover h3::after {
    width: 100%;
    background: linear-gradient(90deg, #8b5cf6, #c084fc, #8b5cf6);
    background-size: 200% 100%;
    animation: gradientFlow 3s linear infinite;
}

.skills-category h3 i {
    font-size: 1.1rem;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(168, 85, 247, 0.1));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #c084fc;
    border: 1px solid rgba(168, 85, 247, 0.2);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.1);
}

.skills-category:hover h3 i {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(168, 85, 247, 0.2));
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.2);
    color: #d8b4fe;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skill-item {
    margin-bottom: 18px;
    position: relative;
    padding-left: 16px;
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateX(5px);
}

.skill-item::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: #8b5cf6;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.skill-item:hover::before {
    color: #c084fc;
    text-shadow: 0 0 8px rgba(199, 140, 255, 0.7);
}

.skill-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.skill-info i {
    width: 24px;
    text-align: center;
    font-size: 1.2rem;
    color: #8b5cf6; /* Purple color to match the skills section theme */
    transition: color 0.3s ease;
}

.skill-item:hover .skill-info i {
    color: #c084fc; /* Lighter purple on hover */
    filter: drop-shadow(0 0 5px rgba(139, 92, 246, 0.5));
}

.skill-name {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
    font-family: 'Fira Code', 'Courier New', monospace;
    letter-spacing: 0.3px;
}

.skill-percent {
    font-size: 0.8rem;
    color: #c084fc;
    font-weight: 600;
    font-family: 'Fira Code', 'Courier New', monospace;
}

.skill-bar {
    height: 4px;
    background: rgba(30, 20, 50, 0.5);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    margin-top: 8px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.skill-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 2s infinite;
    z-index: 1;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6, #c084fc);
    border-radius: 4px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 4px;
}

/* Scrolling Banner */
.scrolling-banner {
    background: rgba(10, 10, 20, 0.9);
    padding: 15px 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(147, 51, 234, 0.2);
    border-bottom: 1px solid rgba(147, 51, 234, 0.2);
}

.banner-content {
    display: flex;
    white-space: nowrap;
    animation: scrollBanner 30s linear infinite;
    width: max-content;
}

.banner-content span {
    display: inline-flex;
    align-items: center;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0 15px;
}

.banner-content span::before,
.banner-content span::after {
    content: '//';
    color: #a855f7;
    margin: 0 10px;
    opacity: 0.7;
}

.banner-content i {
    color: #c084fc;
    margin: 0 5px;
    font-size: 1.2em;
    animation: bounce 2s infinite;
}

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

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

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

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
    justify-content: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: minmax(280px, 400px);
        justify-content: center;
        padding: 0 1rem;
    }
    
    .project-card {
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
    }
}

.project-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease;
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-card:nth-child(2) { transition-delay: 0.1s; }
.project-card:nth-child(3) { transition-delay: 0.2s; }
.project-card:nth-child(4) { transition-delay: 0.3s; }
.project-card:nth-child(5) { transition-delay: 0.4s; }

.project-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Ensure proper stacking context */
    z-index: 1;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 111, 0, 0.3);
}

.project-preview {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    background: #0a0a0a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.project-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
    display: block;
}

.project-card:hover .project-video {
    transform: scale(1.03);
    filter: brightness(0.8);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-actions {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 2;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 12px;
padding: 1.5rem;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
pointer-events: none;
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.project-card:hover .project-actions {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.project-card:hover .project-link,
.project-card:hover .project-details-btn {
    transform: translateY(0);
    opacity: 1;
}

/* Project Card Buttons */
.project-actions {
    display: none;
    gap: 12px;
}

.project-link, .project-details-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.92rem;
    text-decoration: none;
    width: 150px;
    margin: 0 auto;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;
    transform: translateY(8px);
}

/* Button hover states */
.project-link:hover,
.project-details-btn:hover {
    transform: translateY(-1px);
}

/* Show buttons on card hover */
.project-card:hover .project-link,
.project-card:hover .project-details-btn {
    display: inline-flex;
    transform: translateY(0);
    opacity: 1;
    animation: fadeInUp 0.4s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button animations */
.project-card:hover .project-link,
.project-card:hover .project-details-btn {
    opacity: 1;
    transform: translateY(0);
}

.project-card:hover .project-link {
    transition: all 0.3s ease 0.1s;
}

.project-card:hover .project-link:nth-child(2) {
    transition-delay: 0.1s;
}

.project-card:hover .project-details-btn {
    transition: all 0.3s ease 0.15s;
}

.project-link {
    background: #ffffff;
    color: #1a1a1a;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.project-link:hover {
    background: #f8f9fa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.project-link i {
    font-size: 1em;
}

.project-details-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.project-details-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

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

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.3;
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
    opacity: 0.9;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.25rem;
}

.project-tech span {
    background: rgba(124, 58, 237, 0.1);
    color: #a855f7;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
    border: 1px solid rgba(168, 85, 247, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.project-tech span:hover {
    background: rgba(124, 58, 237, 0.2);
    transform: translateY(-1px);
}

.coming-soon {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* Project Modal */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    overflow-y: auto;
    padding: 2rem;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) rgba(255, 255, 255, 0.1);
}

.project-modal::-webkit-scrollbar {
    width: 8px;
}

.project-modal::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.project-modal::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 4px;
}

.project-modal.active {
    opacity: 1;
}

.modal-content {
    background: linear-gradient(145deg, #0f0f1a 0%, #1a1a2e 100%);
    max-width: 1000px;
    margin: 2rem auto;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0;
}

.project-modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-header {
    padding: 1.75rem 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.modal-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0.3;
}

.modal-header h3 {
    font-size: 1.9rem;
    margin: 0;
    color: #fff;
    font-weight: 600;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.close-modal {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.close-modal:hover {
    background: rgba(255, 0, 0, 0.2);
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2.5rem;
    max-height: 70vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) rgba(255, 255, 255, 0.1);
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 3px;
}

.modal-video-container {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    margin-bottom: 2.5rem;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modal-video-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.modal-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}

.modal-description {
    margin-bottom: 2.5rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    position: relative;
    padding-left: 1.5rem;
    border-left: 2px solid var(--accent-color);
}

.modal-features {
    margin-bottom: 2.5rem;
}

.modal-features h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-features h4::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--accent-color);
}

.modal-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
}

.modal-features li {
    margin: 0;
    padding: 0.75rem 1rem 0.75rem 2rem;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.modal-features li:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.modal-features li::before {
    content: '▹';
    position: absolute;
    left: 0.75rem;
    color: var(--accent-color);
    font-size: 1.1em;
    line-height: 1;
}

.modal-links {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.modal-links::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
}

.modal-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-width: 160px;
    text-align: center;
}

.modal-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-color), #8b5cf6);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-link.demo {
    background: var(--accent-color);
    color: #000;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.modal-link.demo:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
}

.modal-link.code {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-link.code:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.modal-link i {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.modal-link:hover i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .project-modal {
        padding: 1rem;
    }
    
    .modal-content {
        margin: 1rem auto;
        border-radius: 12px;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1.25rem;
    }
    
    .modal-header h3 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
        max-height: calc(100vh - 120px);
    }
    
    .modal-description {
        font-size: 1rem;
        padding-left: 1rem;
        margin-bottom: 2rem;
    }
    
    .modal-features h4 {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }
    
    .modal-features ul {
        grid-template-columns: 1fr;
    }
    
    .modal-links {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 2.5rem;
        padding-top: 1.5rem;
    }
    
    .modal-link {
        width: 100%;
        padding: 0.85rem 1.5rem;
    }
    
    .close-modal {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }
}
#projects {
    position: relative;
    z-index: 10 !important;
    background: transparent !important;
    overflow: visible !important;
    color: var(--text-primary) !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(10,10,10,0.9) 100%) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

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

#projects *:not(.shape):not(.grid-lines):not(.floating-circles) {
    color: var(--text-primary) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Projects Background Elements */
.projects-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.projects-bg .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    z-index: -1;
    will-change: transform;
    transition: transform 0.5s ease-out;
    opacity: 0.6;
}

.projects-bg .shape-6 {
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, #ff6f00, #ff8c00);
    top: 10%;
    left: 10%;
    animation: float1 20s ease-in-out infinite;
}

.projects-bg .shape-7 {
    width: 500px;
    height: 500px;
    background: linear-gradient(45deg, #ff8c00, #ff6f00);
    bottom: 10%;
    right: 10%;
    animation: float2 25s ease-in-out infinite;
}

.projects-bg .shape-8 {
    width: 350px;
    height: 350px;
    background: linear-gradient(45deg, #ff6f00, #ff8c00);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float3 30s ease-in-out infinite reverse;
}

.projects-bg .grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 111, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 111, 0, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    animation: gridMove 120s linear infinite;
}

.projects-bg .floating-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.projects-bg .circle-4 {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 111, 0, 0.1), transparent 70%);
    top: 20%;
    left: 20%;
    animation: float1 25s ease-in-out infinite alternate;
}

.projects-bg .circle-5 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.1), transparent 70%);
    bottom: 15%;
    right: 15%;
    animation: float2 30s ease-in-out infinite alternate;
}

/* Project Cards */
.project-card {
    background: rgba(30, 30, 30, 0.6) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 111, 0, 0.1) !important;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 40px rgba(255, 111, 0, 0.2) !important;
    border-color: rgba(255, 111, 0, 0.3) !important;
    background: rgba(40, 40, 40, 0.8) !important;
}

.project-image {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.project-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.project-content {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.project-content h3 {
    color: #fff !important;
    margin-bottom: 12px;
    font-size: 1.4rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.project-content p {
    color: #ccc !important;
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.project-tech span {
    background: rgba(255, 111, 0, 0.15) !important;
    color: #ff8c00 !important;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-card:hover .project-tech span {
    background: rgba(255, 111, 0, 0.25) !important;
}

.project-links {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 3;
}

.project-card:hover .project-links {
    opacity: 1;
}

.project-link {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: #000 !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: #fff;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 111, 0, 0.3);
}

.coming-soon {
    background: var(--accent-color);
    color: #000 !important;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.coming-soon:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 111, 0, 0.3);
}

/* Ensure skill items are visible */
.skill-item {
    opacity: 1 !important;
    visibility: visible !important;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.project-card {
    background: var(--secondary-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 111, 0, 0.3);
}

.project-image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.project-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.project-links {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-links {
    opacity: 1;
}

.project-link {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: #fff;
    transform: translateY(-3px) scale(1.1);
}

.coming-soon {
    background: var(--accent-color);
    color: #000;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
}

.project-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.project-card:hover .project-content h3 {
    color: var(--accent-color);
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.project-tech span {
    background: rgba(255, 111, 0, 0.1);
    color: var(--accent-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-card:hover .project-tech span {
    background: rgba(255, 111, 0, 0.2);
}

.project-card {
    background: var(--secondary-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateY(0);
    will-change: transform, box-shadow;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 111, 0, 0.5);
}

.project-image {
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-links {
    opacity: 1;
}

.project-link {
    width: 45px;
    height: 45px;
    background: var(--accent-color);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.project-link:hover {
    background: #fff;
    transform: translateY(-3px);
}

.coming-soon {
    background: var(--accent-color);
    color: #000;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.project-content {
    padding: 20px;
}

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

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.project-tech span {
    background: rgba(255, 111, 0, 0.1);
    color: var(--accent-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Experience Section */
#experience {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0a1f, #1a0f42, #0f0a29);
    color: #fff;
    z-index: 1;
}

#experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(75, 0, 130, 0.15) 0%, transparent 25%),
        linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(15,10,40,0.95) 100%);
    z-index: -1;
}

/* Animated grid overlay */
.experience-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(138, 43, 226, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(138, 43, 226, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    z-index: -1;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

.experience-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.8;
    background: 
        radial-gradient(circle at 10% 20%, rgba(138, 43, 226, 0.2) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(75, 0, 130, 0.2) 0%, transparent 20%),
        linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(25,15,60,0.9) 100%);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 20px;
    z-index: 2;
    background: rgba(10, 5, 30, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.timeline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(138, 43, 226, 0.05), transparent);
    z-index: -1;
    animation: shine 8s linear infinite;
}

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

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 6px;
    background: linear-gradient(to bottom, #8a2be2, #4b0082);
    transform: translateX(-50%);
    z-index: 1;
    border-radius: 10px;
    box-shadow: 0 0 10px #8a2be2, 0 0 20px #8a2be2, 0 0 30px #8a2be2;
    animation: lightSaber 2s infinite alternate;
    opacity: 0;
    transform-origin: top;
    transform: translateX(-50%) scaleY(0);
    transition: transform 1.5s ease-out, opacity 1s ease-out;
}

.timeline.animate::before {
    opacity: 1;
    transform: translateX(-50%) scaleY(1);
}

@keyframes lightSaber {
    0% {
        box-shadow: 0 0 5px #8a2be2, 0 0 10px #8a2be2, 0 0 15px #8a2be2;
    }
    100% {
        box-shadow: 0 0 15px #8a2be2, 0 0 30px #8a2be2, 0 0 45px #8a2be2;
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
    animation: itemAppear 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes itemAppear {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item:nth-child(odd) {
    padding-right: 50%;
    text-align: right;
}

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

.timeline-content {
    background: linear-gradient(135deg, rgba(50, 20, 100, 0.8), rgba(30, 10, 70, 0.9));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(147, 112, 219, 0.4);
    border-radius: 15px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    z-index: 1;
    color: #f8f0ff;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(165, 94, 234, 0.15), transparent);
    transform: translateX(-100%) skewX(-15deg);
    transition: transform 0.8s ease;
    z-index: -1;
}

.timeline-content:hover::before {
    transform: translateX(200%) skewX(-15deg);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    content: '';
    position: absolute;
    right: -10px;
    top: 30px;
    width: 20px;
    height: 20px;
    background: #8a2be2;
    transform: rotate(45deg);
    z-index: -1;
}

.timeline-item:nth-child(even) .timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 30px;
    width: 20px;
    height: 20px;
    background: #8a2be2;
    transform: rotate(45deg);
    z-index: -1;
}

.timeline-content::after {
    content: '';
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    background: #8a2be2;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(138, 43, 226, 0.3), 0 0 0 8px rgba(138, 43, 226, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content::after {
    right: -50px;
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -50px;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(147, 112, 219, 0.4);
    border-color: rgba(179, 136, 255, 0.6);
    background: linear-gradient(135deg, rgba(70, 35, 140, 0.9), rgba(40, 20, 90, 0.95));
}

.timeline-date {
    color: #b388ff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
    background: rgba(147, 112, 219, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid rgba(179, 136, 255, 0.4);
    text-shadow: 0 0 10px rgba(179, 136, 255, 0.3);
}

.timeline-content h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 10px 0 5px;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, #fff, #b388ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(179, 136, 255, 0.2);
}

.timeline-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #8a2be2;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.timeline-content:hover h3::after {
    width: 100%;
}

.timeline-content h4 {
    color: #c9a8ff;
    font-size: 1.1rem;
    margin: 5px 0 15px;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(201, 168, 255, 0.3);
}

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

.timeline-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    line-height: 1.7;
    color: #f0e6ff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.timeline-content ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: #b388ff;
    font-size: 1.2em;
    line-height: 1.4;
    text-shadow: 0 0 5px rgba(179, 136, 255, 0.5);
}

/* Floating shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.15;
    z-index: 0;
    animation: float 15s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #8a2be2, #4b0082);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #4b0082, #8a2be2);
    bottom: 15%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #8a2be2, #4b0082);
    top: 50%;
    right: 20%;
    animation-delay: 8s;
}

/* Glow effects */
.glow-effect {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    opacity: 0.3;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #8a2be2 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.glow-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #4b0082 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
}

/* Particles container */
#experience-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, 20px) rotate(5deg);
    }
    50% {
        transform: translate(0, 30px) rotate(0deg);
    }
    75% {
        transform: translate(-10px, 20px) rotate(-5deg);
    }
}

.floating-element-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.floating-element-2 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    right: 10%;
    animation-delay: 5s;
    border: 1px solid rgba(75, 0, 130, 0.3);
}

.floating-element-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    right: 15%;
    animation-delay: 10s;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .floating-shape {
        display: none;
    }
    
    .glow-effect {
        display: none;
    }
    
    .timeline {
        padding: 30px 15px;
    }
    
    .timeline-content {
        padding: 25px;
    }
    
    .timeline-item {
        padding: 0 20px !important;
    }
    
    .timeline::before {
        left: 40px !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::after,
    .timeline-item:nth-child(even) .timeline-content::after {
        left: 20px !important;
        right: auto !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: 30px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    .timeline {
        padding: 20px 10px !important;
    }
    
    .timeline::before {
        left: 25px !important;
    }
    
    .timeline-item {
        padding-left: 50px !important;
        padding-right: 10px !important;
        text-align: left !important;
        margin-bottom: 30px;
    }
    
    .timeline-content {
        padding: 20px 15px !important;
        margin: 0 !important;
        width: calc(100% - 20px) !important;
        max-width: 100% !important;
        margin-top: 10px;
    }
    
    /* Adjust the circle icon (::after) */
    .timeline-item:nth-child(odd) .timeline-content::after,
    .timeline-item:nth-child(even) .timeline-content::after {
        left: 15px !important;
        right: auto !important;
        top: 40px !important; /* Move down to avoid date overlap */
        width: 16px !important;
        height: 16px !important;
        box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.3), 0 0 0 6px rgba(138, 43, 226, 0.1) !important;
    }
    
    /* Adjust the square icon (::before) */
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: 25px !important;
        right: auto !important;
        top: 45px !important; /* Move down to align with circle */
        width: 16px !important;
        height: 16px !important;
        background: #8a2be2 !important;
        transform: rotate(45deg) scale(0.8) !important;
        z-index: 1 !important;
    }
    
    /* Adjust the timeline date to avoid icon overlap */
    .timeline-date {
        display: block !important;
        margin-left: 0 !important;
        margin-bottom: 15px !important;
        margin-top: 10px !important;
        padding: 4px 12px !important;
        font-size: 0.95rem !important;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem !important;
        margin-top: 5px !important;
        margin-bottom: 8px !important;
    }
    
    .timeline-content h4 {
        font-size: 0.95rem !important;
        margin: 5px 0 12px !important;
    }
    
    .timeline-content ul {
        padding-left: 18px !important;
        margin-top: 10px !important;
    }
    
    .timeline-content li {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 6px !important;
    }
    
    /* Adjust the timeline line position */
    .timeline::before {
        left: 32px !important;
    }
}

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

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

.timeline-item {
    margin-bottom: 40px;
    position: relative;
    width: 100%;
    padding: 0 40px;
    box-sizing: border-box;
}

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

.timeline-content {
    background: var(--secondary-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 111, 0, 0.2);
}

.timeline-date {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
}

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

.timeline-content h4 {
    font-size: 1rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 500;
}

.timeline-content ul {
    padding-left: 20px;
}

.timeline-content li {
    margin-bottom: 8px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 40px);
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 40px);
    text-align: left;
}

/* Achievements Section */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.achievement-item {
    background: var(--secondary-bg);
    padding: 30px 20px 25px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: visible;
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 111, 0, 0.2);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 111, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -40px auto 15px;
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    border: 2px solid var(--primary-bg);
}

.achievement-item:hover .achievement-icon {
    background: var(--accent-color);
    color: #000;
    transform: scale(1.1);
}

.achievement-item h3 {
    font-size: 1.1rem;
    margin: 15px 0 8px;
    color: var(--text-primary);
    padding: 0 5px;
}

.achievement-item p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
    margin: 0;
    padding: 0 5px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .achievement-item {
        padding: 25px 15px 20px;
    }
    
    .achievement-icon {
        width: 50px;
        height: 50px;
        margin: -30px auto 12px;
        font-size: 1.3rem;
    }
    
    .achievement-item h3 {
        font-size: 1rem;
        margin: 12px 0 6px;
    }
    
    .achievement-item p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* Education Section */
.education-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.education-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
    padding-left: 40px;
}

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

.education-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--accent-color);
}

.education-item::after {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 3px solid var(--primary-bg);
}

.education-date {
    min-width: 120px;
    padding-right: 30px;
    color: var(--accent-color);
    font-weight: 600;
    margin-top: 5px;
}

.education-content {
    flex: 1;
    background: var(--secondary-bg);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.education-item:hover .education-content {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 111, 0, 0.2);
}

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

.education-content h4 {
    font-size: 1rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-weight: 500;
}

.education-content p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Form Notifications */
@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to { 
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes progress {
    from { width: 100%; }
    to { width: 0; }
}

.form-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    background: rgba(25, 25, 40, 0.95);
    border-radius: 16px;
    padding: 0;
    z-index: 9999;
    animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}

.form-notification .notification-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem;
    position: relative;
}

.form-notification .notification-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.form-notification .notification-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    opacity: 0.15;
    z-index: -1;
}

.form-notification .notification-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 2.5;
}

.form-notification .notification-text h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.form-notification .notification-text p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    max-width: 320px;
}

.form-notification.success .notification-icon {
    color: #10b981;
}

.form-notification.success .notification-icon::before {
    background: #10b981;
}

.form-notification.error .notification-icon {
    color: #ef4444;
}

.form-notification.error .notification-icon::before {
    background: #ef4444;
}

.notification-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.6);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    margin: 0;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: rotate(90deg);
}

.notification-close svg {
    width: 16px;
    height: 16px;
    stroke-width: 3;
}

.notification-progress {
    height: 4px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.notification-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    animation: progress 5s linear forwards;
}

.form-notification.success .notification-progress::after {
    background: #10b981;
}

.form-notification.error .notification-progress::after {
    background: #ef4444;
}

/* Form reset animation */
@keyframes fadeIn {
    from { opacity: 0.7; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Contact Section */
#contact {
    position: relative;
    background: var(--bg-color);
    z-index: 1;
    padding: 5rem 0;
}

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

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

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

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 40px;
    text-align: center;
    padding-top: 0.25rem;
}

.contact-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-text p,
.contact-text a {
    margin: 0;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.6;
}

.contact-text a:hover {
    color: var(--primary-color);
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.02);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: fadeIn 0.5s ease-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

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

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

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

.contact-form button {
    width: 100%;
    padding: 12px;
    background: var(--accent-color);
    color: #000;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.contact-form button:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 111, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    #contact {
        padding: 4rem 0;
    }
    
    .contact-item {
        padding: 1.25rem;
    }
    
    .contact-form {
        padding: 1.75rem;
    }
}

@media (max-width: 480px) {
    #contact {
        padding: 3rem 0;
    }
    
    .contact-content {
        margin-top: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-info {
        align-items: center;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem 1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 1rem;
    }
    
    .contact-icon {
        margin-bottom: 0.75rem;
        margin-right: 0;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
}

/* Footer */
.footer {
    background: var(--secondary-bg);
    padding: 60px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: inline-block;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition);
}

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

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-color);
    color: #000;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    bottom: 30px;
}

.back-to-top:hover {
    background: #fff;
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .skills-container {
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .personal-info {
        grid-template-columns: 1fr;
    }
    
    .skills-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        cursor: pointer;
    }
    
    .hamburger .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: white;
        transition: var(--transition);
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--secondary-bg);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        padding: 20px 0;
        gap: 1.5rem;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .multilingual-greeting {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .about-content {
        text-align: center;
    }
    
    .info-item {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .skills-category {
        padding: 20px 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 120px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        margin-top: 1.5rem;
    }
    
    .hero-social {
        margin-top: 1.5rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .scroll-indicator {
        bottom: 30px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 5px 50px !important;
        min-height: 100vh !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
    }
    
    .hero .container {
        padding: 0 5px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    .hero-content {
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    /* Base styles */
    .hero-title {
        margin: 0 auto 0.5rem;
        text-align: center;
        line-height: 1.2;
    }
    
    .greeting-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .greeting-line {
        display: block;
        margin-bottom: 0.2rem;
    }
    
    .name-line {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.3em;
        font-size: 1.8rem;
    }
    
    .greeting-text {
        font-size: 1.5rem;
    }
    
    .highlight {
        font-size: 1.8rem;
        font-weight: bold;
        color: var(--accent-color);
    }
    
    .highlight {
        font-weight: bold;
    }
    
    /* Desktop styles */
    @media (min-width: 769px) {
        .greeting-wrapper {
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.3em;
        }
        
        .greeting-text,
        .name-container {
            display: inline;
        }
        
        .desktop-comma,
        .desktop-space {
            display: inline;
        }
        
        .mobile-break {
            display: none;
        }
    }
    
    /* Mobile styles */
    @media (max-width: 768px) {
        .desktop-comma,
        .desktop-space {
            display: none;
        }
        
        .greeting-text {
            margin-bottom: 0.2em;
        }
    }
    
    @media (max-width: 768px) {
        .hero-title {
            font-size: 1.8rem !important;
            margin: 0 auto 0.5rem !important;
        }
        
        .greeting-wrapper {
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            justify-content: center !important;
            width: 100% !important;
        }
        
        .greeting-container {
            font-size: 1.2em;
            margin-bottom: 0.2rem;
            white-space: nowrap;
        }
        
        .name-container {
            font-size: 1.5em;
            white-space: nowrap;
        }
        
        .highlight {
            white-space: nowrap;
        }
    }
    
    /* Extra small screens */
    @media (max-width: 480px) {
        .hero-title {
            font-size: 1.6rem !important;
            margin: 0 auto 0.3rem !important;
        }
        
        .greeting-container {
            font-size: 1.1em;
        }
        
        .name-container {
            font-size: 1.3em;
        }
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
        margin: 0.3rem auto 0.8rem !important;
        padding: 0 10px !important;
        max-width: 90% !important;
        line-height: 1.3 !important;
    }
    
    .hero-buttons {
        margin: 1rem auto 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
    }
    
    .cta-button {
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
        width: auto !important;
        display: inline-block !important;
        margin: 0 auto !important;
    }
    
    .hero-social {
        margin: 1rem auto 0 !important;
        gap: 0.6rem !important;
        justify-content: center !important;
        padding: 0 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .social-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.9rem !important;
    }
    
    .scroll-indicator {
        position: absolute !important;
        bottom: 10px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        font-size: 0.75rem !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .mouse {
        width: 20px !important;
        height: 30px !important;
        margin: 0 auto 5px !important;
    }
    
    .mouse::before {
        width: 2px !important;
        height: 4px !important;
    }
    
    .cta-button {
        padding: 8px 20px;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .skills-category h3 {
        font-size: 1.2rem;
    }
    
    .skill-info {
        font-size: 0.9rem;
    }
}

/* ============================================
   Education Section
   ============================================ */
#education {
    position: relative;
    overflow: hidden;
    background: #0a0a1a;
}

.education-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.8;
}

.education-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(75, 0, 130, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(138, 43, 226, 0.25) 0%, transparent 40%),
        linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 100%);
    z-index: 1;
}

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

.education-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(138, 43, 226, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(138, 43, 226, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridMove 20s linear infinite;
    z-index: 0;
}

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

/* Education Particle Animations */
@keyframes float-education {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.1;
    }
    25% {
        transform: translate(10px, -10px) scale(1.1);
        opacity: 0.3;
    }
    50% {
        transform: translate(20px, 10px) scale(0.9);
        opacity: 0.2;
    }
    75% {
        transform: translate(-10px, 15px) scale(1.05);
        opacity: 0.35;
    }
}

/* Floating Elements */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.15;
    z-index: 0;
    animation: float 25s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Glow Effects */
.glow-effect {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

/* Particles Container */
#education-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Ensure content stays above background elements */
.education-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
    z-index: 1;
}

/* Education Particles */
.education-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    will-change: transform, opacity;
}

.education-connection-line {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

/* Floating Animation for Education Section */
@keyframes float-education {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.1;
    }
    25% {
        transform: translate(10px, -10px) scale(1.1);
        opacity: 0.3;
    }
    50% {
        transform: translate(20px, 10px) scale(0.9);
        opacity: 0.2;
    }
    75% {
        transform: translate(-10px, 15px) scale(1.05);
        opacity: 0.35;
    }
}

.education-item {
    position: relative;
    display: flex;
    margin-bottom: 60px;
    background: linear-gradient(135deg, rgba(40, 25, 90, 0.8), rgba(25, 15, 60, 0.9));
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(138, 43, 226, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    z-index: 1;
}

.education-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(165, 94, 234, 0.1), transparent);
    transform: translateX(-100%) skewX(-15deg);
    transition: transform 0.8s ease;
    z-index: -1;
}

.education-item:hover::before {
    transform: translateX(200%) skewX(-15deg);
}

.education-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(138, 43, 226, 0.3);
    border-color: rgba(197, 155, 255, 0.6);
    background: linear-gradient(135deg, rgba(60, 35, 120, 0.9), rgba(35, 20, 80, 0.95));
}

.education-icon {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(165, 94, 234, 0.3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    flex-shrink: 0;
    color: #c9a8ff;
    font-size: 1.5rem;
    border: 2px solid rgba(197, 155, 255, 0.4);
    box-shadow: 0 0 20px rgba(201, 168, 255, 0.2);
}

.education-line {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, #8a2be2, transparent);
}

.education-content {
    flex: 1;
}

.education-date {
    display: inline-block;
    background: rgba(138, 43, 226, 0.2);
    color: #c9a8ff;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
    border: 1px solid rgba(197, 155, 255, 0.4);
}

.education-content h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 5px 0 10px;
    background: linear-gradient(90deg, #fff, #c9a8ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(201, 168, 255, 0.2);
}

.education-content h4 {
    color: #d1b3ff;
    font-size: 1.1rem;
    margin: 0 0 15px;
    font-weight: 500;
}

.education-details {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.education-grade,
.education-location {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #b388ff;
    font-size: 0.95rem;
}

.education-grade i,
.education-location i {
    color: #8a2be2;
}

.education-description {
    color: #e6e6ff;
    line-height: 1.7;
    margin-bottom: 15px;
}

.education-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.education-tags span {
    background: rgba(138, 43, 226, 0.2);
    color: #c9a8ff;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(197, 155, 255, 0.3);
    transition: all 0.3s ease;
}

.education-tags span:hover {
    background: rgba(138, 43, 226, 0.4);
    transform: translateY(-2px);
}

/* Education Background Elements */
.edu-shape-1 {
    width: 250px;
    height: 250px;
    background: linear-gradient(45deg, #4b0082, #8a2be2);
    top: 10%;
    right: 5%;
    animation-delay: 2s;
}

.edu-shape-2 {
    width: 180px;
    height: 180px;
    background: linear-gradient(45deg, #8a2be2, #4b0082);
    bottom: 15%;
    left: 8%;
    animation-delay: 6s;
}

.edu-shape-3 {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #4b0082, #8a2be2);
    top: 50%;
    right: 20%;
    animation-delay: 10s;
}

.edu-glow-1 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #4b0082 0%, transparent 70%);
    top: -50px;
    left: -100px;
    opacity: 0.2;
}

.edu-glow-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #8a2be2 0%, transparent 70%);
    bottom: -50px;
    right: -100px;
    opacity: 0.15;
}

/* Responsive Design */
@media (max-width: 992px) {
    .education-item {
        flex-direction: column;
        padding: 25px;
    }
    
    .education-icon {
        margin: 0 auto 20px;
    }
    
    .education-line {
        display: none;
    }
    
    .education-content {
        text-align: center;
    }
    
    .education-details {
        justify-content: center;
    }
    
    .education-tags {
        justify-content: center;
    }
    
    .edu-shape-1,
    .edu-shape-2,
    .edu-shape-3 {
        display: none;
    }
}

@media (max-width: 576px) {
    .education-details {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .education-content h3 {
        font-size: 1.3rem;
    }
    
    .education-content h4 {
        font-size: 1rem;
    }
}
