/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-blue: #0bd9f4;
    --primary-green: #00e676;
    --primary-purple: #d500f9;
    --gradient: linear-gradient(135deg, var(--primary-blue), var(--primary-green), var(--primary-purple));
    --gradient-hover: linear-gradient(135deg, var(--primary-purple), var(--primary-blue), var(--primary-green));
    
    /* Dark Theme Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(142, 224, 211, 0.37);
    
    /* Typography */
    --font-family: 'Poppins', sans-serif;
    --font-size-xl: 3.5rem;
    --font-size-lg: 2.5rem;
    --font-size-md: 1.5rem;
    --font-size-sm: 1rem;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Border Radius */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
}

/* ==================== ANIMATED BACKGROUND ELEMENTS ==================== */

/* Background Animation Container */
.bg-animation-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

/* Floating Tech Icons */
.floating-tech-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.tech-particle {
    position: absolute;
    font-size: 1.5rem;
    color: rgba(11, 217, 244, 0.5);
    animation: floatTech 20s infinite linear;
    opacity: 0;
}

.tech-particle i {
    display: block;
    animation: pulse 3s infinite ease-in-out;
}

@keyframes floatTech {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        color: rgba(11, 217, 244, 0.4);
    }
    50% {
        transform: scale(1.2);
        color: rgba(0, 230, 118, 0.7);
    }
}

/* Tech particle specific positions and delays */
.tech-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.tech-particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.tech-particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.tech-particle:nth-child(4) { left: 40%; animation-delay: 6s; }
.tech-particle:nth-child(5) { left: 50%; animation-delay: 8s; }
.tech-particle:nth-child(6) { left: 60%; animation-delay: 10s; }
.tech-particle:nth-child(7) { left: 70%; animation-delay: 12s; }
.tech-particle:nth-child(8) { left: 80%; animation-delay: 14s; }
.tech-particle:nth-child(9) { left: 90%; animation-delay: 16s; }
.tech-particle:nth-child(10) { left: 15%; animation-delay: 18s; }
.tech-particle:nth-child(11) { left: 25%; animation-delay: 1s; }
.tech-particle:nth-child(12) { left: 75%; animation-delay: 3s; }

/* Geometric Shapes */
.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    animation: geometricFloat 15s infinite ease-in-out;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 26px solid rgba(213, 0, 249, 0.2);
    top: 20%;
    left: 80%;
    animation-delay: 0s;
}

.circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(11, 217, 244, 0.2);
    top: 60%;
    left: 10%;
    animation-delay: 2s;
}

.square {
    width: 25px;
    height: 25px;
    background: rgba(0, 230, 118, 0.2);
    transform: rotate(45deg);
    top: 40%;
    left: 70%;
    animation-delay: 4s;
}

.hexagon {
    width: 30px;
    height: 26px;
    background: rgba(213, 0, 249, 0.2);
    position: relative;
    top: 80%;
    left: 50%;
    animation-delay: 6s;
}

.hexagon:before,
.hexagon:after {
    content: "";
    position: absolute;
    width: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
}

.hexagon:before {
    bottom: 100%;
    border-bottom: 7px solid rgba(213, 0, 249, 0.2);
}

.hexagon:after {
    top: 100%;
    border-top: 7px solid rgba(213, 0, 249, 0.2);
}

.diamond {
    width: 20px;
    height: 20px;
    background: rgba(11, 217, 244, 0.2);
    transform: rotate(45deg);
    top: 30%;
    left: 20%;
    animation-delay: 8s;
}

.pentagon {
    position: relative;
    width: 25px;
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: rgba(0, 230, 118, 0.2) transparent;
    top: 70%;
    left: 90%;
    animation-delay: 10s;
}

.pentagon:before {
    content: "";
    position: absolute;
    height: 0;
    width: 0;
    top: -13px;
    left: -8px;
    border-width: 0 12.5px 8px;
    border-style: solid;
    border-color: transparent transparent rgba(0, 230, 118, 0.2);
}

@keyframes geometricFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-20px) rotate(90deg) scale(1.1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-40px) rotate(180deg) scale(0.9);
        opacity: 1;
    }
    75% {
        transform: translateY(-20px) rotate(270deg) scale(1.1);
        opacity: 0.7;
    }
}

/* Data Streams */
.data-streams {
    position: absolute;
    width: 100%;
    height: 100%;
}

.data-stream {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: streamFlow 10s infinite linear;
}

.data-stream.stream-1 {
    left: 5%;
    animation-delay: 0s;
}

.data-stream.stream-2 {
    left: 50%;
    animation-delay: 3s;
}

.data-stream.stream-3 {
    right: 5%;
    animation-delay: 6s;
}

.data-bit {
    background: rgba(11, 217, 244, 0.15);
    border: 1px solid rgba(11, 217, 244, 0.4);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: rgba(11, 217, 244, 0.9);
    font-family: 'Courier New', monospace;
    animation: dataBlink 1s infinite alternate;
}

@keyframes streamFlow {
    0% {
        transform: translateY(100vh);
    }
    100% {
        transform: translateY(-100px);
    }
}

@keyframes dataBlink {
    0% {
        opacity: 0.5;
        box-shadow: 0 0 5px rgba(11, 217, 244, 0.2);
    }
    100% {
        opacity: 1;
        box-shadow: 0 0 15px rgba(11, 217, 244, 0.5);
    }
}

/* Connection Lines */
.connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.connection-svg {
    width: 100%;
    height: 100%;
}

.connection-line {
    stroke: url(#lineGradient);
    stroke-width: 1;
    fill: none;
    opacity: 0;
    animation: connectionPulse 4s infinite ease-in-out;
}

@keyframes connectionPulse {
    0%, 100% {
        opacity: 0;
        stroke-width: 1;
    }
    50% {
        opacity: 0.6;
        stroke-width: 2;
    }
}

/* Matrix Rain Effect */
.matrix-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

#matrixCanvas {
    width: 100%;
    height: 100%;
}

/* Floating Bubbles */
.floating-bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.bubble {
    position: absolute;
    background: radial-gradient(circle at 30% 30%, rgba(11, 217, 244, 0.2), rgba(0, 230, 118, 0.1));
    border-radius: 50%;
    animation: bubbleFloat 8s infinite ease-in-out;
}

.bubble-1 {
    width: 60px;
    height: 60px;
    left: 10%;
    bottom: -60px;
    animation-delay: 0s;
}

.bubble-2 {
    width: 40px;
    height: 40px;
    left: 20%;
    bottom: -40px;
    animation-delay: 1s;
}

.bubble-3 {
    width: 80px;
    height: 80px;
    left: 40%;
    bottom: -80px;
    animation-delay: 2s;
}

.bubble-4 {
    width: 35px;
    height: 35px;
    left: 60%;
    bottom: -35px;
    animation-delay: 3s;
}

.bubble-5 {
    width: 55px;
    height: 55px;
    left: 70%;
    bottom: -55px;
    animation-delay: 4s;
}

.bubble-6 {
    width: 45px;
    height: 45px;
    left: 85%;
    bottom: -45px;
    animation-delay: 5s;
}

.bubble-7 {
    width: 70px;
    height: 70px;
    left: 5%;
    bottom: -70px;
    animation-delay: 6s;
}

.bubble-8 {
    width: 50px;
    height: 50px;
    left: 90%;
    bottom: -50px;
    animation-delay: 7s;
}

@keyframes bubbleFloat {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Particle System */
.particle-system {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

#particleCanvas {
    width: 100%;
    height: 100%;
}

/* Scroll-based Animations */
@media (prefers-reduced-motion: reduce) {
    .tech-particle,
    .shape,
    .data-stream,
    .bubble {
        animation: none;
    }
    
    .bg-animation-container {
        display: none;
    }
}

/* Responsive adjustments for animations */
@media (max-width: 768px) {
    .tech-particle {
        font-size: 1rem;
    }
    
    .shape {
        transform: scale(0.7);
    }
    
    .bubble {
        transform: scale(0.8);
    }
    
    .data-bit {
        font-size: 0.7rem;
        padding: 2px 4px;
    }
    
    /* Hide chatbot on mobile */
    .chat-widget {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .floating-tech-icons {
        opacity: 0.5;
    }
    
    .geometric-shapes {
        opacity: 0.3;
    }
    
    .data-streams {
        opacity: 0.4;
    }
    
    /* Ensure chatbot is hidden on small screens */
    .chat-widget {
        display: none !important;
    }
}

/* ==================== ENHANCED SECTION-SPECIFIC ANIMATIONS ==================== */

/* About Section - Data Flow & Keywords Animation */
#about {
    position: relative;
    overflow: hidden;
}

.about-animation-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.data-flow-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.flow-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(11, 217, 244, 0.6), transparent);
    height: 2px;
    animation: dataFlow 8s ease-in-out infinite;
}

.line-1 { top: 20%; width: 60%; left: -60%; animation-delay: 0s; }
.line-2 { top: 40%; width: 80%; right: -80%; animation-delay: 2s; }
.line-3 { top: 60%; width: 50%; left: -50%; animation-delay: 4s; }
.line-4 { top: 80%; width: 70%; right: -70%; animation-delay: 6s; }

@keyframes dataFlow {
    0% { transform: translateX(0); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateX(100vw); opacity: 0; }
}

.floating-keywords {
    position: absolute;
    width: 100%;
    height: 100%;
}

.keyword {
    position: absolute;
    background: rgba(11, 217, 244, 0.15);
    border: 1px solid rgba(11, 217, 244, 0.4);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: rgba(11, 217, 244, 0.9);
    animation: floatKeyword 12s ease-in-out infinite;
    backdrop-filter: blur(5px);
}

.k1 { top: 10%; left: 80%; animation-delay: 0s; }
.k2 { top: 25%; left: 5%; animation-delay: 1.5s; }
.k3 { top: 45%; right: 10%; animation-delay: 3s; }
.k4 { top: 65%; left: 15%; animation-delay: 4.5s; }
.k5 { top: 30%; right: 25%; animation-delay: 6s; }
.k6 { top: 70%; right: 5%; animation-delay: 7.5s; }
.k7 { top: 15%; left: 30%; animation-delay: 9s; }
.k8 { top: 85%; left: 60%; animation-delay: 10.5s; }

@keyframes floatKeyword {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    25% { transform: translateY(-15px) rotate(2deg); opacity: 1; }
    50% { transform: translateY(-30px) rotate(-1deg); opacity: 0.8; }
    75% { transform: translateY(-15px) rotate(1deg); opacity: 1; }
}

.animated-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.icon-element {
    position: absolute;
    font-size: 2rem;
    color: rgba(0, 230, 118, 0.6);
    animation: iconPulse 6s ease-in-out infinite;
}

.icon-1 { top: 20%; right: 20%; animation-delay: 0s; }
.icon-2 { top: 60%; left: 10%; animation-delay: 1.5s; }
.icon-3 { top: 40%; left: 70%; animation-delay: 3s; }
.icon-4 { top: 80%; right: 40%; animation-delay: 4.5s; }

@keyframes iconPulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.4; }
    50% { transform: scale(1.3) rotate(15deg); opacity: 0.8; }
}

/* Enhanced About Section Cards */
.intro-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.intro-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.intro-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(11, 217, 244, 0.2);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(11, 217, 244, 0.1), transparent);
    transition: left 0.5s ease;
}

.intro-card:hover::before {
    left: 100%;
}

.intro-card:hover {
    transform: translateY(-5px);
    border-color: rgba(11, 217, 244, 0.4);
    box-shadow: 0 10px 30px rgba(11, 217, 244, 0.1);
}

.intro-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.intro-card h3 i {
    font-size: 1.5rem;
}

.highlight-text {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* Education Section Animation */
#education {
    position: relative;
    overflow: hidden;
}

.education-animation-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.timeline-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(213, 0, 249, 0.8);
    border-radius: 50%;
    animation: particleMove 10s linear infinite;
}

.p1 { top: 20%; left: 10%; animation-delay: 0s; }
.p2 { top: 40%; right: 15%; animation-delay: 2s; }
.p3 { top: 60%; left: 20%; animation-delay: 4s; }
.p4 { top: 80%; right: 25%; animation-delay: 6s; }
.p5 { top: 30%; left: 60%; animation-delay: 8s; }

@keyframes particleMove {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(-50px) scale(1.5); opacity: 1; }
}

.knowledge-symbols {
    position: absolute;
    width: 100%;
    height: 100%;
}

.symbol {
    position: absolute;
    font-size: 2rem;
    animation: symbolFloat 8s ease-in-out infinite;
}

.s1 { top: 15%; left: 80%; animation-delay: 0s; }
.s2 { top: 35%; right: 10%; animation-delay: 1.6s; }
.s3 { top: 55%; left: 15%; animation-delay: 3.2s; }
.s4 { top: 75%; right: 20%; animation-delay: 4.8s; }
.s5 { top: 25%; left: 50%; animation-delay: 6.4s; }

@keyframes symbolFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(-10px) rotate(240deg); }
}

.growth-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.growth-line {
    position: absolute;
    background: linear-gradient(45deg, rgba(213, 0, 249, 0.5), rgba(11, 217, 244, 0.5));
    height: 3px;
    animation: growthExpand 6s ease-in-out infinite;
}

.gl1 { top: 25%; left: 0; width: 40%; animation-delay: 0s; }
.gl2 { top: 50%; right: 0; width: 35%; animation-delay: 2s; }
.gl3 { top: 75%; left: 10%; width: 50%; animation-delay: 4s; }

@keyframes growthExpand {
    0%, 100% { transform: scaleX(0); opacity: 0.3; }
    50% { transform: scaleX(1); opacity: 1; }
}

/* Projects Section Animation */
#projects {
    position: relative;
    overflow: hidden;
}

.projects-animation-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.code-matrix {
    position: absolute;
    width: 100%;
    height: 100%;
}

.matrix-line {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 3rem;
    color: rgba(11, 217, 244, 0.4);
    animation: matrixCode 12s linear infinite;
    font-weight: bold;
}

.ml1 { top: 10%; left: 5%; animation-delay: 0s; }
.ml2 { top: 30%; right: 10%; animation-delay: 2.4s; }
.ml3 { top: 50%; left: 15%; animation-delay: 4.8s; }
.ml4 { top: 70%; right: 20%; animation-delay: 7.2s; }
.ml5 { top: 85%; left: 40%; animation-delay: 9.6s; }

@keyframes matrixCode {
    0%, 100% { transform: scale(0.5) rotate(0deg); opacity: 0.1; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.4; }
}

.project-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    font-size: 2.5rem;
    color: rgba(0, 230, 118, 0.7);
    animation: elementOrbit 15s linear infinite;
}

.e1 { top: 20%; right: 25%; animation-delay: 0s; }
.e2 { top: 60%; left: 25%; animation-delay: 3.75s; }
.e3 { top: 40%; right: 5%; animation-delay: 7.5s; }
.e4 { top: 80%; left: 60%; animation-delay: 11.25s; }

@keyframes elementOrbit {
    0% { transform: rotate(0deg) translateX(50px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(50px) rotate(-360deg); }
}

.creative-sparks {
    position: absolute;
    width: 100%;
    height: 100%;
}

.spark {
    position: absolute;
    font-size: 1.5rem;
    animation: sparkBurst 4s ease-in-out infinite;
}

.sp1 { top: 25%; left: 70%; animation-delay: 0s; }
.sp2 { top: 45%; left: 20%; animation-delay: 1s; }
.sp3 { top: 65%; right: 15%; animation-delay: 2s; }
.sp4 { top: 15%; left: 45%; animation-delay: 3s; }

@keyframes sparkBurst {
    0%, 100% { transform: scale(0.5); opacity: 0.3; }
    50% { transform: scale(1.5); opacity: 1; }
}

/* AI Business Projects Animation */
#ai-business-projects {
    position: relative;
    overflow: hidden;
}

.ai-animation-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.neural-waves {
    position: absolute;
    width: 100%;
    height: 100%;
}

.wave {
    position: absolute;
    border: 2px solid rgba(213, 0, 249, 0.3);
    border-radius: 50%;
    animation: neuralWave 8s ease-in-out infinite;
}

.w1 { top: 30%; left: 20%; width: 100px; height: 100px; animation-delay: 0s; }
.w2 { top: 50%; right: 25%; width: 150px; height: 150px; animation-delay: 2.67s; }
.w3 { top: 70%; left: 50%; width: 80px; height: 80px; animation-delay: 5.34s; }

@keyframes neuralWave {
    0%, 100% { transform: scale(0.5); opacity: 0.3; }
    50% { transform: scale(2); opacity: 0.8; }
}

.ai-symbols {
    position: absolute;
    width: 100%;
    height: 100%;
}

.ai-symbol {
    position: absolute;
    font-size: 2rem;
    animation: aiFloat 10s ease-in-out infinite;
}

.as1 { top: 20%; left: 10%; animation-delay: 0s; }
.as2 { top: 60%; right: 15%; animation-delay: 2.5s; }
.as3 { top: 40%; left: 70%; animation-delay: 5s; }
.as4 { top: 80%; left: 30%; animation-delay: 7.5s; }

@keyframes aiFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-25px) rotate(90deg); }
    50% { transform: translateY(-50px) rotate(180deg); }
    75% { transform: translateY(-25px) rotate(270deg); }
}

.innovation-rings {
    position: absolute;
    width: 100%;
    height: 100%;
}

.ring {
    position: absolute;
    border: 1px solid rgba(11, 217, 244, 0.4);
    border-radius: 50%;
    animation: ringRotate 20s linear infinite;
}

.r1 { top: 25%; left: 60%; width: 80px; height: 80px; animation-delay: 0s; }
.r2 { top: 45%; left: 30%; width: 120px; height: 120px; animation-delay: 6.67s; }
.r3 { top: 65%; right: 20%; width: 60px; height: 60px; animation-delay: 13.34s; }

@keyframes ringRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Skills Section Animation */
#skills {
    position: relative;
    overflow: hidden;
}

.skills-animation-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.skill-orbits {
    position: absolute;
    width: 100%;
    height: 100%;
}

.skill-orbit {
    position: absolute;
    border: 2px solid rgba(11, 217, 244, 0.3);
    border-radius: 50%;
    animation: skillOrbit 15s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.so1 { top: 20%; left: 10%; width: 100px; height: 100px; animation-delay: 0s; }
.so2 { top: 50%; right: 15%; width: 120px; height: 120px; animation-delay: 5s; }
.so3 { top: 70%; left: 40%; width: 80px; height: 80px; animation-delay: 10s; }

.orbit-skill {
    color: rgba(11, 217, 244, 0.8);
    font-weight: 600;
    font-size: 0.9rem;
    animation: skillText 15s linear infinite reverse;
}

@keyframes skillOrbit {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes skillText {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

.tech-constellation {
    position: absolute;
    width: 100%;
    height: 100%;
}

.tech-star {
    position: absolute;
    font-size: 1.5rem;
    color: rgba(0, 230, 118, 0.6);
    animation: starTwinkle 3s ease-in-out infinite;
}

.ts1 { top: 15%; left: 75%; animation-delay: 0s; }
.ts2 { top: 35%; left: 25%; animation-delay: 0.6s; }
.ts3 { top: 55%; right: 10%; animation-delay: 1.2s; }
.ts4 { top: 75%; left: 60%; animation-delay: 1.8s; }
.ts5 { top: 25%; right: 40%; animation-delay: 2.4s; }

@keyframes starTwinkle {
    0%, 100% { transform: scale(0.8); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; }
}

/* Certificates Section Animation */
#certificates {
    position: relative;
    overflow: hidden;
}

.certificates-animation-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.achievement-rays {
    position: absolute;
    width: 100%;
    height: 100%;
}

.ray {
    position: absolute;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.3), transparent);
    transform-origin: center;
    animation: rayRotate 12s linear infinite;
}

.r1 { top: 50%; left: 50%; width: 200px; height: 3px; animation-delay: 0s; }
.r2 { top: 50%; left: 50%; width: 180px; height: 2px; animation-delay: 2s; }
.r3 { top: 50%; left: 50%; width: 220px; height: 3px; animation-delay: 4s; }
.r4 { top: 50%; left: 50%; width: 160px; height: 2px; animation-delay: 6s; }
.r5 { top: 50%; left: 50%; width: 190px; height: 3px; animation-delay: 8s; }
.r6 { top: 50%; left: 50%; width: 170px; height: 2px; animation-delay: 10s; }

@keyframes rayRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); opacity: 0.3; }
    50% { opacity: 0.8; }
    100% { transform: translate(-50%, -50%) rotate(360deg); opacity: 0.3; }
}

.floating-badges {
    position: absolute;
    width: 100%;
    height: 100%;
}

.badge {
    position: absolute;
    font-size: 2rem;
    animation: badgeFloat 3s ease-in-out infinite;
}

.b1 { top: 20%; left: 15%; animation-delay: 0s; }
.b2 { top: 35%; right: 20%; animation-delay: 1.6s; }
.b3 { top: 65%; left: 25%; animation-delay: 3.2s; }
.b4 { top: 80%; right: 30%; animation-delay: 4.8s; }
.b5 { top: 40%; left: 70%; animation-delay: 6.4s; }

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(5deg); }
    50% { transform: translateY(-30px) rotate(-5deg); }
    75% { transform: translateY(-15px) rotate(3deg); }
}

.success-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.success-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 215, 0, 0.8);
    border-radius: 50%;
    animation: particleBurst 5s ease-out infinite;
}

.sp1 { top: 30%; left: 60%; animation-delay: 0s; }
.sp2 { top: 50%; left: 20%; animation-delay: 1.25s; }
.sp3 { top: 70%; right: 25%; animation-delay: 2.5s; }
.sp4 { top: 40%; right: 45%; animation-delay: 3.75s; }

@keyframes particleBurst {
    0% { transform: scale(0) translateY(0); opacity: 1; }
    50% { transform: scale(1.5) translateY(-30px); opacity: 0.8; }
    100% { transform: scale(0) translateY(-60px); opacity: 0; }
}

/* Contact Section Animation */
#contact {
    position: relative;
    overflow: hidden;
}

.contact-animation-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.communication-signals {
    position: absolute;
    width: 100%;
    height: 100%;
}

.signal {
    position: absolute;
    border: 2px solid rgba(11, 217, 244, 0.4);
    border-radius: 50%;
    animation: signalPulse 4s ease-out infinite;
}

.s1 { top: 30%; left: 20%; width: 60px; height: 60px; animation-delay: 0s; }
.s2 { top: 50%; right: 25%; width: 80px; height: 80px; animation-delay: 1s; }
.s3 { top: 70%; left: 40%; width: 50px; height: 50px; animation-delay: 2s; }
.s4 { top: 20%; right: 15%; width: 70px; height: 70px; animation-delay: 3s; }

@keyframes signalPulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

.network-nodes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: rgba(0, 230, 118, 0.6);
    border-radius: 50%;
    animation: nodeConnect 6s ease-in-out infinite;
}

.n1 { top: 25%; left: 30%; animation-delay: 0s; }
.n2 { top: 45%; right: 35%; animation-delay: 1.2s; }
.n3 { top: 65%; left: 20%; animation-delay: 2.4s; }
.n4 { top: 35%; left: 60%; animation-delay: 3.6s; }
.n5 { top: 75%; right: 20%; animation-delay: 4.8s; }

@keyframes nodeConnect {
    0%, 100% { transform: scale(1); opacity: 0.6; box-shadow: 0 0 10px rgba(0, 230, 118, 0.3); }
    50% { transform: scale(1.5); opacity: 1; box-shadow: 0 0 20px rgba(0, 230, 118, 0.8); }
}

.message-flow {
    position: absolute;
    width: 100%;
    height: 100%;
}

.message {
    position: absolute;
    font-size: 1.5rem;
    animation: messageTravel 10s linear infinite;
}

.m1 { top: 20%; left: 0%; animation-delay: 0s; }
.m2 { top: 40%; right: 0%; animation-delay: 2.5s; }
.m3 { top: 60%; left: 0%; animation-delay: 5s; }
.m4 { top: 80%; right: 0%; animation-delay: 7.5s; }

@keyframes messageTravel {
    0% { transform: translateX(-50px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(calc(100vw + 50px)); opacity: 0; }
}

/* ==================== MOBILE RESPONSIVENESS FOR SECTION ANIMATIONS ==================== */

@media (max-width: 768px) {
    /* Hide chatbot on mobile */
    .chat-widget,
    #chatWidget {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    /* About Section Mobile */
    .intro-section {
        gap: 1rem;
    }
    
    .intro-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .intro-card {
        padding: 1.5rem;
    }
    
    .keyword {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
    
    .icon-element {
        font-size: 1.5rem;
    }
    
    /* Education Section Mobile */
    .particle {
        width: 6px;
        height: 6px;
    }
    
    .symbol {
        font-size: 1.5rem;
    }
    
    .growth-line {
        height: 2px;
    }
    
    /* Projects Section Mobile */
    .matrix-line {
        font-size: 2rem;
    }
    
    .element {
        font-size: 2rem;
    }
    
    .spark {
        font-size: 1.2rem;
    }
    
    /* AI Section Mobile */
    .wave {
        width: 60px !important;
        height: 60px !important;
    }
    
    .ai-symbol {
        font-size: 1.5rem;
    }
    
    .ring {
        width: 50px !important;
        height: 50px !important;
    }
    
    /* Skills Section Mobile */
    .skill-orbit {
        width: 70px !important;
        height: 70px !important;
    }
    
    .orbit-skill {
        font-size: 0.7rem;
    }
    
    .tech-star {
        font-size: 1.2rem;
    }
    
    /* Certificates Section Mobile */
    .ray {
        width: 120px !important;
        height: 2px !important;
    }
    
    .badge {
        font-size: 1.5rem;
    }
    
    .success-particle {
        width: 4px;
        height: 4px;
    }
    
    /* Contact Section Mobile */
    .signal {
        width: 40px !important;
        height: 40px !important;
    }
    
    .node {
        width: 8px;
        height: 8px;
    }
    
    .message {
        font-size: 1.2rem;
    }
    
    /* Reduce animation intensity on mobile */
    .data-flow-lines,
    .floating-keywords,
    .animated-icons,
    .timeline-particles,
    .knowledge-symbols,
    .growth-lines,
    .code-matrix,
    .project-elements,
    .creative-sparks,
    .neural-waves,
    .ai-symbols,
    .innovation-rings,
    .skill-orbits,
    .tech-constellation,
    .achievement-rays,
    .floating-badges,
    .success-particles,
    .communication-signals,
    .network-nodes,
    .message-flow {
        opacity: 0.7;
    }
}

@media (max-width: 480px) {
    /* Further reduce for very small screens */
    .intro-card {
        padding: 1rem;
    }
    
    .intro-card h3 {
        font-size: 1rem;
    }
    
    .keyword {
        font-size: 0.6rem;
        padding: 2px 6px;
    }
    
    .matrix-line {
        font-size: 1.5rem;
    }
    
    .element,
    .ai-symbol {
        font-size: 1.5rem;
    }
    
    .badge {
        font-size: 1.2rem;
    }
    
    /* Hide some complex animations on very small screens */
    .data-flow-lines,
    .growth-lines,
    .achievement-rays {
        opacity: 0.3;
    }
}

/* Touch device optimizations */
@media (pointer: coarse) {
    .chat-widget {
        display: none !important;
    }
    
    /* Disable hover effects on touch devices */
    .intro-card:hover {
        transform: none;
    }
    
    /* Reduce animation complexity */
    .floating-keywords .keyword,
    .animated-icons .icon-element,
    .timeline-particles .particle,
    .code-matrix .matrix-line,
    .project-elements .element {
        animation-duration: 20s;
    }
}

/* Landscape mobile optimizations */
@media (max-height: 600px) and (orientation: landscape) {
    .skill-orbit {
        width: 60px !important;
        height: 60px !important;
    }
    
    .wave {
        width: 50px !important;
        height: 50px !important;
    }
    
    .signal {
        width: 30px !important;
        height: 30px !important;
    }
}

/* Mobile Responsiveness for Section Animations */
@media (max-width: 768px) {
    .binary-column {
        font-size: 10px;
    }
    
    .orbit {
        width: 100px !important;
        height: 100px !important;
    }
    
    .code-block {
        font-size: 8px;
        padding: 5px;
    }
    
    .neural-node {
        width: 8px;
        height: 8px;
    }
    
    .sparkle {
        font-size: 12px;
    }
    
    .communication-waves {
        width: 200px;
        height: 200px;
    }
    
    .wave {
        max-width: 200px;
        max-height: 200px;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 768px), (max-height: 768px) {
    /* Force hide chatbot on mobile */
    .chat-widget,
    #chatWidget {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    /* Reduce animation complexity on mobile */
    .bg-animation-container {
        opacity: 0.5;
    }
    
    .tech-particle,
    .shape,
    .bubble {
        animation-duration: 25s !important;
    }
    
    /* Optimize section animations for mobile */
    .binary-column {
        animation-duration: 12s !important;
    }
    
    .neural-node,
    .neural-connection {
        animation-duration: 4s !important;
    }
    
    .sparkle {
        animation-duration: 6s !important;
    }
}

/* Touch device optimizations */
@media (pointer: coarse) {
    .chat-widget {
        display: none !important;
    }
    
    /* Disable hover effects on touch devices */
    .tech-particle:hover,
    .shape:hover {
        transform: none !important;
    }
}

/* Landscape mobile optimizations */
@media (max-height: 600px) and (orientation: landscape) {
    .communication-waves {
        width: 150px !important;
        height: 150px !important;
    }
    
    .orbit {
        width: 80px !important;
        height: 80px !important;
    }
}

/* Light Theme */
[data-theme="light"] {
    /*--bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #212529;
    --text-secondary: #495057;
    --text-muted: #6c757d;
    --glass-bg: rgba(0, 0, 0, 0.1);
    --glass-border: rgba(0, 0, 0, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);*/
    --bg-primary: #0d1117;          /* Main background – deep navy */
    --bg-secondary: #161b22;        /* Section background – dark slate */
    --bg-tertiary: #1f2937;         /* Card background – charcoal gray */
    
    --text-primary: #ffffff;        /* Main text – white */
    --text-secondary: #80db17;      /* Secondary text – soft gray-blue */
    --text-muted: #8b949e;          /* Muted text – slate gray */

    --glass-bg: rgba(255, 255, 255, 0.05);      /* Glassmorphism background */
    --glass-border: rgba(255, 255, 255, 0.08);  /* Border with contrast */
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.35); /* Soft, dark glow */

    --accent-blue: #0bd800;         /* CTA and links – bright cyan-blue */
    --accent-purple: #8338ec;       /* Gradient start – vibrant purple */
    --accent-green: #3ecf8e;        /* Gradient end – mint green */
    --accent-gradient: linear-gradient(135deg, #00b4d8, #3ecf8e);
    }

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: #000;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}



/* Glass overlay effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(11, 217, 244, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(213, 0, 249, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(0, 230, 118, 0.08) 0%, transparent 50%);
    z-index: -2;
    pointer-events: none;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    display: flex;
    gap: 10px;
}

.loader .circle {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--gradient);
    animation: bounce 1.4s ease-in-out infinite both;
}

.loader .circle:nth-child(1) { animation-delay: -0.32s; }
.loader .circle:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all var(--transition-medium);
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

.theme-toggle {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    background: var(--glass-border);
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(41, 121, 255, 0.1) 0%, transparent 70%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--font-size-md);
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.typewriter-container {
    height: 2.5rem;
    margin-bottom: 1.5rem;
}

.typewriter {
    font-size: 1.25rem;
    font-weight: 600;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typewriter::after {
    content: '|';
    color: var(--primary-blue);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 10px 30px rgba(41, 121, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(41, 121, 255, 0.4);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--glass-border);
    transform: translateY(-3px);
}

.animated-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 2.25rem;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    color: var(--text-primary);
    background: linear-gradient(120deg, rgba(11, 217, 244, 0.18), rgba(0, 230, 118, 0.18), rgba(213, 0, 249, 0.18));
    border: 1px solid rgba(11, 217, 244, 0.45);
    box-shadow: 0 10px 30px rgba(11, 217, 244, 0.25);
    overflow: hidden;
    isolation: isolate;
    background-size: 200% 200%;
    animation: ctaBackground 6s linear infinite;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-position 0.6s ease;
}

.animated-cta::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(11, 217, 244, 0.85), rgba(0, 230, 118, 0.85), rgba(213, 0, 249, 0.85));
    opacity: 0.18;
    filter: blur(18px);
    z-index: -1;
    animation: ctaGlow 4s ease-in-out infinite;
}

.animated-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
    transform: translateX(-120%);
    transition: transform 0.6s ease;
    z-index: -1;
}

.animated-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 18px 45px rgba(11, 217, 244, 0.35);
    background-position: right center;
}

.animated-cta:hover::after {
    transform: translateX(120%);
}

.animated-cta i {
    font-size: 1rem;
}

@keyframes ctaBackground {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes ctaGlow {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.45;
    }
}

.section-cta {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.section-cta .animated-cta {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-medium);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--gradient);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(41, 121, 255, 0.3);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-medium);
}

.profile-img:hover {
    transform: scale(1.05);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
    animation-delay: var(--delay);
}

.floating-icon:nth-child(1) {
    top: 10%;
    right: 10%;
}

.floating-icon:nth-child(2) {
    bottom: 20%;
    left: 10%;
}

.floating-icon:nth-child(3) {
    top: 50%;
    right: -10%;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce-down 2s infinite;
}

.scroll-arrow {
    width: 2px;
    height: 40px;
    background: var(--gradient);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -5px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--primary-blue);
}

@keyframes bounce-down {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(10px);
    }
    60% {
        transform: translateY(5px);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Styles */
section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--bg-secondary);
}

.about-content {
    display: block;
    width: 100%;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.personal-info {
    margin: 2rem 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
}

.info-item:hover {
    background: var(--glass-border);
    transform: translateX(10px);
}

.info-item i {
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.info-item a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.info-item a:hover {
    color: var(--primary-blue);
}

.download-btn {
    margin-top: 2rem;
}

.about-animation {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dev-illustration {
    position: relative;
    width: 300px;
    height: 300px;
}

.code-blocks {
    position: relative;
    width: 100%;
    height: 100%;
}

.code-block {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    backdrop-filter: blur(10px);
    animation: orbit 10s infinite linear;
    animation-delay: var(--delay);
}

.code-block:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-blue);
}

.code-block:nth-child(2) {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    color: var(--primary-green);
}

.code-block:nth-child(3) {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-purple);
}

.code-block:nth-child(4) {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: var(--primary-blue);
}

@keyframes orbit {
    from {
        transform: rotate(0deg) translateX(100px) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateX(100px) rotate(-360deg);
    }
}

/* Data Science Animation */
.data-science-demo {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 600px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.demo-header {
    text-align: center;
    margin-bottom: 1.5rem;
    z-index: 2;
    position: relative;
}

.animated-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeaa7, #dda0dd);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbowShift 3s ease-in-out infinite;
    margin-bottom: 0.5rem;
}

.demo-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

@keyframes rainbowShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.data-bowl {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    z-index: 2;
}

.bowl-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.bowl {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(78, 205, 196, 0.5);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(78, 205, 196, 0.3);
    backdrop-filter: blur(5px);
    animation: bowlGlow 2s ease-in-out infinite alternate;
}

@keyframes bowlGlow {
    from { box-shadow: 0 0 30px rgba(78, 205, 196, 0.3); }
    to { box-shadow: 0 0 50px rgba(78, 205, 196, 0.6); }
}

.data-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

.particle {
    position: absolute;
    font-size: 0.8rem;
    font-weight: bold;
    color: #4ecdc4;
    animation: swirl 3s linear infinite;
    opacity: 0.8;
}

@keyframes swirl {
    from {
        transform: rotate(0deg) translateX(30px) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateX(30px) rotate(-360deg);
    }
}

.falling-particle {
    position: absolute;
    font-size: 0.8rem;
    font-weight: bold;
    color: #ff6b6b;
    animation: fall 2s ease-in forwards;
    z-index: 3;
}

@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(150px) rotate(180deg) scale(0.8);
        opacity: 0.7;
    }
    100% {
        transform: translateY(300px) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}

.control-panel {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    z-index: 2;
    position: relative;
}

.control-btn {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-sm);
    color: white;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.control-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
}

.auto-btn.active {
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.clean-data-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    z-index: 2;
    position: relative;
}

.clean-data-container h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    text-align: center;
}

.table-wrapper {
    max-height: 150px;
    overflow-y: auto;
    border-radius: var(--border-radius-sm);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
}

.data-table th {
    background: rgba(78, 205, 196, 0.2);
    color: white;
    padding: 0.5rem 0.3rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.data-table td {
    padding: 0.4rem 0.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
}

.data-table tbody tr {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.5s ease forwards;
}

.data-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.process-steps {
    display: flex;
    justify-content: space-between;
    z-index: 2;
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    flex: 1;
}

.step-number {
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
}

.step-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.7rem;
    text-align: center;
}

/* Sparkle Effects */
@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffeaa7;
    border-radius: 50%;
    animation: sparkle 2s linear infinite;
    z-index: 2;
}

/* Education Section */
.education {
    background: var(--bg-primary);
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.timeline::before {
    display: none; /* Hide the center line for side-by-side layout */
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    width: 100%;
}

.timeline-item:nth-child(odd) .timeline-content,
.timeline-item:nth-child(even) .timeline-content {
    margin: 0;
    text-align: left;
}

.timeline-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    backdrop-filter: blur(10px);
    position: relative;
    transition: all var(--transition-medium);
}

.timeline-content:hover {
    background: var(--glass-border);
    transform: translateY(-10px);
    box-shadow: var(--glass-shadow);
}

.timeline-icon {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(41, 121, 255, 0.3);
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.timeline-content h4 {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.institution {
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.timeline-date {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.company-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Skills Section */
.skills {
    background: var(--bg-secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
}

.skill-category h3 i {
    color: var(--primary-blue);
    font-size: 1.8rem;
}

.skill-item {
    margin-bottom: 2rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-info span {
    font-weight: 600;
}

.skill-percentage {
    color: var(--primary-blue);
}

.skill-bar {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient);
    border-radius: 4px;
    width: 0;
    transition: width 2s ease;
}

.skill-tools {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tool-tag {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--primary-green);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.additional-skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.skill-section h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
}

.skill-section h3 i {
    color: var(--primary-purple);
    font-size: 1.8rem;
}

.tech-icons {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.tech-icon {
    width: 70px;
    height: 70px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
}

.tech-icon img {
    width: 32px;
    height: 32px;
}

.tech-icon:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 15px 30px rgba(41, 121, 255, 0.3);
}

.tech-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.tech-icon:hover::after {
    opacity: 1;
    visibility: visible;
}

.soft-skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.soft-skill-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
}

.soft-skill-item:hover {
    background: var(--glass-border);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(41, 121, 255, 0.1);
}

.soft-skill-item i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.soft-skill-item span {
    font-weight: 500;
    color: var(--text-primary);
}

.languages {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.language-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
}

.language-item:hover {
    background: var(--glass-border);
    transform: translateX(10px);
}

.language-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.language-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.language-level {
    background: var(--gradient);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.language-bar {
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
}

.language-progress {
    height: 100%;
    background: var(--gradient);
    border-radius: 3px;
    width: 0;
    transition: width 2s ease;
}

/* Projects Section */
.projects {
    background: var(--bg-primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all var(--transition-medium);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(41, 121, 255, 0.2);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
    position: relative;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform var(--transition-fast);
}

.project-link.animated-cta {
    padding: 0.85rem 2.25rem;
}

.project-link:hover {
    transform: translateY(-2px);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-tag {
    background: var(--gradient);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Certificates Section */
.certificates {
    background: var(--bg-secondary);
}

.certificates-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.certificate-card {
    height: 320px;
    perspective: 1000px;
    cursor: pointer;
    margin-bottom: 1rem;
}

.certificate-front,
.certificate-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--border-radius-md);
    transition: transform 0.6s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.certificate-front {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.certificate-back {
    background: var(--gradient);
    color: white;
    transform: rotateY(180deg);
}

.certificate-card:hover .certificate-front {
    transform: rotateY(180deg);
}

.certificate-card:hover .certificate-back {
    transform: rotateY(0);
}

.certificate-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.certificate-front h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.issuer {
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.year {
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.certificate-back h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.certificate-back p {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.certificate-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-primary);
}

/* Contact Section */
.contact {
    background: var(--bg-primary);
    position: relative;
}

.contact-bg {
    background: radial-gradient(ellipse at center, rgba(213, 0, 249, 0.1) 0%, transparent 70%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(38, 120, 57, 0.1);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-muted);
    transition: all var(--transition-fast);
    pointer-events: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.85rem;
    color: var(--primary-blue);
    background: var(--bg-primary);
    padding: 0 0.5rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-items {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
}

.contact-item:hover {
    background: var(--glass-border);
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-details h4 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.contact-details a,
.contact-details p {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-details a:hover {
    color: var(--primary-blue);
}

.contact-social {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all var(--transition-medium);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--gradient);
    border-radius: 50%;
    transition: all var(--transition-medium);
    transform: translate(-50%, -50%);
}

.social-btn:hover::before {
    width: 100%;
    height: 100%;
}

.social-btn:hover {
    color: white;
    transform: translateY(-5px) scale(1.1);
}

.social-btn i {
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-blue);
}

/* Admin Trigger Styles */
#adminTrigger {
    transition: opacity 0.3s ease, color 0.3s ease;
}

#adminTrigger:hover {
    opacity: 0.3 !important;
    color: #0bd9f4 !important;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 6rem; /* Moved left to avoid chat widget */
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all var(--transition-medium);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(41, 121, 255, 0.3);
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 10000;
    font-family: var(--font-family);
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(41, 121, 255, 0.3);
    transition: all var(--transition-medium);
    position: relative;
    animation: pulse-chat 2s infinite;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(41, 121, 255, 0.4);
}

.chat-toggle i {
    font-size: 1.5rem;
    transition: transform var(--transition-fast);
}

.chat-toggle:hover i {
    transform: scale(1.1);
}

.chat-notification {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-medium);
    box-shadow: var(--glass-shadow);
}

.chat-notification::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--bg-tertiary);
}

.chat-toggle:hover .chat-notification {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(20px);
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all var(--transition-medium);
    overflow: hidden;
}

.chat-container.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.chat-details h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-green);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.chat-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.chat-close:hover {
    background: var(--glass-border);
    color: var(--text-primary);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 3px;
}

.message {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    animation: messageSlideIn 0.4s ease-out;
}

.user-message {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.bot-message .message-avatar {
    background: var(--gradient);
    color: white;
}

.user-message .message-avatar {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.message-content {
    max-width: 240px;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 0.75rem;
    position: relative;
}

.user-message .message-content {
    background: var(--gradient);
    color: white;
}

.message-content p {
    margin: 0;
    line-height: 1.4;
    font-size: 0.9rem;
}

.message-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    display: block;
}

.user-message .message-time {
    color: rgba(255, 255, 255, 0.7);
}

.chat-typing {
    padding: 0 1rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    align-items: center;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-blue);
    border-radius: 50%;
    animation: typing-bounce 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

.chat-input-container {
    border-top: 1px solid var(--glass-border);
    padding: 1rem;
}

.chat-input-wrapper {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.chat-input {
    flex: 1;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 0.75rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(41, 121, 255, 0.1);
}

.chat-input::placeholder {
    color: var(--text-muted);
}

.chat-send {
    background: var(--gradient);
    border: none;
    border-radius: var(--border-radius-md);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.chat-send:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(41, 121, 255, 0.3);
}

.chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.chat-suggestions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.suggestion-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 0.5rem 0.75rem;
    color: var(--text-primary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
}

.suggestion-btn:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-2px);
}

/* Chat Animations */
@keyframes pulse-chat {
    0% {
        box-shadow: 0 10px 30px rgba(41, 121, 255, 0.3);
    }
    50% {
        box-shadow: 0 10px 30px rgba(41, 121, 255, 0.5), 0 0 0 10px rgba(41, 121, 255, 0.1);
    }
    100% {
        box-shadow: 0 10px 30px rgba(41, 121, 255, 0.3);
    }
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.8);
    }
}

@keyframes typing-bounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Data Science Demo Responsive */
@media (max-width: 768px) {
    .data-science-demo {
        max-width: 100%;
        height: 500px;
        padding: 1rem;
    }
    
    .animated-title {
        font-size: 1.2rem;
    }
    
    .data-bowl {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }
    
    .control-panel {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .control-btn {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    .clean-data-container {
        padding: 0.8rem;
    }
    
    .data-table {
        font-size: 0.65rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.3rem 0.2rem;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .step {
        flex-direction: row;
        justify-content: center;
    }
    
    .step-number {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
        margin-right: 0.5rem;
    }
    
    .step-text {
        font-size: 0.65rem;
    }
}

/* Mobile Chat Styles */
@media (max-width: 768px) {
    .chat-widget {
        bottom: 1rem;
        right: 1rem;
    }
    
    .chat-container {
        width: calc(100vw - 2rem);
        height: 70vh;
        right: -1rem;
    }
    
    .chat-toggle {
        width: 55px;
        height: 55px;
    }
    
    .chat-toggle i {
        font-size: 1.3rem;
    }
    
    .chat-notification {
        display: none;
    }
}

@media (max-width: 480px) {
    .chat-container {
        width: 100vw;
        height: 100vh;
        bottom: 0;
        right: 0;
        border-radius: 0;
        position: fixed;
    }
    
    .suggestion-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --font-size-xl: 2.5rem;
        --font-size-lg: 2rem;
        --font-size-md: 1.25rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right var(--transition-medium);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .additional-skills {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .soft-skills {
        grid-template-columns: 1fr;
    }
    
    .tech-icons {
        justify-content: center;
        gap: 1rem;
    }
    
    .tech-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    /* Education Section - Mobile */
    .timeline {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }
    
    .timeline::before {
        content: '';
        position: absolute;
        left: 20px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: var(--gradient);
        display: block;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 60px;
        margin-right: 0;
        text-align: left;
    }
    
    .timeline-icon {
        left: -5px;
        top: 20px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .tech-icons {
        gap: 1rem;
    }
    
    .tech-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .back-to-top {
        bottom: 6rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .certificates-carousel {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 0.5rem;
    }
    
    .certificate-card {
        height: 280px;
        margin-bottom: 1.5rem;
    }
    
    .image-container {
        width: 300px;
        height: 300px;
    }
    
    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Smooth scrolling for all browsers */
html {
    scroll-behavior: smooth;
}

/* Selection styling */
::selection {
    background: var(--gradient);
    color: white;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-hover);
}
